Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gitlab dotenv for creds pass #45

Merged

Conversation

arongate
Copy link
Contributor

@arongate arongate commented Dec 8, 2023

Fixes #36

@osaluden osaluden merged commit 6dd2449 into Orange-OpenSource:master Dec 8, 2023
arongate added a commit to arongate/AWSTerraformStarterKit that referenced this pull request Dec 13, 2023
* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
fabgaubert pushed a commit that referenced this pull request Dec 22, 2023
#41)

* optimize .gitlab stages and remote restrict init to init target on makefile

* Replace only with rules

* add gitlab-ci

* Uncommit gitlab-ci

* add gitlab pipeline code

* change runners tag

* Update cicd identity

* select another runner tag

* remove failing resource

* Add debugging instructions

* Remove gitlab pipeline code file

* Remove test configuration

* Restrict delete job on force

* Generate data for testing

* Fix pipeline with dotenv usage

* Fix failing markdown lint

* Add gitlab ci missing dependency

* test updated gitlab ci

* Test upgraded code

* Fix tflint command

* Fix tflint command

* Fix precommit unsupported terraform version

* Upgrade quality checks versions

* Update apply all condition

* Replace main branch name with the configured one

* Fine tune rules

* Fix indentation

* Fix pipeline

* Fix change ref

* Update gitlab-ci rules

* update rules

* Fix pipeline rules

* Change default branch

* Reconfigure cache

* Optimize caching

* test gitlab optimization

* Upgrade terraform version

* Fix pipeline

* Update CI

* Gitlab update

* Init before plan

* Fix gitlab ci

* Fix plan job

* Remove init command from other target

* Improve merge request filter

* Try force run to fix merge request pipeline failure

* Run pipeline only on pull request and on main branch

* Filter pipeline on merge event and push event on main branch

* Debug sts creds issue

* fix missing tree command

* Fix failing pipeline

* Use renamed gitlab cicd variables

* Fix breaking changes

* Uncommit .gitlab-ci.yam

* finishings

* Use gitlab dotenv for creds pass (#45)

* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>

* optimize .gitlab stages and separate init from other target on makefile

* Restrict delete job to FORCE build

* Generate data for testing

* add gitlab-ci

* Update cicd identity

* select another runner tag

* Use renamed gitlab cicd variables

* Fix breaking changes

* Fix gitlab template

* Add destroy auto from binary plan

* Remove test gitlab pipeline

* remove test assets

* #30: add default value for GITLAB_MAIN_BRANCH configuration key

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
fabgaubert pushed a commit that referenced this pull request Jan 5, 2024
* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
fabgaubert pushed a commit that referenced this pull request Jan 5, 2024
#41)

* optimize .gitlab stages and remote restrict init to init target on makefile

* Replace only with rules

* add gitlab-ci

* Uncommit gitlab-ci

* add gitlab pipeline code

* change runners tag

* Update cicd identity

* select another runner tag

* remove failing resource

* Add debugging instructions

* Remove gitlab pipeline code file

* Remove test configuration

* Restrict delete job on force

* Generate data for testing

* Fix pipeline with dotenv usage

* Fix failing markdown lint

* Add gitlab ci missing dependency

* test updated gitlab ci

* Test upgraded code

* Fix tflint command

* Fix tflint command

* Fix precommit unsupported terraform version

* Upgrade quality checks versions

* Update apply all condition

* Replace main branch name with the configured one

* Fine tune rules

* Fix indentation

* Fix pipeline

* Fix change ref

* Update gitlab-ci rules

* update rules

* Fix pipeline rules

* Change default branch

* Reconfigure cache

* Optimize caching

* test gitlab optimization

* Upgrade terraform version

* Fix pipeline

* Update CI

* Gitlab update

* Init before plan

* Fix gitlab ci

* Fix plan job

* Remove init command from other target

* Improve merge request filter

* Try force run to fix merge request pipeline failure

* Run pipeline only on pull request and on main branch

* Filter pipeline on merge event and push event on main branch

* Debug sts creds issue

* fix missing tree command

* Fix failing pipeline

* Use renamed gitlab cicd variables

* Fix breaking changes

* Uncommit .gitlab-ci.yam

* finishings

* Use gitlab dotenv for creds pass (#45)

* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>

* optimize .gitlab stages and separate init from other target on makefile

* Restrict delete job to FORCE build

* Generate data for testing

* add gitlab-ci

* Update cicd identity

* select another runner tag

* Use renamed gitlab cicd variables

* Fix breaking changes

* Fix gitlab template

* Add destroy auto from binary plan

* Remove test gitlab pipeline

* remove test assets

* #30: add default value for GITLAB_MAIN_BRANCH configuration key

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
fabgaubert pushed a commit that referenced this pull request Jan 5, 2024
* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
fabgaubert added a commit that referenced this pull request Jan 5, 2024
* Add Terraform Check Module Version with make tsvc_<plan_name>

* typo

* remove configure.yaml file

* Use gitlab dotenv for creds pass (#45)

* Update gitlab-ci jinja template to use dotenv report artifact and dependencies keywork to pass credentials between jobs

* add dependencies to needs

* Add aws-creds as job dependency for apply_all job

* Update needs to match dependencies

* Add gitlab ci pipeline for testing

* Fix typo in pipeline code

* Uncommit gitlab pipeline

* Change gitlabi place

---------

Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>

* Add Terraform Check Module Version with make tsvc_<plan_name>

* typo

---------

Co-authored-by: arongate <eddy.arrel@gmail.com>
Co-authored-by: Eddy PEPY <eddy.pepy.ext@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use .gitlab-ci dotenv to pass credentials between stages
2 participants