ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add the manual build_copybara_container task on the commit-only build-copybara-container Evergreen variant to publish pinned Copybara images through the existing build-container ECR repository and role.

      buildscripts/copybara/container/build_image.py defaults to compiling and smoke testing with Copybara's supported help subcommand. The commit task then assumes the ECR write role and runs a separate publication command with fresh credentials, recording the image digest as a task artifact. Publication rejects patch or unspecified requesters. The separate patch-only test_copybara_container task on test-copybara-container builds and smoke-tests without assuming an ECR role, logging in, or uploading images. Existing sync tasks continue to build their own image.

      The build code, tests, Bazel targets, and documentation live in buildscripts/copybara/container/, owned exclusively by 10gen/devprod-build with parent owners and the auto-approve bot disabled. Tests cover requester restrictions, credential ordering, and publication failures.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: