-
Notifications
You must be signed in to change notification settings - Fork 738
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: golang 1.21 #3002
Closed
Closed
Chore: golang 1.21 #3002
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a51e14a
Chore: golang 1.21
shyukri a083150
Chore: bump argo-wf 3.5.5 and base alpine to 3.19.1
shyukri 4c3dc21
chore: disable golangci-lint deprecate checks
shyukri 5bfe75f
chore: golangci-lint use consts as recommended
shyukri b0e37a2
chore: use setup-go@v5 to avoid GHA deprecation warnings
shyukri bdcd9ae
chore: set BASH in Makefile as 'K3D' uses '[[' operator
shyukri 355f85a
chore: upgrade k3d to k8s 1.27
shyukri 03e18d9
Chore Nats-exporter: v0.14.0
shyukri 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 | ||||
---|---|---|---|---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |||||
- name: Checkout code | ||||||
uses: actions/checkout@v4 | ||||||
- name: Setup Golang | ||||||
uses: actions/setup-go@v5 | ||||||
uses: actions/setup-go@v5.0.0 | ||||||
with: | ||||||
go-version: "1.21" | ||||||
- name: Restore go build cache | ||||||
|
@@ -68,7 +68,7 @@ jobs: | |||||
- name: Checkout code | ||||||
uses: actions/checkout@v4 | ||||||
- name: Setup Golang | ||||||
uses: actions/setup-go@v5 | ||||||
uses: actions/setup-go@v5.0.0 | ||||||
with: | ||||||
go-version: "1.21" | ||||||
- name: Restore go build cache | ||||||
|
@@ -95,7 +95,7 @@ jobs: | |||||
- name: Checkout code | ||||||
uses: actions/checkout@v4 | ||||||
- name: Setup Golang | ||||||
uses: actions/setup-go@v5 | ||||||
uses: actions/setup-go@v5.0.0 | ||||||
with: | ||||||
go-version: "1.21" | ||||||
- name: Restore go build cache | ||||||
|
@@ -128,7 +128,7 @@ jobs: | |||||
- name: Checkout code | ||||||
uses: actions/checkout@v4 | ||||||
- name: Setup Golang | ||||||
uses: actions/setup-go@v5 | ||||||
uses: actions/setup-go@v5.0.0 | ||||||
with: | ||||||
go-version: "1.21" | ||||||
- name: Restore go build cache | ||||||
|
@@ -141,11 +141,11 @@ jobs: | |||||
restore-keys: | | ||||||
${{ runner.os }}-go- | ||||||
- name: Install k3d | ||||||
run: curl -sfL https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash & | ||||||
run: curl -sfL https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash & | ||||||
- name: Create k3d registry and cluster | ||||||
run: | | ||||||
k3d registry create e2e-registry --port 5111 | ||||||
k3d cluster create e2e -i rancher/k3s:v1.21.7-k3s1 --registry-use k3d-e2e-registry:5111 | ||||||
k3d cluster create -i rancher/k3s:v1.27.10-k3s2 --registry-use k3d-e2e-registry:5111 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||||||
echo '127.0.0.1 k3d-e2e-registry' | sudo tee -a /etc/hosts | ||||||
- name: Run tests | ||||||
run: | | ||||||
|
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.
Do not need to remove
e2e
here for the CI.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.
Done