forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcortex.yaml
45 lines (40 loc) · 969 Bytes
/
cortex.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package:
name: cortex
version: 1.18.1
epoch: 0
description: A horizontally scalable, highly available, multi-tenant, long term Prometheus.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/cortexproject/cortex
tag: v${{package.version}}
expected-commit: 3f03510cc7322aa7261e544ce25d6ab4c481d5ec
- uses: go/build
with:
packages: ./cmd/cortex
output: cortex
ldflags: |
-s -w \
-X main.Branch=$(git rev-parse --abbrev-ref HEAD) \
-X main.Revision=$(git rev-parse --short HEAD) \
-X main.Version=$(cat ./VERSION)
update:
enabled: true
github:
identifier: cortexproject/cortex
strip-prefix: v
test:
pipeline:
- runs: |
/usr/bin/cortex --version
cortex --version