Last active
July 4, 2016 14:28
-
-
Save PepijnK/a976bdef50b8ccdbcc3dfcc217df74e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no-response-timeout: 15 | |
command-timeout: 30 | |
box: maven:3-jdk-8 | |
build: | |
steps: | |
- script: | |
name: maven build | |
code: | | |
mvn package | |
push-dev: | |
box: java:8-jre | |
steps: | |
- script: | |
name: copy artifacts | |
code: | | |
rm -rf $WERCKER_OUTPUT_DIR/* | |
cp api/target/api.jar / | |
cp auth/target/auth.jar / | |
- script: | |
name: cleaning | |
code: | | |
rm -rf /pipeline/source /pipeline/cache /pipeline/script-* | |
- internal/docker-push: | |
aws-access-key: $AWS_ACCESS_KEY_ID | |
aws-secret-key: $AWS_SECRET_ACCESS_KEY | |
aws-region: $AWS_REGION | |
aws-registry-id: $AWS_REGISTRY_ID | |
repository: api | |
disable-sync: true | |
volumes: /tmp | |
ports: 9001 | |
cmd: java -Djava.security.egd=file:/dev/./urandom -jar /api.jar | |
tag: $WERCKER_GIT_COMMIT | |
- internal/docker-push: | |
aws-access-key: $AWS_ACCESS_KEY_ID | |
aws-secret-key: $AWS_SECRET_ACCESS_KEY | |
aws-region: $AWS_REGION | |
aws-registry-id: $AWS_REGISTRY_ID | |
repository: auth | |
disable-sync: true | |
volumes: /tmp | |
ports: 9003 | |
cmd: java -Djava.security.egd=file:/dev/./urandom -jar /auth.jar | |
tag: $WERCKER_GIT_COMMIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment