Skip to content
Draft
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
2 changes: 0 additions & 2 deletions .github/workflows/build-push-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,4 @@ jobs:
${{ github.ref_name == 'main' && format('-t gcr.io/{0}/{1}:latest', env.GCP_PROJECT_ID, inputs.image_name) || '' }} .

- name: Push image
# only push if merged to main
if: github.ref == 'refs/heads/main'
run: docker push --all-tags gcr.io/${{ env.GCP_PROJECT_ID }}/${{ inputs.image_name }}
19 changes: 1 addition & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,9 @@ on:
required: false
type: string
commit_sha:
description: Commit SHA to deploy (leave blank for latest)
description: Commit SHA to deploy
required: false
type: string
workflow_dispatch:
inputs:
service_name:
type: string
description: Name of the service directory (e.g. stats_api)
required: true
image_name:
description: Image name
required: false
type: string
commit_sha:
description: Commit SHA to deploy (leave blank for latest)
required: false
type: string
environment:
type: environment
description: Select the environment

env:
IMAGE_URI: gcr.io/arxiv-development/${{ inputs.image_name }}:${{ inputs.commit_sha || github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stats-api-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
workflow_dispatch:
inputs:
commit_sha:
description: Commit SHA to deploy (leave blank for latest)
required: false
description: Commit SHA to deploy
required: true
type: string
jobs_to_run:
description: Job(s) to run
Expand Down