-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Refactor to OCB based agent (#1755)
* wip * refactor repo * update workflow go versions * update build flow to install-tools * update build license check * new make target * rename to manifests * update release workflow * package supervisor with agent * resolve errs with gcp exporters * update version to have go.mod * get google exporters correctly importing version * manifest documentation * use updated version commit in google exporters * include supervisor as prebuilt binary * remove config.yaml from release pkg since its not used by supervisor/agent now * feedback 1/n * rebase cleanup * update go version in a few actions, use https git clone for contrib * change tool cache and fix release-test * replace rest of tool caches
- Loading branch information
1 parent
b167938
commit 5f46c61
Showing
178 changed files
with
784 additions
and
19,029 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
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 |
---|---|---|
|
@@ -6,23 +6,58 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
setup-tools: | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21" | ||
check-latest: true | ||
- name: Cache Tools | ||
id: tool-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: /home/runner/go/bin | ||
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }} | ||
- name: Install Tools | ||
if: steps.tool-cache.outputs.cache-hit != 'true' | ||
run: make install-tools | ||
|
||
build_linux: | ||
runs-on: ubuntu-latest-4-cores | ||
needs: | ||
- setup-tools | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
go-version: "1.21" | ||
check-latest: true | ||
- name: Cache Tools | ||
id: tool-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: /home/runner/go/bin | ||
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }} | ||
- name: Install Tools | ||
if: steps.tool-cache.outputs.cache-hit != 'true' | ||
run: make install-tools | ||
- name: Build | ||
run: make build-linux | ||
- name: Scan Third Party Dependency Licenses | ||
run: | | ||
go install github.com/uw-labs/[email protected] | ||
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*) | ||
build_darwin: | ||
runs-on: macos-14 | ||
needs: | ||
- setup-tools | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
|
@@ -31,14 +66,26 @@ jobs: | |
with: | ||
go-version: "1.21" | ||
check-latest: true | ||
- name: Cache Tools | ||
id: tool-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: /home/runner/go/bin | ||
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }} | ||
- name: Install Tools | ||
if: steps.tool-cache.outputs.cache-hit != 'true' | ||
run: make install-tools | ||
- name: Build | ||
run: make build-darwin | ||
- name: Scan Third Party Dependency Licenses | ||
run: | | ||
go install github.com/uw-labs/[email protected] | ||
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*) | ||
build_windows: | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- setup-tools | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
|
@@ -47,6 +94,15 @@ jobs: | |
with: | ||
go-version: "1.21" | ||
check-latest: true | ||
- name: Cache Tools | ||
id: tool-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: /home/runner/go/bin | ||
key: tooling-${{ runner.os }}-${{ hashFiles('./internal/tools/go.sum') }} | ||
- name: Install Tools | ||
if: steps.tool-cache.outputs.cache-hit != 'true' | ||
run: make install-tools | ||
- name: Build | ||
run: make build-windows | ||
- name: Scan Third Party Dependency Licenses | ||
|
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
Oops, something went wrong.