Skip to content

Commit b6e9b78

Browse files
committed
Remove unused pull request triggers and clean up CI/CD pipeline configuration
1 parent f76c231 commit b6e9b78

File tree

2 files changed

+122
-130
lines changed

2 files changed

+122
-130
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
push:
77
branches:
88
- "**"
9-
pull_request:
10-
types: [opened, reopened]
11-
branches:
12-
- main
139

1410
concurrency:
1511
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
@@ -35,7 +31,6 @@ jobs:
3531
version: ${{ steps.variables.outputs.version }}
3632
is_version_prerelease: ${{ steps.variables.outputs.is_version_prerelease }}
3733
does_pull_request_exist: ${{ steps.pr_exists.outputs.does_pull_request_exist }}
38-
pr_number: ${{ steps.pr_exists.outputs.pr_number }}
3934
steps:
4035
- name: "Checkout code"
4136
uses: actions/checkout@v5

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

Lines changed: 122 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ on:
2727
description: "Terraform version, set by the CI/CD pipeline workflow"
2828
required: true
2929
type: string
30-
pr_number:
31-
required: true
32-
type: string
3330
version:
3431
description: "Version of the software, set by the CI/CD pipeline workflow"
3532
required: true
@@ -40,26 +37,26 @@ permissions:
4037
contents: read
4138

4239
jobs:
43-
environment-set-up:
44-
name: "Environment set up"
45-
runs-on: ubuntu-latest
46-
timeout-minutes: 5
47-
steps:
48-
- name: "Checkout code"
49-
uses: actions/checkout@v5
50-
- name: "Create infractructure"
51-
run: |
52-
echo "Creating infractructure..."
53-
- name: "Update database"
54-
run: |
55-
echo "Updating database..."
56-
- name: "Deploy application"
57-
run: |
58-
echo "Deploying application..."
40+
# environment-set-up:
41+
# name: "Environment set up"
42+
# runs-on: ubuntu-latest
43+
# timeout-minutes: 5
44+
# steps:
45+
# - name: "Checkout code"
46+
# uses: actions/checkout@v5
47+
# - name: "Create infractructure"
48+
# run: |
49+
# echo "Creating infractructure..."
50+
# - name: "Update database"
51+
# run: |
52+
# echo "Updating database..."
53+
# - name: "Deploy application"
54+
# run: |
55+
# echo "Deploying application..."
5956
test-contract:
6057
name: "Contract test"
6158
runs-on: ubuntu-latest
62-
needs: environment-set-up
59+
# needs: environment-set-up
6360
timeout-minutes: 10
6461
steps:
6562
- name: "Checkout code"
@@ -70,108 +67,108 @@ jobs:
7067
- name: "Save result"
7168
run: |
7269
echo "Nothing to save"
73-
test-security:
74-
name: "Security test"
75-
runs-on: ubuntu-latest
76-
needs: environment-set-up
77-
timeout-minutes: 10
78-
steps:
79-
- name: "Checkout code"
80-
uses: actions/checkout@v5
81-
- name: "Run security test"
82-
run: |
83-
make test-security
84-
- name: "Save result"
85-
run: |
86-
echo "Nothing to save"
87-
test-ui:
88-
name: "UI test"
89-
runs-on: ubuntu-latest
90-
needs: environment-set-up
91-
timeout-minutes: 10
92-
steps:
93-
- name: "Checkout code"
94-
uses: actions/checkout@v5
95-
- name: "Run UI test"
96-
run: |
97-
make test-ui
98-
- name: "Save result"
99-
run: |
100-
echo "Nothing to save"
101-
test-ui-performance:
102-
name: "UI performance test"
103-
runs-on: ubuntu-latest
104-
needs: environment-set-up
105-
timeout-minutes: 10
106-
steps:
107-
- name: "Checkout code"
108-
uses: actions/checkout@v5
109-
- name: "Run UI performance test"
110-
run: |
111-
make test-ui-performance
112-
- name: "Save result"
113-
run: |
114-
echo "Nothing to save"
115-
test-integration:
116-
name: "Integration test"
117-
runs-on: ubuntu-latest
118-
needs: environment-set-up
119-
timeout-minutes: 10
120-
steps:
121-
- name: "Checkout code"
122-
uses: actions/checkout@v5
123-
- name: "Run integration test"
124-
run: |
125-
make test-integration
126-
- name: "Save result"
127-
run: |
128-
echo "Nothing to save"
129-
test-accessibility:
130-
name: "Accessibility test"
131-
runs-on: ubuntu-latest
132-
needs: environment-set-up
133-
timeout-minutes: 10
134-
steps:
135-
- name: "Checkout code"
136-
uses: actions/checkout@v5
137-
- name: "Run accessibility test"
138-
run: |
139-
make test-accessibility
140-
- name: "Save result"
141-
run: |
142-
echo "Nothing to save"
143-
test-load:
144-
name: "Load test"
145-
runs-on: ubuntu-latest
146-
needs: environment-set-up
147-
timeout-minutes: 10
148-
steps:
149-
- name: "Checkout code"
150-
uses: actions/checkout@v5
151-
- name: "Run load tests"
152-
run: |
153-
make test-load
154-
- name: "Save result"
155-
run: |
156-
echo "Nothing to save"
157-
environment-tear-down:
158-
name: "Environment tear down"
159-
runs-on: ubuntu-latest
160-
needs:
161-
[
162-
test-accessibility,
163-
test-contract,
164-
test-integration,
165-
test-load,
166-
test-security,
167-
test-ui-performance,
168-
test-ui,
169-
]
170-
if: always()
171-
timeout-minutes: 5
172-
steps:
173-
- name: "Checkout code"
174-
uses: actions/checkout@v5
175-
- name: "Tear down environment"
176-
run: |
177-
echo "Tearing down environment..."
70+
# test-security:
71+
# name: "Security test"
72+
# runs-on: ubuntu-latest
73+
# needs: environment-set-up
74+
# timeout-minutes: 10
75+
# steps:
76+
# - name: "Checkout code"
77+
# uses: actions/checkout@v5
78+
# - name: "Run security test"
79+
# run: |
80+
# make test-security
81+
# - name: "Save result"
82+
# run: |
83+
# echo "Nothing to save"
84+
# test-ui:
85+
# name: "UI test"
86+
# runs-on: ubuntu-latest
87+
# needs: environment-set-up
88+
# timeout-minutes: 10
89+
# steps:
90+
# - name: "Checkout code"
91+
# uses: actions/checkout@v5
92+
# - name: "Run UI test"
93+
# run: |
94+
# make test-ui
95+
# - name: "Save result"
96+
# run: |
97+
# echo "Nothing to save"
98+
# test-ui-performance:
99+
# name: "UI performance test"
100+
# runs-on: ubuntu-latest
101+
# needs: environment-set-up
102+
# timeout-minutes: 10
103+
# steps:
104+
# - name: "Checkout code"
105+
# uses: actions/checkout@v5
106+
# - name: "Run UI performance test"
107+
# run: |
108+
# make test-ui-performance
109+
# - name: "Save result"
110+
# run: |
111+
# echo "Nothing to save"
112+
# test-integration:
113+
# name: "Integration test"
114+
# runs-on: ubuntu-latest
115+
# needs: environment-set-up
116+
# timeout-minutes: 10
117+
# steps:
118+
# - name: "Checkout code"
119+
# uses: actions/checkout@v5
120+
# - name: "Run integration test"
121+
# run: |
122+
# make test-integration
123+
# - name: "Save result"
124+
# run: |
125+
# echo "Nothing to save"
126+
# test-accessibility:
127+
# name: "Accessibility test"
128+
# runs-on: ubuntu-latest
129+
# needs: environment-set-up
130+
# timeout-minutes: 10
131+
# steps:
132+
# - name: "Checkout code"
133+
# uses: actions/checkout@v5
134+
# - name: "Run accessibility test"
135+
# run: |
136+
# make test-accessibility
137+
# - name: "Save result"
138+
# run: |
139+
# echo "Nothing to save"
140+
# test-load:
141+
# name: "Load test"
142+
# runs-on: ubuntu-latest
143+
# needs: environment-set-up
144+
# timeout-minutes: 10
145+
# steps:
146+
# - name: "Checkout code"
147+
# uses: actions/checkout@v5
148+
# - name: "Run load tests"
149+
# run: |
150+
# make test-load
151+
# - name: "Save result"
152+
# run: |
153+
# echo "Nothing to save"
154+
# environment-tear-down:
155+
# name: "Environment tear down"
156+
# runs-on: ubuntu-latest
157+
# needs:
158+
# [
159+
# test-accessibility,
160+
# test-contract,
161+
# test-integration,
162+
# test-load,
163+
# test-security,
164+
# test-ui-performance,
165+
# test-ui,
166+
# ]
167+
# if: always()
168+
# timeout-minutes: 5
169+
# steps:
170+
# - name: "Checkout code"
171+
# uses: actions/checkout@v5
172+
# - name: "Tear down environment"
173+
# run: |
174+
# echo "Tearing down environment..."

0 commit comments

Comments
 (0)