Skip to content

Commit

Permalink
Chore: go 1.21 and k8s 1.29 (#1555)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy authored Mar 13, 2024
1 parent dc69b29 commit dd3cbfe
Show file tree
Hide file tree
Showing 49 changed files with 10,748 additions and 8,513 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Golang
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'
- name: Add bins to PATH
run: |
echo /home/runner/go/bin >> $GITHUB_PATH
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand All @@ -122,7 +122,7 @@ jobs:
- name: Setup Golang
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'
- name: Restore Go build cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Setup Golang
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'
- name: Add bins to PATH
run: |
echo /home/runner/go/bin >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.21'
- name: build
run: make docs
- name: deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'

- name: Build binaries
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Go
uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'

- name: Build binaries
run: |
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
fi
- uses: actions/[email protected]
with:
go-version: '1.20'
go-version: '1.21'
- uses: actions/checkout@v3
- run: go install sigs.k8s.io/bom/cmd/[email protected]
- run: go install github.com/spdx/spdx-sbom-generator/cmd/[email protected]
Expand Down
8,349 changes: 4,326 additions & 4,023 deletions api/json-schema/schema.json

Large diffs are not rendered by default.

8,393 changes: 4,348 additions & 4,045 deletions api/openapi-spec/swagger.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cmd/commands/isbsvc_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func NewISBSvcValidateCommand() *cobra.Command {
cmd.HelpFunc()(cmd, args)
return fmt.Errorf("unsupported isb service type")
}
_ = wait.ExponentialBackoffWithContext(ctx, sharedutil.DefaultRetryBackoff, func() (bool, error) {
_ = wait.ExponentialBackoffWithContext(ctx, sharedutil.DefaultRetryBackoff, func(_ context.Context) (bool, error) {
if err = isbsClient.ValidateBuffersAndBuckets(ctx, buffers, buckets, sideInputsStore); err != nil {
logger.Infow("Buffers, buckets and side inputs store might have not been created yet, will retry if the limit is not reached", zap.Error(err))
return false, nil
Expand Down
5 changes: 5 additions & 0 deletions config/advanced-install/namespaced-controller-wo-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ data:
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
- version: 2.10.11
natsImage: nats:2.10.11
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
kind: ConfigMap
metadata:
name: numaflow-controller-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,8 @@ data:
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
- version: 2.10.11
natsImage: nats:2.10.11
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -233,6 +243,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -297,6 +317,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -363,6 +393,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -1259,6 +1299,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -1325,6 +1375,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -1389,6 +1449,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down Expand Up @@ -1455,6 +1525,16 @@ spec:
type: string
type: object
type: object
matchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
mismatchLabelKeys:
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaceSelector:
properties:
matchExpressions:
Expand Down
Loading

0 comments on commit dd3cbfe

Please sign in to comment.