summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.gitlab-ci.yml5
-rw-r--r--omnibus.rb14
3 files changed, 13 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index b3210c7..8e508e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
.bundle
vendor/bundle
pkg/*
+local/*
.vagrant
files/**/cache/
vendor/cookbooks
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 586424f..83a738f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,11 @@ stages:
- build
- release
+cache:
+ key: ${CI_JOB_NAME}
+ paths:
+ - local
+
variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "1"
diff --git a/omnibus.rb b/omnibus.rb
index d39c9d9..2cbc8e6 100644
--- a/omnibus.rb
+++ b/omnibus.rb
@@ -13,16 +13,16 @@
#
# Uncomment this line to change the default base directory to "local"
# -------------------------------------------------------------------
-# base_dir './local'
+base_dir './local'
#
# Alternatively you can tune the individual values
# ------------------------------------------------
-# cache_dir './local/omnibus/cache'
-# git_cache_dir './local/omnibus/cache/git_cache'
-# source_dir './local/omnibus/src'
-# build_dir './local/omnibus/build'
-# package_dir './local/omnibus/pkg'
-# package_tmp './local/omnibus/pkg-tmp'
+cache_dir './local/omnibus/cache'
+git_cache_dir './local/omnibus/cache/git_cache'
+source_dir './local/omnibus/src'
+build_dir './local/omnibus/build'
+package_dir './local/omnibus/pkg'
+package_tmp './local/omnibus/pkg-tmp'
# Disable git caching
# ------------------------------