kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Fix CI/CD syntax
rodzic
85631ea6d4
commit
03753237b1
|
@ -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"
|
||||
|
|
Ładowanie…
Reference in New Issue