forked from AthenZ/athenz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screwdriver.yaml
38 lines (34 loc) · 978 Bytes
/
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
# Copyright The Athenz Authors. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
---
shared:
image: openjdk:11
annotations:
screwdriver.cd/cpu: 8
screwdriver.cd/ram: 16
screwdriver.cd/disk: HIGH
screwdriver.cd/timeout: 120
environment:
USER_SHELL_BIN: /bin/bash
jobs:
pull-request:
requires: [~pr]
steps:
- install_dependencies: "screwdriver/scripts/install_deps.sh"
- build: "screwdriver/scripts/build.sh"
main:
requires: [~commit]
steps:
- install_dependencies: "screwdriver/scripts/install_deps.sh"
- build: "screwdriver/scripts/build.sh"
publish:
requires: [~tag]
steps:
- install_dependencies: "screwdriver/scripts/install_deps.sh"
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"
secrets:
- OSSRH_USER
- OSSRH_TOKEN
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE