Skip to content
Snippets Groups Projects
Verified Commit 0f21769b authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Make dev-ci trigger push to registry

parent 51a7e362
No related branches found
No related tags found
1 merge request!44Optimize CI and remove deployment steps, add Mattermost and update Etherpad
Pipeline #51125 passed
...@@ -115,11 +115,9 @@ clair: ...@@ -115,11 +115,9 @@ clair:
- "pica-etherpad/*" - "pica-etherpad/*"
- "pica-oh-my-form/*" - "pica-oh-my-form/*"
- "pica-wekan/*" - "pica-wekan/*"
- "pica-sympa/*"
refs: refs:
- master - master
- dev-ci - dev-ci
- dev-sympa
# Run docker-bench-security and upload the results # Run docker-bench-security and upload the results
docker-bench-security: docker-bench-security:
...@@ -150,11 +148,9 @@ docker-bench-security: ...@@ -150,11 +148,9 @@ docker-bench-security:
- "pica-etherpad/*" - "pica-etherpad/*"
- "pica-oh-my-form/*" - "pica-oh-my-form/*"
- "pica-wekan/*" - "pica-wekan/*"
- "pica-sympa/*"
refs: refs:
- master - master
- dev-ci - dev-ci
- dev-sympa
# Push the generated image on the production registry, # Push the generated image on the production registry,
# once it passed all security tests and has been successfully built # once it passed all security tests and has been successfully built
...@@ -176,3 +172,4 @@ push-prod: ...@@ -176,3 +172,4 @@ push-prod:
- "pica-oh-my-form/*" - "pica-oh-my-form/*"
refs: refs:
- master - master
- dev-ci
...@@ -11,44 +11,44 @@ networks: ...@@ -11,44 +11,44 @@ networks:
name: "docker_default" name: "docker_default"
services: services:
etherpad-app: etherpad-app:
image: registry.picasoft.net/pica-etherpad:1.8.0 image: registry.picasoft.net/pica-etherpad:1.8.0
container_name: etherpad-app container_name: etherpad-app
depends_on: depends_on:
- etherpad-db - etherpad-db
links: links:
- etherpad-db:etherpad-db - etherpad-db:etherpad-db
security_opt: security_opt:
- no-new-privileges - no-new-privileges
mem_limit: "2048m" mem_limit: "2048m"
cpus: "0.60" cpus: 0.6
pids_limit: 1024 pids_limit: 1024
env_file: ./secrets/etherpad-app.secrets env_file: ./secrets/etherpad-app.secrets
volumes: volumes:
- ./settings.json:/opt/etherpad-lite/settings.json - ./settings.json:/opt/etherpad-lite/settings.json
labels: labels:
traefik.frontend.rule: "Host:pad.picasoft.net" traefik.frontend.rule: "Host:pad.picasoft.net"
traefik.port: 8080 traefik.port: 8080
environment: environment:
ETHERPAD_THEME: "colibris" ETHERPAD_THEME: "colibris"
ETHERPAD_MINIFY: "TRUE" ETHERPAD_MINIFY: "TRUE"
ETHERPAD_DB_HOST: "etherpad-db" ETHERPAD_DB_HOST: "etherpad-db"
ETHERPAD_LOGLEVEL: "INFO" ETHERPAD_LOGLEVEL: "INFO"
restart: unless-stopped restart: unless-stopped
networks: networks:
- docker_default - docker_default
etherpad-db: etherpad-db:
image: mysql:5.7 image: mysql:5.7
container_name: etherpad-db container_name: etherpad-db
security_opt: security_opt:
- no-new-privileges - no-new-privileges
mem_limit: "2048m" mem_limit: "2048m"
cpus: "0.20" cpus: "0.20"
pids_limit: 1024 pids_limit: 1024
volumes: volumes:
- etherpad-db-volume:/var/lib/mysql - etherpad-db-volume:/var/lib/mysql
env_file: ./secrets/etherpad-db.secrets env_file: ./secrets/etherpad-db.secrets
restart: unless-stopped restart: unless-stopped
networks: networks:
- docker_default - docker_default
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