Skip to content

Commit

Permalink
add job to connect to tailnet before triggering jenkins job - anemone…
Browse files Browse the repository at this point in the history
… -> main (#869)
  • Loading branch information
duje-begonja-rdx authored Mar 13, 2024
2 parents 63a8267 + 2da1acf commit 0a62c60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-and-smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
secret_prefix: "JENKINS"
secret_name: "github-actions/radixdlt/babylon-node/jenkins-api-token"
parse_json: true
- name: Connect to tailnet
uses: radixdlt/public-iac-resuable-artifacts/tailnet@main
with:
role_name: "arn:aws:iam::${{ secrets.SECRETS_ACCOUNT_ID }}:role/gh-common-secrets-read-access"
region: "eu-west-2"
secret_name: "arn:aws:secretsmanager:eu-west-2:${{ secrets.SECRETS_ACCOUNT_ID }}:secret:github-actions/common/tailscale-public-workflows-DpiE80"
- name: Deploy
uses: RDXWorks-actions/jenkins-job-trigger-action@master
with:
Expand Down Expand Up @@ -68,6 +74,12 @@ jobs:
secret_prefix: "JENKINS"
secret_name: "github-actions/radixdlt/babylon-node/jenkins-api-token"
parse_json: true
- name: Connect to tailnet
uses: radixdlt/public-iac-resuable-artifacts/tailnet@main
with:
role_name: "arn:aws:iam::${{ secrets.SECRETS_ACCOUNT_ID }}:role/gh-common-secrets-read-access"
region: "eu-west-2"
secret_name: "arn:aws:secretsmanager:eu-west-2:${{ secrets.SECRETS_ACCOUNT_ID }}:secret:github-actions/common/tailscale-public-workflows-DpiE80"
- name: SmokeTests
uses: RDXWorks-actions/jenkins-job-trigger-action@master
with:
Expand Down

0 comments on commit 0a62c60

Please sign in to comment.