From b8eaab5e0520fa932159ef3f50338206c2c7cd64 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Tue, 11 Jun 2024 11:29:48 -0500 Subject: [PATCH] CLDR-17699 upload datadog sourcemaps for production and smoketest --- .github/workflows/maven.yml | 5 +++++ .github/workflows/production.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c9e61af4087..93985c09121 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -90,6 +90,11 @@ jobs: -DskipTests=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: DataDog sourcemap upload + run: npx --package=@datadog/datadog-ci datadog-ci sourcemaps upload tools/cldr-apps/src/main/webapp/dist/ --minified-path-prefix=/cldr-apps/dist/ --release-version=r${{ github.event.inputs.git-ref }} --service=surveytool + env: + DATADOG_SITE: ${{ secrets.DATADOG_SITE }} + DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} - name: Checkout CLDR archive run: > mkdir -v ../cldr-archive && java -jar tools/cldr-code/target/cldr-code.jar checkout-archive diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 9c7c543d5f4..1efb27c7902 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -52,6 +52,11 @@ jobs: -DskipTests=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: DataDog sourcemap upload + run: npx --package=@datadog/datadog-ci datadog-ci sourcemaps upload tools/cldr-apps/src/main/webapp/dist/ --minified-path-prefix=/cldr-apps/dist/ --release-version=r${{ github.event.inputs.git-ref }} --service=surveytool + env: + DATADOG_SITE: ${{ secrets.DATADOG_SITE }} + DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} - name: Build liberty server run: > mvn -s .github/workflows/mvn-settings.xml -B -pl cldr-apps liberty:create liberty:deploy liberty:package -Dinclude=usr --file tools/pom.xml