Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,10 +765,10 @@ export async function createContainer( imageName: ImageName, env: RunEnv ) {
},
} );

if (env === 'dashboard-ciab') {
// Append a `-ciab` suffix to the container name
if (env === 'dashboard-a4a') {
// Append a `-a4a` suffix to the container name
const info = await container.inspect();
await container.rename({ name: `${info.Name.substring(1)}-ciab` });
await container.rename({ name: `${info.Name.substring(1)}-a4a` });
}

l.info( { imageName }, `Successfully created container for ${ imageName }` );
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const config: AppConfig = {
project: 'Automattic/wp-calypso',
},

envs: [ 'calypso', 'jetpack', 'a8c-for-agencies', 'dashboard', 'dashboard-ciab' ],
envs: [ 'calypso', 'jetpack', 'a8c-for-agencies', 'dashboard', 'dashboard-a4a' ],

allowedDockerRepositories: [ 'registry.a8c.com' ],

Expand Down Expand Up @@ -69,7 +69,7 @@ export function envContainerConfig( environment: RunEnv ): Dockerode.ContainerCr
Env: [ 'NODE_ENV=a8c-for-agencies-horizon', 'CALYPSO_ENV=a8c-for-agencies-horizon' ],
};
case 'dashboard':
case 'dashboard-ciab':
case 'dashboard-a4a':
return {
Env: [ 'NODE_ENV=dashboard-horizon', 'CALYPSO_ENV=dashboard-horizon' ],
};
Expand Down