Policy Hub with go native package resolving: how to test a policy before releasing #649
Closed
malinthaprasan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
With the previous policy hub implementation, we had each env specific storage buckets and we can progressively test and release to production policy hub.
With the native approach, if we add a tag with version, this will be the actual production release and will be instantly available to customers. We need a way to test, before releasing it.
Proposed Solution:
It looks like we can use pre-release tags (https://go.dev/ref/mod#glos-pre-release-version) before doing the actual tag with version, we should be able to add a pre-release tag corresponding to lower envs which will be used for testing etc.
eg:
rate-limit/v1.0.0-dev1(need to doublecheck the format)Beta Was this translation helpful? Give feedback.
All reactions