File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1010 target :
1111 type : string
1212 required : true
13- env_vars :
14- type : string
15- required : true
1613 secrets :
1714 DATABRICKS_HOST :
1815 required : true
9289 DATABRICKS_HOST : ${{ secrets.DATABRICKS_HOST }}
9390 DATABRICKS_CLIENT_SECRET : ${{ secrets.DATABRICKS_CLIENT_SECRET }}
9491 DATABRICKS_CLIENT_ID : ${{ secrets.DATABRICKS_CLIENT_ID }}
95- ${{ inputs.env_vars }}
92+ DATABRICKS_BUNDLE_ENV : ${{ inputs.environment }}
9693
9794 deploy-packages :
9895 name : ' Deploy package ${{ matrix.package }} to ${{ inputs.environment }}'
@@ -116,7 +113,7 @@ jobs:
116113 DATABRICKS_HOST : ${{ secrets.DATABRICKS_HOST }}
117114 DATABRICKS_CLIENT_SECRET : ${{ secrets.DATABRICKS_CLIENT_SECRET }}
118115 DATABRICKS_CLIENT_ID : ${{ secrets.DATABRICKS_CLIENT_ID }}
119- ${{ inputs.env_vars }}
116+ DATABRICKS_BUNDLE_ENV : ${{ inputs.environment }}
120117
121118 generate-tags :
122119 name : ' Generate tags for ${{ matrix.item }}'
Original file line number Diff line number Diff line change 1818 workflow_name : ' Test deployment'
1919 environment : ' test'
2020 target : ' test'
21- env_vars : |
22- DATABRICKS_BUNDLE_ENV: test
2321 secrets :
2422 DATABRICKS_HOST : ${{ secrets.DATABRICKS_HOST }}
2523 DATABRICKS_CLIENT_SECRET : ${{ secrets.DATABRICKS_CLIENT_SECRET }}
3432 workflow_name : ' QA deployment'
3533 environment : ' qa'
3634 target : ' qa'
37- env_vars : |
38- DATABRICKS_BUNDLE_ENV: qa
3935 secrets :
4036 DATABRICKS_HOST : ${{ secrets.DATABRICKS_HOST }}
4137 DATABRICKS_CLIENT_SECRET : ${{ secrets.DATABRICKS_CLIENT_SECRET }}
5046 workflow_name : ' Prod deployment'
5147 environment : ' prod'
5248 target : ' prod'
53- env_vars : |
54- DATABRICKS_BUNDLE_ENV: prod
5549 secrets :
5650 DATABRICKS_HOST : ${{ secrets.DATABRICKS_HOST }}
5751 DATABRICKS_CLIENT_SECRET : ${{ secrets.DATABRICKS_CLIENT_SECRET }}
You can’t perform that action at this time.
0 commit comments