-
Notifications
You must be signed in to change notification settings - Fork 20
Feature: Add basic Google Artifact Registry support #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add the google-beta
provider configuration to each example's versions.tf
file ?
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.1.0"
}
I added them. Please review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Could you just double-check the pre-commit run -a
command
@anouarchattouna I double checked the |
## 1.0.0 (2022-02-03) ### Features * Add basic Google Artifact Registry support ([#39](#39)) ([8d6ba49](8d6ba49)) * Add support for GCR buckets with uniform_bucket_level_access = true ([#32](#32)) ([16d6232](16d6232)) * First Implementation of GCR Cleaner ([#1](#1)) ([5ad9957](5ad9957)) * Implement dry_run to easily list images to delete ([#34](#34)) ([b5bb78a](b5bb78a)) * Implementing all payload parameters ([#24](#24)) ([dde3658](dde3658)) * Implementing get all repositories of a given project ([#3](#3)) ([f043971](f043971)) * Introduce new payload parameters ([#29](#29)) ([0ea8b25](0ea8b25)) ### Bug Fixes * Adding repos parameter to payload ([#27](#27)) ([0b62c57](0b62c57)), closes [#24](#24) ### Reverts * Revert "add support for gcr buckets with uniform_bucket_level_access = true (#30)" (#31) ([9eb0fde](9eb0fde)), closes [#30](#30) [#31](#31)
@patricklubach / @anouarchattouna / @PascalBourdier how is this supposed to work for a docker repository in Artifact Registry and set different rules per docker image? In
Assumming there are 2 docker image names unser Also I think this Update: I have opened this issue #52 |
Pull Request
Description
This PR adds basic support for Artifact Registry as on the one hand I need the support and on the other GCR Cleaner supports Artifact Registry too.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I created a new Google Cloud project, switched to examples/minimal, created a terraform.tfvars file, add all necessary values for required variables. Run
terraform init
,terraform plan -out=terraform.plan
andterraform apply terraform.plan
.When deployment finishes I verify GCR Cleaner Cloud Run and Cloud Scheduler Trigger are there. Trigger Cloud Run triggers and check status of last run was successful.
Checklist:
pre-commit run -a