Voici la documentation : https://geoplateforme.pages.gpf-tech.ign.fr/documentation

Skip to content
Extraits de code Groupes Projets
Valider f4cb78bf rédigé par Matthieu Proboeuf's avatar Matthieu Proboeuf Validation de Jérôme Desboeufs
Parcourir les fichiers

chore(docker): add curl and yq

parent 136b583e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!18chore(docker): add curl and yq
Pipeline #28582 réussi avec les étapes
in 3 minutes et 12 secondes
......@@ -8,6 +8,12 @@ include:
- "ci/chart-v2.yml"
- "ci/versioning.yml"
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always
cache:
paths:
- node_modules/
......
......@@ -21,7 +21,11 @@ COPY --from=redis /usr/local/bin/redis-server /usr/local/bin/redis-server
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /root/.local /root/.local
RUN apt-get update && apt-get install -y p7zip-full && rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y p7zip-full curl wget && \
wget -q https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \
chmod +x /usr/bin/yq && \
rm -rf /var/lib/apt/lists/*
COPY . .
......
......@@ -57,18 +57,18 @@ spec:
- /bin/bash
- -c
- echo "OK"
periodSeconds: 5
failureThreshold: 2
periodSeconds: 10
readinessProbe:
httpGet:
path: /ping
port: http
initialDelaySeconds: 30
periodSeconds: 30
periodSeconds: 5
startupProbe:
httpGet:
path: /ping
port: http
failureThreshold: 9
failureThreshold: 60
periodSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter