Skip to content

Commit

Permalink
Debug BUILDKITE upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Apr 24, 2024
1 parent e1009d6 commit 981141f
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/ci_build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,48 +24,18 @@ jobs:
with:
ref: ${{ github.base_ref }}

- name: "Setup CI patterns"
id: ci_patterns
uses: ./.github/actions/setup-ci-patterns

- name: "Setup environment"
uses: ./.github/actions/setup-env

- name: "FULL → Bootstrap"
env:
PLAYWRIGHT_BASE__installDeps: "true"
uses: ./.github/actions/bootstrap

- name: "FULL → Build"
env:
WEBPACK__minimize: "false"
WEBPACK__tsLoaderTranspileOnly: "false"
KIE_TOOLS_BUILD__runLinters: "false"
KIE_TOOLS_BUILD__runTests: "false"
KIE_TOOLS_BUILD__runEndToEndTests: "true"
KIE_TOOLS_BUILD__buildContainerImages: "false"
KIE_TOOLS_BUILD__buildExamples: "false"
KIE_TOOLS_BUILD__ignoreTestFailures: "true"
KIE_TOOLS_BUILD__ignoreEndToEndTestFailures: "true"
DISPLAY: ":99.0"
START_SERVER_AND_TEST_INSECURE: "true"
NODE_OPTIONS: "--max_old_space_size=4096"
run: >-
pnpm -F vscode-extension-dashbuilder-editor... -r --workspace-concurrency=1 build:prod
- name: "Upload end-to-end tests results to Buildkite (`main` only)"
shell: bash
env:
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_TOKEN }}
BUILDKITE_BRANCH: ${{ github.ref_name }}
BUILDKITE_MESSAGE: ${{ github.event.commits[0].message }}
run: |
eval "find -P * -type f ${{ steps.ci_patterns.outputs.end_to_end_tests_reports_patterns_for_find }}"
echo "---------------------------- starting upload -----------------------"
eval "find -P * -type f ${{ steps.ci_patterns.outputs.end_to_end_tests_reports_patterns_for_find }}" | xargs -I{} curl -X POST \
curl -X POST \
-H "Authorization: Token token=\"$BUILDKITE_ANALYTICS_TOKEN\"" \
-F "format=junit" \
-F "data=@{}" \
-F "data={}" \
-F "run_env[CI]=github_actions" \
-F "run_env[key]=$GITHUB_ACTION-$GITHUB_RUN_NUMBER-$GITHUB_RUN_ATTEMPT" \
-F "run_env[number]=$GITHUB_RUN_NUMBER" \
Expand Down

0 comments on commit 981141f

Please sign in to comment.