EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 4d71a551 authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

fixing installation + typos

parent 5dc4a403
No related branches found
No related tags found
1 merge request!29Preprocessor test
......@@ -42,6 +42,7 @@ 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
gdalinfo --version
./docker-stack-wait.sh -n renderer -n registrar -n preprocessor -n ingestor -n sftp emg-pvs
docker service ls
......
#!/bin/sh
OS_PASSWORD=$(docker exec -it $(docker ps -qf "name=emg-pvs_preprocessor") cat /run/secrets/OS_PASSWORD)
preprocessing the images and save the results in the result bucket
#preprocessing the images and save the results in the result bucket
docker exec -e OS_PASSWORD=$OS_PASSWORD -it $(docker ps -qf "name=emg-pvs_preprocessor") \
preprocessor preprocess --config-file testing/testing_preprocessor_config.yml KS03_AIS_PSH_1G_20160101T113020_20160101T113022_KGS_019339_75CE.tar
ST_AUTH_VERSION=3
OS_AUTH_URL=https://auth.cloud.ovh.net/v3/
OS_USERNAME=xqNChf3Rz5vs
OS_TENANT_NAME=7398560954290261
OS_TENANT_ID=1b418c4359064774af5d55da3f4bcac0
OS_REGION_NAME=SERCO-DIAS1
# gaining the necessary credentials and mapping them as env variables
swift auth --auth-version $ST_AUTH_VERSION --os-identity-api-version 3 --os-auth-url $OS_AUTH_URL \
--os-username $OS_USERNAME --os-password $OS_PASSWORD --os-tenant-name $OS_TENANT_NAME --os-tenant-id $OS_TENANT_ID \
......
#!/bin/bash
product_list_file=$1
echo "inside registrar_test"
OS_PASSWORD=$(docker exec -it $(docker ps -qf "name=emg-pvs_preprocessor") cat /run/secrets/OS_PASSWORD)
IFS=","
......
......@@ -2,5 +2,6 @@ pytest
psycopg2
python-dotenv
paramiko
# python-swiftclient
# python-keystoneclient
\ No newline at end of file
python-swiftclient
python-openstackclient
python-keystoneclient
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment