Set tasks as interruptible [skip ci]

This commit is contained in:
Manuel Cortez 2021-01-19 12:44:07 -06:00
parent 9b48613db4
commit a142c93ba3

View File

@ -37,6 +37,7 @@ stages:
documentation: documentation:
stage: generate_docs stage: generate_docs
image: python image: python
interruptible: true
script: script:
- echo "started by ${GITLAB_USER_NAME}" - echo "started by ${GITLAB_USER_NAME}"
- python -V - python -V
@ -64,6 +65,7 @@ documentation:
stage: generate_docs stage: generate_docs
tags: tags:
- windows10 - windows10
interruptible: true
script: script:
- '&$env:PYTHON3_32 -m pip install --upgrade babel' - '&$env:PYTHON3_32 -m pip install --upgrade babel'
- copy changelog.md doc\changelog.md - copy changelog.md doc\changelog.md
@ -89,6 +91,7 @@ documentation:
alpha32: alpha32:
<<: *configure_environment <<: *configure_environment
stage: build stage: build
interruptible: true
script: script:
# Create html documentation firstly. # Create html documentation firstly.
- copy changelog.md doc\changelog.md - copy changelog.md doc\changelog.md
@ -123,6 +126,7 @@ alpha32:
stable: stable:
<<: *configure_environment <<: *configure_environment
stage: build stage: build
interruptible: true
script: script:
- copy changelog.md doc\changelog.md - copy changelog.md doc\changelog.md
- cd doc - cd doc
@ -151,6 +155,7 @@ upload:
tags: tags:
- linux - linux
image: python image: python
interruptible: true
script: script:
- cd artifacts - cd artifacts
- python ../scripts/upload.py - python ../scripts/upload.py