ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1026
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Switches everything that used {{engflow/release/engflow_release.

      {key,cert}}} to the ci_release_2026 JWT, uploaded to s3://serverengflow/engflow/release/ci_release_2026_jwt.txt.
      h2. Changes
      * definitions.yml: the get engflow release key and get engflow release cert commands become one get engflow release jwt command that downloads the token to src/.tmp/ci_release_2026_jwt.txt. All seven places that ran the old pair now run the new command.
      * evergreen/engflow_jwt_credential_helper.sh (new): a Bazel credential helper that prints the jwt-v0 auth headers (x-engflow-auth-method, x-engflow-auth-token) for the downloaded token. It exits non-zero with a message if the file is missing or isn't a JWT.
      * generate_evergreen_bazelrc.sh: under --config=public-release, clears the client certificate and registers the helper for sodalite.cluster.engflow.com.

      h2. Notes
      * The helper is used instead of -remote_header/-bes_header so the token isn't part of the command-line flags that Bazel uploads in the build event stream. The helper covers the remote cache, the remote downloader and the BES connection.
      * The client certificate is cleared for public-release so the session is identified only by the JWT, not by the default engflow.cert.
      * The token's role is ci-release-no-ac. Calling the gRPC API directly, it was accepted on the release instance (capabilities, action-cache read and CAS read) and denied on default. public-release already sets -remote_instance_name=release and -bes_instance_name=release.
      * Not tested: CAS writes, BES uploads and the remote downloader. A verification patch is running; results will be noted below.
      * Once this is merged and confirmed, {{engflow/release/engflow_release.{key,cert}

      }} can be removed from the bucket. Other branches that still use the old pair need the same change.

            Assignee:
            Zack Winter
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: