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

refactor(ci): update go and add cve check #375

Merged
merged 57 commits into from
Sep 18, 2024

Conversation

universal-itengineer
Copy link
Member

@universal-itengineer universal-itengineer commented Sep 17, 2024

Description

Added CI weekly CVE check via trivy
Updated go version to 1.22.7 to prevent recent CVEs.
Remove unnecessary base go images
Updated base image alpine image to 3.17.10
Updated base image debian:bookworm-slim

Why do we need it, and what problem does it solve?

Improved protection of images against various vulnerabilities
Improved ci

What is the expected result?

All pods will be restarted.
VMs will be migrated, if workload settings set to livemigration in other case you should manually restart them.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@universal-itengineer universal-itengineer changed the title refactor(ci): update go and add trivy check refactor(ci): update go and add cve check Sep 17, 2024
@universal-itengineer universal-itengineer force-pushed the refactor/ci/update-go-add-trivy branch 4 times, most recently from 9faafb2 to 907e4b2 Compare September 17, 2024 07:14
@universal-itengineer universal-itengineer force-pushed the refactor/ci/update-go-add-trivy branch 2 times, most recently from c343e41 to 2f3a860 Compare September 17, 2024 09:55
Taskfile.yaml Outdated Show resolved Hide resolved
Taskfile.yaml Outdated Show resolved Hide resolved
tools/cve/scan-main.sh Outdated Show resolved Hide resolved
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Co-authored-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@universal-itengineer universal-itengineer merged commit a435890 into main Sep 18, 2024
10 checks passed
@universal-itengineer universal-itengineer deleted the refactor/ci/update-go-add-trivy branch September 18, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants