forked from RoboStack/vinca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
66 lines (63 loc) · 1.7 KB
/
.drone.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
63
64
65
66
---
kind: pipeline
type: docker
name: greeting
steps:
- name: vinca install
image: condaforge/linux-anvil-cos7-x86_64
environment:
ANACONDA_API_TOKEN:
from_secret: ANACONDA_UPLOAD
QUETZ_URL:
from_secret: QUETZ_URL
QUETZ_API_KEY:
from_secret: QUETZ_API_KEY
commands:
- export FEEDSTOCK_ROOT="$DRONE_WORKSPACE"
- export ANACONDA_API_TOKEN="$ANACONDA_API_TOKEN"
- export QUETZ_URL="$QUETZ_URL"
- export QUETZ_API_KEY="$QUETZ_API_KEY"
- export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe"
- export CI=drone
- export GIT_BRANCH="$DRONE_BRANCH"
- sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint
- /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_linux.sh
trigger:
branch:
- boa
event:
exclude:
- pull_request
---
kind: pipeline
type: exec
name: osxbuilder
platform:
os: darwin
steps:
- name: vinca install
environment:
ANACONDA_API_TOKEN:
from_secret: ANACONDA_UPLOAD
QUETZ_URL:
from_secret: QUETZ_URL
QUETZ_API_KEY:
from_secret: QUETZ_API_KEY
commands:
- export FEEDSTOCK_ROOT="$DRONE_WORKSPACE"
- export ANACONDA_API_TOKEN="$ANACONDA_API_TOKEN"
- export QUETZ_URL="$QUETZ_URL"
- export QUETZ_API_KEY="$QUETZ_API_KEY"
- export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe"
- export CI=drone
- export GIT_BRANCH="$DRONE_BRANCH"
- echo "Whats up party people?"
- $FEEDSTOCK_ROOT/.scripts/build_osx.sh
# - sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint
# - /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh
trigger:
branch:
- boa
event:
exclude:
- pull_request