Skip to content

chore(ci): Use build image for Linux acceptance test dependencies#6703

Open
danskmt wants to merge 1 commit intomainfrom
chore/CLI-1403-circleci-linux-acceptance-build-image
Open

chore(ci): Use build image for Linux acceptance test dependencies#6703
danskmt wants to merge 1 commit intomainfrom
chore/CLI-1403-circleci-linux-acceptance-build-image

Conversation

@danskmt
Copy link
Copy Markdown
Contributor

@danskmt danskmt commented Apr 2, 2026

Pull Request Submission Checklist

  • Follows CONTRIBUTING guidelines
  • Commit messages are release-note ready, emphasizing what was changed, not how.
  • Includes detailed description of changes
  • Contains risk assessment (Low | Medium | High)
  • Highlights breaking API changes (if applicable)
  • Links to automated tests covering new functionality
  • Includes manual testing instructions (if necessary)
  • Updates relevant GitBook documentation (PR link: ___)
  • Includes product update to be announced in the next stable release notes

What does this PR do?

Updates CircleCI so Linux docker acceptance jobs no longer install xdg-utils, docker.io, and uv on every run; those tools are expected to be in snyklabs/cli-build-private / cli-build-private-arm64. Bumps the four docker executor image tags to the build produced after the Dockerfile change, and turns install-deps-linux-acceptance-tests into a no-op.

Where should the reviewer start?

  • .circleci/config.ymldocker-amd64*, docker-arm64* image tags and install-deps-linux-acceptance-tests

How should this be manually tested?

  1. Confirm Create Build Image completed on main with the new Dockerfile before this merges.
  2. After merge, watch Linux acceptance jobs on a non-main branch; they should stay green without the old install step.

What's the product update that needs to be communicated to CLI users?

None — CI only.

Risk assessment

Low - must ensure new image tag and noop for old installation step land together.

What are the relevant tickets?

CLI-1403

Related PR and Ticket: #6701 CLI-1443

@danskmt danskmt requested review from a team as code owners April 2, 2026 13:06
@snyk-io
Copy link
Copy Markdown

snyk-io bot commented Apr 2, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Comment on lines -381 to +386
# this can be removed if we install the xdg-utils package in the docker image
# xdg-utils, docker.io, and uv are now pre-installed in the build image (CLI-1403)
install-deps-linux-acceptance-tests:
steps:
- run:
name: Installing linux acceptance tests dependencies
command: |
sudo apt-get update
sudo apt-get install xdg-utils docker.io -y
curl -LsSf https://astral.sh/uv/install.sh | sh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $BASH_ENV
name: No dependencies to install (pre-installed in build image)
command: echo all done!
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave it as a NOOP (current change) or remove it completely?

@snyk-pr-review-bot
Copy link
Copy Markdown

PR Reviewer Guide 🔍

🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected
📚 Repository Context Analyzed

This review considered 5 relevant code sections from 3 files (average relevance: 0.73)

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.

1 participant