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

Change to protected_environment deploy_access_levels is not detected #644

Open
hertzsprung opened this issue Nov 20, 2023 · 1 comment
Open

Comments

@hertzsprung
Copy link

Describe the bug

Changing gitlabform protected_environment deploy_access_levels from user to access_level does nothing (debug logs erroneously state: "myenv of protected_environments in mygroup/myproject doesn't need an update"

Config before:

mygroup/myproject:
  protected_environments:
    enforce: true
    myenv:
      deploy_access_levels:
        - user: my-user

Config after:

mygroup/myproject:
  protected_environments:
    enforce: true
    myenv:
      deploy_access_levels:
        - access_level: developer

GitLabForm version

3.8.0

GitLab version

GitLab Enterprise Edition 16.7.0-pre 65594f41831

@amimas
Copy link
Collaborator

amimas commented Nov 25, 2023

I assune the gitlab version 16.7 is a typo. As of right now, I think latest version is 16.6. If this is not a typo, is it possible you're working with an unreleased gitlab version that has a regression bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants