Skip to content

Commit

Permalink
Merge pull request #5044 from gooddata/IMJ-INFRA-3527
Browse files Browse the repository at this point in the history
feat(zuul-deprecation): Use envs instead of secrets
  • Loading branch information
ivanmjartan authored Jun 21, 2024
2 parents 91bb8d0 + aa6f710 commit 713a62d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-extended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
run: |-
branch=$(echo "${{ github.ref }}" | sed 's/^refs\/heads\///')
echo "branch=$branch" >> "$GITHUB_OUTPUT"
- name: Commit
id: commit
run: |-
pr_head_sha=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.issue.number }}" | \
jq --raw-output .head.sha)
echo "commit=$pr_head_sha" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/merge
Expand All @@ -53,10 +53,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-pull-request-dispatcher-pipeline
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-unit-tests
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
run: |-
branch=$(echo "${{ github.event.merge_group.base_ref }}" | sed 's/^refs\/heads\///')
echo "branch=$branch" >> "$GITHUB_OUTPUT"
- name: PR number
id: pr-number
run: |-
pr_num=$(echo "${{ github.ref }}" | sed -n 's/.*pr-\([0-9]*\).*/\1/p')
echo "pr_number=$pr_num" >> "$GITHUB_OUTPUT"
gooddata-ui-sdk-unit-tests:
runs-on:
group: infra1-runners-arc
Expand All @@ -48,10 +48,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-unit-tests
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down Expand Up @@ -84,10 +84,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-cypress-tiger-isolated-zuul-pipeline
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down Expand Up @@ -134,10 +134,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-compatibility-pipeline
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |-
branch=$(echo "${{ github.ref }}" | sed 's/^refs\/heads\///')
echo "branch=$branch" >> "$GITHUB_OUTPUT"
gooddata-ui-sdk-storybook-publish:
runs-on:
group: infra1-runners-arc
Expand All @@ -47,10 +47,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-storybook-publish
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand All @@ -75,10 +75,10 @@ jobs:
id: call-jenkins
uses: gooddata/github-actions-public/jenkins/trigger@master
with:
server: ${{ secrets.JENKINS_ADDRESS }}
server: ${{ vars.JENKINS_ADDRESS }}
folder: gooddata-ui-sdk
job-name: gooddata-ui-sdk-cypress-tiger-integrated-post-merge
vault-url: ${{ secrets.VAULT_ADDRESS }}
vault-url: ${{ vars.VAULT_ADDRESS }}
params: |-
{
"GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
Expand Down

0 comments on commit 713a62d

Please sign in to comment.