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
8f17b8b3
Commit
8f17b8b3
authored
4 years ago
by
Mussab Abdalla
Browse files
Options
Downloads
Patches
Plain Diff
remove stage test
parent
7d2760e7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-9
9 additions, 9 deletions
.gitlab-ci.yml
with
9 additions
and
9 deletions
.gitlab-ci.yml
+
9
−
9
View file @
8f17b8b3
...
...
@@ -51,39 +51,39 @@ build:
-
IMAGE="$CI_REGISTRY_IMAGE/pvs_core"
-
docker pull "$IMAGE":$CI_COMMIT_REF_NAME ||
true
-
docker build --cache-from "$IMAGE":$CI_COMMIT_REF_NAME -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME core/
-
IMAGE="$CI_REGISTRY_IMAGE/pvs_preprocessor"
-
docker pull "$IMAGE":$CI_COMMIT_REF_NAME ||
true
-
docker build --cache-from "$IMAGE":$CI_COMMIT_REF_NAME -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME preprocessor/
-
IMAGE="$CI_REGISTRY_IMAGE/pvs_client"
-
docker pull "$IMAGE":$CI_COMMIT_REF_NAME ||
true
-
docker build --cache-from "$IMAGE":$CI_COMMIT_REF_NAME -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME client/
-
IMAGE="$CI_REGISTRY_IMAGE/pvs_cache"
-
docker pull "$IMAGE":$CI_COMMIT_REF_NAME ||
true
-
docker build --cache-from "$IMAGE":$CI_COMMIT_REF_NAME -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME cache/
except
:
-
master
test
:
stage
:
build
script
:
before_
script
:
-
chmod +x env_setup.sh wait_for_container.sh
-
./env_setup.sh
-
mkdir data
-
docker swarm init
-
docker network create -d overlay emg-extnet
-
docker stack deploy -c docker-compose.emg.yml -c docker-compose.emg.dev.yml emg-pvs
-
apk update && apk add postgresql-dev gcc python3-dev musl-dev py-pip gdal gdal-dev g++
script
:
-
apk update && apk add postgresql-dev gcc python3-dev musl-dev py-pip gdal
-
pip3 install -r requirements.txt
-
./wait_for_container.sh
-
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
-
docker exec -i $(docker ps -qf "name=emg-pvs_registrar") python3 /core/registrar.py --objects-prefix "OA/PH1B/0.1/b9/urn:eop:PHR:MULTISPECTRAL_0.5m:DS_PHR1B_201608070959189_FR1_PX_E012N32_0719_00974_4148/0000/PH1B_PHR_FUS_1A_20160807T095918_20160807T095920_TOU_1234_4148.DIMA.tar"
-
pytest -s registrar_test.py --name OA/PH1B/0.1/b9/urn:eop:PHR:MULTISPECTRAL_0.5m:DS_PHR1B_201608070959189_FR1_PX_E012N32_0719_00974_4148/0000/PH1B_PHR_FUS_1A_20160807T095918_20160807T095920_TOU_1234_4148.DIMA.tar
-
pytest -s renderer_test.py
except
:
-
master
\ No newline at end of file
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