Skip to content

Commit abbdf9d

Browse files
authored
Merge pull request #177 from NHSDigital/remove-build-acceptance
Remove build and acceptance workflows
2 parents 8e30a20 + 2adfc1a commit abbdf9d

File tree

4 files changed

+0
-298
lines changed

4 files changed

+0
-298
lines changed

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,3 @@ jobs:
8787
python_version: "${{ needs.metadata.outputs.python_version }}"
8888
version: "${{ needs.metadata.outputs.version }}"
8989
secrets: inherit
90-
build-stage: # Recommended maximum execution time is 3 minutes
91-
name: "Build stage"
92-
needs: [metadata, test-stage]
93-
uses: ./.github/workflows/stage-3-build.yaml
94-
if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
95-
with:
96-
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
97-
build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"
98-
build_epoch: "${{ needs.metadata.outputs.build_epoch }}"
99-
nodejs_version: "${{ needs.metadata.outputs.nodejs_version }}"
100-
python_version: "${{ needs.metadata.outputs.python_version }}"
101-
version: "${{ needs.metadata.outputs.version }}"
102-
secrets: inherit
103-
acceptance-stage: # Recommended maximum execution time is 10 minutes
104-
name: "Acceptance stage"
105-
needs: [metadata, build-stage]
106-
uses: ./.github/workflows/stage-4-acceptance.yaml
107-
if: needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
108-
with:
109-
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
110-
build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"
111-
build_epoch: "${{ needs.metadata.outputs.build_epoch }}"
112-
nodejs_version: "${{ needs.metadata.outputs.nodejs_version }}"
113-
python_version: "${{ needs.metadata.outputs.python_version }}"
114-
version: "${{ needs.metadata.outputs.version }}"
115-
secrets: inherit

.github/workflows/stage-2-test.yaml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -29,49 +29,8 @@ on:
2929
type: string
3030

3131
jobs:
32-
test-unit:
33-
name: "Unit tests"
34-
runs-on: ubuntu-latest
35-
timeout-minutes: 5
36-
steps:
37-
- name: "Checkout code"
38-
uses: actions/checkout@v4
39-
- name: "Run unit test suite"
40-
run: |
41-
make test-unit
42-
- name: "Save the result of fast test suite"
43-
run: |
44-
echo "Nothing to save"
45-
test-lint:
46-
name: "Linting"
47-
runs-on: ubuntu-latest
48-
timeout-minutes: 5
49-
steps:
50-
- name: "Checkout code"
51-
uses: actions/checkout@v4
52-
- name: "Run linting"
53-
run: |
54-
make test-lint
55-
- name: "Save the linting result"
56-
run: |
57-
echo "Nothing to save"
58-
test-coverage:
59-
name: "Test coverage"
60-
needs: [test-unit]
61-
runs-on: ubuntu-latest
62-
timeout-minutes: 5
63-
steps:
64-
- name: "Checkout code"
65-
uses: actions/checkout@v4
66-
- name: "Run test coverage check"
67-
run: |
68-
make test-coverage
69-
- name: "Save the coverage check result"
70-
run: |
71-
echo "Nothing to save"
7232
perform-static-analysis:
7333
name: "Perform static analysis"
74-
needs: [test-unit]
7534
runs-on: ubuntu-latest
7635
permissions:
7736
id-token: write

.github/workflows/stage-3-build.yaml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/stage-4-acceptance.yaml

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)