mirror of
https://github.com/status-im/status-react.git
synced 2025-01-22 00:41:07 +00:00
fix(ci)_: drop clean.sh script from cleanup stage
Because it keeps failing due to paths that appear alive but are not. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
5193f981f8
commit
d7c66319aa
@ -123,7 +123,6 @@ pipeline {
|
||||
post {
|
||||
always { script {
|
||||
nix.shell('nix-store --optimize', pure: false)
|
||||
nix.shell('nix/scripts/clean.sh', pure: false)
|
||||
} }
|
||||
}
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ findByRegex() {
|
||||
|
||||
# list of store entries to delete
|
||||
declare -a found
|
||||
|
||||
|
||||
# for each entry find the source and derivation
|
||||
for mainPath in ${drvPaths}; do
|
||||
findRelated "${mainPath}"
|
||||
@ -87,7 +87,7 @@ nixResultPath="${1}"
|
||||
if [[ -n "${nixResultPath}" ]]; then
|
||||
# if provided we can narrow down what to clean based on result path
|
||||
toDelete=$(findByResult "${nixResultPath}")
|
||||
else
|
||||
else
|
||||
# use regular expression that should match all status-mobile build artifacts
|
||||
toDelete=$(findByRegex '.*-status-(mobile|go)-(shell|source|build|patched-npm-gradle-modules).*')
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user