ci: remove caching of dependencies

Upgrade of Jenkins to `2.343` has introduced a security fix that breaks
caching plugin when it's configured to store cache on Master host:
https://issues.jenkins.io/browse/JENKINS-67173

Sine the [Caching plugin](https://plugins.jenkins.io/jobcacher/) hasn't
been upgraded in 5 years the only good temporary workaround is just drop
caching of dependencies like Nim compiler entirely.

In the future we can try some other caching methods.

Related: https://github.com/status-im/nimbus-eth2/pull/3594

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-04-15 11:17:19 +02:00 committed by r4bbit.eth
parent d94abcb31e
commit ce1436ac15
3 changed files with 13 additions and 31 deletions

View File

@ -53,16 +53,10 @@ pipeline {
steps {
/* trigger fetching of git submodules */
sh 'make check-pkg-target-linux'
/* avoid re-compiling Nim by using cache */
cache(maxCacheSize: 250, caches: [[
$class: 'ArbitraryFileCache',
includes: '**/*',
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
]]) {
/* TODO: Re-add caching of Nim compiler. */
sh 'make deps'
}
}
}
stage('status-go') {
steps { sh 'make status-go' }

View File

@ -50,12 +50,7 @@ pipeline {
steps {
/* trigger fetching of git submodules */
sh 'make check-pkg-target-macos'
/* avoid re-compiling Nim by using cache */
cache(maxCacheSize: 250, caches: [[
$class: 'ArbitraryFileCache',
includes: '**/*',
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
]]) {
/* TODO: Re-add caching of Nim compiler. */
withCredentials([
usernamePassword( /* For fetching HomeBrew bottles. */
credentialsId: "status-im-auto-pkgs",
@ -67,7 +62,6 @@ pipeline {
}
}
}
}
stage('status-go') {
steps { sh 'make status-go' }

View File

@ -47,16 +47,10 @@ pipeline {
steps {
/* trigger fetching of git submodules */
sh 'make check-pkg-target-windows'
/* avoid re-compiling Nim by using cache */
cache(maxCacheSize: 250, caches: [[
$class: 'ArbitraryFileCache',
includes: '**/*',
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
]]) {
/* TODO: Re-add caching of Nim compiler. */
sh 'make deps'
}
}
}
stage('status-go') {
steps { sh 'make status-go' }