Skip to content

Commit fee67ce

Browse files
IlyesbdlalaJ12934
authored andcommitted
Added info about installed software on the CI virtual env
Corrected the python version with the one that's actually installed in the ubuntu version the python version variable is currently not being used. Replaced "ubuntu-latest" with "ubuntu-20.04" for accuracy Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 87c2dbf commit fee67ce

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ on:
99
schedule:
1010
- cron: "15 2 * * *" # Nightly-Build at 2:15 AM UTC
1111

12+
# The CI runs on ubuntu-20.04; More info about the installed software is found here:
13+
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md
14+
1215
env:
1316
# ---- Language Versions ----
1417

1518
GO_VERSION: "1.17"
16-
PYTHON_VERSION: "3.9"
19+
PYTHON_VERSION: "3.8.10"
1720
NODE_VERSION: "16"
1821
NPM_VERSION: "7"
1922

@@ -24,7 +27,7 @@ jobs:
2427

2528
unit-java:
2629
name: "Unit-Test | Java"
27-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-20.04
2831
strategy:
2932
matrix:
3033
unit: ["persistence-defectdojo"]
@@ -45,7 +48,7 @@ jobs:
4548

4649
operator:
4750
name: "Build | Operator"
48-
runs-on: ubuntu-latest
51+
runs-on: ubuntu-20.04
4952
strategy:
5053
matrix:
5154
component: ["operator", "lurker"]
@@ -83,7 +86,7 @@ jobs:
8386

8487
auto-discovery-kubernetes:
8588
name: "AutoDiscovery | Kubernetes"
86-
runs-on: ubuntu-latest
89+
runs-on: ubuntu-20.04
8790
steps:
8891
- name: Checkout
8992
uses: actions/checkout@v2
@@ -122,7 +125,7 @@ jobs:
122125

123126
sdk:
124127
name: "Build | SDKs"
125-
runs-on: ubuntu-latest
128+
runs-on: ubuntu-20.04
126129
strategy:
127130
matrix:
128131
sdk:
@@ -154,7 +157,7 @@ jobs:
154157
needs:
155158
- sdk
156159
- operator
157-
runs-on: ubuntu-latest
160+
runs-on: ubuntu-20.04
158161
strategy:
159162
fail-fast: false
160163
matrix:
@@ -305,7 +308,7 @@ jobs:
305308
needs:
306309
- sdk
307310
- operator
308-
runs-on: ubuntu-latest
311+
runs-on: ubuntu-20.04
309312
steps:
310313
- name: Checkout
311314
uses: actions/checkout@v2
@@ -426,7 +429,7 @@ jobs:
426429
name: Integration Tests Hook ${{ matrix.hook }} | k8s ${{ matrix.k8sVersion }}
427430
needs:
428431
- operator
429-
runs-on: ubuntu-latest
432+
runs-on: ubuntu-20.04
430433
strategy:
431434
matrix:
432435
k8sVersion:

0 commit comments

Comments
 (0)