Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PanGeTools
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Mergez
PanGeTools
Commits
521b3f09
Commit
521b3f09
authored
1 year ago
by
Alexis Mergez
Browse files
Options
Downloads
Patches
Plain Diff
Updated pytools help section
parent
ee7d0840
No related branches found
Branches containing commit
Tags
v1.4.2
Tags containing commit
No related merge requests found
Pipeline
#167649
canceled
1 year ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+9
-3
9 additions, 3 deletions
.gitlab-ci.yml
PyTools.def
+2
-1
2 additions, 1 deletion
PyTools.def
with
11 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
3
View file @
521b3f09
...
...
@@ -15,7 +15,10 @@ build-and-push pangetools:
name
:
kaczmarj/apptainer:latest
entrypoint
:
[
"
"
]
rules
:
-
if
:
$CI_COMMIT_TAG
# Run this job when a tag is created
-
changes
:
-
PanGeTools.sif
-
exists
:
# Run this job when a tag is created
-
$CI_COMMIT_TAG
script
:
-
sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" PanGeTools.def
-
apptainer build PanGeTools.sif PanGeTools.def
...
...
@@ -28,9 +31,12 @@ build-and-push pytools:
name
:
kaczmarj/apptainer:latest
entrypoint
:
[
"
"
]
rules
:
-
if
:
$CI_COMMIT_TAG
# Run this job when a tag is created
-
changes
:
-
PyTools.sif
-
exists
:
-
$CI_COMMIT_TAG
# Run this job when a tag is created
script
:
-
sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" P
anGe
Tools.def
-
sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" P
y
Tools.def
-
apptainer build PyTools.sif PyTools.def
-
apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" PyTools.sif oras://"$CI_REGISTRY_IMAGE"/pytools:"$CI_COMMIT_TAG"
-
apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" PyTools.sif oras://"$CI_REGISTRY_IMAGE"/pytools:latest
...
...
This diff is collapsed.
Click to expand it.
PyTools.def
+
2
−
1
View file @
521b3f09
...
...
@@ -24,4 +24,5 @@ Stage: build
- RagTag
- Biopython
- pandas
- numpy
\ No newline at end of file
- numpy
To use the image, use apptainer run <image path>.sif [command]
\ 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