EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
30d45ce0
Commit
30d45ce0
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
log MORE on build fail
parent
208934f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/gitlab_test.sh
+15
-2
15 additions, 2 deletions
testing/gitlab_test.sh
testing/registrar_test.sh
+4
-0
4 additions, 0 deletions
testing/registrar_test.sh
with
19 additions
and
2 deletions
testing/gitlab_test.sh
+
15
−
2
View file @
30d45ce0
...
...
@@ -27,6 +27,9 @@ set +o allexport
mkdir
data
docker swarm init
docker network create
-d
overlay emg-extnet
echo
"inside gitlab_test"
echo
$OS_PASSWORD
echo
$DJANGO_PASSWORD
# creat the docker secrets
printf
$OS_PASSWORD_DOWNLOAD
| docker secret create OS_PASSWORD_DOWNLOAD -
...
...
@@ -40,10 +43,20 @@ docker stack deploy -c ../docker-compose.emg.yml -c ../docker-compose.emg.dev.ym
apk update
&&
apk add bash postgresql-dev gcc python3-dev musl-dev py-pip gdal libffi-dev openssl-dev make
pip3
install
-r
requirements.txt
./docker-stack-wait.sh
-n
renderer
-n
registrar
-n
preprocessor
-n
ingestor emg-pvs
./docker-stack-wait.sh
-n
renderer
-n
registrar
-n
preprocessor
-n
ingestor
-n
sftp
emg-pvs
docker service
ls
bash ./registrar_test.sh product_list.csv
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
if
[
$?
-ne
0
]
then
echo
"Failure in tests, logging from services:"
for
service
in
$(
docker service
ls
--format
"{{.Name}}"
)
;
do
echo
"Service:
${
service
}
"
docker service logs
$service
docker service ps
$service
--no-trunc
done
exit
1
fi
This diff is collapsed.
Click to expand it.
testing/registrar_test.sh
+
4
−
0
View file @
30d45ce0
#!/bin/bash
product_list_file
=
$1
echo
"inside registrar_test"
echo
$OS_PASSWORD
echo
$DJANGO_PASSWORD
docker
exec
-i
$(
docker ps
-qf
"name=emg-pvs_registrar"
)
python3 /var/www/pvs/dev/pvs_instance/manage.py storage create pvs_testing pvs_testing
--type
swift
--storage-auth
auth-cloud-ovh
IFS
=
","
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment