Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/bazel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ jobs:
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: PqhgoQw7
2 changes: 1 addition & 1 deletion .github/workflows/csharp-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
junit-paths: csharp/**/test-results/csharp-junit.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: cIB9Um7C

- name: Upload test results
if: ${{ always() }} # Always run this step to upload results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
junit-paths: "**/go-*_test.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: mUI9A7dn

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
**/playwright/**/surefire-reports/*.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: GPcHabKq

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/javascript-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
junit-paths: javascript/tests/mocha/mocha_test.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.mocha_tests.outcome }}
test-collection-id: 5fheimOf

- name: Run Jest Tests
id: jest_tests
Expand All @@ -66,10 +66,10 @@ jobs:
junit-paths: tests/jest/jest_junit_test.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.jest_tests.outcome }}
test-collection-id: 5fheimOf

- name: Run Jasmine Tests
id: jasmine_tests
Expand All @@ -87,10 +87,10 @@ jobs:
junit-paths: tests/jasmine/reports/season_test.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.jasmine_tests.outcome }}
test-collection-id: 5fheimOf

- name: Run Playwright Tests
id: playwright_tests
Expand All @@ -108,10 +108,10 @@ jobs:
junit-paths: tests/playwright/junitresults-playwright.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.playwright_tests.outcome }}
test-collection-id: 5fheimOf

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
junit-paths: "**/*_test.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: eEMCRlz4

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
junit-paths: python/results/pytest/pytest_test.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Variant to distinguish between OS platforms
variant: ${{ matrix.variant }}
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.pytest_tests.outcome }}
test-collection-id: kaNuMDag

- name: Run robotframework tests
id: robotframework_tests
Expand All @@ -74,12 +74,12 @@ jobs:
junit-paths: python/results/robotframework/robot_test.xml
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Variant to distinguish between OS platforms
variant: ${{ matrix.variant }}
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.robotframework_tests.outcome }}
test-collection-id: kaNuMDag

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/retry-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
junit-paths: "**/python/results/*-behave.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.run_tests.outcome }}
test-collection-id: 3anjUgIO

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ruby-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
junit-paths: "**/rspec_test.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.rspec_tests.outcome }}
test-collection-id: KtSNo9rY

- name: Run minitest tests
id: minitest_tests
Expand All @@ -68,10 +68,10 @@ jobs:
junit-paths: "**/ruby/minitest/results/*.xml"
# Provide your Trunk organization slug.
org-slug: trunk-staging-org
cli-version: 0.12.11-beta.1
public-repo-id: NNSvcFXb
# Pass the test outcome for quarantining support
previous-step-outcome: ${{ steps.minitest_tests.outcome }}
test-collection-id: KtSNo9rY

- name: Upload JUnit XML artifacts
if: ${{ always() }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
./trunk-analytics-cli test \
--org-url-slug trunk-staging-org \
--public-repo-id NNSvcFXb \
--test-collection-id WwoHUss3 \
--junit-paths "rust/**/nextest/ci/*junit.xml" \
-- cargo nextest run --profile=ci --manifest-path=./rust/Cargo.toml

Expand Down
4 changes: 1 addition & 3 deletions get-trunk-cli
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
set -euo pipefail

REPO="trunk-io/analytics-cli"
VERSION="${TRUNK_CLI_VERSION:-0.12.11-beta.1}"

# Normalize OS/arch to match launcher script platform naming
OS="$(uname -s | tr '[:upper:]' '[:lower:]')" # linux | darwin
ARCH="$(uname -m)"
Expand Down Expand Up @@ -36,7 +34,7 @@ else
fi

ASSET="trunk-analytics-cli-${PLATFORM}.tar.gz"
URL="https://github.com/${REPO}/releases/download/${VERSION}/${ASSET}"
URL="https://github.com/${REPO}/releases/latest/download/${ASSET}"

echo "Downloading and installing ${ASSET}…"
curl -fL --retry 3 "${URL}" | tar -xz
Expand Down
Loading