Fix CI/CD syntax

merge-requests/31/head
Paul Traina 2020-11-03 17:45:00 -08:00
rodzic 85631ea6d4
commit 03753237b1
1 zmienionych plików z 15 dodań i 9 usunięć

Wyświetl plik

@ -7,20 +7,20 @@ variables:
default:
image: ${DEFAULT_IMAGE}
interruptible: true
only:
- tags
before_script:
- echo "Before script section"
- echo "For example you might run an update here or install a build dependency"
- echo "Or perhaps you might print out some debugging details"
# before_script:
# - echo "Before script section"
# - echo "For example you might run an update here or install a build dependency"
# - echo "Or perhaps you might print out some debugging details"
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
# after_script:
# - echo "After script section"
# - echo "For example you might do some cleanup here"
build1:
stage: build
only:
- tags
artifacts:
paths:
- build/*
@ -36,17 +36,23 @@ build1:
test1:
stage: test
only:
- tags
script:
- echo "Do a test here"
- echo "For example run a test suite"
test2:
stage: test
only:
- tags
script:
- echo "Do another parallel test here"
- echo "For example run a lint test"
deploy1:
stage: deploy
only:
- tags
script:
- echo "Do your deploy here"