Skip to content

Commit

Permalink
Merge pull request #30 from yipeeio/build-fixes
Browse files Browse the repository at this point in the history
fix api test and fail top-level build on errors
  • Loading branch information
jd3quist authored Dec 14, 2018
2 parents a96281e + ccd9eaa commit 32c04da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/test/download_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function logAndThrow(err) {
}

describe('Yipee Download API Tests:', function() {
this.timeout(60000);
this.timeout(10000);

after(function(done) {
if (app.server) {
Expand Down Expand Up @@ -118,7 +118,7 @@ describe('Yipee Download API Tests:', function() {
payload: flatYipee,
retkey: 'helmFile',
expectStatus: 200,
expectEntries: ["Chart.yaml", "values.yaml"]
expectEntries: ["flatYipee/Chart.yaml", "flatYipee/values.yaml"]
}
];

Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ CVT_IMG=yipee-converter
API_IMG=yipee-api
UI_IMG=yipee-ui

(cd converter; docker build -t $CVT_IMG .)
(cd api; bash api_build.sh $CVT_IMG $API_IMG)
(cd ui; docker build -t $UI_IMG .)
(cd converter; docker build -t $CVT_IMG .) || exit 1
(cd api; bash api_build.sh $CVT_IMG $API_IMG) || exit 1
(cd ui; docker build -t $UI_IMG .) || exit 1

0 comments on commit 32c04da

Please sign in to comment.