|
1 | 1 | name: Build Navitia Dockers
|
2 | 2 |
|
3 | 3 | on:
|
| 4 | + pull_request: |
4 | 5 | push:
|
5 | 6 | branches:
|
6 | 7 | - dev
|
@@ -185,7 +186,7 @@ jobs:
|
185 | 186 | - name: Create navitia images
|
186 | 187 | run: |
|
187 | 188 | echo "********* Building Tyr Web ***************"
|
188 |
| - docker build -t navitia/$component --build-arg GITHUB_TOKEN=${{ steps.ci-core-app-token.outputs.token }} -f docker/debian11/Dockerfile-tyr-web . |
| 189 | + docker build -t navitia/tyr-web --build-arg GITHUB_TOKEN=${{ steps.ci-core-app-token.outputs.token }} -f docker/debian11/Dockerfile-tyr-web . |
189 | 190 |
|
190 | 191 | - name: Push dev images on SBX ECR
|
191 | 192 | if: github.ref == 'refs/heads/dev'
|
@@ -414,46 +415,46 @@ jobs:
|
414 | 415 | rm -rf ./.??*
|
415 | 416 |
|
416 | 417 |
|
417 |
| - publish_aws: |
418 |
| - runs-on: [self-hosted, corefront, sandbox] |
419 |
| - name: Aws Dispatch (Dev) |
420 |
| - needs: [debian8_front_images, debian8_back_images, debian11_images, common_variables] |
421 |
| - steps: |
422 |
| - - name: Generate token for aws images |
423 |
| - id: app-token |
424 |
| - |
425 |
| - with: |
426 |
| - app_id: ${{ secrets.GA_OS_WORKFLOW_TRIGGER_APP_ID }} |
427 |
| - private_key: ${{ secrets.GA_OS_WORKFLOW_TRIGGER_APP_PEM }} |
428 |
| - |
429 |
| - - name: Aws Dispatch Frontend for dev |
430 |
| - if: github.ref == 'refs/heads/dev' |
431 |
| - uses: peter-evans/repository-dispatch@v2 |
432 |
| - with: |
433 |
| - token: ${{ steps.app-token.outputs.token }} |
434 |
| - repository: hove-io/corefront-aws-assets |
435 |
| - event-type: build-trigger |
436 |
| - client-payload: '{"branch": "dev", "tag": "dev"}' |
437 |
| - |
438 |
| - - name: Aws Dispatch Frontend for release |
439 |
| - if: startsWith(github.ref, 'refs/tags/') |
440 |
| - uses: peter-evans/repository-dispatch@v2 |
441 |
| - with: |
442 |
| - token: ${{ steps.app-token.outputs.token }} |
443 |
| - repository: hove-io/corefront-aws-assets |
444 |
| - event-type: build-trigger |
445 |
| - client-payload: '{"branch": "release", "tag": "${{ needs.common_variables.outputs.RELEASE_TAG }}"}' |
446 |
| - |
447 |
| - - name: failure notification |
448 |
| - if: failure() |
449 |
| - run: | |
450 |
| - sudo apt update && sudo apt install -y httpie |
451 |
| - echo '{"text":":warning: Github Actions: dockers_builder the job publish_aws failed !"}' | http --json POST ${{secrets.SLACK_NAVITIA_TEAM_URL}} |
| 418 | + # publish_aws: |
| 419 | + # runs-on: [self-hosted, corefront, sandbox] |
| 420 | + # name: Aws Dispatch (Dev) |
| 421 | + # needs: [debian8_front_images, debian8_back_images, debian11_images, common_variables] |
| 422 | + # steps: |
| 423 | + # - name: Generate token for aws images |
| 424 | + # id: app-token |
| 425 | + # uses: getsentry/[email protected] |
| 426 | + # with: |
| 427 | + # app_id: ${{ secrets.GA_OS_WORKFLOW_TRIGGER_APP_ID }} |
| 428 | + # private_key: ${{ secrets.GA_OS_WORKFLOW_TRIGGER_APP_PEM }} |
| 429 | + |
| 430 | + # - name: Aws Dispatch Frontend for dev |
| 431 | + # if: github.ref == 'refs/heads/dev' |
| 432 | + # uses: peter-evans/repository-dispatch@v2 |
| 433 | + # with: |
| 434 | + # token: ${{ steps.app-token.outputs.token }} |
| 435 | + # repository: hove-io/corefront-aws-assets |
| 436 | + # event-type: build-trigger |
| 437 | + # client-payload: '{"branch": "dev", "tag": "dev"}' |
| 438 | + |
| 439 | + # - name: Aws Dispatch Frontend for release |
| 440 | + # if: startsWith(github.ref, 'refs/tags/') |
| 441 | + # uses: peter-evans/repository-dispatch@v2 |
| 442 | + # with: |
| 443 | + # token: ${{ steps.app-token.outputs.token }} |
| 444 | + # repository: hove-io/corefront-aws-assets |
| 445 | + # event-type: build-trigger |
| 446 | + # client-payload: '{"branch": "release", "tag": "${{ needs.common_variables.outputs.RELEASE_TAG }}"}' |
| 447 | + |
| 448 | + # - name: failure notification |
| 449 | + # if: failure() |
| 450 | + # run: | |
| 451 | + # sudo apt update && sudo apt install -y httpie |
| 452 | + # echo '{"text":":warning: Github Actions: dockers_builder the job publish_aws failed !"}' | http --json POST ${{secrets.SLACK_NAVITIA_TEAM_URL}} |
452 | 453 |
|
453 | 454 |
|
454 | 455 | run_artemis:
|
455 | 456 | runs-on: [self-hosted, corefront, sandbox]
|
456 |
| - needs: [publish_aws] |
| 457 | + needs: [debian11_back_images, debian11_front_images] |
457 | 458 | name: Run artemis Dispatch (Dev)
|
458 | 459 | if: github.ref == 'refs/heads/dev'
|
459 | 460 | steps:
|
|
0 commit comments