chore(ci): update packaging script output directory
Adjusted the packaging script in `.gitlab-ci.yml` to save artifacts in `/tmp/` for improved storage management and accessibility. Additionally, fixed a conditional statement in `base.lua` to properly handle the failfast option during testing.
This commit is contained in:
parent
4475ebb556
commit
02f78d379b
@ -77,15 +77,15 @@ release-image_client:
|
||||
- if: $CI_PIPELINE_SOURCE == "web"
|
||||
when: always
|
||||
|
||||
package-extension:
|
||||
package-mod:
|
||||
stage: release
|
||||
before_script:
|
||||
- apk add --no-cache tar
|
||||
script:
|
||||
- DATE=`date +"%Y-%m-%d"`
|
||||
- tar zcf test_harness_${DATE}_${CI_COMMIT_REF_SLUG}.tar.gz --exclude .luacheckrc --exclude .gitlab-ci.yml --exclude .vscode --exclude .util --exclude client --exclude opengl --exclude \*.tar.gz --exclude .git\* --warning=no-file-changed --transform 's,^./,test_harness/,' .
|
||||
- tar zcf /tmp/test_harness_${DATE}_${CI_COMMIT_REF_SLUG}.tar.gz --exclude .luacheckrc --exclude .gitlab-ci.yml --exclude .vscode --exclude .util --exclude client --exclude opengl --exclude \*.tar.gz --exclude .git\* --transform 's,^./,test_harness/,' .
|
||||
artifacts:
|
||||
paths:
|
||||
- "*.tar.gz"
|
||||
- "/tmp/*.tar.gz"
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
version: "3.2"
|
||||
services:
|
||||
server:
|
||||
restart: no
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
@ -11,4 +12,4 @@ services:
|
||||
SHOW_DEBUG: ${SHOW_DEBUG}
|
||||
RUN_TESTS: ${RUN_TESTS}
|
||||
STOP_SERVER: ${STOP_SERVER}
|
||||
FAILFAST: $[FAILFAST}
|
||||
FAILFAST: ${FAILFAST}
|
||||
|
Loading…
x
Reference in New Issue
Block a user