Skip to content

Commit cd4c144

Browse files
AliDatadogclaude
andcommitted
test: PoC publish via artifact-gateway with dd-pkg image
Replace publish_public_main trigger block with dd-pkg publish-image. Uses staging gateway, test destination (agent-dev:gateway-operator-poc-test), registry.datad0g.com only. Manual trigger for safety. BARX-1709 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1206ff commit cd4c144

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.gitlab-ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -464,19 +464,20 @@ e2e_autoscaling:
464464

465465
publish_public_main:
466466
stage: release
467+
image: registry.ddbuild.io/agent-delivery/dd-pkg:v106852116-3c888529
468+
tags: ["arch:amd64"]
467469
rules:
468-
- if: '$CI_COMMIT_BRANCH == "main" && $DDR != "true"'
469-
when: on_success
470-
- when: never
471-
trigger:
472-
project: DataDog/public-images
473-
branch: main
474-
strategy: depend
470+
- when: manual
471+
allow_failure: true
472+
before_script: []
475473
variables:
476-
IMG_SOURCES: $BUILD_DOCKER_REGISTRY/$PROJECTNAME:v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-amd64,$BUILD_DOCKER_REGISTRY/$PROJECTNAME:v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-arm64
477-
IMG_DESTINATIONS: operator:main
474+
IMG_SOURCES: $BUILD_DOCKER_REGISTRY/$PROJECTNAME:v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-amd64
475+
IMG_DESTINATIONS: operator-dev:gateway-poc-${CI_PIPELINE_ID}
476+
IMG_REGISTRIES: "registry.datad0g.com"
478477
IMG_SIGNING: "false"
479-
IMG_MERGE_STRATEGY: "index_oci"
478+
ARTIFACT_GATEWAY_URL: "https://artifact-gateway.us1.ddbuild.staging.dog/internal/artifact-gateway"
479+
script:
480+
- dd-pkg publish-image --gateway-url "${ARTIFACT_GATEWAY_URL}" --timeout 1800
480481

481482
publish_public_main_fips:
482483
extends: publish_public_main

0 commit comments

Comments
 (0)