Skip to content

Commit f38d465

Browse files
committed
refactor: updates deploy workflow to use new CUE setup
1 parent 902956e commit f38d465

File tree

2 files changed

+33
-15
lines changed

2 files changed

+33
-15
lines changed

.github/workflows/deploy.yml

+22-15
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: dev
1616
images:
1717
description: A newline separated list of image names to deploy
18-
required: true
18+
#required: true
1919
type: string
2020
tag:
2121
description: The image tag to deploy
@@ -36,18 +36,25 @@ jobs:
3636
with:
3737
repository: ${{ inputs.deployment_repo }}
3838
token: ${{ secrets.token }}
39-
- name: Merge hashes
40-
uses: input-output-hk/catalyst-ci/actions/merge@master
41-
with:
42-
hash_file: "src/kube/environments/${{ inputs.environment }}/hashes.json"
43-
images: ${{ inputs.images }}
44-
tag: ${{ inputs.tag }}
45-
- name: Run diff
46-
run: git --no-pager diff
47-
- name: Commit and push
48-
uses: EndBug/add-and-commit@v9
39+
- name: Install updater CLI
40+
uses: input-output-hk/catalyst-ci/actions/install@allow-multiple-install
4941
with:
50-
author_name: catalyst-cibot
51-
author_email: [email protected]
52-
message: "chore: updates ${{ github.event.repository.name }} deployments"
53-
push: true
42+
asset: updater
43+
- name: Test
44+
run: |
45+
updater --help
46+
# - name: Merge hashes
47+
# uses: input-output-hk/catalyst-ci/actions/merge@master
48+
# with:
49+
# hash_file: "src/kube/environments/${{ inputs.environment }}/hashes.json"
50+
# images: ${{ inputs.images }}
51+
# tag: ${{ inputs.tag }}
52+
# - name: Run diff
53+
# run: git --no-pager diff
54+
# - name: Commit and push
55+
# uses: EndBug/add-and-commit@v9
56+
# with:
57+
# author_name: catalyst-cibot
58+
# author_email: [email protected]
59+
# message: "chore: updates ${{ github.event.repository.name }} deployments"
60+
# push: true

.github/workflows/temp.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
on:
2+
push:
3+
4+
jobs:
5+
deploy:
6+
uses: input-output-hk/catalyst-ci/.github/workflows/deploy.yml@deploy-cue
7+
with:
8+
deployment_repo: input-output-hk/catalyst-world
9+
#images: ${{ inputs.deployment_images }}
10+
secrets:
11+
token: ${{ secrets.CI_BOT_TOKEN }}

0 commit comments

Comments
 (0)