Skip to content
Snippets Groups Projects
Commit c01ea611 authored by Alexis Mergez's avatar Alexis Mergez
Browse files

Updated CICD and README

parent b8ff41d9
No related branches found
Tags v0.1-RC.1
No related merge requests found
Pipeline #262574 failed
......@@ -11,22 +11,8 @@ Build_LENV:
- sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" LENV.def
- apptainer build LENV.sif LENV.def
- apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" LENV.sif oras://"$CI_REGISTRY_IMAGE"/lenv:"$CI_COMMIT_TAG"
- apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" LENV.sif oras://"$CI_REGISTRY_IMAGE"/lenv:latest
artifacts:
paths:
- LENV.sif
expire_in: 1 week
Latest_LENV:
stage: deploy
tags:
- stable # Using Stable runners as test runners don't work properly
needs:
- job: "Build_LENV"
image:
name: kaczmarj/apptainer:latest
entrypoint: [""]
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created
when: manual
script:
- apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" LENV.sif oras://"$CI_REGISTRY_IMAGE"/lenv:latest
\ No newline at end of file
expire_in: 1 week
\ No newline at end of file
# LENV
Apptainer environment for my Deep Learning projects
\ No newline at end of file
Apptainer environment for my Deep Learning projects
# Version
## Naming
Main versions : `v<x>.<y>`
Test versions : `v<x>.<y>-RC.<z>`
All tagged commit start the build of the image. Release Candidates images are removed after 90 days.
`latest` is always the latest image build, regardless if its a `main` or `test` version.
## Version history
```
v0.1 - 18/11/24 - Initial version
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment