Code Monkey home page Code Monkey logo

adhoc-signing's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adhoc-signing's Issues

Better handling of mac-specific properties

I think these work, but ideally we'd have some sort of warning that if we're running macapp, we need to define some of these. And if we're not running macapp signing, none of these are valid. We could do this in a number of ways:

  • define a schema for macapp vs non-macapp
  • put these options in a format-specific dictionary that we define schemas for for each signing format
  • put these three if statements under an if format_ == "macapp": block, or similar

We don't necessarily need to block on this but we may want to track the issue at least.

Originally posted by @escapewindow in #23 (comment)

private manifest support

Let's:

  • move the manifests to a private repo
  • support building the fetch tasks on-change/PR on that repo
  • support pulling those artifacts from non-public URLs. The current thought is setting up a private S3 bucket. Releng can upload artifacts there, and the automation can have a read-only token.

the dep-signing kind should be a cached_task

We added dep-signing as a PR task in 45117e2 . We didn't make it a cached task, which means that every PR runs a dep-signing task for every signing manifest, and that seems to pull in the fetch tasks as a non-soft-dependency.

Let's make the dep-signing kind cached, with the same resources as their upstream fetch task.

shipit integration

Ideally we should have shipit integration, and signoffs, for adhoc relpro.

On-push adhoc signing tasks

Braindumping an idea I had before I forget.

The current adhoc-signing mechanism is a bit clunky. CI generates dep signing tasks for every manifest in the signing-manifests directory. Then you need to manually trigger the signing request and fill in the manifest you desire. In my experience, we almost always want to do only a single signing request at a time.

I propose we:

  1. Create a templates dir and a <name>.tmpl.yml file for each use case we want to support.
  2. Create a generate-signing-manifest script which takes a template name and some other metadata (description, file size, etc) as input, and creates a valid manifest file at the repo root. Notably there will be only a single file, and re-running this script will clobber whatever was previously there.
  3. Refactor the CI to run the signing task that corresponds to the manifest at the repo root and delete the Promote an Adhoc Signature action. This does move access control away from scopes and towards Github roles. Maybe this is a sticking point, but in practice only Releng has permission to the adhoc-signing repo anyway.

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.