11name : " Test cardano-node"
2+ env :
3+ TESTNET : cardano_node_latest
4+ REGISTRY : us-central1-docker.pkg.dev/molten-verve-216720/cardano-repository/
5+ 6+ DURATION : 5 # in hours
27on :
38 # can be dispatched manually
49 workflow_dispatch :
510 inputs :
611 test :
712 description : ' Test name'
813 required : false
9- default : ' cardano_node_latest '
14+ default : $TESTNET
1015 type : string
1116 schedule :
1217 # run every 6 hours
1520jobs :
1621 run-cardano-node :
1722 runs-on : ubuntu-latest
18- env :
19- TESTNET : cardano_node_latest
20- REGISTRY : us-central1-docker.pkg.dev/molten-verve-216720/cardano-repository/
21- 22- DURATION : 5 # in hours
2323
2424 steps :
2525 - name : 🚧 Set up Docker Buildx
@@ -33,12 +33,12 @@ jobs:
3333 - name : 🏗 Build images
3434 working-directory : compose
3535 run : |
36- make build testnet=${{TESTNET}} registry=${{REGISTRY}}
36+ make build testnet=${{ env. TESTNET }} registry=${{ env. REGISTRY }}
3737
3838 - name : 🚢 Push images
3939 working-directory : compose
4040 run : |
41- make push testnet=${{TESTNET}} registry=${{REGISTRY}}
41+ make push testnet=${{ env. TESTNET }} registry=${{ env. REGISTRY }}
4242
4343 # this is where we should send a request on-chain
4444 # for now we use the GHA provided by AT
@@ -50,10 +50,10 @@ jobs:
5050 username : ${{ secrets.ANTITHESIS_USERNAME }}
5151 password : ${{ secrets.ANTITHESIS_PASSWORD }}
5252 github_token : ${{ secrets.GH_PAT }}
53- images : ${{TESTNET}}:latest;${{TESTNET}}_sidecar:latest;${{TESTNET}}_tracer:latest;${{TESTNET}}_tracer-sidecar:latest
54- config_image : ${{TESTNET}}_config:latest
55- description : " Run ${{TESTNET}}"
56- email_recipients : ${{EMAILS}}
53+ images : ${{ env. TESTNET }}:latest;${{ env. TESTNET }}_sidecar:latest;${{ env. TESTNET }}_tracer:latest;${{ env. TESTNET }}_tracer-sidecar:latest
54+ config_image : ${{ env. TESTNET }}_config:latest
55+ description : " Run ${{ env. TESTNET }}"
56+ email_recipients : ${{ env. EMAILS }}
5757 test_name : " ${{ inputs.test }}"
5858 additional_parameters : |-
59- duration=${{DURATION}}
59+ duration=${{ env. DURATION }}
0 commit comments