Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Driver Sample Files and modules for Patch 1.10.2 #558

Merged
merged 16 commits into from
May 16, 2024
Merged
7 changes: 2 additions & 5 deletions .github/containerscan/allowedlist.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
general:
vulnerabilities:
# list of CVEs that are currently unfixed
- CVE-2022-42898
- CVE-2022-47629 # this will be removed with the libskba library is updated in the UBI image
- CVE-2019-1010022
- CVE-2023-0286
- CVE-2023-4911 # this will be removed with the glibc library is updated in the UBI image
- CVE-2024-2961
- CVE-2024-33599

bestPracticeViolations:
# list of best practies violatied that needs a fix
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Workflow
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ '**' ]
branches: ["**"]
jobs:
code-check:
name: Check Go formatting, linting, vetting
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Run the formatter, linter, and vetter
uses: dell/common-github-actions/go-code-formatter-linter-vetter@main
with:
Expand All @@ -21,7 +21,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout the code
# uses: actions/checkout@v3.2.0
# uses: actions/checkout@v4
# - name: Run the forbidden words scan
# uses: dell/common-github-actions/code-sanitizer@main
# with:
Expand All @@ -31,16 +31,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: Checkout csm-operator
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
with:
repository: 'dell/csm-operator'
path: 'csm-operator'
repository: "dell/csm-operator"
path: "csm-operator"
- name: Run unit tests and check package coverage
uses: dell/common-github-actions/go-code-tester@csm-operator-controllers
with:
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Run unit tests and check package coverage
uses: dell/common-github-actions/go-code-tester@main
with:
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Run unit tests and check package coverage
uses: dell/common-github-actions/go-code-tester@main
with:
Expand All @@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Run Go Security
uses: securego/gosec@master
with:
Expand All @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Run malware scan
uses: dell/common-github-actions/malware-scanner@main
with:
Expand All @@ -92,20 +92,20 @@ jobs:
name: Image Scanner
runs-on: ubuntu-latest
env:
BASE_IMG : ubuntu:latest
BASE_IMG: ubuntu:latest
steps:
- name: Set up Go 1.22+
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ^1.22
id: go
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Build Docker Images
run: DEFAULT_IMG=csm-operator:latest make -o gen-semver docker-build
run: DEFAULT_IMG=csm-operator:latest make -o gen-semver docker-build
- name: Scan controller Image
uses: Azure/container-scan@v0
env:
env:
DOCKLE_HOST: "unix:///var/run/docker.sock"
with:
image-name: csm-operator:latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: Checkout the code
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
- name: Vendor packages
run: |
go mod vendor
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v5
with:
version: v1.55
version: latest
skip-cache: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ OPM = $(shell which opm)
endif
endif

# A comma-separated list of bundle images (e.g. make catalog-build BUNDLE_IMGS=example.com/operator-bundle:v0.1.0,example.com/operator-bundle:v1.5.0).
# A comma-separated list of bundle images (e.g. make catalog-build BUNDLE_IMGS=example.com/operator-bundle:v0.1.0,example.com/operator-bundle:v1.5.1).
# These images MUST exist in a registry and be pull-able.
BUNDLE_IMGS ?= $(BUNDLE_IMG)

Expand Down
Loading
Loading