-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
35 lines (27 loc) · 3.58 KB
/
.travis.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
env:
global:
- secure: "oevOlxNTCPQUZM691Eb4/SDvcWaaYdri9sdqqGUPO8Z/otGC2BicMRlcZEXBoKFfi4JSeh1Tmpxuqkj5S6yTmv7wFSvLn6Dw+pRXPI71pZipkCVJVnQnuj4yBOPXeSJ/NWHTqUHfUVo7IbdUMe8+XfREDLxeVx5FolCL2G4i7/NFo8Oe5fc+D0kAtP9x/2oMMi+iOfB40VrZ5FyRe3bLmNafwpWHs7UCsolA4Mu+TzFbinlBvr/6JqsPpTsyBMjAhCTGt25E8O3UBJTakNOgrzVt8bXjzhslILdcbwkKt/Zfuxx5aISfSPh77YrIoFsjXXSuL0rvMBN0u7CKtzEQ48uvDkylbwfFf5GV2P1kioVmligsxiugGSkG1DPNaf/LWqrcsfxSyMZxjhDh4Af0SJkN3YYNnYDqYnQ+rZ372gnn/8+g2sW9FW8u2N/7jGARh3LKzshU2Lxb1GLzW7V+o2l6p33CHvk68yNX46DeutH9I8uwkp3MJ4RZy1woWKvDNkw03rGUZTBBppz9oasUkD1xledoezJ+9KmfHZ0RlbiOv5R5FQmsludo7vl/zDA8Y110vUn9dp2SMaxq9uSroW59PqGC73oxdfF7fNfq1cu0geJdcBf8l3qetzzJsZvGEKeh2v/V2m6Uq0/L46yDSS9cgy04XpxkvQN10HKDk/s="
- secure: "oiNTfxJTpFLMmdHSXDYHBwEJAF46o0tKDrMFGgklxaDtZsBbZ5fdLbNCoFdq0knyIp0MjpNHWF9jAj7qxjGjAld0EcN3959XFb+/Ah2v/IfJM+rtyFLl9ZLmhmw8EaykxEakTwvVqPcSfSRC7mccXb5ByPbhNRbyRpFCLGUitt5pJxQiH39AE2hch9I8DjvZld168ZOeUjJfr3ZYP7GfAnRMbB92lFEgApxLLPjaWUf1M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qODlAFhfhullFuZq+1XEtnnFdCXsMX4s7Q/yfjSRlpY4TfVvNro="
- secure: "nfTlup8KjyoIFishEOdIKnoGspLz1r/puHxXUMEKNufjR9HloHsqyew7aJVe3Ean5mwLI8gVexXx6CmcSqkfje9MMw82fC+yJhja2RudzDSxkliJXtuQkcFgGxDkTxKmDnkeAajfy3Ps06OesXChkHGF3jAdt+A3X8WWroS5azQqgTethwxZblSVBXQy8lgZ72vgb/KFS6Vo1x2nH0RXDQcsD5cl0aQcrAB7q9uNo8XlOiFtJSU+hXNmRq/9N4DuHgl+cOXTPZmim2O1VVskn7nSc/b8I211WqPPoQRWMciGMFPrIFn17u3iZXtfeyYq3OQa+gKfnHTCVULBeKorm/c3/IQlJrSFLanrTf6yOOUYbOah76MhAl5X0LLLhZXMHf2hi7kdUWgDKN3cACeWDW5fy9JUEa0sKrxH5BoZzwRAsApHaKC1NB63QhYfLULbGZ+xEBcJ6erFSYrzLmdt6BgmBNUFvfEVKHCN60Y66xUfEfFYGO7ug5Dwcs+xQi92CKMAjOPNVUAKrij61pfDgDVo0pytlDGtcgao8SrrMRgoxFMyoFbRX1RJmlnu7daPstVjztGQ/cYVlmbN1wTamyktPxgbBckhqVdzcU/k/YTfbPn+wRPQZU2PqbY3zaygWiTZPcyzh04Z37N1gD7LQ4QQO+W6k6sxfTZN49aeoQY="
os:
- linux
language: minimal
services:
- docker
before_install:
- echo "$DOCKERHUB_PWD" | docker login --username "$DOCKERHUB_USR" --password-stdin
- echo "$REDHAT_PWD" | docker login --username "$REDHAT_USR" --password-stdin registry.redhat.io
install:
- docker build --file d.jboss.Dockerfile --tag juliaaano/rhdm-jboss:latest .
- docker build --file d.springboot.Dockerfile --tag juliaaano/rhdm-springboot:latest .
before_script:
- docker-compose up -d --force-recreate rhdm-jboss rhdm-springboot
- sleep 90
script:
- POSTMAN_ENV=rhdm-jboss docker-compose run --rm postman
- POSTMAN_ENV=rhdm-springboot docker-compose run --rm postman
after_success:
- for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep "juliaaano"); do docker push $i; done
- docker logout registry.redhat.io
- docker logout