Compare commits

...

2 Commits

Author SHA1 Message Date
Marcin-Ramotowski
60011b1c72 Added GOSS_SLEEP flag to wait for container full start before tests 2025-05-04 11:03:12 +00:00
Marcin-Ramotowski
859a962c12 Corrected python command name in Goss config YAML 2025-05-04 11:02:09 +00:00
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -41,7 +41,7 @@ pipeline {
chmod +rx *goss chmod +rx *goss
''' '''
withEnv(["GOSS_OPTS=-f junit", 'GOSS_PATH=./goss', "SQLALCHEMY_DATABASE_URI=sqlite:///:memory:"]) { withEnv(['GOSS_OPTS=-f junit', 'GOSS_PATH=./goss', 'GOSS_SLEEP=1', 'SQLALCHEMY_DATABASE_URI=sqlite:///:memory:']) {
sh label: 'run image tests', script: './dgoss run -e SQLALCHEMY_DATABASE_URI=sqlite:///:memory: ${DOCKER_IMAGE} > goss_junit.xml' sh label: 'run image tests', script: './dgoss run -e SQLALCHEMY_DATABASE_URI=sqlite:///:memory: ${DOCKER_IMAGE} > goss_junit.xml'
} }
} }

View File

@ -4,5 +4,5 @@ port:
ip: ip:
- 0.0.0.0 - 0.0.0.0
process: process:
python: python3:
running: true running: true