mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
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:
parent
d94abcb31e
commit
ce1436ac15
@ -53,14 +53,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
/* trigger fetching of git submodules */
|
/* trigger fetching of git submodules */
|
||||||
sh 'make check-pkg-target-linux'
|
sh 'make check-pkg-target-linux'
|
||||||
/* avoid re-compiling Nim by using cache */
|
/* TODO: Re-add caching of Nim compiler. */
|
||||||
cache(maxCacheSize: 250, caches: [[
|
sh 'make deps'
|
||||||
$class: 'ArbitraryFileCache',
|
|
||||||
includes: '**/*',
|
|
||||||
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
|
|
||||||
]]) {
|
|
||||||
sh 'make deps'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,21 +50,15 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
/* trigger fetching of git submodules */
|
/* trigger fetching of git submodules */
|
||||||
sh 'make check-pkg-target-macos'
|
sh 'make check-pkg-target-macos'
|
||||||
/* avoid re-compiling Nim by using cache */
|
/* TODO: Re-add caching of Nim compiler. */
|
||||||
cache(maxCacheSize: 250, caches: [[
|
withCredentials([
|
||||||
$class: 'ArbitraryFileCache',
|
usernamePassword( /* For fetching HomeBrew bottles. */
|
||||||
includes: '**/*',
|
credentialsId: "status-im-auto-pkgs",
|
||||||
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
|
usernameVariable: 'GITHUB_USER',
|
||||||
]]) {
|
passwordVariable: 'GITHUB_TOKEN'
|
||||||
withCredentials([
|
)
|
||||||
usernamePassword( /* For fetching HomeBrew bottles. */
|
]) {
|
||||||
credentialsId: "status-im-auto-pkgs",
|
sh 'make deps'
|
||||||
usernameVariable: 'GITHUB_USER',
|
|
||||||
passwordVariable: 'GITHUB_TOKEN'
|
|
||||||
)
|
|
||||||
]) {
|
|
||||||
sh 'make deps'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,14 +47,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
/* trigger fetching of git submodules */
|
/* trigger fetching of git submodules */
|
||||||
sh 'make check-pkg-target-windows'
|
sh 'make check-pkg-target-windows'
|
||||||
/* avoid re-compiling Nim by using cache */
|
/* TODO: Re-add caching of Nim compiler. */
|
||||||
cache(maxCacheSize: 250, caches: [[
|
sh 'make deps'
|
||||||
$class: 'ArbitraryFileCache',
|
|
||||||
includes: '**/*',
|
|
||||||
path: 'vendor/nimbus-build-system/vendor/Nim/bin'
|
|
||||||
]]) {
|
|
||||||
sh 'make deps'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user