Skip to content
Snippets Groups Projects
Commit b0d36f66 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA
Browse files

initial import

parent f797a52c
No related branches found
No related tags found
No related merge requests found
Pipeline #38564 failed
...@@ -7,7 +7,38 @@ ...@@ -7,7 +7,38 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages: stages:
- test - test
- build
sast: sast:
stage: test stage: test
include: include:
- template: Security/SAST.gitlab-ci.yml - template: Security/SAST.gitlab-ci.yml
stages:
- build
build_development:
stage: build
tags:
- build
only:
- development
variables:
TAG: testing
script:
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
build_release:
stage: build
tags:
- build
only:
- tags
variables:
TAG: 3-management
script:
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
# ten hours in milliseconds
consumer_timeout = 36000000
FROM rabbitmq:3-management
COPY 20_consumer_timout.conf /etc/rabbitmq/conf.d/
version: "3.0"
services:
rabbitmq:
image: registry.forge.grandlyon.com/web-et-numerique/web-et-numerique-internet/data.grandlyon.com/web-portal/components/indexers/rabbitmq:${TAG}
ports:
- 15672:15672
- 5672:5672
restart: unless-stopped
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment