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

Docker: Raise error if VEP version and release branch mismatch #1748

Conversation

nuno-agostinho
Copy link
Contributor

@nuno-agostinho nuno-agostinho commented Aug 28, 2024

When the branch name to build the Docker image starts with release/ (release branch), raise an error if there is a mismatch between VEP version and the version in the release branch name.

Testing

Check Docker image build completes depending on the branch argument:

  • If ARG BRANCH=main, it should build successfully
  • If ARG BRANCH=release/113, it should pass (depending on the VEP version in modules/Bio/EnsEMBL/VEP/Constants.pm)
  • If ARG BRANCH=release/113.4, it should pass (subversions are ignored)
  • If ARG BRANCH=release/112, it should fail

Copy link
Contributor

@likhitha-surapaneni likhitha-surapaneni left a comment

Choose a reason for hiding this comment

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

Works as expected, thanks @nuno-agostinho

@likhitha-surapaneni likhitha-surapaneni merged commit 1959ffd into Ensembl:postreleasefix/113 Sep 2, 2024
1 check passed
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