revert to minimal config
This commit is contained in:
parent
5910978b72
commit
aba925acac
@ -10,24 +10,17 @@ deploy:
|
||||
variables:
|
||||
TEST_BUILDVERSION: testing-build-cache-${CI_PIPELINE_ID}
|
||||
script:
|
||||
- cat .tmp/hello-world.txt || true
|
||||
- mkdir -p .tmp
|
||||
- ls -al /tmp
|
||||
- echo `pwd`
|
||||
- mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
|
||||
# - cat .tmp/hello-world.txt || true
|
||||
# - mv .gradleBuildCache/ /tmp/.gradleBuildCache/ || true
|
||||
- echo "Building with gradle version ${TEST_BUILDVERSION}"
|
||||
- gradle -Pversion=${TEST_BUILDVERSION} publish
|
||||
- gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion=${TEST_BUILDVERSION}
|
||||
after_script:
|
||||
- mkdir -p .gradleBuildCache
|
||||
- ls -al .tmp/
|
||||
- ls -al /tmp
|
||||
- ls -al
|
||||
- ls -al `pwd`/.gradle
|
||||
- du -sh `pwd`/.gradle/* | sort -h
|
||||
- du -sh `pwd`/.tmp/.gradle/* | sort -h
|
||||
- mv /tmp/.gradleBuildCache/ .gradleBuildCache/ || true
|
||||
- rm .tmp/.gradle/caches/modules-2/gc.properties .tmp/.gradle/caches/modules-2/modules-2.lock
|
||||
# - mv /tmp/.gradleBuildCache/ .gradleBuildCache/ || true
|
||||
- rm .gradle/caches/modules-2/gc.properties .gradle/caches/modules-2/modules-2.lock
|
||||
- echo "hello-world" > .tmp/hello-world.txt
|
||||
artifacts:
|
||||
reports:
|
||||
|
||||
@ -80,15 +80,15 @@ tasks.named<BootBuildImage>("bootBuildImage") {
|
||||
tags.set(listOf(dockerTag))
|
||||
}
|
||||
|
||||
buildCache {
|
||||
bind {
|
||||
source.set("/tmp/.gradleBuildCache/cache-${project.name}.build")
|
||||
}
|
||||
}
|
||||
|
||||
launchCache {
|
||||
bind {
|
||||
source.set("/tmp/.gradleBuildCache/cache-${project.name}.launch")
|
||||
}
|
||||
}
|
||||
// buildCache {
|
||||
// bind {
|
||||
// source.set("/tmp/.gradleBuildCache/cache-${project.name}.build")
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// launchCache {
|
||||
// bind {
|
||||
// source.set("/tmp/.gradleBuildCache/cache-${project.name}.launch")
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user