Skip to content

Commit fbaccb3

Browse files
authored
enable cimain&ciupgrade on splice (#1038)
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
1 parent 4e2381c commit fbaccb3

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

.github/workflows/cimain.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Deploy CIMain
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
7+
jobs:
8+
trigger_cimain:
9+
uses: ./.github/workflows/cluster_tests.yml
10+
secrets: inherit
11+
with:
12+
workflow: deploy_cimain
13+
sha: ${{ github.sha }}

.github/workflows/ciupgrade.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Deploy CIUpgrade
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
7+
jobs:
8+
trigger_ciupgrade:
9+
uses: ./.github/workflows/cluster_tests.yml
10+
secrets: inherit
11+
with:
12+
workflow: deploy_ciupgrade
13+
sha: ${{ github.sha }}

.github/workflows/cluster_tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
sha:
1010
type: string
1111
required: true
12-
public_splice:
13-
type: boolean
14-
required: false
1512

1613
outputs:
1714
result:
@@ -42,5 +39,5 @@ jobs:
4239
run: |
4340
set -euo pipefail
4441
result=$(curl -sSfL -H "Authorization: Bearer ${{ steps.auth.outputs.id_token }}" \
45-
"${{ secrets.CLUSTER_TEST_INVOKER_URL }}?workflow=${{ inputs.workflow }}&splice-git-ref=${{ inputs.sha }}&public-splice=${{ inputs.public_splice }}")
42+
"${{ secrets.CLUSTER_TEST_INVOKER_URL }}?workflow=${{ inputs.workflow }}&splice-git-ref=${{ inputs.sha }}")
4643
echo "result=$result" >> "$GITHUB_OUTPUT"

.github/workflows/pr_cluster_test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
with:
3434
workflow: cluster_test
3535
sha: ${{ needs.get_head.outputs.sha }}
36-
public_splice: ${{ github.repository == 'hyperledger-labs/splice' }}
3736

3837
result:
3938
runs-on: self-hosted-docker-tiny
@@ -54,7 +53,6 @@ jobs:
5453
with:
5554
workflow: hdm_test
5655
sha: ${{ needs.get_head.outputs.sha }}
57-
public_splice: ${{ github.repository == 'hyperledger-labs/splice' }}
5856

5957
result_hdm:
6058
runs-on: self-hosted-docker-tiny

0 commit comments

Comments
 (0)