Skip to content

Commit

Permalink
chore: allow smoke tests to be a required check (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi authored Jul 2, 2024
1 parent 4ecebd1 commit b6bf390
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/argus-stack-staging-upsert.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Update staging

on:
pull_request:
paths:
- '.infra/common.yaml'
- '.infra/staging/values.yaml'
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,12 +10,22 @@ concurrency:
jobs:
run_if:
if: github.head_ref == 'release-please--branches--main'
outputs:
changes: ${{ steps.filter.outputs.staging_config }}
runs-on: [ARM64, self-hosted, Linux]
steps:
- run: echo "The head branch of this PR is the release please branch"
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
staging_config:
- '.infra/common.yaml'
- '.infra/staging/values.yaml'
staging_stack_upsert:
needs: run_if
if: needs.run_if.outputs.changes == 'true'
runs-on: [ARM64, self-hosted, Linux]
permissions:
id-token: write
Expand Down
2 changes: 2 additions & 0 deletions .infra/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ stack:
livenessProbe:
httpGet:
path: /cellxgene/health
timeoutSeconds: 30
readinessProbe:
httpGet:
path: /cellxgene/health
timeoutSeconds: 30
services:
explorer:
serviceAccount:
Expand Down
2 changes: 1 addition & 1 deletion .infra/rdev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ stack:
services:
explorer:
image:
tag: sha-8b84e9b3
tag: sha-ac8da63f
replicaCount: 1
env:
# env vars common to all deployment stages
Expand Down
4 changes: 2 additions & 2 deletions .infra/staging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ stack:
resources:
limits:
cpu: 4
memory: 24Gi
memory: 12Gi
requests:
cpu: 2
memory: 8Gi
memory: 4Gi
env:
# env vars common to all deployment stages
- name: AWS_REGION
Expand Down

0 comments on commit b6bf390

Please sign in to comment.