-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deactivate and remove credentials to make it public * Refactor tests in docker
- Loading branch information
1 parent
2b0a5f5
commit 3fe4d68
Showing
5 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ data/ | |
dist | ||
_build/.cache | ||
|
||
.env.json | ||
.env* |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,16 @@ | |
"url": "DATABASE_URL" | ||
}, | ||
"pubsub": { | ||
"id": "bab60de7", | ||
"key": "0nabkCiVoCSxErMPhdsIFQ==" | ||
"id": "PUBSUB_ID", | ||
"key": "PUBSUB_KEY" | ||
}, | ||
"email": { | ||
"key": "5pwwJkeIFIVKMbYct3CT2A", | ||
"from": "[email protected]" | ||
"key": "EMAIL_KEY", | ||
"from": "EMAIL_FROM" | ||
}, | ||
"push": { | ||
"key": "AKIAJW2SSA6LPZV3NZLA", | ||
"secret": "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", | ||
"key": "PUSH_KEY", | ||
"secret": "PUSH_SECRET", | ||
"region": "us-east-1", | ||
"title": "Outfit", | ||
"appsArns": { | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# If script wasn't run in Jenkins set default tag | ||
if [ -z "$BUILD_TAG" ] | ||
then | ||
BUILD_TAG="test-1" | ||
fi | ||
|
||
# Prepare project and container names for proper status check | ||
PROJECT=`echo $BUILD_TAG | sed "s/\-//g"` | ||
CONTAINER=$PROJECT"_app_1" | ||
set -e | ||
|
||
# Build environment and run ci scripts | ||
docker-compose -f test/docker/docker-compose.yml -p $PROJECT up --abort-on-container-exit --build | ||
docker-compose -f test/docker/docker-compose.yml up -d --build | ||
|
||
# See the output from the scripts | ||
docker attach app | ||
|
||
# Status check | ||
exit $(docker wait $CONTAINER) | ||
# Clean everything up | ||
docker-compose -f test/docker/docker-compose.yml kill | ||
docker-compose -f test/docker/docker-compose.yml rm -f |