forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
influxd.yaml
76 lines (65 loc) · 1.76 KB
/
influxd.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
67
68
69
70
71
72
73
74
75
76
package:
name: influxd
# Note that we needed to pin the version of rust to 1.82.0
# since this release fails to compile with 1.83.0. There is
# a commit which will fix it but it is not released yet.
# So, for the next bump, please remove the `rust=1.82.0` pinning.
version: 2.7.11
epoch: 1
description: Scalable datastore for metrics, events, and real-time analytics
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- coreutils
- curl
- go
- openssf-compiler-options
- rust=1.82.0
pipeline:
- uses: git-checkout
with:
repository: https://github.com/influxdata/influxdb
tag: v${{package.version}}
expected-commit: fbf5d4ab5e65d3a3661aa52e1d05259d19a6a81b
destination: influxdb
- uses: go/bump
with:
deps: github.com/hashicorp/[email protected] golang.org/x/[email protected]
modroot: influxdb
- runs: |
cd influxdb
unset LDFLAGS
make generate-web-assets
make influxd
mkdir -p ${{targets.destdir}}/usr/bin
mv bin/linux/influxd ${{targets.destdir}}/usr/bin
mkdir -p ${{targets.destdir}}/etc/defaults/influxdb2/
mv ../default-config.yml ${{targets.destdir}}/etc/defaults/influxdb2/config.yml
- uses: strip
subpackages:
- name: influxd-oci-entrypoint
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv entrypoint.sh ${{targets.subpkgdir}}/usr/bin/
dependencies:
runtime:
- busybox
- bash
- yq
update:
enabled: true
github:
identifier: influxdata/influxdb
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
influxd --help
influxd version