-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'no-inject-presigned-urls' of github.com:jacksehr/opente…
…lemetry-go-contrib into no-inject-presigned-urls
- Loading branch information
Showing
406 changed files
with
12,803 additions
and
11,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ env: | |
# backwards compatibility with the previous two minor releases and we | ||
# explicitly test our code for these versions so keeping this at prior | ||
# versions does not add value. | ||
DEFAULT_GO_VERSION: "~1.22.5" | ||
DEFAULT_GO_VERSION: "~1.23.0" | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -86,11 +86,11 @@ jobs: | |
cp coverage.txt $TEST_RESULTS | ||
cp coverage.html $TEST_RESULTS | ||
- name: Upload coverage report | ||
uses: codecov/codecov-action@v4.5.0 | ||
uses: codecov/codecov-action@v5.0.0 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
file: ./coverage.txt | ||
files: ./coverage.txt | ||
verbose: true | ||
- name: Store coverage test output | ||
uses: actions/upload-artifact@v4 | ||
|
@@ -101,7 +101,7 @@ jobs: | |
compatibility-test: | ||
strategy: | ||
matrix: | ||
go-version: ["~1.22.4", "~1.21.12"] | ||
go-version: ["1.23.0", "~1.22.4"] | ||
platform: | ||
- os: ubuntu-latest | ||
arch: "386" | ||
|
@@ -133,53 +133,9 @@ jobs: | |
test-compatibility: | ||
runs-on: ubuntu-latest | ||
needs: [compatibility-test] | ||
if: always() | ||
steps: | ||
- name: Test if compatibility-test workflow passed | ||
run: | | ||
echo ${{ needs.compatibility-test.result }} | ||
test ${{ needs.compatibility-test.result }} == "success" | ||
integration: | ||
strategy: | ||
matrix: | ||
target: [test-mongo-driver] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
check-latest: true | ||
cache-dependency-path: "**/go.sum" | ||
- name: Run coverage tests ${{ matrix.target }} | ||
env: | ||
INTEGRATION: ${{ matrix.target }} | ||
run: | | ||
make ${{ matrix.target }} | ||
mkdir -p $TEST_RESULTS | ||
find . -name 'coverage.html' > "${TEST_RESULTS}/coverage.lst" | ||
tar -n -cf - -T "${TEST_RESULTS}/coverage.lst" | tar -C "${TEST_RESULTS}" -xvf - | ||
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
if: hashFiles('coverage.out') != '' | ||
with: | ||
file: ./coverage.out | ||
fail_ci_if_error: true | ||
verbose: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- name: Store coverage test output | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: opentelemetry-go-contrib-integration-test-output | ||
path: ${{ env.TEST_RESULTS }} | ||
|
||
test-integration: | ||
runs-on: ubuntu-latest | ||
needs: [integration] | ||
steps: | ||
- name: Test if integration workflow passed | ||
run: | | ||
echo ${{ needs.integration.result }} | ||
test ${{ needs.integration.result }} == "success" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,22 @@ on: | |
jobs: | ||
check-links: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Restore lychee cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-${{ github.sha }} | ||
restore-keys: cache-lychee- | ||
|
||
- name: Link Checker | ||
uses: lycheeverse/[email protected] | ||
uses: lycheeverse/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
fail: true | ||
args: --max-concurrency 5 --cache --max-cache-age 1d --cache-exclude-status 300..=599 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,27 @@ on: | |
jobs: | ||
check-links: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
|
||
- name: Restore lychee cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-${{ github.sha }} | ||
restore-keys: cache-lychee- | ||
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
uses: lycheeverse/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
args: --max-concurrency 1 --cache --max-cache-age 1d --cache-exclude-status 300..=599 . | ||
|
||
- name: Create Issue From File | ||
if: steps.lychee.outputs.exit_code != 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
http://localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.