Skip to content

Commit

Permalink
ci debuggin
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed Nov 27, 2024
1 parent 20d21a7 commit b25fad5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b25fad5

Please sign in to comment.