Skip to content

Retrieve syft image tag from jenkins env vars, default to latest #344

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

Merged
merged 2 commits into from
Jun 22, 2025

Conversation

aptalca
Copy link
Member

@aptalca aptalca commented Jun 10, 2025

  • Retrieve env var SYFT_IMAGE_TAG from jenkins env vars and use it for package check
  • Attempt to pass the value of an optional CI_SYFT_IMAGE_TAG var to ci container with fall back to the value of SYFT_IMAGE_TAG
  • If unset, default to tag latest

Test when var is unset on jenkins (defaulted to latest):
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-synclounge/job/jenkinstest/3/pipeline-overview/?selected-node=34
Test when var is set to v1.26.1:
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-synclounge/job/jenkinstest/4/pipeline-overview/?selected-node=34

Needs to be merged before linuxserver/docker-ci#63 and the jenkins env SYFT_IMAGE_TAG=v1.26.1 set at the time.

@aptalca aptalca requested a review from a team June 10, 2025 14:46
@LinuxServer-CI LinuxServer-CI moved this to PRs Ready For Team Review in Issue & PR Tracker Jun 10, 2025
@aptalca aptalca mentioned this pull request Jun 10, 2025
@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/7561573c-pkg-7561573c-dev-864b2ca6df954ba12354b420017d971e8a1d841a-pr-344/index.html
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/7561573c-pkg-7561573c-dev-864b2ca6df954ba12354b420017d971e8a1d841a-pr-344/shellcheck-result.xml

Tag Passed
amd64-7561573c-pkg-7561573c-dev-864b2ca6df954ba12354b420017d971e8a1d841a-pr-344
arm64v8-7561573c-pkg-7561573c-dev-864b2ca6df954ba12354b420017d971e8a1d841a-pr-344

@LinuxServer-CI LinuxServer-CI moved this from PRs Ready For Team Review to PRs in Issue & PR Tracker Jun 10, 2025
@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/7561573c-pkg-7561573c-dev-bb00a6d6b01058a648a8f23da34715db21274d33-pr-344/index.html
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/7561573c-pkg-7561573c-dev-bb00a6d6b01058a648a8f23da34715db21274d33-pr-344/shellcheck-result.xml

Tag Passed
amd64-7561573c-pkg-7561573c-dev-bb00a6d6b01058a648a8f23da34715db21274d33-pr-344
arm64v8-7561573c-pkg-7561573c-dev-bb00a6d6b01058a648a8f23da34715db21274d33-pr-344

@github-project-automation github-project-automation bot moved this from PRs to PRs Approved in Issue & PR Tracker Jun 22, 2025
@aptalca aptalca merged commit 600f6a1 into monthly Jun 22, 2025
4 checks passed
@aptalca aptalca deleted the monthly-syft branch June 22, 2025 16:20
@LinuxServer-CI LinuxServer-CI moved this from PRs Approved to Done in Issue & PR Tracker Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants