-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(test) Use local shell to assemble E2E environment and run all E2E te…
…sts from other repos (#1139) * Use local shell to assemble and build E2E environment * Commit and export images * Name the db container * Uncomment the export script * Uncomment the export script * Update the spinup command * Remove the exporting * Remove the job dependancy * fix the build * install dependancies * Install browsers * Add matrix stratergy * Add other apps * Fix typo * Final touches
- Loading branch information
1 parent
4397f11
commit d3a5bf3
Showing
6 changed files
with
165 additions
and
14 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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# .dockerignore | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
backend_container_id=$(docker ps --filter "name=backend" --format "{{.ID}}") | ||
db_container_id=$(docker ps --filter "name=db" --format "{{.ID}}") | ||
frontend_container_id=$(docker ps --filter "name=frontend" --format "{{.ID}}") | ||
gateway_container_id=$(docker ps --filter "name=gateway" --format "{{.ID}}") | ||
|
||
docker commit $frontend_container_id frontend | ||
docker commit $gateway_container_id gateway | ||
docker commit $backend_container_id backend | ||
docker commit $db_container_id db | ||
|
||
docker save frontend > e2e_release_env_images.tar | ||
docker save frontend gateway backend db > e2e_release_env_images.tar | ||
|
||
# compress the file (to decrease the upload file size) | ||
gzip -c e2e_release_env_images.tar > e2e_release_env_images.tar.gz |
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