8000 Update Various CI Components by J12934 · Pull Request #3136 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ on:
- v[0-9]+.x
pull_request:

# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

env:
# ---- Language Versions ----

GO_VERSION: "1.24.2"
PYTHON_VERSION: "3.9.16"
KIND_NODE_IMAGE: "kindest/node:v1.33.0@sha256:02f73d6ae3f11ad5d543f16736a2cb2a63a300ad60e81dac22099b0b04784a4e"
KUBECTL_VERSION: "v1.33.0"
KIND_BINARY_VERSION: "v0.27.0"
HELM_VERSION: "v3.17.3"
HELM_PLUGIN_UNITTEST: "0.5.1"
GO_VERSION: "1.24.5"
PYTHON_VERSION: "3.13.5"
KIND_NODE_IMAGE: "kindest/node:v1.33.1@sha256:050072256b9a903bd914c0b2866828150cb229cea0efe5892e2b644d5dd3b34f"
KUBECTL_VERSION: "v1.33.2"
KIND_BINARY_VERSION: "v0.29.0"
HELM_VERSION: "v3.18.4"
HELM_PLUGIN_UNITTEST: "0.8.2"
TASK_VERSION: "v3.44.0"

jobs:
test-nodejs-scanner-test-helpers:
name: "Unit Test | Node.js Scanner Test Helpers"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -44,7 +44,7 @@ jobs:
run: bun test helpers.test.js
k8s-setup:
name: "Setup Kind & Kubectl & Helm & Task"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

helm-unit-test:
name: "Unit-Test | Helm"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- k8s-setup
steps:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:

unit-java:
name: "Unit-Test | Java"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
unit: ["persistence-defectdojo"]
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

operator:
name: "Build | Operator"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
component: ["operator", "lurker"]
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:

auto-discovery-kubernetes:
name: "AutoDiscovery | Kubernetes"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
# ---- Build Stage | AutoDiscovery | Kubernetes | PullSecretExtractor ----
auto-discovery-kubernetes-secret-extraction-container:
name: "Autodiscovery | Kubernetes | SecretExtractionInitContainer"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- k8s-setup
steps:
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
# ---- Build Stage | AutoDiscovery | Cloud | AWS ----
auto-discovery-cloud-aws:
name: "AutoDiscovery | Cloud | AWS"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -380,7 +380,7 @@ jobs:

sdk:
name: "Build | SDKs"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
sdk:
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
- sdk
- operator
- k8s-setup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -576,7 +576,7 @@ jobs:
- sdk
- operator
- k8s-setup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -723,7 +723,7 @@ jobs:

sbctcl-tests:
name: "Run sbctcl Tests"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation-roulette.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
docu-roulette:
permissions:
issues: write # needed to create new issues
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'secureCodeBox/secureCodeBox'
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-charts-release-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
jobs:
GHCR-Helm-Release:
name: "Publish Helm Charts to GHCR"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/helm-charts-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

on:
Expand All @@ -12,7 +12,7 @@ name: "Publish Helm Charts"
jobs:
helm:
name: Package and Publish
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: "Install yq"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/helm-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md


Expand All @@ -13,7 +13,7 @@ on:
- main
jobs:
helm-docs:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'secureCodeBox/secureCodeBox'
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
comment:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Label Commenter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
license-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'secureCodeBox/secureCodeBox'
steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

---
# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

# MegaLinter GitHub Action configuration file
Expand All @@ -29,7 +29,7 @@ concurrency:
jobs:
build:
name: MegaLinter
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
# Git Checkout
- name: Checkout Code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/move-bot-pr-to-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
move-bot-pr-to-review:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
# only run if the branch starts with 'dependabot/' or 'dependencies/upgrading'
if: startsWith(github.head_ref, 'dependabot/') || startsWith(github.head_ref, 'dependencies/upgrading')
steps:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

name: "Release Build"
Expand All @@ -21,7 +21,7 @@ jobs:

operator:
name: "Build | Operator"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

auto-discovery-kubernetes:
name: "AutoDiscovery | Kubernetes"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

auto-discovery-kubernetes-pull-secret-extractor:
name: "AutoDiscovery | Kubernetes | Pull Secret Extractor"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

sdk:
name: "Build | SDKs"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
hooks:
name: "Build | Hooks"
needs: sdk
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:

dashboardImporter:
name: Dashboard Importer
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
parsers:
name: "Build | Parsers"
needs: sdk
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:

scanners-third-party:
name: "Build | Third Party Scanner"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -482,7 +482,7 @@ jobs:

scanners-custom:
name: "Build | Custom Scanner"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down Expand Up @@ -542,7 +542,7 @@ jobs:

demo-targets:
name: "Build | Custom Demo-Targets"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scb-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# including mikefarah/yq to fetch local and remote versions of the scanners,
# crazy-max/ghaction-import-gpg to import a GPG key, and jq to parse the JSON output of the scanner version API.

# The CI runs on ubuntu-22.04; More info about the installed software is found here:
# The CI runs on ubuntu-24.04; More info about the installed software is found here:
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

name: Check outdated scanners
Expand All @@ -20,7 +20,7 @@ on:
- cron: "15 9 * * *" # Daily at 9:15 (avoids the beginning of the hour congestion)
jobs:
version-compare:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'secureCodeBox/secureCodeBox'
strategy:
# Keep running other jobs even if one fails
Expand Down
Loading
0