Commit 8788cb36 authored by PEDROLI Benjamin's avatar PEDROLI Benjamin
Browse files

add mofidication for cozy_version 1.4.22 / Add pilote by default as ecolyo

parent 7d683e6d
FROM ubuntu:20.10 AS installer
ARG COZY_VERSION=1.4.18
ARG COZY_VERSION=1.4.24
ARG NODE_VERSION=12.13.0
WORKDIR /tmp
......
......@@ -17,10 +17,10 @@ fi
echo "Install cozy-stack..."
wget -O /tmp/cozy-stack-linux-${COZY_ARCH}-${COZY_VERSION} https://github.com/cozy/cozy-stack/releases/download/${COZY_VERSION}/cozy-stack-linux-${COZY_ARCH}
wget -O /tmp/cozy.sha256 https://github.com/cozy/cozy-stack/releases/download/${COZY_VERSION}/cozy-stack.sha256
wget -O /tmp/cozy-stack-linux-${COZY_ARCH}-${COZY_VERSION} https://github.com/cozy/cozy-stack/releases/download/${COZY_VERSION}/cozy-stack-linux-${COZY_ARCH}-${COZY_VERSION}
wget -O /tmp/cozy.sha256 https://github.com/cozy/cozy-stack/releases/download/${COZY_VERSION}/cozy-stack-linux-${COZY_ARCH}-${COZY_VERSION}.sha256
grep linux-${COZY_ARCH} /tmp/cozy.sha256 > /tmp/SHA256
awk '/cozy-stack-linux-'${COZY_ARCH}'-'${COZY_VERSION}'/{print $NF " cozy-stack-linux-'${COZY_ARCH}'-'${COZY_VERSION}'"}' /tmp/cozy.sha256 > /tmp/SHA256
echo "Expected checkum : $(cat /tmp/SHA256)"
echo "Checksum of the downloaded file : $(sha256sum --tag /tmp/cozy-stack-linux-${COZY_ARCH}-${COZY_VERSION})"
......
......@@ -10,6 +10,10 @@ INSTANCE_ID=$1
if [ "$2" = "oidc" ]; then
OIDC_CONTEXT="--context-name open-id-connect"
else
#Use for service Pilote app / No impact for other instance
OIDC_CONTEXT="--context-name pilotedemo"
echo "Context pilotedemo added"
fi
source .env
......@@ -25,6 +29,7 @@ docker-compose exec cozy ./cozy konnectors install enedisgrandlyon --domain "${I
docker-compose exec cozy ./cozy konnectors install grdfgrandlyon --domain "${INSTANCE_ID}.${COZY_TLD}" git://forge.grandlyon.com/web-et-numerique/llle_project/grdf-konnector.git#build
docker-compose exec cozy ./cozy konnectors install eglgrandlyon --domain "${INSTANCE_ID}.${COZY_TLD}" git://forge.grandlyon.com/web-et-numerique/llle_project/egl-konnector.git#build
docker-compose exec cozy ./cozy apps install ecolyo --domain "${INSTANCE_ID}.${COZY_TLD}" git://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo.git#build
docker-compose exec cozy ./cozy apps install pilote --domain "${INSTANCE_ID}.${COZY_TLD}" git://forge.grandlyon.com/solidarite/monparcourssocial/mps-usager.git#build
## To replace by registry://store/something after next cozy-stack release
docker-compose exec cozy ./cozy apps install --domain "${INSTANCE_ID}.${COZY_TLD}" store registry://store/stable | tee -a "${TMPFILE}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment