chore(ci): Update scripts for better handling test cases and debugging
- Update .gitlab-ci.yml to use 'jq' in addition to 'bash' for improved functionality. - Modify flags in .util/run_tests.sh
This commit is contained in:
parent
18fdb914a5
commit
c80b57db06
@ -4,7 +4,7 @@ default:
|
||||
- docker:27-dind
|
||||
before_script:
|
||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
|
||||
- apk --no-cache add bash
|
||||
- apk --no-cache add bash jq
|
||||
|
||||
stages:
|
||||
- build
|
||||
@ -29,7 +29,7 @@ test_harness:
|
||||
stage: test
|
||||
script:
|
||||
- echo "Starting tests"
|
||||
- .util/run_tests.sh -i $CLIENT_CONTAINER_GITSHA_IMAGE --docker -D
|
||||
- .util/run_tests.sh -i $CLIENT_CONTAINER_GITSHA_IMAGE --docker -d -D
|
||||
|
||||
build_opengl:
|
||||
stage: build
|
||||
|
@ -100,15 +100,15 @@ parse_params() {
|
||||
eval set -- ${args}
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
-f | --failfast)
|
||||
-f|--failfast)
|
||||
failfast="true"
|
||||
shift
|
||||
;;
|
||||
-k | --keep-server)
|
||||
-k|--keep-server)
|
||||
stop_server="false"
|
||||
shift
|
||||
;;
|
||||
-h | --help)
|
||||
-h|--help)
|
||||
usage
|
||||
shift
|
||||
;;
|
||||
@ -120,11 +120,11 @@ parse_params() {
|
||||
docker_cmd="podman"
|
||||
shift
|
||||
;;
|
||||
-D | --show-debug)
|
||||
-D|--show-debug)
|
||||
show_debug="true"
|
||||
shift
|
||||
;;
|
||||
-d | --debug)
|
||||
-d|--debug)
|
||||
debug=true
|
||||
shift
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user