Skip to content

Commit fafba70

Browse files
authored
build: dispatcher uses latest image and updates command args (#2184)
Towards #2142 The new entrypoint is the pre-built go binary which replaces `go run ./cmd/automation`
1 parent 188778c commit fafba70

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

infra/prod/generate-worker.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@
1515
# This runs the `librarian generate` command with a provided repository,
1616
# secret name, and optional library ID
1717
steps:
18-
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher@sha256:00aa886a70e110e9e8cfb888a232a1c508031e58cfeee60870ef7a11ca3d5656
18+
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher
1919
id: generate-dispatcher
20-
entrypoint: go
2120
args:
22-
- 'run'
23-
- './cmd/automation'
2421
- '--project=$PROJECT_ID'
2522
- '--command=generate'
2623
- '--push=$_PUSH'

infra/prod/publish-release-worker.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@
1515
# This runs the `librarian release tag-and-release` command with a provided repository,
1616
# secret name, and optional PR
1717
steps:
18-
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher@sha256:00aa886a70e110e9e8cfb888a232a1c508031e58cfeee60870ef7a11ca3d5656
18+
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher
1919
id: publish-release-dispatcher
20-
entrypoint: go
2120
args:
22-
- 'run'
23-
- './cmd/automation'
2421
- '--project=$PROJECT_ID'
2522
- '--command=publish-release'
2623
secretEnv: ['LIBRARIAN_GITHUB_TOKEN']

infra/prod/stage-release-worker.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@
1515
# This runs the `librarian release init` command with a provided repository,
1616
# secret name, and optional library ID
1717
steps:
18-
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher@sha256:00aa886a70e110e9e8cfb888a232a1c508031e58cfeee60870ef7a11ca3d5656
18+
- name: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-dispatcher
1919
id: stage-release-dispatcher
20-
entrypoint: go
2120
args:
22-
- 'run'
23-
- './cmd/automation'
2421
- '--project=$PROJECT_ID'
2522
- '--command=stage-release'
2623
- '--push=$_PUSH'

0 commit comments

Comments
 (0)