|
102 | 102 | secrets: |
103 | 103 | DATAVISYN_BOT_REPO_TOKEN: |
104 | 104 | required: false |
105 | | - NODE_VERSION: |
106 | | - required: false |
107 | | - PYTHON_VERSION: |
108 | | - required: false |
109 | 105 | ENV_PASSWORD: |
110 | 106 | required: false |
111 | 107 | CYPRESS_ENV: |
|
114 | 110 | required: false |
115 | 111 |
|
116 | 112 | env: |
117 | | - NPM_REGISTRY: "https://registry.npmjs.org/" |
118 | | - NODE_VERSION: ${{ vars.NODE_VERSION || '20.9' }} |
119 | | - PYPI_REGISTRY: "https://upload.pypi.org/legacy/" |
120 | | - PYPI_USERNAME: "datavisyn" |
121 | | - PYTHON_VERSION: ${{ vars.PYTHON_VERSION || '3.10' }} |
122 | 113 | WORKFLOW_BRANCH: "mp/node_version" |
123 | 114 | POSTGRES_HOSTNAME: postgres_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }} |
124 | 115 |
|
@@ -161,9 +152,8 @@ jobs: |
161 | 152 | # We probably won't need Rust on Node builds... |
162 | 153 | # enable_rust: ${{ inputs.rust_enable }} |
163 | 154 | run_parallel: ${{ inputs.run_parallel }} |
164 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
165 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
166 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 155 | + node_version: ${{ inputs.node_version }} |
| 156 | + python_version: ${{ inputs.python_version }} |
167 | 157 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
168 | 158 | run_node_bundle: ${{ inputs.node_run_webpack }} |
169 | 159 | enable_node_cache: ${{ inputs.runs_on != 'self-hosted' }} |
@@ -202,9 +192,8 @@ jobs: |
202 | 192 | enable_python: true |
203 | 193 | enable_rust: ${{ inputs.rust_enable }} |
204 | 194 | run_parallel: ${{ inputs.run_parallel }} |
205 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
206 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
207 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 195 | + node_version: ${{ inputs.node_version }} |
| 196 | + python_version: ${{ inputs.python_version }} |
208 | 197 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
209 | 198 | run_node_bundle: ${{ inputs.node_run_webpack }} |
210 | 199 | enable_node_cache: ${{ inputs.runs_on != 'self-hosted' }} |
@@ -293,9 +282,8 @@ jobs: |
293 | 282 | with: |
294 | 283 | enable_rust: ${{ inputs.rust_enable }} |
295 | 284 | run_parallel: ${{ inputs.run_parallel }} |
296 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
297 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
298 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 285 | + node_version: ${{ inputs.node_version }} |
| 286 | + python_version: ${{ inputs.python_version }} |
299 | 287 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
300 | 288 | run_node_bundle: false # Disable the build here and call afterwards, as otherwise the yarn run env:decrypt will fail due to a missing yarn install |
301 | 289 | enable_node_cache: ${{ inputs.cypress_runs_on != 'self-hosted' && inputs.runs_on != 'self-hosted' }} |
@@ -436,9 +424,8 @@ jobs: |
436 | 424 | with: |
437 | 425 | enable_rust: ${{ inputs.rust_enable }} |
438 | 426 | run_parallel: ${{ inputs.run_parallel }} |
439 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
440 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
441 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 427 | + node_version: ${{ inputs.node_version }} |
| 428 | + python_version: ${{ inputs.python_version }} |
442 | 429 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
443 | 430 | run_node_bundle: false # Disable the build here and call afterwards, as otherwise the yarn run env:decrypt will fail due to a missing yarn install |
444 | 431 | run_playwright_browser_install: true |
|
0 commit comments