File tree Expand file tree Collapse file tree 4 files changed +18
-22
lines changed Expand file tree Collapse file tree 4 files changed +18
-22
lines changed Original file line number Diff line number Diff line change 1616 default : ' staging'
1717 required : false
1818 type : string
19- branch :
20- required : false
21- type : string
22- description : ' Branch to run on'
2319 secrets :
2420 FIREBOLT_USERNAME :
2521 required : true
3329 required : true
3430 SERVICE_SECRET :
3531 required : true
32+ SERVICE_ID_STG :
33+ required : true
34+ SERVICE_SECRET_STG :
35+ required : true
3636jobs :
3737 tests :
3838 runs-on : ubuntu-latest
3939 steps :
4040 - name : Check out code
4141 uses : actions/checkout@v2
42- with :
43- ref : ${{ inputs.branch }}
4442
4543 - name : Set up Python 3.7
4644 uses : actions/setup-python@v2
6260 else
6361 echo "USERNAME=${{ secrets.FIREBOLT_USERNAME }}" >> "$GITHUB_ENV"
6462 echo "PASSWORD=${{ secrets.FIREBOLT_PASSWORD }}" >> "$GITHUB_ENV"
65- echo "CLIENT_ID=${{ secrets.FIREBOLT_CLIENT_ID }}" >> "$GITHUB_ENV"
66- echo "CLIENT_SECRET=${{ secrets.FIREBOLT_CLIENT_SECRET }}" >> "$GITHUB_ENV"
63+ echo "CLIENT_ID=${{ secrets.SERVICE_ID }}" >> "$GITHUB_ENV"
64+ echo "CLIENT_SECRET=${{ secrets.SERVICE_SECRET }}" >> "$GITHUB_ENV"
6765 fi
6866
6967 - name : Setup database and engine
Original file line number Diff line number Diff line change 1616 default : ' staging'
1717 required : false
1818 type : string
19- branch :
20- required : false
21- type : string
22- description : ' Branch to run on'
2319 secrets :
2420 FIREBOLT_CLIENT_ID_STG_NEW_IDN :
2521 required : true
3531 steps :
3632 - name : Check out code
3733 uses : actions/checkout@v2
38- with :
39- ref : ${{ inputs.branch }}
4034
4135 - name : Set up Python 3.7
4236 uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 1616 default : ' staging'
1717 required : false
1818 type : string
19- branch :
20- required : false
21- type : string
22- description : ' Branch to run on'
2319 secrets :
2420 FIREBOLT_USERNAME :
2521 required : true
3329 required : true
3430 SERVICE_SECRET :
3531 required : true
32+ SERVICE_ID_STG :
33+ required : true
34+ SERVICE_SECRET_STG :
35+ required : true
3636 # V2 secrets
3737 FIREBOLT_CLIENT_ID_STG_NEW_IDN :
3838 required : true
@@ -46,20 +46,20 @@ jobs:
4646 integration-test-v1 :
4747 uses : ./.github/workflows/integration-tests-v1.yml
4848 with :
49- environment : ${{ github.event.inputs.environment }}
50- branch : ${{ github.event.inputs.branch }}
49+ environment : ${{ inputs.environment }}
5150 secrets :
5251 FIREBOLT_USERNAME : ${{ secrets.FIREBOLT_USERNAME }}
5352 FIREBOLT_PASSWORD : ${{ secrets.FIREBOLT_PASSWORD }}
5453 FIREBOLT_STG_USERNAME : ${{ secrets.FIREBOLT_STG_USERNAME }}
5554 FIREBOLT_STG_PASSWORD : ${{ secrets.FIREBOLT_STG_PASSWORD }}
5655 SERVICE_ID : ${{ secrets.SERVICE_ID }}
5756 SERVICE_SECRET : ${{ secrets.SERVICE_SECRET }}
57+ SERVICE_ID_STG : ${{ secrets.SERVICE_ID_STG }}
58+ SERVICE_SECRET_STG : ${{ secrets.SERVICE_SECRET_STG }}
5859 integration-test-v2 :
5960 uses : ./.github/workflows/integration-tests-v2.yml
6061 with :
61- environment : ${{ github.event.inputs.environment }}
62- branch : ${{ github.event.inputs.branch }}
62+ environment : ${{ inputs.environment }}
6363 secrets :
6464 FIREBOLT_CLIENT_ID_STG_NEW_IDN : ${{ secrets.FIREBOLT_CLIENT_ID_STG_NEW_IDN }}
6565 FIREBOLT_CLIENT_SECRET_STG_NEW_IDN : ${{ secrets.FIREBOLT_CLIENT_SECRET_STG_NEW_IDN }}
Original file line number Diff line number Diff line change 1313jobs :
1414 integration-tests :
1515 uses : ./.github/workflows/integration-tests.yml
16+ with :
17+ environment : " staging"
1618 secrets :
1719 FIREBOLT_CLIENT_ID_STG_NEW_IDN : ${{ secrets.FIREBOLT_CLIENT_ID_STG_NEW_IDN }}
1820 FIREBOLT_CLIENT_SECRET_STG_NEW_IDN : ${{ secrets.FIREBOLT_CLIENT_SECRET_STG_NEW_IDN }}
2426 FIREBOLT_STG_PASSWORD : ${{ secrets.FIREBOLT_STG_PASSWORD }}
2527 SERVICE_ID : ${{ secrets.SERVICE_ID }}
2628 SERVICE_SECRET : ${{ secrets.SERVICE_SECRET }}
29+ SERVICE_ID_STG : ${{ secrets.SERVICE_ID_STG }}
30+ SERVICE_SECRET_STG : ${{ secrets.SERVICE_SECRET_STG }}
2731
2832 publish :
2933 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments