Skip to content

Commit

Permalink
fix(e2e): increase k8s resources for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Jun 7, 2024
1 parent ad76fce commit b3af6a4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/multichain-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: cosmology-tech/[email protected]
with:
# uses ghcr.io/agoric/agoric-sdk:dev image (latest master)
values: ./agoric-sdk/multichain-testing/config.ci.yaml
values: ./agoric-sdk/multichain-testing/config.yaml
port-forward: true
version: 0.2.2
timeout: 30m
Expand Down
1 change: 0 additions & 1 deletion multichain-testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ End-to-end testing environment for fully simulated chains, powered by [Starship]

The current commands will read from [`config.yaml`](./config.yaml) to build a multi-chain teting environment. Currently, the image includes `agoric`, `osmosis`, and `cosmos-hub` chains and a hermes relayer between each.

A less-resource intensive version of the configuration is available at [`config.ci.yaml`](./config.ci.yaml) and is currently used for CI tests.

## Initial Setup

Expand Down
126 changes: 0 additions & 126 deletions multichain-testing/config.ci.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions multichain-testing/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ relayers:
- gaialocal

explorer:
enabled: true
ports:
rest: 8080
enabled: false

registry:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions multichain-testing/tools/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type GetConfigFilePathFn = ReturnType<typeof makeGetConfigFile>;
export const makeSetupRegistry = (getConfigFile: GetConfigFilePathFn) => {
/**
* @param {Object} opts
* @param {string} [opts.config='../config.ci.yaml'] - The path to the starship configuration file.
* @param {string} [opts.config='../config.yaml'] - The path to the starship configuration file.
* @example
* ```js
* const { useChain } = await setupRegistry();
Expand All @@ -19,7 +19,7 @@ export const makeSetupRegistry = (getConfigFile: GetConfigFilePathFn) => {
* await creditFromFaucet('osmo1234');
* ```
*/
const setupRegistry = async ({ config = '../config.ci.yaml' } = {}) => {
const setupRegistry = async ({ config = '../config.yaml' } = {}) => {
ConfigContext.setConfigFile(getConfigFile(config));
ConfigContext.setRegistry(await useRegistry(ConfigContext.configFile!));
return { useChain };
Expand Down

0 comments on commit b3af6a4

Please sign in to comment.