Skip to content

Commit b7cbbaa

Browse files
committed
fix: update staging/prod builder
1 parent 181b6f3 commit b7cbbaa

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.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)