Update testnet3 agent image (#1690)

pull/1730/head
Asa Oines 2 years ago committed by GitHub
parent ce3e21fab4
commit c6a8189dce
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/scripts/utils.ts

@ -25,7 +25,7 @@ export const hyperlane: AgentConfig<MainnetChains> = {
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: 'sha-d1ad862', tag: 'sha-d95d9b2',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',
@ -96,7 +96,7 @@ export const releaseCandidate: AgentConfig<MainnetChains> = {
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: 'sha-0477ee1', tag: 'sha-d95d9b2',
}, },
aws: { aws: {
region: 'us-east-1', region: 'us-east-1',

@ -180,9 +180,11 @@ export async function assertCorrectKubeContext<Chain extends ChainName>(
if ( if (
!currentKubeContext.endsWith(`${coreConfig.infra.kubernetes.clusterName}`) !currentKubeContext.endsWith(`${coreConfig.infra.kubernetes.clusterName}`)
) { ) {
const cluster = coreConfig.infra.kubernetes.clusterName;
console.error( console.error(
`Cowardly refusing to deploy using current k8s context ${currentKubeContext}; are you sure you have the right k8s context active?`, `Cowardly refusing to deploy using current k8s context ${currentKubeContext}; are you sure you have the right k8s context active?`,
`Want clusterName ${coreConfig.infra.kubernetes.clusterName}`, `Want clusterName ${cluster}`,
`Run gcloud container clusters get-credentials ${cluster} --zone us-east1-c`,
); );
process.exit(1); process.exit(1);
} }

Loading…
Cancel
Save