-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmacros.yaml
More file actions
59 lines (52 loc) · 1.56 KB
/
macros.yaml
File metadata and controls
59 lines (52 loc) · 1.56 KB
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
- builder:
name: checkout-integration
builders:
- shell: |
#!/bin/bash -xe
if [[ ! -e billingstack-integration ]]; then
git clone --recursive git://github.com/billingstack/billingstack-integration
else
cd billingstack-integration
git remote set-url origin git://github.com/billingstack/billingstack-integration
git remote update
git reset --hard
git clean -x -f
git checkout master
git reset --hard remotes/origin/master
git clean -x -f
git submodule foreach git pull origin master
cd ..
fi
- builder:
name: stack-refresh
builders:
- shell: |
#!/bin/bash -xe
[ -x "/opt/billingstack/billingstack/tools/control.sh" ] && /opt/billingstack/billingstack/tools/control.sh stop
cd billingstack-integration
cat >>devstack/localrc<<EOF
MYSQL_PASSWORD=secret
RABBIT_PASSWORD=secret
RECLONE=yes
EOF
export CONFIG=/etc/billingstack/billingstack.conf
export BASE_DIR=/opt/billingstack
BUILD_ID=dontKillMe ./stack.sh
- builder:
name: ui-helper-deps
builders:
- shell: |
#!/bin/bash -xe
tools/helper.sh install_deps
- builder:
name: ui-helper-js-deps
builders:
- shell: |
#!/bin/bash -xe
tools/helper.sh install_ui_deps
- builder:
name: ui-helper-builder
builders:
- shell: |
#!/bin/bash
tools/helper build