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
Vendored
+1 -1
View File
@@ -41,7 +41,7 @@ pipeline {
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'
}
}
+1 -1
View File
@@ -4,5 +4,5 @@ port:
ip:
- 0.0.0.0
process:
python:
python3:
running: true