summaryrefslogtreecommitdiffstats
path: root/screwdriver.yaml
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-10-31 16:08:28 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-10-31 16:08:28 +0100
commita60446cdae11d95e19f5eb31f99e563c1eea23b6 (patch)
treefe7a1c3997928f23f9ae9e913c97cf3568d1d7f6 /screwdriver.yaml
parentb25d6dc48f6c21f46a771bbb1fc8d21f1ca1eb9f (diff)
Cache go lib download.
Diffstat (limited to 'screwdriver.yaml')
-rw-r--r--screwdriver.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/screwdriver.yaml b/screwdriver.yaml
index 6f0e113f794..26112496648 100644
--- a/screwdriver.yaml
+++ b/screwdriver.yaml
@@ -44,7 +44,7 @@ shared:
(cd /tmp && tar cf $MAIN_CACHE_FILE vespa)
# Wipe the cache if we exceed 2GB to avoid pulling and pusing too large files
- if (( $(stat --format='%s' $MAIN_CACHE_FILE) > $(( 2200*1000*1000 )) )); then
+ if (( $(stat --format='%s' $MAIN_CACHE_FILE) > $(( 2500*1000*1000 )) )); then
tar cf $MAIN_CACHE_FILE --files-from=/dev/null;
echo "Cleaning cache file. $MAIN_CACHE_FILE is now $(stat --format='%s' $MAIN_CACHE_FILE) bytes."
fi
@@ -103,6 +103,7 @@ jobs:
CCACHE_DATA_DIR: "/tmp/vespa/ccache"
MAIN_CACHE_FILE: "/main_job_cache/vespa.tar"
CCACHE_COMPRESS: "1"
+ GOPATH: "/tmp/vespa/go"
secrets:
- DOCKER_HUB_DEPLOY_KEY
- SVC_OKTA_VESPA_FACTORY_TOKEN