Giter VIP home page Giter VIP logo

Comments (6)

tstromberg avatar tstromberg commented on July 22, 2024

/assign

from community.

tstromberg avatar tstromberg commented on July 22, 2024

Analyzing this with the previous failure, you can see that "pulumi up on sigstore/github-prod" fails on both at the same stage, which is trying to upgrade the sigstore-oncall permission from "push" to "write" for the "helm-charts" repository:

 ~ github:index/teamRepository:TeamRepository: (update)
          [id=6693572:helm-charts]
          [urn=urn:pulumi:github-prod::sigstore-github-sync::github:index/teamRepository:TeamRepository::helm-charts-sigstore-oncall]
        ~ permission: "push" => "write"
          repository: "helm-charts"
          teamId    : "6693572"

from community.

tstromberg avatar tstromberg commented on July 22, 2024

-Doing some cursory research, my first thought experiment would be to manually remove the oncall group from membership to the helm-charts GitHub repository, and re-run the script to see if the script works or outputs differently in a way that could help us determine what it's stuck on.

@priyawadhwa - would it be possible to do this?

The only other theory I have is that Github may be complaining that the Team ID and/or Team name do not match it's expectation (hence 422 "Validation Failed"). Looking at https://github.com/orgs/sigstore/teams/sigstore-oncall however, the name and the teamId value of 6693572 matches.

from community.

tstromberg avatar tstromberg commented on July 22, 2024

Here's the API reference: https://docs.github.com/en/rest/teams/teams#add-or-update-team-repository-permissions - it does not mention the 422 status code, but that doesn't mean much.

from community.

priyawadhwa avatar priyawadhwa commented on July 22, 2024

I think Carlos might have fixed this with #145!

from community.

priyawadhwa avatar priyawadhwa commented on July 22, 2024

Yep looks like the most recent run was green (https://github.com/sigstore/community/actions/runs/3177181864) , I think we're good. Going ahead and closing this issue :)

from community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.