diff --git a/.gitlab/package_build/dmg.yml b/.gitlab/package_build/dmg.yml deleted file mode 100644 index 7786fbfceb4dfa..00000000000000 --- a/.gitlab/package_build/dmg.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -.agent_build_common_dmg: - script: - - echo "About to build for $RELEASE_VERSION" - # remove artifacts from previous pipelines that may come from the cache - - rm -rf $OMNIBUS_PACKAGE_DIR/* - - mkdir -p $OMNIBUS_PACKAGE_DIR - - export GITHUB_KEY_B64=$($CI_PROJECT_DIR/tools/ci/aws_ssm_get_wrapper.sh $MACOS_GITHUB_KEY_SSM_NAME) - - export GITHUB_APP_ID=$($CI_PROJECT_DIR/tools/ci/aws_ssm_get_wrapper.sh $MACOS_GITHUB_APP_ID_SSM_NAME) - - export GITHUB_INSTALLATION_ID=$($CI_PROJECT_DIR/tools/ci/aws_ssm_get_wrapper.sh $MACOS_GITHUB_INSTALLATION_ID_SSM_NAME) - - $S3_CP_CMD $S3_ARTIFACTS_URI/agent-version.cache . - - export VERSION_CACHE_CONTENT=$(cat agent-version.cache | base64 -) - - !reference [.setup_python_mirror_linux] - - python3 -m pip install -r tasks/libs/requirements-github.txt - - inv -e github.trigger-macos --workflow-type "build" --datadog-agent-ref "$CI_COMMIT_SHA" --release-version "$RELEASE_VERSION" --major-version "$AGENT_MAJOR_VERSION" --python-runtimes "$PYTHON_RUNTIMES" --destination "$OMNIBUS_PACKAGE_DIR" --version-cache "$VERSION_CACHE_CONTENT" --integrations-core-ref "$INTEGRATIONS_CORE_VERSION" - - !reference [.upload_sbom_artifacts] - timeout: 3h # MacOS builds can take 1h~2h, increase the timeout to avoid timeout flakes - artifacts: - expire_in: 2 weeks - paths: - - $OMNIBUS_PACKAGE_DIR - -agent_dmg-x64-a7: - extends: .agent_build_common_dmg - rules: - - !reference [.on_packaging_change] - - !reference [.on_main_or_release_branch] - - !reference [.on_all_builds] - stage: package_build - image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES - tags: ["arch:amd64"] - needs: ["go_mod_tidy_check"] - variables: - AGENT_MAJOR_VERSION: 7 - PYTHON_RUNTIMES: "3" - timeout: 6h - before_script: - - source /root/.bashrc - - export RELEASE_VERSION=$RELEASE_VERSION_7