|
133 | 133 | DIGITALOCEAN_NODE_POOL_MIN_SIZE: 3
|
134 | 134 | CHECK_CONTEXT: continuous-integration/integration-test
|
135 | 135 | COMMIT_ID: '${{ github.event.pull_request.head.sha || github.sha }}'
|
| 136 | + BOT_EMAIL: ${{ vars.BOT_EMAIL }} |
| 137 | + BOT_USERNAME: ${{ vars.BOT_USERNAME }} |
136 | 138 |
|
137 | 139 | jobs:
|
138 | 140 | preprocess-input:
|
@@ -283,16 +285,16 @@ jobs:
|
283 | 285 | run: |
|
284 | 286 | kubectl create secret docker-registry reg-otomi-github \
|
285 | 287 | --docker-server=${{ env.CACHE_REGISTRY }} \
|
286 |
| - --docker-username=${{ env.GIT_USER }} \ |
287 |
| - --docker-password='${{ secrets.NPM_TOKEN }}' |
| 288 | + --docker-username=${{ env.BOT_USERNAME }} \ |
| 289 | + --docker-password='${{ secrets.BOT_PULL_TOKEN }}' |
288 | 290 | - name: Checkout
|
289 | 291 | uses: actions/checkout@v4
|
290 | 292 | - name: Prepare Otomi chart
|
291 | 293 | if: ${{ inputs.install_profile != 'no-otomi' }}
|
292 | 294 | run: |
|
293 | 295 | ref=${{ github.event.pull_request.head.ref || github.ref }}
|
294 | 296 | tag=${ref##*/}
|
295 |
| - sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/otomi/Chart.yaml |
| 297 | + sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/apl/Chart.yaml |
296 | 298 | sed --in-place "s/CONTEXT_PLACEHOLDER/${{ env.SCALEWAY_CLUSTER_CONTEXT }}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
297 | 299 | sed --in-place "s/OTOMI_VERSION_PLACEHOLDER/${GITHUB_REF##*/}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
298 | 300 | touch values-container-registry.yaml
|
@@ -325,7 +327,7 @@ jobs:
|
325 | 327 | [[ '${{ inputs.certificate }}' == 'letsencrypt_staging' ]] && echo "$LETSENCRYPT_STAGING" >> values.yaml
|
326 | 328 | [[ '${{ inputs.certificate }}' == 'letsencrypt_production' ]] && echo "$LETSENCRYPT_PRODUCTION" >> values.yaml
|
327 | 329 |
|
328 |
| - install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/otomi \ |
| 330 | + install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/apl \ |
329 | 331 | --values tests/integration/${{ inputs.install_profile }}.yaml \
|
330 | 332 | --values values-container-registry.yaml
|
331 | 333 | --values values.yaml \
|
@@ -411,16 +413,16 @@ jobs:
|
411 | 413 | run: |
|
412 | 414 | kubectl create secret docker-registry reg-otomi-github \
|
413 | 415 | --docker-server=${{ env.CACHE_REGISTRY }} \
|
414 |
| - --docker-username=${{ env.GIT_USER }} \ |
415 |
| - --docker-password='${{ secrets.NPM_TOKEN }}' |
| 416 | + --docker-username=${{ env.BOT_USERNAME }} \ |
| 417 | + --docker-password='${{ secrets.BOT_PULL_TOKEN }}' |
416 | 418 | - name: Checkout
|
417 | 419 | uses: actions/checkout@v4
|
418 | 420 | - name: Prepare Otomi chart
|
419 | 421 | if: ${{ inputs.install_profile != 'no-otomi' }}
|
420 | 422 | run: |
|
421 | 423 | ref=${{ github.event.pull_request.head.ref || github.ref }}
|
422 | 424 | tag=${ref##*/}
|
423 |
| - sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/otomi/Chart.yaml |
| 425 | + sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/apl/Chart.yaml |
424 | 426 | sed --in-place "s/CONTEXT_PLACEHOLDER/${{ env.DIGITALOCEAN_CLUSTER_CONTEXT }}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
425 | 427 | sed --in-place "s/OTOMI_VERSION_PLACEHOLDER/${GITHUB_REF##*/}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
426 | 428 | touch values-container-registry.yaml
|
@@ -453,7 +455,7 @@ jobs:
|
453 | 455 | [[ '${{ inputs.certificate }}' == 'letsencrypt_staging' ]] && echo "$LETSENCRYPT_STAGING" >> values.yaml
|
454 | 456 | [[ '${{ inputs.certificate }}' == 'letsencrypt_production' ]] && echo "$LETSENCRYPT_PRODUCTION" >> values.yaml
|
455 | 457 |
|
456 |
| - install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/otomi \ |
| 458 | + install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/apl \ |
457 | 459 | --values tests/integration/${{ inputs.install_profile }}.yaml \
|
458 | 460 | --values values-container-registry.yaml
|
459 | 461 | --values values.yaml \
|
@@ -572,16 +574,16 @@ jobs:
|
572 | 574 | run: |
|
573 | 575 | kubectl create secret docker-registry reg-otomi-github \
|
574 | 576 | --docker-server=${{ env.CACHE_REGISTRY }} \
|
575 |
| - --docker-username=${{ env.GIT_USER }} \ |
576 |
| - --docker-password='${{ secrets.NPM_TOKEN }}' |
| 577 | + --docker-username=${{ env.BOT_USERNAME }} \ |
| 578 | + --docker-password='${{ secrets.BOT_PULL_TOKEN }}' |
577 | 579 | - name: Checkout
|
578 | 580 | uses: actions/checkout@v4
|
579 | 581 | - name: Prepare Otomi chart
|
580 | 582 | if: ${{ inputs.install_profile != 'no-otomi' }}
|
581 | 583 | run: |
|
582 | 584 | ref=${{ github.event.pull_request.head.ref || github.ref }}
|
583 | 585 | tag=${ref##*/}
|
584 |
| - sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/otomi/Chart.yaml |
| 586 | + sed --in-place "s/APP_VERSION_PLACEHOLDER/$tag/g" chart/apl/Chart.yaml |
585 | 587 | sed --in-place "s/CONTEXT_PLACEHOLDER/${{ env.LINODE_CLUSTER_CONTEXT }}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
586 | 588 | sed --in-place "s/OTOMI_VERSION_PLACEHOLDER/${GITHUB_REF##*/}/g" tests/integration/${{ inputs.install_profile }}.yaml
|
587 | 589 | touch values-container-registry.yaml
|
@@ -614,7 +616,7 @@ jobs:
|
614 | 616 | [[ '${{ inputs.certificate }}' == 'letsencrypt_staging' ]] && echo "$LETSENCRYPT_STAGING" >> values.yaml
|
615 | 617 | [[ '${{ inputs.certificate }}' == 'letsencrypt_production' ]] && echo "$LETSENCRYPT_PRODUCTION" >> values.yaml
|
616 | 618 |
|
617 |
| - install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/otomi \ |
| 619 | + install_args="--wait --wait-for-jobs --timeout 90m0s otomi chart/apl \ |
618 | 620 | --values tests/integration/${{ inputs.install_profile }}.yaml \
|
619 | 621 | --values values-container-registry.yaml
|
620 | 622 | --values values.yaml \
|
|
0 commit comments