Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 403e7af4 authored by Vicente Mataix Ferrándiz's avatar Vicente Mataix Ferrándiz
Browse files

Adding to CI

parent 621249f8
No related branches found
No related tags found
1 merge request!13[DO NOT MERGE] Tutor lottery for the notebooks
Pipeline #245308 passed
......@@ -2,6 +2,7 @@ image: docker
stages:
- build
- lottery
build_docker:
stage: build
......@@ -16,3 +17,17 @@ build_docker:
- docker build -f docker/Dockerfile -t $CI_REGISTRY/$CI_PROJECT_PATH:latest .
- docker container prune
- docker push $CI_REGISTRY/$CI_PROJECT_PATH:latest
lottery:
image: ubuntu:latest
stage: lottery
tags:
- linux
only:
- merge_requests
script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- apt-get -y install python3
- python3 ./Scripts/lottery.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment