up structure for tf
This commit is contained in:
parent
a3c818ef83
commit
e31fdc2c02
874 changed files with 3019 additions and 67372 deletions
39
.gitlab-ci.yml
Normal file
39
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
# --------------------------------------------------------------------------------
|
||||
# Purpose : RAG Backend Pipeline
|
||||
# Author : GCS/DevOps
|
||||
# Licence :
|
||||
#
|
||||
#---------------------------------------------------------------------------------
|
||||
#---------------------------------------------------------------------------------
|
||||
#
|
||||
include:
|
||||
- template: Jobs/Secret-Detection.gitlab-ci.yml
|
||||
- project: safrancloud/templates
|
||||
file: /gitlab-ci/iac-init.yml
|
||||
ref: 4.2.1
|
||||
- project: safrancloud/templates
|
||||
file: /gitlab-ci/compliance.yml
|
||||
ref: 4.2.1
|
||||
- local: gitlab-ci/all.yml
|
||||
- local: gitlab-ci/dev.yml
|
||||
# - local: gitlab-ci/ppd.yml
|
||||
# - local: gitlab-ci/prd.yml
|
||||
|
||||
variables:
|
||||
TF_ROOT: ${CI_PROJECT_DIR}
|
||||
AWS_DEFAULT_REGION: "eu-west-3" # TO BE MODIFIED BY YOUR AWS REGION
|
||||
PROJECT_NAME: "sae-saepfawsdevops" # TO BE MODIFIED BY YOUR PROJECT NAME (SAE-SERVICEID) le serviceid est le groupe principal gitlab du projet
|
||||
APPNAME: "demo" # TO BE MODIFIED BY YOUR APPLICATION NAME
|
||||
HTTP_PROXY: "http://eu2.proxy.cloud.ad:3128" # # TO BE MODIFIED BY PROXY ENDPOINT ex http://eu1.proxy.cloud.ad:3128
|
||||
HTTPS_PROXY: "http://eu2.proxy.cloud.ad:3128" # ex http://eu1.proxy.cloud.ad:3128
|
||||
NO_PROXY: "cloud.safran,cloud.ad" # TO BE MODOFIED BY YOU NO_PROXY ex "cloud.safran,cloud.ad"
|
||||
TERRAFORM_IMAGE: terraform-19:2.3.3
|
||||
TF_VAR_management: "terraform-${CI_PROJECT_NAME}-${CI_PROJECT_ID}"
|
||||
|
||||
stages:
|
||||
- compliance
|
||||
- test
|
||||
- build
|
||||
- plan
|
||||
- apply
|
||||
- destroy
|
Loading…
Add table
Add a link
Reference in a new issue