-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: massive redo of Operator #295
Merged
dejanzele
merged 6 commits into
armadaproject:main
from
dejanzele:chore/cleanup-operator
Dec 12, 2023
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9ce3c28
chore: massive redo of Operator
dejanzele 9e3ab3b
fix bugs with webhooks
dejanzele 6daddfc
fix merge conflicts and prometheus defaulting in webhook
dejanzele d43af52
fix build ci workflow
dejanzele 399c4e1
fix invalid echo in test workflow
dejanzele cce34f8
delete redundant webhooks test in api package
dejanzele File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Setup Go" | ||
description: "Setup Go with caching" | ||
inputs: | ||
cache-prefix: | ||
description: "Prefix for the cache key" | ||
required: false | ||
default: "go" | ||
disable-cache: | ||
description: "Disable caching" | ||
required: false | ||
default: "false" | ||
go-version: | ||
description: "Version of Go. Default 1.21" | ||
required: false | ||
default: "1.21" | ||
outputs: | ||
go-version: | ||
description: "The installed Go version" | ||
value: ${{ steps.setup-go.outputs.go-version }} | ||
runs: | ||
using: "composite" | ||
steps: | ||
- id: setup-go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ inputs.go-version }} | ||
check-latest: true | ||
cache: false | ||
- id: cache-info | ||
if: ${{ inputs.disable-cache != 'true' }} | ||
shell: bash | ||
run: echo path=$(go env GOCACHE) >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
if: ${{ inputs.disable-cache != 'true' }} | ||
with: | ||
path: ${{ steps.cache-info.outputs.path }} | ||
key: ${{ inputs.cache-prefix }}-go-${{ steps.setup-go.outputs.go-version }}-mod-${{ hashFiles('go.sum') }} |
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,32 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Go | ||
id: setup-go | ||
uses: ./.github/actions/setup-go-cache | ||
with: | ||
cache-prefix: go-build | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
distribution: goreleaser | ||
version: v1.22.1 | ||
args: build --snapshot --clean | ||
env: | ||
DOCKER_REPO: "gresearch" | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" |
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should ask the GR guys some time if they have any interest in updating the
armada
repo to Go 1.21. (I've been building Armada with 1.21.1 and it seems to work fine).