@@ -113,23 +113,25 @@ jobs:
113113 version : " ${{ needs.metadata.outputs.version }}"
114114 secrets : # inherit
115115 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
116- build-stage : # Recommended maximum execution time is 3 minutes
117- name : " Build stage"
118- needs : [metadata, test-stage]
119- uses : ./.github/workflows/stage-3-build.yaml
120- if : needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')) || (github.event_name == 'push' && github.ref == 'refs/heads/main')
121- with :
122- build_datetime : " ${{ needs.metadata.outputs.build_datetime }}"
123- build_timestamp : " ${{ needs.metadata.outputs.build_timestamp }}"
124- build_epoch : " ${{ needs.metadata.outputs.build_epoch }}"
125- nodejs_version : " ${{ needs.metadata.outputs.nodejs_version }}"
126- python_version : " ${{ needs.metadata.outputs.python_version }}"
127- terraform_version : " ${{ needs.metadata.outputs.terraform_version }}"
128- version : " ${{ needs.metadata.outputs.version }}"
116+ # revert this change, only to speed up deployment whilst developing
117+ # build-stage: # Recommended maximum execution time is 3 minutes
118+ # name: "Build stage"
119+ # needs: [metadata, test-stage]
120+ # uses: ./.github/workflows/stage-3-build.yaml
121+ # if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')) || (github.event_name == 'push' && github.ref == 'refs/heads/main')
122+ # with:
123+ # build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
124+ # build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"
125+ # build_epoch: "${{ needs.metadata.outputs.build_epoch }}"
126+ # nodejs_version: "${{ needs.metadata.outputs.nodejs_version }}"
127+ # python_version: "${{ needs.metadata.outputs.python_version }}"
128+ # terraform_version: "${{ needs.metadata.outputs.terraform_version }}"
129+ # version: "${{ needs.metadata.outputs.version }}"
129130 # secrets: inherit
130131 pr-create-dynamic-environment :
131132 name : Trigger dynamic environment creation
132- needs : [metadata, build-stage]
133+ # needs: [metadata, build-stage]
134+ needs : [metadata]
133135 runs-on : ubuntu-latest
134136 if : needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
135137 steps :
@@ -164,7 +166,8 @@ jobs:
164166 APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
165167 publish-stage : # Recommended maximum execution time is 10 minutes
166168 name : " Publish stage"
167- needs : [metadata, build-stage]
169+ # needs: [metadata, build-stage]
170+ needs : [metadata]
168171 uses : ./.github/workflows/stage-5-publish.yaml
169172 if : (github.event_name == 'push' && github.ref == 'refs/heads/main')
170173 with :
0 commit comments