forked from zalando/zally
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdelivery.yaml
More file actions
15 lines (15 loc) · 838 Bytes
/
delivery.yaml
File metadata and controls
15 lines (15 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build_steps:
- desc: "Install Build Dependencies"
cmd: |
apt-get update -qq --allow-unauthenticated
apt-get install --no-install-recommends -y jq
curl -fLOsS https://delivery.cloud.zalando.com/utils/ensure-docker && sh ensure-docker
docker pull registry.opensource.zalan.do/stups/openjdk:latest
docker pull node:7
- desc: "Build and Test"
cmd: |
docker run --rm -w /build -v $PWD/server:/build:rw registry.opensource.zalan.do/stups/openjdk:latest ./gradlew build --info
docker run --rm -w /build -v $PWD/web-ui:/build:rw node:7 bash -c 'npm install -q ; npm test ; npm run build'
docker run --rm -w /build -v $PWD/github-integration:/build:rw registry.opensource.zalan.do/stups/openjdk:latest ./gradlew build -x test --info
- desc: "Build and Push Docker Images"
cmd: bash .delivery/build-and-push.sh