You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ra...@apache.org on 2024/04/24 16:42:06 UTC

(incubator-kie-tools) branch buildkite-debug created (now e1009d66dde)

This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a change to branch buildkite-debug
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


      at e1009d66dde Debug BUILDKITE upload

This branch includes the following new commits:

     new e1009d66dde Debug BUILDKITE upload

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


(incubator-kie-tools) 01/01: Debug BUILDKITE upload

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch buildkite-debug
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git

commit e1009d66dde1994ed32cd6d459383a25c00bb29a
Author: Rodrigo Antunes <co...@rodrigoantunes.com.br>
AuthorDate: Wed Apr 24 13:41:43 2024 -0300

    Debug BUILDKITE upload
---
 .github/workflows/ci_build-debug.yml | 76 ++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/.github/workflows/ci_build-debug.yml b/.github/workflows/ci_build-debug.yml
new file mode 100644
index 00000000000..45681841ea0
--- /dev/null
+++ b/.github/workflows/ci_build-debug.yml
@@ -0,0 +1,76 @@
+name: "CI :: Build - Debug"
+
+on:
+  push:
+    branches: [buildkite-debug]
+
+env:
+  TMPDIR: "/tmp"
+
+jobs:
+  run:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-latest]
+    runs-on: ${{ matrix.os }}
+    steps:
+      - name: "Checkout @ GitHub default"
+        uses: actions/checkout@v3
+
+      - name: "Checkout @ Simulated squashed-merge if PR"
+        id: checkout_pr
+        uses: ./.github/actions/checkout-pr
+        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 \
+            -H "Authorization: Token token=\"$BUILDKITE_ANALYTICS_TOKEN\"" \
+            -F "format=junit" \
+            -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" \
+            -F "run_env[branch]=$BUILDKITE_BRANCH" \
+            -F "run_env[commit_sha]=$GITHUB_SHA" \
+            -F "run_env[message]=$BUILDKITE_MESSAGE" \
+            -F "run_env[url]=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" \
+            https://analytics-api.buildkite.com/v1/uploads


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org