Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Feature: Implementing all payload parameters #24

Merged
merged 3 commits into from
Nov 24, 2021
Merged

Conversation

anouarchattouna
Copy link
Contributor

@anouarchattouna anouarchattouna commented Nov 22, 2021

  • Add payload missing parameters
  • Refactor local variables using unique keys for maps
  • Update examples
  • Update README
  • Upgrade providers
  • Handling recursive value
  • Payload parameter repo becomes repos

Should replace #15 & #18

@foxted, @danquah can you please give it a try?

Add payload missing parameters
Refactor local variables using unique keys for maps
Update examples
Update README
@Erouan50 Erouan50 self-requested a review November 23, 2021 14:57
Handeling recursive value
Payload parameter repo becomes repos
Copy link
Contributor

@Erouan50 Erouan50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just submitted a small change, but otherwise LTGM

main.tf Outdated Show resolved Hide resolved
keep = repo.parameters != null ? (repo.parameters.keep != null ? repo.parameters.keep : "0") : "0"
tag_filter = repo.parameters != null ? (repo.parameters.tag_filter != null ? repo.parameters.tag_filter : "") : ""
recursive = true
filter = repo.parameters != null ? "grace-${repo.parameters.grace != null ? repo.parameters.grace : "0"}-allow_tagged-${repo.parameters.allow_tagged != null ? repo.parameters.allow_tagged : false}-keep-${repo.parameters.keep != null ? repo.parameters.keep : "0"}-tag_filter-${repo.parameters.tag_filter != null ? repo.parameters.tag_filter : "no"}" : "delete-all-untagged-images-recursive"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easy to read ;)

@anouarchattouna anouarchattouna merged commit dde3658 into main Nov 24, 2021
@anouarchattouna anouarchattouna deleted the enhancedPayload branch November 24, 2021 08:58
anouarchattouna pushed a commit that referenced this pull request Nov 24, 2021
repos parameter was not added correctly from #24 reviews
anouarchattouna pushed a commit that referenced this pull request Nov 24, 2021
repos parameter was not added correctly from #24 reviews
mirakl-admin pushed a commit that referenced this pull request Feb 3, 2022
## 1.0.0 (2022-02-03)

### Features

* 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)
mirakl-admin pushed a commit that referenced this pull request Feb 3, 2022
## 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants