From b25fad5e7ad19087a1f841fdc2e9ccca9ba3f503 Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Wed, 27 Nov 2024 13:49:43 -0500 Subject: [PATCH] ci debuggin --- .github/workflows/e2e.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a57bb4c7..dfcfc9e3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,11 +21,14 @@ jobs: - name: Kick off platform-devpx-test pipeline run: | IMPORT_URL="https://raw.githubusercontent.com/slackapi/deno-slack-sdk/refs/heads/${GIT_BRANCH}/src/"; + echo "Import URL: ${IMPORT_URL}"; # https://app.circleci.com/settings/organization/github/slackapi/contexts - TEST_JOB_WORKFLOW_ID=$(curl --location --request POST 'https://circleci.com/api/v2/project/gh/slackapi/platform-devxp-test/pipeline' \ + TEST_PAYLOAD=$(curl --location --request POST 'https://circleci.com/api/v2/project/gh/slackapi/platform-devxp-test/pipeline' \ --header 'Content-Type: application/json' \ -u "${CCHEN_CIRCLECI_PERSONAL_TOKEN}:" \ - --data "{\"branch\":\"main\",\"parameters\":{\"deno_sdk_import_url\":\"${IMPORT_URL}\"}}" | jq '.id') + --data "{\"branch\":\"main\",\"parameters\":{\"deno_sdk_import_url\":\"${IMPORT_URL}\"}}") + echo $TEST_PAYLOAD; + TEST_JOB_WORKFLOW_ID=$(echo $TEST_PAYLOAD | jq '.id'); echo "e2e test workflow started with id: $TEST_JOB_WORKFLOW_ID" echo "TEST_JOB_WORKFLOW_ID=${TEST_JOB_WORKFLOW_ID}" >> $GITHUB_ENV - name: Wait for platform-devxp-test E2E run to complete