forked from audienceproject/spark-dynamodb
-
Notifications
You must be signed in to change notification settings - Fork 5
/
wercker.yml
38 lines (35 loc) · 1.01 KB
/
wercker.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
box:
id: audienceproject/jvm
username: $DOCKERHUB_ACCOUNT
password: $DOCKERHUB_PASSWORD
tag: latest
build:
steps:
- script:
name: Compile
code: sbt clean compile
- audienceproject/aws-cli-assume-role@1.0.2:
aws-access-key-id: $AWS_ACCESS_KEY
aws-secret-access-key: $AWS_SECRET_KEY
role-arn: arn:aws:iam::$AWS_ACCOUNT_ID:role/build-$WERCKER_GIT_REPOSITORY
- script:
name: Test
code: sbt clean compile test
- script:
name: Clean again
code: sbt clean
publish-snapshot:
steps:
- audienceproject/sbt-to-maven-central@2.0.0:
user: $NEXUS_USER
password: $NEXUS_PASSWORD
private-key: $NEXUS_PK
passphrase: $NEXUS_PASSPHRASE
publish-release:
steps:
- audienceproject/sbt-to-maven-central@2.0.0:
user: $NEXUS_USER
password: $NEXUS_PASSWORD
private-key: $NEXUS_PK
passphrase: $NEXUS_PASSPHRASE
destination: RELEASE