Deploy agents (#2096)

### Description

Deploy to include new agent configs

### Drive-by changes

rm txsubmission from infra following #2094 

### Related issues

n/a

### Backward compatibility

_Are these changes backward compatible?_

yes

_Are there any infrastructure implications, e.g. changes that would
prohibit deploying older commits using this infra tooling?_

Don't use txsubmission after this and #2094 


### Testing

_What kind of testing have these changes undergone?_

Deployed & sent some msgs

Co-authored-by: Mattie Conover <git@mconover.dev>
pull/2097/head agents-2023-04-14
Trevor Porter 2 years ago committed by GitHub
parent 79669902de
commit f8a4ccaad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      typescript/infra/config/environments/mainnet2/agent.ts
  2. 4
      typescript/infra/config/environments/testnet3/agent.ts
  3. 4
      typescript/infra/src/agents/index.ts
  4. 4
      typescript/infra/src/config/agent.ts

@ -26,7 +26,7 @@ export const hyperlane: AgentConfig = {
context: Contexts.Hyperlane, context: Contexts.Hyperlane,
docker: { docker: {
repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', repo: 'gcr.io/abacus-labs-dev/hyperlane-agent',
tag: '5bf8aed-20230323-125721', tag: 'd36cf61-20230414-164501',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',
@ -68,7 +68,7 @@ export const releaseCandidate: AgentConfig = {
context: Contexts.ReleaseCandidate, context: Contexts.ReleaseCandidate,
docker: { docker: {
repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', repo: 'gcr.io/abacus-labs-dev/hyperlane-agent',
tag: '5bf8aed-20230323-125721', tag: 'd36cf61-20230414-164501',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',

@ -26,7 +26,7 @@ export const hyperlane: AgentConfig = {
context: Contexts.Hyperlane, context: Contexts.Hyperlane,
docker: { docker: {
repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', repo: 'gcr.io/abacus-labs-dev/hyperlane-agent',
tag: '5bf8aed-20230323-125721', tag: 'd36cf61-20230414-164501',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',
@ -71,7 +71,7 @@ export const releaseCandidate: AgentConfig = {
context: Contexts.ReleaseCandidate, context: Contexts.ReleaseCandidate,
docker: { docker: {
repo: 'gcr.io/abacus-labs-dev/hyperlane-agent', repo: 'gcr.io/abacus-labs-dev/hyperlane-agent',
tag: '5bf8aed-20230323-125721', tag: 'd36cf61-20230414-164501',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',

@ -4,7 +4,6 @@ import { utils } from '@hyperlane-xyz/utils';
import { Contexts } from '../../config/contexts'; import { Contexts } from '../../config/contexts';
import { AgentConfig, DeployEnvironment } from '../config'; import { AgentConfig, DeployEnvironment } from '../config';
import { ChainAgentConfig, CheckpointSyncerType } from '../config/agent'; import { ChainAgentConfig, CheckpointSyncerType } from '../config/agent';
import { TransactionSubmissionType } from '../config/agent';
import { fetchGCPSecret } from '../utils/gcloud'; import { fetchGCPSecret } from '../utils/gcloud';
import { import {
HelmCommand, HelmCommand,
@ -63,9 +62,6 @@ async function helmValuesForChain(
chains: agentConfig.environmentChainNames.map((envChainName) => ({ chains: agentConfig.environmentChainNames.map((envChainName) => ({
name: envChainName, name: envChainName,
disabled: !agentConfig.contextChainNames.includes(envChainName), disabled: !agentConfig.contextChainNames.includes(envChainName),
txsubmission: {
type: TransactionSubmissionType.Signer,
},
connection: baseConnectionConfig, connection: baseConnectionConfig,
})), })),
// Only the relayer has the signers on the chains config object // Only the relayer has the signers on the chains config object

@ -188,10 +188,6 @@ export interface DockerConfig {
tag: string; tag: string;
} }
export enum TransactionSubmissionType {
Signer = 'signer',
}
export interface AgentConfig { export interface AgentConfig {
runEnv: DeployEnvironment; runEnv: DeployEnvironment;
namespace: string; namespace: string;

Loading…
Cancel
Save