summaryrefslogtreecommitdiff
path: root/config/projects
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-06 11:03:35 -0600
committermo khan <mo.khan@gmail.com>2020-07-10 08:53:37 -0600
commit36cdb0040abda394264455a1fdf3d6782af95ceb (patch)
tree54093c956c0f4dcf4c2ad352847017aee9a88edc /config/projects
parentc7385965b4166fb6ab2db3387c67cd54aef1b8df (diff)
Isolate license_management ruby from project
* Target ruby version 2.7.1 * Add spec to fetch gems from a custom source * Add proxy to rubygems.org config * Specify default env vars to support offline environment * Cleanup custom certificates after spec * Inline docker-test script * Do not install license_finder with each installed ruby * Increase gem log verbosity and include backtrace * Extract test fixtures for the different ruby scenarios * Find *.gemspec files in gems dir * Use RUBYLIB to hijack src path * Run scan from project path dir
Diffstat (limited to 'config/projects')
-rw-r--r--config/projects/license_management.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/projects/license_management.rb b/config/projects/license_management.rb
new file mode 100644
index 0000000..c34a680
--- /dev/null
+++ b/config/projects/license_management.rb
@@ -0,0 +1,17 @@
+require_relative '../../lib/license/management/version.rb'
+name "license-management"
+maintainer "mkhan@gitlab.com"
+homepage "https://gitlab.com/gitlab-org/security-products/license-management"
+license_file "LICENSE"
+
+install_dir "#{default_root}/gitlab"
+build_version License::Management::VERSION
+build_iteration 1
+
+dependency "license_management"
+package_scripts_path Pathname.pwd.join("config/scripts/license_management")
+
+package :deb do
+ compression_level 9
+ compression_type :xz
+end