forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaerospike.yaml
68 lines (57 loc) · 1.83 KB
/
aerospike.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
package:
name: aerospike
version: 6.4.0.26
epoch: 0
description: Aerospike Database Server - flash-optimized, in-memory, nosql database
copyright:
- license: AGPL-3.0-only
environment:
contents:
packages:
- autoconf
- automake
- bash
- build-base
- busybox
- ca-certificates-bundle
- cmake
- coreutils
- gmp-dev
- libtool
- openssf-compiler-options
- openssl-dev
- zlib-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/aerospike/aerospike-server
tag: ${{package.version}}
expected-commit: 8dd5656fb778e5622057640d0b8f3672b9dac320
- runs: git submodule update --init
- runs: |
# There's some OS detection that doesn't know about wolfi and gets the wrong path
sed -i 's|ABSL_LIB_DIR = $(ABSL)/installation/lib$|ABSL_LIB_DIR = $(ABSL)/installation/lib64|g' make_in/Makefile.vars
# Fix some warnings
sed -i 's|COMMON_CFLAGS += -Wno-address-of-packed-member|COMMON_CFLAGS += -Wno-address-of-packed-member -Wno-use-after-free|g' make_in/Makefile.in
git diff
- runs: |
export CFLAGS="-Wno-address-of-packed-member -Wno-use-after-free"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
make -j$(nproc)
make tar
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin ${{targets.destdir}}/usr/share
tar -C ${{targets.destdir}}/usr/share -xf pkg/packages/aerospike-server-community-${{package.version}}.tar.gz
ln -sf /usr/share/aerospike-server/bin/asd ${{targets.destdir}}/usr/bin/asd
ln -sf /usr/share/aerospike-server/bin/aerospike ${{targets.destdir}}/usr/bin/aerospike
update:
enabled: true
github:
identifier: aerospike/aerospike-server
tag-filter: 6.4.
test:
pipeline:
- runs: |
asd --version
asd --help