-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: updates deploy workflow to use new CUE setup
- Loading branch information
Showing
2 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ on: | |
default: dev | ||
images: | ||
description: A newline separated list of image names to deploy | ||
required: true | ||
#required: true | ||
type: string | ||
tag: | ||
description: The image tag to deploy | ||
|
@@ -36,18 +36,25 @@ jobs: | |
with: | ||
repository: ${{ inputs.deployment_repo }} | ||
token: ${{ secrets.token }} | ||
- name: Merge hashes | ||
uses: input-output-hk/catalyst-ci/actions/merge@master | ||
with: | ||
hash_file: "src/kube/environments/${{ inputs.environment }}/hashes.json" | ||
images: ${{ inputs.images }} | ||
tag: ${{ inputs.tag }} | ||
- name: Run diff | ||
run: git --no-pager diff | ||
- name: Commit and push | ||
uses: EndBug/add-and-commit@v9 | ||
- name: Install updater CLI | ||
uses: input-output-hk/catalyst-ci/actions/install@allow-multiple-install | ||
with: | ||
author_name: catalyst-cibot | ||
author_email: [email protected] | ||
message: "chore: updates ${{ github.event.repository.name }} deployments" | ||
push: true | ||
asset: updater | ||
- name: Test | ||
run: | | ||
updater --help | ||
# - name: Merge hashes | ||
# uses: input-output-hk/catalyst-ci/actions/merge@master | ||
# with: | ||
# hash_file: "src/kube/environments/${{ inputs.environment }}/hashes.json" | ||
# images: ${{ inputs.images }} | ||
# tag: ${{ inputs.tag }} | ||
# - name: Run diff | ||
# run: git --no-pager diff | ||
# - name: Commit and push | ||
# uses: EndBug/add-and-commit@v9 | ||
# with: | ||
# author_name: catalyst-cibot | ||
# author_email: [email protected] | ||
# message: "chore: updates ${{ github.event.repository.name }} deployments" | ||
# push: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
on: | ||
push: | ||
|
||
jobs: | ||
deploy: | ||
uses: input-output-hk/catalyst-ci/.github/workflows/deploy.yml@deploy-cue | ||
with: | ||
deployment_repo: input-output-hk/catalyst-world | ||
#images: ${{ inputs.deployment_images }} | ||
secrets: | ||
token: ${{ secrets.CI_BOT_TOKEN }} |