Skip to content

Verify containerlab source consistency before releases - #206

Open
jbemmel wants to merge 1 commit into
srl-labs:mainfrom
jbemmel:ci/check-containerlab-release
Open

jbemmel wants to merge 1 commit into
srl-labs:mainfrom
jbemmel:ci/check-containerlab-release

Conversation

@jbemmel

@jbemmel jbemmel commented Nov 23, 2026

Copy link
Copy Markdown

The containerlab Go module and upstream Git tag can have the same version while containing different source. Check their contents before a release build and stop publication if they differ. Pseudo-versions are checked against their pinned commit; normal versions are checked against their upstream tag.

PR #205 is an example: the cached v0.83.0 Go module lacked an SR Linux fix present in the CLI built from the v0.83.0 Git tag. This check detects that mismatch before publishing a server release. Until #205 or an equivalent dependency update is merged, the existing v0.83.0 dependency is expected to fail this gate.

Validation:

  • The check passed with the fixed revision from Fix apply when changing a node to SR Linux #205.
  • The check failed with the original v0.83.0 module and reported the differing SR Linux files.
  • bash -n scripts/check-containerlab-version.sh and git diff --check passed.

This branch has not been deployed

No deployments
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