Try to run Test only in CI
This commit is contained in:
parent
e1fa9d8c25
commit
716d241689
1 changed files with 15 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
stages:
|
stages:
|
||||||
# - build_and_test
|
# - build_and_test
|
||||||
- build
|
# - build
|
||||||
# - test
|
- test
|
||||||
# - package
|
# - package
|
||||||
# - security
|
# - security
|
||||||
# - upload
|
# - upload
|
||||||
|
@ -48,24 +48,29 @@ stages:
|
||||||
when: never
|
when: never
|
||||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||||
|
|
||||||
build-image:
|
#build-image:
|
||||||
<<: *img
|
# <<: *img
|
||||||
#<<: *tag_only
|
# <<: *tag_only
|
||||||
stage: test
|
# stage: build
|
||||||
script:
|
# script:
|
||||||
- pyb image
|
# - pyb image
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: "domaindrivenarchitecture/ddadevops-python:latest"
|
image: "domaindrivenarchitecture/ddadevops-python:latest"
|
||||||
#<<: *img
|
<<: *img
|
||||||
#<<: *tag_only
|
#<<: *tag_only
|
||||||
stage: build
|
stage: test
|
||||||
|
needs: []
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -qqy upgrade
|
- apt-get -qqy upgrade
|
||||||
- apt-get install openjdk-17-jdk
|
- apt-get install openjdk-17-jdk
|
||||||
|
- ./gradlew clean build -Pvaadin.productionMode
|
||||||
- pyb test
|
- pyb test
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- echo "---------- End CI ----------"
|
||||||
|
|
||||||
#test-clj:
|
#test-clj:
|
||||||
# <<: *clj
|
# <<: *clj
|
||||||
# stage: build_and_test
|
# stage: build_and_test
|
||||||
|
|
Loading…
Reference in a new issue