forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Azfaar Qureshi
committed
Dec 17, 2020
1 parent
41e0d9b
commit 0868bc4
Showing
2 changed files
with
4 additions
and
48 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 |
---|---|---|
|
@@ -56,9 +56,6 @@ jobs: | |
run: | | ||
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | ||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | ||
echo "$PATH" | ||
echo "$(GITHUB_PATH)" | ||
echo "$GITHUB_PATH" | ||
- name: Install tools | ||
run: make install-tools | ||
- name: Upload tool binaries | ||
|
@@ -219,16 +216,17 @@ jobs: | |
echo "/opt/td-agent-bit/bin" >> $GITHUB_PATH | ||
sudo ln -s /opt/td-agent-bit/bin/td-agent-bit /usr/local/bin/fluent-bit | ||
- run: mkdir -p results && touch results/TESTRESULTS.md | ||
- run: echo "$PATH" | ||
- name: Loadtest | ||
run: make testbed-loadtest | ||
env: | ||
TEST_ARGS: "-test.run=${{ matrix.test }}" | ||
- name: Create test result archive # some test results have invalid characters | ||
if: ${{ failure() || success() }} | ||
continue-on-error: true | ||
run: tar -cvf test_results.tar testbed/tests/results | ||
- name: Upload test results | ||
if: ${{ failure() || success() }} | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-results | ||
|
@@ -273,41 +271,6 @@ jobs: | |
if: ${{ failure() && github.ref == 'ref/head/master' }} | ||
run: | | ||
go run cmd/issuegenerator/main.go $TEST_RESULTS | ||
windows-msi: | ||
runs-on: windows-latest | ||
needs: [cross-compile] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Setup env | ||
run: | | ||
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | ||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | ||
- name: Download collector binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: collector-binaries | ||
path: ./bin | ||
- run: mkdir -p dist | ||
- name: Install Wix Toolset | ||
run: .\internal\buildscripts\packaging\msi\make.ps1 Install-Tools | ||
- name: Build MSI | ||
run: | | ||
$Version = if ($env:GITHUB_REF -match '^refs/tags/(\d+\.\d+\.\d+)') { $Matches[1] } else { "0.0.1" } | ||
.\internal\buildscripts\packaging\msi\make.ps1 New-MSI -Version $Version | ||
- name: Validate MSI | ||
run: .\internal\buildscripts\packaging\msi\make.ps1 Confirm-MSI | ||
- name: Upload MSI | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows-msi | ||
path: ./dist/*.msi | ||
build-package: | ||
runs-on: ubuntu-latest | ||
needs: [cross-compile] | ||
|
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