forked from AthenZ/athenz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrewdriver.yaml
41 lines (35 loc) · 1.13 KB
/
screwdriver.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
# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
---
cache:
job:
main: [/main_job_cache]
jobs:
pull-request:
requires: [~pr]
image: openjdk:8
annotations:
screwdriver.cd/cpu: 8
screwdriver.cd/ram: 16
screwdriver.cd/disk: HIGH
screwdriver.cd/timeout: 120
steps:
- install_dependencies: "screwdriver/scripts/install_deps.sh"
- build: "screwdriver/scripts/build.sh"
main:
requires: [~commit]
image: openjdk:8
annotations:
screwdriver.cd/cpu: 8
screwdriver.cd/ram: 16
screwdriver.cd/disk: HIGH
screwdriver.cd/timeout: 120
environment:
USER_SHELL_BIN: bash
LOCAL_MVN_REPO: "/tmp/athenz/mvnrepo"
ATHENZ_MAVEN_EXTRA_OPTS: "-Dmaven.repo.local=/tmp/athenz/mvnrepo -Dmaven.javadoc.skip=true -Dmaven.source.skip=true"
CCACHE_TMP_DIR: "/tmp/ccache_tmp"
CCACHE_DATA_DIR: "/tmp/athenz/ccache"
steps:
- install_dependencies: "screwdriver/scripts/install_deps.sh"
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"