Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prepull_singularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SASC
prepull_singularity
Commits
c918b9e3
Commit
c918b9e3
authored
5 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
digest will no longer be looked up for digest inputs
parent
616c75c6
No related branches found
No related tags found
1 merge request
!4
digest will no longer be looked up for digest inputs
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
prepull_singularity.py
+5
-1
5 additions, 1 deletion
prepull_singularity.py
test.yml
+2
-1
2 additions, 1 deletion
test.yml
with
7 additions
and
2 deletions
prepull_singularity.py
+
5
−
1
View file @
c918b9e3
...
...
@@ -209,7 +209,11 @@ def main():
if
not
isinstance
(
image
,
str
):
raise
ValueError
(
"'
{0}
'
is not a string
"
.
format
(
str
(
image
)))
imagetopull
=
taggedimagetodigest
(
image
)
if
args
.
use_digest
else
image
if
args
.
use_digest
and
"
@
"
not
in
image
:
imagetopull
=
taggedimagetodigest
(
image
)
else
:
imagetopull
=
image
if
imagetopull
is
not
None
:
successes
.
append
(
pullimage
(
imagetopull
,
args
.
max_attempts
,
args
.
prefix
,
...
...
This diff is collapsed.
Click to expand it.
test.yml
+
2
−
1
View file @
c918b9e3
...
...
@@ -5,4 +5,5 @@ non_existant_quay: "quay.io/HEY!"
non_existant_docker
:
"
Hey!"
wrong_tag_quay
:
"
quay.io/biocontainers/collect-columns:0.2.0--py"
wrong_tag_docker
:
"
alpine:letshopethisisntarealtag"
no_tag
:
"
alpine"
\ No newline at end of file
no_tag
:
"
alpine"
digest
:
"
debian@sha256:f05c05a218b7a4a5fe979045b1c8e2a9ec3524e5611ebfdd0ef5b8040f9008fa"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment