diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 075172701441f62ce51b595c87efb1b9bd9e6ec3..40fd9ae343ccedc39864b41ef4d0c722b8aefccd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,7 @@ workflow: # For stable, and security branches, create a pipeline. - if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable(-ee)?$/' - if: '$CI_COMMIT_BRANCH =~ /^security\//' + - if: '$CI_COMMIT_BRANCH' include: - local: .gitlab/ci/prepare.yml @@ -48,3 +49,9 @@ download deps: paths: - .GOPATH/pkg/mod/ policy: push + +build-packages: + needs: [] + trigger: + include: + - component: $CI_SERVER_FQDN/gitlab-org/omnibus-gitlab/build@make-build-jobs-component diff --git a/config/projects/gitlab-pages.rb b/config/projects/gitlab-pages.rb new file mode 100644 index 0000000000000000000000000000000000000000..a2caa39cce77ba62e325ff4357cc963b24ab08f6 --- /dev/null +++ b/config/projects/gitlab-pages.rb @@ -0,0 +1,14 @@ +name 'gitlab-pages' +maintainer 'GitLab Inc.' +homepage 'https://about.gitlab.com' +license 'MIT' +license_compiled_output true + +install_dir '/opt/gitlab' +package_user 'root' +package_group 'root' + +build_version '17.7.6' +build_iteration '0' + +dependency 'gitlab-pages' diff --git a/config/software/gitlab-pages.rb b/config/software/gitlab-pages.rb new file mode 100644 index 0000000000000000000000000000000000000000..4434faa63b7382a38222fab6dd8d13e5757caf2d --- /dev/null +++ b/config/software/gitlab-pages.rb @@ -0,0 +1,22 @@ +name 'gitlab-pages' +default_version 'v17.7.6' + +license 'MIT' +license_file 'LICENSE' + +skip_transitive_dependency_licensing true + +source git: 'https://gitlab.com/gitlab-org/gitlab-pages.git' +relative_path 'src/gitlab.com/gitlab-org/gitlab-pages' + +build do + env = { + 'GOPATH' => "#{Omnibus::Config.source_dir}/gitlab-pages", + 'GOTOOLCHAIN' => 'local', + } + + make 'gitlab-pages', env: env + + mkdir "#{install_dir}/embedded/bin/" + move 'gitlab-pages', "#{install_dir}/embedded/bin/gitlab-pages" +end