-
Notifications
You must be signed in to change notification settings - Fork 0
/
.popper.yml
62 lines (54 loc) · 1.54 KB
/
.popper.yml
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
steps:
- id: dev-init
uses: docker://alpine/git:v2.24.3
runs: [sh]
args:
- -c
- |
set -e
git clone \
--recursive \
--depth 1 \
--shallow-submodules \
--branch nautilus \
https://github.com/ceph/ceph
ln -s ../../../src ceph/src/cls/tabular
echo "add_subdirectory(tabular)" >> ceph/src/cls/CMakeLists.txt
- id: build
uses: docker://uccross/skyhookdm-builder:nautilus
runs: [bash]
args: [scripts/build.sh]
env:
# travis config: 4 threads, release build
CMAKE_FLAGS: "-DBOOST_J=4 -DCMAKE_BUILD_TYPE=Release -DWITH_MANPAGE=OFF -DWITH_BABELTRACE=OFF -DWITH_MGR_DASHBOARD_FRONTEND=OFF"
BUILD_THREADS: "4"
## debug config: 16 threads, debug build
# CMAKE_FLAGS: "-DBOOST_J=16 -DCMAKE_BUILD_TYPE=Debug -DWITH_MANPAGE=OFF -DWITH_BABELTRACE=OFF -DWITH_MGR_DASHBOARD_FRONTEND=OFF"
# BUILD_THREADS: "16"
- id: build-rook-img
uses: docker://docker:19.03.10
args:
- build
- --build-arg=CEPH_RELEASE=v14.2.9
- --tag=uccross/skyhookdm-ceph:v14.2.9
- --file=docker/Dockerfile.release
- .
- id: test
uses: docker://uccross/skyhookdm-ceph:v14.2.9
skip_pull: true
runs: [bash]
env:
LD_LIBRARY_PATH: /usr/lib64/ceph
args: [scripts/run_tests.sh]
- id: push-img
uses: docker://docker:19.03.3
secrets: [DOCKER_USERNAME, DOCKER_PASSWORD]
runs: [sh]
args:
- -c
- |
# only push from master branch
if [[ $GIT_BRANCH == "master" ]]; then
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker push uccross/skyhookdm-ceph:v14.2.9
fi