Skip to content

Commit a7fdf4f

Browse files
authored
fix: update staging/prod builder (#444)
1 parent 181b6f3 commit a7fdf4f

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.github/workflows/argus-stack-rdev-create.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Create an RDev Stack
22

33
on:
44
pull_request:
5-
types: [ labeled, synchronize ]
5+
types: [labeled, synchronize]
66

77
concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
@@ -20,8 +20,8 @@ jobs:
2020
steps:
2121
- name: Create Stack
2222
id: upsert
23-
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.27.0
23+
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.49.1
2424
with:
2525
appName: cryoet-apiv2
2626
envName: rdev
27-
waitForDeploymentSeconds: 300
27+
waitForDeploymentSeconds: 600

.github/workflows/docker-build-staging-prod.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ name: Docker Build Staging/Prod
33
on:
44
push:
55
paths:
6-
- 'apiv2/**'
6+
- "apiv2/**"
77
branches:
8-
- release-please--branches--main--components--apiv2
8+
- release-please--branches--main--components--apiv2
99

1010
jobs:
1111
argus_builder:
1212
uses: ./.github/workflows/workflow-argus-docker-build.yaml
1313
secrets: inherit
1414
with:
1515
envs: staging,prod
16-
path_filters: '!.infra/**,apiv2/**'
16+
path_filters: "!.infra/**,apiv2/**"
1717
branches_include: release-please--branches--main--components--apiv2
18+
force_update_manifests: true

.infra/rdev/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ stack:
22
services:
33
apiv2:
44
image:
5-
tag: sha-c0f1a23
5+
tag: sha-4f0ca7f
66
initContainers:
77
# Install cerbos policies where the cerbos sidecar can grab them.
88
- name: install-cerbos-policies
99
image:
1010
repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2
11-
tag: sha-c0f1a23
11+
tag: sha-4f0ca7f
1212
command: ["cp", "-r", "./cerbos/", "/var/policies/"]
1313
volumeMounts:
1414
- mountPath: /var/policies
@@ -24,7 +24,7 @@ stack:
2424
- name: run-migrations
2525
image:
2626
repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2
27-
tag: sha-c0f1a23
27+
tag: sha-4f0ca7f
2828
command: ["alembic", "upgrade", "head"]
2929
resources:
3030
limits:
@@ -37,7 +37,7 @@ stack:
3737
- name: gen-keypair
3838
image:
3939
repository: 533267185808.dkr.ecr.us-west-2.amazonaws.com/core-platform/cryoet-data-portal-backend/apiv2/apiv2
40-
tag: sha-c0f1a23
40+
tag: sha-4f0ca7f
4141
command: ["bash", "./etc/gen_keys.sh", "/var/keys/"]
4242
volumeMounts:
4343
- mountPath: /var/keys

apiv2/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ $ FILE=tests/test_aggregates.py make test-file
4646

4747
```
4848
# First, make any necessary changes to `apiv2/schema/schema.yaml`, then run this to generate new code & migrations and apply them:
49+
4950
cd apiv2
5051
make update-schema
5152

0 commit comments

Comments
 (0)