-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update golang version to 1.22.3 #2957
Closed
app-autoscaler-ci-bot
wants to merge
117
commits into
main
from
golang-version-bump-1-22-3_c35d64e785152d04e7aea49b2ee4b4988c33958d
+971
−239
Closed
Changes from all commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
cccf5c8
Add initial files to push metricsforwarder as a cf app via binary
bonzofenix 6390d13
Adds lable 'skip-cleanup to keep the acceptance test deployment alive
bonzofenix 8524512
Uses binary buildpack to deploy
bonzofenix ece3e04
Adds metricforwarder makefile for poc deployment
bonzofenix 8ca4b9c
Remove tls from postgres
bonzofenix a6af3ed
Refactor forwarder to support metrics forwardeR
bonzofenix 03e3fdc
update operations
bonzofenix af6c261
Adds sg and updates manifest
bonzofenix 2ea7495
Refactors loggregator metron emitter
bonzofenix d92d179
wip: Adds syslog forwarder
bonzofenix 8a4ca44
WIP: Syslog implementation for metric forwarder
bonzofenix 34446f0
More refactor
bonzofenix 237d8cf
Adds port for syslog server
bonzofenix 515f886
fix broken test
bonzofenix b13f598
Supports syslog via tls
bonzofenix cafa396
Change MetricsForwarder references to Emitter
bonzofenix 7446094
Fix autoscaler deploy
bonzofenix b379f31
Makes sed usage compatible both with bsd and unix versions
bonzofenix 9c107ac
Update gosub in bosh packages
bonzofenix 92e3d5d
fixes sed apprearences with unix only argument
bonzofenix db1a5d8
Revert "Update gosub in bosh packages"
bonzofenix a950d75
Revert "fixes sed apprearences with unix only argument"
bonzofenix a49f376
Reapply "Update gosub in bosh packages"
bonzofenix e053f9f
fix package subs
bonzofenix 8b1fb9b
Update package specs
bonzofenix 51e9c0f
pulls loggregator certs from vm
bonzofenix 21816d5
Defaults to metrics forwarder syslog on bosh release
bonzofenix a77f921
Clean mod vendor before mod vendor
bonzofenix f4220f9
fix spec for metricforwarder
bonzofenix b4e0010
Fix config validation
bonzofenix 7154e98
Adds missing port for syslog server
bonzofenix 305eb39
Adds logs
bonzofenix 1fe0683
Fix emitter selection
bonzofenix 847dbc8
Adds more logging
bonzofenix 1617127
Adds port to syslog emitter
bonzofenix 87d35c9
Adds missing certs
bonzofenix 35ce9c7
Uses bosh dns to connect to syslog
bonzofenix b231df2
Sets certs in the right path
bonzofenix 833a929
Fix typo
bonzofenix a887bbe
chore(deps): update dependency gruntwork-io/terragrunt to v0.58.0
renovate[bot] 933d3d9
chore(deps): update ginkgo updates to v2.17.2
bonzofenix 3a6c4a5
🤖🦾🛠️ go mod tidy & make package-specs
bonzofenix 760bcce
chore(deps): update dependency gruntwork-io/terragrunt to v0.58.2
renovate[bot] ad4d37c
fix(deps): update module github.com/onsi/gomega to v1.33.1
renovate[bot] 0269000
🤖🦾🛠️ go mod tidy & make package-specs
renovate[bot] 81e4ceb
configure app memory via make
asalan316 b36cd07
test with 64MB test memory
asalan316 d9aca93
test with 128MB test memory
asalan316 71a5c69
remove debug statement
asalan316 a90219c
feat! Remove `buildin` mode (#2916)
silvestre c846c62
feat(deps): Add `devbox` config (#2914)
silvestre 05fefaf
feat(direnv): Check if `devbox` is installed before invoking it (#2921)
silvestre 950eaaf
chore(ci): Restore `use_buildin_mode` false until the next major version
silvestre 24a8d72
feat(envrc): Automatically eval bbl env
silvestre ef3d946
chore(devbox): Add useful tools to devbox
silvestre 32f92f5
chore(deps): update actions/checkout action to v4.1.5
renovate[bot] 1bd28f6
fix(operator): Clean up scaling cooldowns
silvestre fa5c76b
chore(deps): update dependency credhub-cli to v2.9.30
renovate[bot] 6eced2c
Update golang version to 1.21.5 (#2931)
app-autoscaler-ci-bot a35346c
fix(deps): update module github.com/gin-contrib/zap to v1.1.3
renovate[bot] c4563b1
🤖🦾🛠️ go mod tidy & make package-specs
renovate[bot] 58e2a6f
chore(config): migrate config renovate.json
renovate[bot] 1a5857f
chore(deps): update actions/checkout action to v4.1.6
renovate[bot] 2ae603b
chore(deps): update dependency golang to v1.22.3
renovate[bot] bc61812
chore(deps): update dependency gruntwork-io/terragrunt to v0.58.7
renovate[bot] 7ad9ff8
chore(deps): update dependency terraform to v1.8.3
renovate[bot] 02eea37
Fix Linting
bonzofenix bfcff62
Does not remove postgres tls from bosh deployment
bonzofenix fba9349
Delete src/autoscaler/metricsforwarder/Makefile
bonzofenix 8ae0682
Delete templates/app-autoscaler.yml
bonzofenix ca8d1df
Revert "Delete templates/app-autoscaler.yml"
bonzofenix 52cd240
Update app-autoscaler.yml
bonzofenix 13e7fe1
Update app-autoscaler.yml
bonzofenix 891f58a
Remove unused security group
bonzofenix 17b8d98
Adds missing dependencies
bonzofenix 5b8391a
Undo changes from rebase
bonzofenix 0cab630
Update .tool-versions
bonzofenix 57eeb60
Undo changes from rebase
bonzofenix a4066dd
Update go mods
bonzofenix 9b055e1
Removes hardcoded hostname in syslog messages
bonzofenix 33a9212
Fix spec test
bonzofenix 894aaa7
Merge branch 'main' into metricforwarder-on-cf
bonzofenix 97fc50c
Adds missing package files for metricforwarder
bonzofenix 754f2c3
Update jobs/metricsforwarder/spec
bonzofenix 6e743b1
Update src/acceptance/Makefile
bonzofenix f02ca0c
Adds credhub mapping for asdf 2 devbox
bonzofenix 7617857
Refactor ops files
bonzofenix 5b17d96
Adds correct credhub version
bonzofenix a6c9ed1
Remove unused ops file
bonzofenix 01ef890
Remove unused task
bonzofenix 8338051
Remove comment
bonzofenix 8c2917e
Remove unused manifesT
bonzofenix 60391b7
Merge branch 'main' into metricforwarder-on-cf
bonzofenix 9320a01
Update metricsforwarder spec file
bonzofenix c9b4bdf
🤖🦾🛠️ scripts/asdf2devbox.py
bonzofenix 42b5872
Update src/autoscaler/metricsforwarder/config/config_test.go
bonzofenix 8739456
Update src/autoscaler/metricsforwarder/forwarder/syslog_emitter.go
bonzofenix c1efa5e
Update templates/app-autoscaler.yml
bonzofenix 0cf0175
Remove gitignore
bonzofenix 5652f94
Change from context to when in metricsforwarder/forwarder test
bonzofenix 59a5102
Update src/autoscaler/metricsforwarder/forwarder/metron_emitter.go
bonzofenix fbba19e
Update src/autoscaler/metricsforwarder/forwarder/metric_forwarder.go
bonzofenix d43bf4c
Update ci Readme
bonzofenix 9c29de4
Update src/autoscaler/metricsforwarder/config/config_test.go
bonzofenix 8fc6fb2
Update src/acceptance/Makefile
bonzofenix 0d44af5
Adds missing acceptance tests pipeline for logcache syslog
bonzofenix a567e4a
Adds gum version to asdf
bonzofenix 05ee5a8
Merge branch 'main' into metricforwarder-on-cf
bonzofenix f89e27d
🤖🦾🛠️ scripts/asdf2devbox.py
bonzofenix e60f202
Revert file renaming to maintain backward compatibility
bonzofenix 1936380
🤖🦾🛠️ scripts/asdf2devbox.py
bonzofenix dfb43f4
Fix shellcheck recomendations
bonzofenix daf7b33
Update ci readme
bonzofenix ee5455e
Adds missing phony to ci makefile
bonzofenix 15416b8
Improve unpause pipeline script
bonzofenix d15b856
Update golang version to 1.22.3
app-autoscaler-ci-bot cf5a73d
🤖🦾🛠️ scripts/asdf2devbox.py
app-autoscaler-ci-bot 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
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
act 0.2.62 | ||
actionlint 1.6.27 | ||
bosh 7.3.1 | ||
credhub 2.9.29 | ||
cf 8.7.10 | ||
concourse 7.10.0 | ||
direnv 2.34.0 | ||
gcloud 473.0.0 | ||
ginkgo 2.17.3 | ||
golang 1.21.5 | ||
golang 1.22.3 | ||
golangci-lint 1.57.2 | ||
java temurin-21.0.3+9.0.LTS | ||
make 4.4 | ||
maven 3.8.6 | ||
ruby 3.3.1 | ||
shellcheck 0.10.0 | ||
yq 4.43.1 | ||
gum 0.13.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
.PHONY: set-autoscaler-pipeline | ||
|
||
set-autoscaler-pipeline: | ||
@./autoscaler/set-pipeline.sh | ||
|
||
.PHONY: unpause-pipeline | ||
|
||
unpause-pipeline: | ||
@./scripts/unpause-pipeline.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/usr/bin/env bash | ||
# shellcheck disable=SC2086 | ||
# | ||
|
||
target="app-autoscaler-release" | ||
|
||
function unpause-job(){ | ||
pipeline="$1" | ||
jobs=$(fly -t "$target" jobs -p "$pipeline" --json | jq ".[] | select(.paused==true) | .name" -r) | ||
selected_job=$(gum choose --no-limit $jobs --header "Select jobs to unpause from pipeline $pipeline") | ||
|
||
|
||
if [[ -z "$selected_job" ]]; then | ||
echo "No job selected to unpause" | ||
return | ||
fi | ||
|
||
for j in $selected_job; do | ||
fly -t "$target" unpause-job -j "$pipeline/$j" | ||
done | ||
} | ||
|
||
function unpause-pipeline(){ | ||
payload=$(fly -t "$target" pipelines --json) | ||
|
||
pipelines=$(echo "$payload" | jq ".[] |.name" -r | sort) | ||
# ignore shellcheck warning | ||
pipeline=$(gum choose $pipelines "all") | ||
|
||
if [[ "$pipeline" == "all" ]]; then | ||
for p in $pipelines; do | ||
fly -t "$target" unpause-pipeline -p "$p" | ||
unpause-job "$p" | ||
done | ||
else | ||
fly -t "$target" unpause-pipeline -p "$pipeline" | ||
unpause-job "$pipeline" | ||
fi | ||
|
||
} | ||
|
||
function check-login(){ | ||
if ! fly -t "$target" status; then | ||
echo | ||
echo "fly -t $target login" | ||
echo | ||
exit 1 | ||
fi | ||
} | ||
|
||
check-login | ||
unpause-pipeline "${@:-}" |
2 changes: 1 addition & 1 deletion
2
ci/terragrunt/app-autoscaler/concourse/pipelines/api-tester/src/go.mod
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module apitester | ||
|
||
go 1.21.5 | ||
go 1.22.3 |
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
"path:local-flake#app-autoscaler-cli-plugin", | ||
"path:local-flake#log-cache-cli-plugin", | ||
"path:local-flake#uaac", | ||
"credhub-cli@latest", | ||
"delve@latest", | ||
"gh@latest", | ||
"go-tools@latest", | ||
|
@@ -29,13 +28,15 @@ | |
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"google-cloud-sdk@latest", | ||
"temurin-bin-17@latest", | ||
"bundix@latest", | ||
"oha@latest" | ||
"oha@latest", | ||
"[email protected]", | ||
"[email protected]", | ||
"google-cloud-sdk@latest", | ||
"[email protected]", | ||
"temurin-bin-17@latest" | ||
], | ||
"shell": { | ||
"init_hook": [ | ||
|
Oops, something went wrong.
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.
[markdownlint] reported by reviewdog 🐶
MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Unpause"]