summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-03-08 22:27:02 -0700
committermo khan <mo@mokhan.ca>2021-03-08 22:27:02 -0700
commit0eb81825d9be5d3befb97bd877df2dab8852d447 (patch)
tree8b64b84e8034351d7028964287ccf9dfae9e52af
parent08d95921be282ad2c6253e005ed3ef6535a4efa0 (diff)
configure omnibus
-rw-r--r--.gitignore1
-rw-r--r--config/projects/spandx.rb6
-rw-r--r--omnibus.rb58
-rw-r--r--tmp/.keep0
4 files changed, 10 insertions, 55 deletions
diff --git a/.gitignore b/.gitignore
index cd0f4a1..068e189 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,5 +6,6 @@ vendor/bundle
pkg/*
.vagrant
bin/*
+tmp/*
files/**/cache/
vendor/cookbooks
diff --git a/config/projects/spandx.rb b/config/projects/spandx.rb
index 628c97e..11dfc93 100644
--- a/config/projects/spandx.rb
+++ b/config/projects/spandx.rb
@@ -1,9 +1,3 @@
-#
-# Copyright 2021 YOUR NAME
-#
-# All Rights Reserved.
-#
-
name "spandx"
maintainer "CHANGE ME"
homepage "https://CHANGE-ME.com"
diff --git a/omnibus.rb b/omnibus.rb
index b9d3d13..0b4412a 100644
--- a/omnibus.rb
+++ b/omnibus.rb
@@ -1,55 +1,15 @@
-#
-# This file is used to configure the spandx project. It contains
-# some minimal configuration examples for working with Omnibus. For a full list
-# of configurable options, please see the documentation for +omnibus/config.rb+.
-#
+base_dir './tmp'
+cache_dir './tmp/omnibus/cache'
+git_cache_dir './tmp/omnibus/cache/git_cache'
+source_dir './tmp/omnibus/src'
+build_dir './tmp/omnibus/build'
+package_dir './tmp/omnibus/pkg'
+package_tmp './tmp/omnibus/pkg-tmp'
-# Build internally
-# ------------------------------
-# By default, Omnibus uses system folders (like +/var+ and +/opt+) to build and
-# cache components. If you would to build everything internally, you can
-# uncomment the following options. This will prevent the need for root
-# permissions in most cases.
-#
-# Uncomment this line to change the default base directory to "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'
+use_git_caching false
-# Disable git caching
-# ------------------------------
-# use_git_caching false
-
-# Enable S3 asset caching
-# ------------------------------
-# use_s3_caching true
-# s3_access_key ENV['AWS_ACCESS_KEY_ID']
-# s3_secret_key ENV['AWS_SECRET_ACCESS_KEY']
-# s3_profile ENV['AWS_S3_PROFILE']
-# s3_iam_role_arn ENV['S3_IAM_ROLE_ARN']
-# s3_bucket ENV['AWS_S3_BUCKET']
-
-# Customize compiler bits
-# ------------------------------
-# solaris_compiler 'gcc'
# build_retries 5
# fetcher_read_timeout 120
# fetcher_retries 5
-# Load additional software
-# ------------------------------
-# software_gems ['omnibus-software', 'my-company-software']
-# local_software_dirs ['/path/to/local/software']
-
-# Windows architecture defaults
-# ------------------------------
-windows_arch %w{x86 x64}.include?((ENV['OMNIBUS_WINDOWS_ARCH'] || '').downcase) ?
- ENV['OMNIBUS_WINDOWS_ARCH'].downcase.to_sym : :x86
+software_gems ['omnibus-software']
diff --git a/tmp/.keep b/tmp/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tmp/.keep