Skip to content

Commit

Permalink
Remove build repository check
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Apr 22, 2024
1 parent 85a01ba commit 76c9276
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/io/seqera/wave/cli/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ protected void validateArgs() {
if( isEmpty(image) && isEmpty(containerFile) && isEmpty(condaFile) && condaPackages==null && isEmpty(spackFile) && spackPackages==null && isEmpty(prompt) )
throw new IllegalCliArgumentException("Provide either a image name or a container file for the Wave container to be provisioned");

if( freeze && isEmpty(buildRepository) )
throw new IllegalCliArgumentException("Specify the build repository where the freeze container will be pushed by using the --build-repo option");

if( isEmpty(towerToken) && !isEmpty(buildRepository) )
throw new IllegalCliArgumentException("Specify the Tower access token required to authenticate the access to the build repository either by using the --tower-token option or the TOWER_ACCESS_TOKEN environment variable");

Expand Down

0 comments on commit 76c9276

Please sign in to comment.