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

BranchProtection creation tries to delete a branch protection that doesn't exist #121

Open
alexbowers opened this issue May 13, 2021 · 0 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@alexbowers
Copy link

Previewing update (jobilla/dev)

View Live: https://app.pulumi.com/jobilla/git-managed/dev/previews/c3dc505d-9a0e-43f2-a677-b0c1d612ea89

     Type                              Name                             Plan
     pulumi:pulumi:Stack               git-managed-dev
 +   └─ gitlab:index:BranchProtection  BranchProtection(26629085:main)  create

Resources:
    + 1 to create
    11 unchanged

Do you want to perform this update? yes
Updating (jobilla/dev)

View Live: https://app.pulumi.com/jobilla/git-managed/dev/updates/60

     Type                              Name                             Status                  Info
     pulumi:pulumi:Stack               git-managed-dev                  **failed**              1 error
 +   └─ gitlab:index:BranchProtection  BranchProtection(26629085:main)  **creating failed**     1 error

Diagnostics:
  pulumi:pulumi:Stack (git-managed-dev):
    error: update failed

  gitlab:index:BranchProtection (BranchProtection(26629085:main)):
    error: DELETE https://gitlab.com/api/v4/projects/26629085/protected_branches/main: 404 {message: 404 Not found}

Resources:
    11 unchanged

Duration: 2s

It should be creating it, but instead it tries to delete, not sure why.

@alexbowers alexbowers added the kind/bug Some behavior is incorrect or out of spec label May 13, 2021
@lblackstone lblackstone added kind/bug Some behavior is incorrect or out of spec and removed kind/bug Some behavior is incorrect or out of spec labels May 13, 2021
@leezen leezen added this to the 0.58 milestone Jun 8, 2021
@lukehoban lukehoban modified the milestones: 0.58, 0.59 Jul 6, 2021
@stack72 stack72 removed their assignment Jul 23, 2021
@stack72 stack72 removed this from the 0.59 milestone Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

5 participants