Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding VersionStream for gitlab-pages-17.7 #38365

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions gitlab-pages-17.7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package:
name: gitlab-pages-17.7
version: 17.7.0
epoch: 0
description: GitLab Pages daemon used to serve static websites for GitLab users.
copyright:
- license: MIT
dependencies:
provides:
- gitlab-pages=${{package.full-version}}

var-transforms:
- from: ${{package.version}}
match: ^(\d+\.\d+)\.\d+$
replace: "$1"
to: major-minor-version

pipeline:
- uses: git-checkout
with:
repository: https://gitlab.com/gitlab-org/gitlab-pages.git
tag: v${{package.version}}
expected-commit: 569f674d03376d05a85081ede8e6d54931060b2f

- uses: go/build
with:
packages: .
output: gitlab-pages
tags: continuous_profiler_stackdriver
ldflags: "-w -X main.VERSION=${{package.version}} -X main.REVISION=${{package.version}}"

- runs: |
mkdir -p ${{targets.contextdir}}/srv/gitlab-pages
mkdir -p ${{targets.contextdir}}/var/log/gitlab

subpackages:
- name: gitlab-pages-compat-${{vars.major-minor-version}}
description: Links GitLab pages to bin directory
dependencies:
provides:
- gitlab-pages-compat=${{package.full-version}}
pipeline:
- runs: |
mkdir -p ${{targets.contextdir}}/bin
ln -sf /usr/bin/gitlab-pages ${{targets.contextdir}}/bin/gitlab-pages

update:
enabled: true
git:
strip-prefix: v
tag-filter-prefix: v17.7

test:
pipeline:
# AUTOGENERATED
- runs: |
gitlab-pages --version
Loading