Presign custom build delivery URLs for 7 days

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: Build
    • None
    • DevProd Build
    • v9.0, v8.0, v7.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary

      Sets `presign_duration: 168h` (the S3 maximum of 7 days) on the `custom_build_deliver` `s3.put` that uploads the custom build dist tarball to the consumer bucket. Uses the new Evergreen `s3.put` parameter from evergreen-ci/evergreen#10725 (DEVPROD-42333): the configured duration is stored with the artifact and applied whenever the lazy artifact endpoint generates a presigned URL, so the Files-tab link handed to a consumer's support contact stays valid for a work week instead of the default.

      Constraints inherited from the Evergreen change, both satisfied here: `presign_duration` requires `visibility: signed` and static AWS credentials (this upload uses the `aws_key_build`/`aws_secret_build` project variables, not `role_arn`/assumed roles).

      Notes:

      • Textual-conflict heads-up with #62189, which touches the same `s3.put` and adds a manifest upload next to it; whichever merges second resolves trivially, and the manifest `s3.put` should get the same `presign_duration` at that point.
      • Backport to v8.0 (where the Splunk variants actually run) will follow once this and #62190 settle.
        1. Testing
      • `evergreen validate p mongodb-mongo-master etc/evergreen_nightly.yml`: same 36 pre-existing `release*` distro-allowlist errors as unmodified master and nothing else — i.e. the production validator accepts `presign_duration`, confirming the Evergreen change is deployed.

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

              Created:
              Updated: