Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CanvasSync
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Regler
CanvasSync
Commits
967ac6db
Commit
967ac6db
authored
4 years ago
by
Albin Heimerson
Browse files
Options
Downloads
Patches
Plain Diff
Disable docker image and canvasapi install
parent
03c51e9c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci.yml
+6
-8
6 additions, 8 deletions
gitlab-ci.yml
with
6 additions
and
8 deletions
gitlab-ci.yml
+
6
−
8
View file @
967ac6db
...
...
@@ -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
:
...
...
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