Skip to content
Snippets Groups Projects
Commit 967ac6db authored by Albin Heimerson's avatar Albin Heimerson
Browse files

Disable docker image and canvasapi install

parent 03c51e9c
Branches
No related tags found
No related merge requests found
......@@ -3,18 +3,16 @@ variables:
CANVAS_COURSE_CODE: 0
# Update this value to the correct course code
image: "python:3.7"
before_script:
- python3 -m pip install canvasapi
# Used if docker runner is needed, currently we run locally on a designated computer with this installed
#image: "python:3.7"
#before_script:
# - python3 -m pip install canvasapi
canvas_push:
script:
- |
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.control.lth.se/regler/canvassync.git
ls -al
cp canvassync/canvas_sync.py ./
python3 canvas_sync.py
git clone --depth=1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.control.lth.se/regler/canvassync.git
python3 canvassync/canvas_sync.py
stage: deploy
only:
changes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment