FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
routing-release/scripts/test-in-docker.bash at develop · cloudfoundry/routing-release · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cloudfoundry
/
routing-release
Public
Notifications
You must be signed in to change notification settings
Fork
114
Star
177
Code
Issues
15
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
routing-release
/
scripts
/
test-in-docker.bash
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
23 lines (17 loc) · 830 Bytes
Breadcrumbs
routing-release
/
scripts
/
test-in-docker.bash
Copy path
File metadata and controls
executable file
·
23 lines (17 loc) · 830 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/bin/bash
set
-eu
THIS_FILE_DIR=
"
$(
cd
"
$(
dirname
"
${BASH_SOURCE[0]}
"
)
"
>
/dev/null
2>&1
&&
pwd
)
"
CI=
"
${THIS_FILE_DIR}
/../../wg-app-platform-runtime-ci
"
.
"
$CI
/shared/helpers/git-helpers.bash
"
REPO_NAME=
$(
git_get_remote_name
)
if
[[
${DB
:-
empty}
==
"
empty
"
]]
;
then
DB=mysql
fi
CONTAINER_NAME=
"
$REPO_NAME
-
$DB
-docker-container
"
DB=
"
${DB}
"
"
${THIS_FILE_DIR}
/create-docker-container.bash
"
-d
docker
exec
$CONTAINER_NAME
'
/repo/scripts/docker/build-binaries.bash
'
docker
exec
$CONTAINER_NAME
'
/repo/scripts/docker/tests-templates.bash
'
docker
exec
$CONTAINER_NAME
'
/repo/scripts/docker/test.bash
'
"
$@
"
docker
exec
$CONTAINER_NAME
'
/repo/scripts/docker/lint.bash
'
#
Cleanup if all tests succeed, otherwise -e prevents script from reaching this
docker rm -f
"
${CONTAINER_NAME}
"
||
true
#
needed for compatibility with podman
Back
|
FazBrowse Home
|
New Git URL