Skip to content
Snippets Groups Projects
Commit 365d00c3 authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

[WIP] Test

parent dcf9d2fd
No related branches found
No related tags found
No related merge requests found
Pipeline #16479 waiting for manual action
...@@ -17,6 +17,7 @@ test: ...@@ -17,6 +17,7 @@ test:
stage: test stage: test
except: except:
- tags - tags
- pdf@idevelop/howtogitlabrunner
script: script:
- whoami - whoami
- pwd - pwd
...@@ -31,6 +32,7 @@ build: ...@@ -31,6 +32,7 @@ build:
stage: build stage: build
except: except:
- tags - tags
- pdf@idevelop/howtogitlabrunner
# only: # only:
# changes: # changes:
# - "README.md" # - "README.md"
...@@ -43,15 +45,22 @@ deploy_to_release: ...@@ -43,15 +45,22 @@ deploy_to_release:
stage: deploy stage: deploy
except: except:
- tags - tags
- pdf@idevelop/howtogitlabrunner
script: script:
# https://docs.gitlab.com/ee/ci/yaml/README.html#skipping-jobs # https://docs.gitlab.com/ee/ci/yaml/README.html#skipping-jobs
- git tag -f -a -m "[skip ci] My sweet release" v0.1 - git tag -f -a -m "[skip ci] My sweet release" v0.1
- git push -f --tags - git push -f --tags
- git fetch
- git checkout pdf
- git add README.pdf
- git commit -m "New PDF file $(date '+%Y-%m-%d %H:%M:%S')"
- git push
deploy_to_production: deploy_to_production:
stage: deploy stage: deploy
except: except:
- tags - tags
- pdf@idevelop/howtogitlabrunner
when: manual when: manual
allow_failure: false allow_failure: false
script: echo "Manual input needed to deploy to production..." script: echo "Manual input needed to deploy to production..."
...@@ -60,4 +69,5 @@ control: ...@@ -60,4 +69,5 @@ control:
stage: control stage: control
except: except:
- tags - tags
- pdf@idevelop/howtogitlabrunner
script: echo "control, cleanup and finish the pipeline" script: echo "control, cleanup and finish the pipeline"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment