forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitness.yaml
66 lines (56 loc) · 1.3 KB
/
gitness.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package:
name: gitness
version: 3.0.1
epoch: 1
description: Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
- nodejs
- openssf-compiler-options
- protobuf
- protoc
- protoc-gen-go
- protoc-gen-go-grpc
- yarn
var-transforms:
- from: ${{package.version}}
match: _beta
replace: -beta.
to: mangled-package-version
pipeline:
- uses: git-checkout
with:
# Hack until they cut a release
repository: https://github.com/harness/gitness/
expected-commit: e92962b06d22b7471267a2cf42d39c63fe1e4865
tag: v${{vars.mangled-package-version}}
- uses: go/bump
with:
deps: golang.org/x/[email protected]
- runs: |
cd web
yarn && yarn build && yarn cache clean
cd ..
make dep
make tools
make build
mkdir -p ${{targets.destdir}}/usr/bin
mv gitness ${{targets.destdir}}/usr/bin/
- uses: strip
update:
enabled: true
github:
identifier: harness/gitness
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
gitness --help