remove docker tests / do not cache lock files for dependency cache

This commit is contained in:
Sinan Ta 2024-01-17 12:56:47 +01:00
parent 5f881d8ecd
commit 125b8fbc8f

View File

@ -10,7 +10,6 @@ deploy:
variables: variables:
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID} TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
script: script:
- docker stats
- cat .tmp/hello-world.txt || true - cat .tmp/hello-world.txt || true
- mkdir -p .tmp - mkdir -p .tmp
- ls -al /tmp - ls -al /tmp
@ -28,9 +27,8 @@ deploy:
- du -sh `pwd`/.gradle/* | sort -h - du -sh `pwd`/.gradle/* | sort -h
- du -sh `pwd`/.tmp/.gradle/* | sort -h - du -sh `pwd`/.tmp/.gradle/* | sort -h
- mv /tmp/.gradleBuildCache/ .gradleBuildCache/ || true - mv /tmp/.gradleBuildCache/ .gradleBuildCache/ || true
- rm .tmp/.gradle/caches/modules-2/gc.properties .tmp/.gradle/caches/modules-2/modules-2.lock
- echo "hello-world" > .tmp/hello-world.txt - echo "hello-world" > .tmp/hello-world.txt
- docker image ls
- docker volume ls
artifacts: artifacts:
reports: reports:
dotenv: version.env dotenv: version.env
@ -39,4 +37,5 @@ deploy:
paths: paths:
- .gradleBuildCache/ - .gradleBuildCache/
- .gradle/ - .gradle/
- .tmp/ - .tmp/.gradle/
- .tmp/hello-world.txt #cache test