forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcass-config-builder.yaml
51 lines (45 loc) · 1.32 KB
/
cass-config-builder.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
package:
name: cass-config-builder
version: 1.0.10
epoch: 0
description: |
Configuration builder for Apache Cassandra based on definitions at datastax/cass-config-definitions
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- openjdk-8-default-jvm
environment:
JAVA_HOME: /usr/lib/jvm/java-1.8-openjdk
pipeline:
- uses: git-checkout
with:
repository: https://github.com/datastax/cass-config-builder
expected-commit: 5044a18d960947446a50868a681ded047024c7c4
tag: v${{package.version}}
- runs: |
sed -i 's|git@\(.*\):|https://\1/|g' .gitmodules
cat .gitmodules
git submodule update --init
- runs: |
./gradlew copyDockerBuildCtx
mkdir -p "${{targets.destdir}}"/usr/local/bin
mkdir -p "${{targets.destdir}}"/definitions
cp -r build/docker/bin/* "${{targets.destdir}}"/usr/local/bin
cp -r build/docker/definitions/* "${{targets.destdir}}"/definitions
cp -r build/docker/*.jar "${{targets.destdir}}"/usr/local/bin/
update:
enabled: true
github:
identifier: datastax/cass-config-builder
strip-prefix: v
use-tag: true
test:
pipeline:
- runs: |
# This script runs to completion, and then deletes itself
user_setup