mirror of https://github.com/kubevela/velad.git
Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
|
7e154fbce7 | |
|
c3beea6a6b | |
|
9849282a31 | |
|
089320fad3 | |
|
aa3d7b9ccf | |
|
46fd911d13 | |
|
53db65bb9e | |
|
a0de84a39a |
|
@ -1,3 +1,3 @@
|
||||||
# This file is a github code protect rule follow the codeowners https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#example-of-a-codeowners-file
|
# This file is a github code protect rule follow the codeowners https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#example-of-a-codeowners-file
|
||||||
|
|
||||||
* @chivalryq
|
* @chivalryq @wangyikewxgm
|
|
@ -5,13 +5,12 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-release:
|
auto-release:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Download auto
|
- name: Download auto
|
||||||
|
|
|
@ -9,32 +9,36 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- release-*
|
- release-*
|
||||||
workflow_dispatch: { }
|
workflow_dispatch: {}
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Common versions
|
# Common versions
|
||||||
GO_VERSION: '1.19'
|
GO_VERSION: "1.22"
|
||||||
GOLANGCI_VERSION: 'v1.49'
|
GOLANGCI_VERSION: "v1.54.2"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
staticcheck:
|
staticcheck:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
machines: [ "ubuntu-22.04","macos-12" ]
|
machines: ["ubuntu-22.04", "macos-12"]
|
||||||
runs-on: ${{ matrix.machines }}
|
runs-on: ${{ matrix.machines }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
uses: docker-practice/actions-setup-docker@master
|
uses: docker-practice/actions-setup-docker@master
|
||||||
|
with:
|
||||||
|
docker_version: "24.0.2"
|
||||||
|
|
||||||
- name: Download resources
|
- name: Download resources
|
||||||
run: |
|
run: |
|
||||||
|
@ -46,18 +50,16 @@ jobs:
|
||||||
- name: Go Dependencies
|
- name: Go Dependencies
|
||||||
run: |
|
run: |
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go get -t -v -d ./...
|
|
||||||
|
|
||||||
- name: Install StaticCheck
|
- uses: dominikh/staticcheck-action@v1.3.0
|
||||||
run: go install honnef.co/go/tools/cmd/staticcheck@v0.3.0
|
with:
|
||||||
|
version: "2024.1"
|
||||||
- name: Static Check
|
install-go: false
|
||||||
run: staticcheck ./...
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
machines: [ "ubuntu-22.04","macos-12" ]
|
machines: ["ubuntu-22.04", "macos-12"]
|
||||||
runs-on: ${{ matrix.machines }}
|
runs-on: ${{ matrix.machines }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
|
@ -72,6 +74,8 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
uses: docker-practice/actions-setup-docker@master
|
uses: docker-practice/actions-setup-docker@master
|
||||||
|
with:
|
||||||
|
docker_version: "24.0.2"
|
||||||
|
|
||||||
- name: Download resources
|
- name: Download resources
|
||||||
run: |
|
run: |
|
||||||
|
@ -93,26 +97,27 @@ jobs:
|
||||||
go-check:
|
go-check:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
machines: [ "ubuntu-22.04","macos-12" ]
|
machines: ["ubuntu-22.04", "macos-12"]
|
||||||
runs-on: ${{ matrix.machines }}
|
runs-on: ${{ matrix.machines }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Go Dependencies
|
- name: Go Dependencies
|
||||||
run: |
|
run: |
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go get -t -v -d ./...
|
|
||||||
|
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
uses: docker-practice/actions-setup-docker@master
|
uses: docker-practice/actions-setup-docker@master
|
||||||
|
with:
|
||||||
|
docker_version: "24.0.2"
|
||||||
|
|
||||||
- name: Download resources
|
- name: Download resources
|
||||||
run: |
|
run: |
|
||||||
|
@ -123,4 +128,3 @@ jobs:
|
||||||
|
|
||||||
- name: Check Diff
|
- name: Check Diff
|
||||||
run: make check-diff
|
run: make check-diff
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- release-*
|
- release-*
|
||||||
workflow_dispatch: { }
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-artifact:
|
build-artifact:
|
||||||
|
@ -20,13 +20,14 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
TARGETS: [ linux/amd64, darwin/amd64, windows/amd64, linux/arm64, darwin/arm64 ]
|
TARGETS:
|
||||||
|
[linux/amd64, darwin/amd64, windows/amd64, linux/arm64, darwin/arm64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.22.0"
|
||||||
- name: Get matrix
|
- name: Get matrix
|
||||||
id: get_matrix
|
id: get_matrix
|
||||||
run: |
|
run: |
|
||||||
|
@ -37,22 +38,22 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make ${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
make ${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: bin/velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
path: bin/velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
||||||
name: velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
name: velad-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
||||||
test-linux:
|
test-linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [ build-artifact ]
|
needs: [build-artifact]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.22.0"
|
||||||
- name: Install ginkgo
|
- name: Install ginkgo
|
||||||
run: go install github.com/onsi/ginkgo/ginkgo@v1.16.5
|
run: go install github.com/onsi/ginkgo/ginkgo@v1.16.5
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: velad-linux-amd64
|
name: velad-linux-amd64
|
||||||
- run: |
|
- run: |
|
||||||
|
@ -65,26 +66,29 @@ jobs:
|
||||||
run: ginkgo -v ./test/e2e-test
|
run: ginkgo -v ./test/e2e-test
|
||||||
test-darwin:
|
test-darwin:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
needs: [ build-artifact ]
|
needs: [build-artifact]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.22.0"
|
||||||
- name: Install ginkgo
|
- name: Install ginkgo
|
||||||
run: go install github.com/onsi/ginkgo/ginkgo@v1.16.5
|
run: go install github.com/onsi/ginkgo/ginkgo@v1.16.5
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: velad-darwin-amd64
|
name: velad-darwin-amd64
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
uses: docker-practice/actions-setup-docker@1.0.11
|
uses: docker-practice/actions-setup-docker@master
|
||||||
|
with:
|
||||||
|
docker_version: "24.0.2"
|
||||||
- run: |
|
- run: |
|
||||||
chmod u+x velad-darwin-amd64 && mv velad-darwin-amd64 velad
|
chmod u+x velad-darwin-amd64 && mv velad-darwin-amd64 velad
|
||||||
./velad install --set image.pullPolicy=Never --set admissionWebhooks.patch.image.pullPolicy=Never --set multicluster.clusterGateway.image.pullPolicy=Never
|
./velad install --set image.pullPolicy=Never --set admissionWebhooks.patch.image.pullPolicy=Never --set multicluster.clusterGateway.image.pullPolicy=Never
|
||||||
export KUBECONFIG=$(./velad kubeconfig --host)
|
export KUBECONFIG=$(./velad kubeconfig --host)
|
||||||
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=vela-core --timeout=180s -n vela-system
|
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=vela-core --timeout=180s -n vela-system
|
||||||
vela addon enable ~/.vela/addons/velaux
|
vela addon enable ~/.vela/addons/velaux
|
||||||
|
|
||||||
# TODO(qiaozp): fix the issue of e2e test on darwin
|
# TODO(qiaozp): fix the issue of e2e test on darwin
|
||||||
# - name: Run e2e test
|
# - name: Run e2e test
|
||||||
# run: ginkgo -v ./test/e2e-test
|
# run: ginkgo -v ./test/e2e-test
|
||||||
|
|
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
workflow_dispatch: { }
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
@ -18,7 +18,8 @@ jobs:
|
||||||
name: build
|
name: build
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
TARGETS: [ linux/amd64, darwin/amd64, windows/amd64, linux/arm64, darwin/arm64]
|
TARGETS:
|
||||||
|
[linux/amd64, darwin/amd64, windows/amd64, linux/arm64, darwin/arm64]
|
||||||
env:
|
env:
|
||||||
VELA_VERSION_KEY: github.com/oam-dev/velad/version.VelaVersion
|
VELA_VERSION_KEY: github.com/oam-dev/velad/version.VelaVersion
|
||||||
VELAUX_VERSION_KEY: github.com/oam-dev/velad/version.VelaUXVersion
|
VELAUX_VERSION_KEY: github.com/oam-dev/velad/version.VelaUXVersion
|
||||||
|
@ -28,11 +29,11 @@ jobs:
|
||||||
DIST_DIRS: find * -type d -exec
|
DIST_DIRS: find * -type d -exec
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.22"
|
||||||
- name: Get release
|
- name: Get release
|
||||||
id: get_release
|
id: get_release
|
||||||
uses: bruceadams/get-release@v1.2.2
|
uses: bruceadams/get-release@v1.2.2
|
||||||
|
@ -97,7 +98,7 @@ jobs:
|
||||||
asset_name: velad-${{ env.VELAD_VERSION }}-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.zip
|
asset_name: velad-${{ env.VELAD_VERSION }}-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.zip
|
||||||
asset_content_type: binary/octet-stream
|
asset_content_type: binary/octet-stream
|
||||||
- name: Post sha256
|
- name: Post sha256
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sha256sums
|
name: sha256sums
|
||||||
path: ./_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
|
path: ./_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
|
||||||
|
@ -125,4 +126,3 @@ jobs:
|
||||||
verlte ${{ env.VELAD_VERSION }} $LATEST_VERSION && echo "${{ env.VELAD_VERSION }} <= $LATEST_VERSION, skip update" && exit 0
|
verlte ${{ env.VELAD_VERSION }} $LATEST_VERSION && echo "${{ env.VELAD_VERSION }} <= $LATEST_VERSION, skip update" && exit 0
|
||||||
echo ${{ env.VELAD_VERSION }} > ./velad_latest_version
|
echo ${{ env.VELAD_VERSION }} > ./velad_latest_version
|
||||||
./ossutil --config-file .ossutilconfig cp -u ./velad_latest_version oss://kubevela-docs/binary/velad/latest_version
|
./ossutil --config-file .ossutilconfig cp -u ./velad_latest_version oss://kubevela-docs/binary/velad/latest_version
|
||||||
|
|
||||||
|
|
|
@ -111,10 +111,11 @@ linters:
|
||||||
- goconst
|
- goconst
|
||||||
- goimports
|
- goimports
|
||||||
- gofmt # We enable this as well as goimports for its simplify mode.
|
- gofmt # We enable this as well as goimports for its simplify mode.
|
||||||
- golint
|
|
||||||
- unconvert
|
- unconvert
|
||||||
- misspell
|
- misspell
|
||||||
- nakedret
|
- nakedret
|
||||||
|
- exportloopref
|
||||||
|
# - revive
|
||||||
|
|
||||||
presets:
|
presets:
|
||||||
- bugs
|
- bugs
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -1,11 +1,11 @@
|
||||||
include makefiles/dependency.mk
|
include makefiles/dependency.mk
|
||||||
|
|
||||||
K3S_VERSION ?= v1.24.8+k3s1
|
K3S_VERSION ?= v1.27.2+k3s1
|
||||||
STATIC_DIR := pkg/resources/static
|
STATIC_DIR := pkg/resources/static
|
||||||
VELA_VERSION ?= v1.8.0
|
VELA_VERSION ?= v1.10.1
|
||||||
VELAUX_VERSION ?= v1.8.0
|
VELAUX_VERSION ?= v1.9.4
|
||||||
VELA_VERSION_NO_V := $(subst v,,$(VELA_VERSION))
|
VELA_VERSION_NO_V := $(subst v,,$(VELA_VERSION))
|
||||||
VELAUX_IMAGE_VERSION ?= v1.8.0
|
VELAUX_IMAGE_VERSION ?= v1.9.4
|
||||||
LDFLAGS= "-X github.com/oam-dev/velad/version.VelaUXVersion=${VELAUX_VERSION} -X github.com/oam-dev/velad/version.VelaVersion=${VELA_VERSION}"
|
LDFLAGS= "-X github.com/oam-dev/velad/version.VelaUXVersion=${VELAUX_VERSION} -X github.com/oam-dev/velad/version.VelaVersion=${VELA_VERSION}"
|
||||||
|
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
|
@ -50,7 +50,7 @@ darwin-amd64 darwin-arm64 windows-amd64: download_vela_images_addons download_k3
|
||||||
CHART_DIR := ${STATIC_DIR}/vela/charts
|
CHART_DIR := ${STATIC_DIR}/vela/charts
|
||||||
download_vela_chart:
|
download_vela_chart:
|
||||||
mkdir -p ${CHART_DIR}
|
mkdir -p ${CHART_DIR}
|
||||||
curl -o ${CHART_DIR}/vela-core.tgz https://charts.kubevela.net/core/vela-core-${VELA_VERSION_NO_V}.tgz
|
curl -L -o ${CHART_DIR}/vela-core.tgz https://kubevela.github.io/charts/vela-core-${VELA_VERSION_NO_V}.tgz
|
||||||
|
|
||||||
download_vela_images_addons: download_vela_chart
|
download_vela_images_addons: download_vela_chart
|
||||||
tar -xzf ${CHART_DIR}/vela-core.tgz -C ${CHART_DIR}
|
tar -xzf ${CHART_DIR}/vela-core.tgz -C ${CHART_DIR}
|
||||||
|
|
397
go.mod
397
go.mod
|
@ -1,158 +1,168 @@
|
||||||
module github.com/oam-dev/velad
|
module github.com/oam-dev/velad
|
||||||
|
|
||||||
go 1.19
|
go 1.22.0
|
||||||
|
|
||||||
|
toolchain go1.22.4
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/docker/docker v20.10.20+incompatible
|
github.com/docker/docker v26.0.0+incompatible
|
||||||
github.com/docker/go-connections v0.4.0
|
github.com/docker/go-connections v0.5.0
|
||||||
github.com/fatih/color v1.13.0
|
github.com/fatih/color v1.16.0
|
||||||
github.com/k3d-io/k3d/v5 v5.4.8-0.20230204095617-5324cf69fe84
|
github.com/k3d-io/k3d/v5 v5.4.7
|
||||||
github.com/oam-dev/kubevela v1.8.0
|
github.com/oam-dev/kubevela v1.10.1
|
||||||
github.com/onsi/ginkgo v1.16.5
|
github.com/onsi/ginkgo v1.16.5
|
||||||
github.com/onsi/gomega v1.27.0
|
github.com/onsi/gomega v1.34.1
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/spf13/cobra v1.6.1
|
github.com/spf13/cobra v1.8.0
|
||||||
github.com/stretchr/testify v1.8.2
|
github.com/stretchr/testify v1.10.0
|
||||||
github.com/tufanbarisyildirim/gonginx v0.0.0-20230104065106-9ae864d29eed
|
github.com/tufanbarisyildirim/gonginx v0.0.0-20230104065106-9ae864d29eed
|
||||||
helm.sh/helm/v3 v3.10.3
|
helm.sh/helm/v3 v3.14.4
|
||||||
k8s.io/api v0.25.3
|
k8s.io/api v0.29.2
|
||||||
k8s.io/apimachinery v0.25.5
|
k8s.io/apimachinery v0.29.2
|
||||||
k8s.io/client-go v0.25.3
|
k8s.io/client-go v0.29.2
|
||||||
k8s.io/klog/v2 v2.90.0
|
k8s.io/klog/v2 v2.120.1
|
||||||
sigs.k8s.io/controller-runtime v0.12.3
|
sigs.k8s.io/controller-runtime v0.17.6
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
|
github.com/ProtonMail/go-crypto v1.1.3 // indirect
|
||||||
github.com/acomagu/bufpipe v1.0.4 // indirect
|
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
|
||||||
github.com/cloudflare/circl v1.1.0 // indirect
|
github.com/cloudflare/circl v1.3.7 // indirect
|
||||||
github.com/go-git/gcfg v1.5.0 // indirect
|
github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect
|
||||||
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||||
github.com/go-git/go-git/v5 v5.6.1 // indirect
|
github.com/go-git/go-billy/v5 v5.6.1 // indirect
|
||||||
github.com/moby/sys/mount v0.3.0 // indirect
|
github.com/go-git/go-git/v5 v5.13.1 // indirect
|
||||||
github.com/moby/sys/mountinfo v0.5.0 // indirect
|
github.com/go-logr/stdr v1.2.2 // indirect
|
||||||
|
github.com/google/cel-go v0.17.7 // indirect
|
||||||
|
github.com/google/go-containerregistry v0.18.0 // indirect
|
||||||
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
|
||||||
|
github.com/invopop/yaml v0.1.0 // indirect
|
||||||
|
github.com/jellydator/ttlcache/v3 v3.0.1 // indirect
|
||||||
|
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
|
||||||
|
github.com/perimeterx/marshmallow v1.1.4 // indirect
|
||||||
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
||||||
github.com/skeema/knownhosts v1.1.0 // indirect
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||||
|
github.com/skeema/knownhosts v1.3.0 // indirect
|
||||||
|
github.com/stoewer/go-strcase v1.2.0 // indirect
|
||||||
|
github.com/vbatts/tar-split v0.11.5 // indirect
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 // indirect
|
||||||
|
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
|
||||||
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
|
||||||
|
k8s.io/kms v0.29.3 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
cloud.google.com/go/compute v1.10.0 // indirect
|
cuelang.org/go v0.9.2 // indirect
|
||||||
cuelang.org/go v0.5.0-beta.5 // indirect
|
dario.cat/mergo v1.0.0 // indirect
|
||||||
github.com/AlecAivazis/survey/v2 v2.1.1 // indirect
|
github.com/AlecAivazis/survey/v2 v2.1.1 // indirect
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
||||||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
github.com/BurntSushi/toml v1.3.2 // indirect
|
||||||
github.com/Azure/go-autorest/autorest v0.11.27 // indirect
|
|
||||||
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
|
|
||||||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
|
||||||
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
|
||||||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
|
||||||
github.com/BurntSushi/toml v1.2.1 // indirect
|
|
||||||
github.com/FogDong/uitable v0.0.5 // indirect
|
github.com/FogDong/uitable v0.0.5 // indirect
|
||||||
github.com/MakeNowJust/heredoc v1.0.0 // indirect
|
github.com/MakeNowJust/heredoc v1.0.0 // indirect
|
||||||
github.com/Masterminds/goutils v1.1.1 // indirect
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
||||||
github.com/Masterminds/semver v1.5.0 // indirect
|
github.com/Masterminds/semver v1.5.0 // indirect
|
||||||
github.com/Masterminds/semver/v3 v3.1.1 // indirect
|
github.com/Masterminds/semver/v3 v3.2.1 // indirect
|
||||||
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
|
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
|
||||||
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
|
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
|
||||||
github.com/Masterminds/squirrel v1.5.3 // indirect
|
github.com/Masterminds/squirrel v1.5.4 // indirect
|
||||||
github.com/Microsoft/go-winio v0.6.0 // indirect
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
||||||
github.com/Microsoft/hcsshim v0.9.6 // indirect
|
github.com/Microsoft/hcsshim v0.12.2 // indirect
|
||||||
github.com/NYTimes/gziphandler v1.1.1 // indirect
|
github.com/NYTimes/gziphandler v1.1.1 // indirect
|
||||||
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
|
||||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
|
||||||
github.com/agext/levenshtein v1.2.3 // indirect
|
github.com/agext/levenshtein v1.2.3 // indirect
|
||||||
github.com/alessio/shellescape v1.4.1 // indirect
|
github.com/alessio/shellescape v1.4.1 // indirect
|
||||||
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 // indirect
|
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1704 // indirect
|
||||||
|
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
|
||||||
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
||||||
|
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
||||||
github.com/aryann/difflib v0.0.0-20210328193216-ff5ff6dc229b // indirect
|
github.com/aryann/difflib v0.0.0-20210328193216-ff5ff6dc229b // indirect
|
||||||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
||||||
github.com/beorn7/perks v1.0.1 // indirect
|
github.com/beorn7/perks v1.0.1 // indirect
|
||||||
github.com/blang/semver/v4 v4.0.0 // indirect
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
||||||
github.com/bluele/gcache v0.0.2 // indirect
|
github.com/bluele/gcache v0.0.2 // indirect
|
||||||
github.com/briandowns/spinner v1.11.1 // indirect
|
github.com/briandowns/spinner v1.23.0 // indirect
|
||||||
github.com/buger/jsonparser v1.1.1 // indirect
|
github.com/buger/jsonparser v1.1.1 // indirect
|
||||||
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||||
github.com/chai2010/gettext-go v1.0.2 // indirect
|
github.com/chai2010/gettext-go v1.0.2 // indirect
|
||||||
github.com/chartmuseum/helm-push v0.10.2 // indirect
|
github.com/chartmuseum/helm-push v0.10.4 // indirect
|
||||||
github.com/cloudtty/cloudtty v0.2.0 // indirect
|
github.com/cockroachdb/apd/v3 v3.2.1 // indirect
|
||||||
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
|
github.com/containerd/cgroups/v3 v3.0.2 // indirect
|
||||||
github.com/containerd/cgroups v1.0.4 // indirect
|
github.com/containerd/containerd v1.7.14 // indirect
|
||||||
github.com/containerd/containerd v1.6.18 // indirect
|
github.com/containerd/errdefs v0.1.0 // indirect
|
||||||
github.com/coreos/go-semver v0.3.0 // indirect
|
github.com/coreos/go-semver v0.3.1 // indirect
|
||||||
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
||||||
github.com/coreos/prometheus-operator v0.41.1 // indirect
|
github.com/crossplane/crossplane-runtime v1.16.0 // indirect
|
||||||
github.com/crossplane/crossplane-runtime v0.16.1 // indirect
|
|
||||||
github.com/cue-exp/kubevelafix v0.0.0-20220922150317-aead819d979d // indirect
|
github.com/cue-exp/kubevelafix v0.0.0-20220922150317-aead819d979d // indirect
|
||||||
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
|
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
|
||||||
github.com/dave/jennifer v1.6.0 // indirect
|
github.com/dave/jennifer v1.6.1 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/deckarep/golang-set v1.8.0 // indirect
|
|
||||||
github.com/dimchansky/utfbom v1.1.1 // indirect
|
github.com/dimchansky/utfbom v1.1.1 // indirect
|
||||||
github.com/docker/cli v20.10.20+incompatible // indirect
|
github.com/distribution/reference v0.5.0 // indirect
|
||||||
github.com/docker/distribution v2.8.1+incompatible // indirect
|
github.com/docker/cli v26.0.0+incompatible // indirect
|
||||||
github.com/docker/docker-credential-helpers v0.7.0 // indirect
|
github.com/docker/distribution v2.8.3+incompatible // indirect
|
||||||
|
github.com/docker/docker-credential-helpers v0.8.1 // indirect
|
||||||
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c // indirect
|
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c // indirect
|
||||||
github.com/docker/go-metrics v0.0.1 // indirect
|
github.com/docker/go-metrics v0.0.1 // indirect
|
||||||
github.com/docker/go-units v0.5.0 // indirect
|
github.com/docker/go-units v0.5.0 // indirect
|
||||||
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
|
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
|
||||||
github.com/emirpasic/gods v1.18.1 // indirect
|
github.com/emirpasic/gods v1.18.1 // indirect
|
||||||
github.com/ettle/strcase v0.1.1 // indirect
|
github.com/ettle/strcase v0.2.0 // indirect
|
||||||
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
|
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
|
||||||
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
|
github.com/evanphx/json-patch/v5 v5.8.0 // indirect
|
||||||
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
||||||
github.com/fatih/camelcase v1.0.0 // indirect
|
github.com/fatih/camelcase v1.0.0 // indirect
|
||||||
github.com/felixge/httpsnoop v1.0.1 // indirect
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
||||||
github.com/fluxcd/helm-controller/api v0.21.0 // indirect
|
github.com/fluxcd/helm-controller/api v0.32.2 // indirect
|
||||||
github.com/fluxcd/pkg/apis/acl v0.0.3 // indirect
|
github.com/fluxcd/pkg/apis/acl v0.0.3 // indirect
|
||||||
github.com/fluxcd/pkg/apis/kustomize v0.3.3 // indirect
|
github.com/fluxcd/pkg/apis/kustomize v1.0.0 // indirect
|
||||||
github.com/fluxcd/pkg/apis/meta v0.13.0 // indirect
|
github.com/fluxcd/pkg/apis/meta v1.0.0 // indirect
|
||||||
github.com/fluxcd/source-controller/api v0.24.4 // indirect
|
github.com/fluxcd/source-controller/api v0.24.4 // indirect
|
||||||
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
|
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
|
||||||
github.com/fsnotify/fsnotify v1.5.4 // indirect
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
||||||
github.com/fvbommel/sortorder v1.0.2 // indirect
|
github.com/fvbommel/sortorder v1.1.0 // indirect
|
||||||
github.com/gdamore/encoding v1.0.0 // indirect
|
github.com/gdamore/encoding v1.0.0 // indirect
|
||||||
github.com/gdamore/tcell/v2 v2.6.0 // indirect
|
github.com/gdamore/tcell/v2 v2.6.0 // indirect
|
||||||
github.com/gertd/go-pluralize v0.2.1 // indirect
|
github.com/getkin/kin-openapi v0.118.0 // indirect
|
||||||
github.com/getkin/kin-openapi v0.94.0 // indirect
|
|
||||||
github.com/ghodss/yaml v1.0.0 // indirect
|
github.com/ghodss/yaml v1.0.0 // indirect
|
||||||
github.com/go-errors/errors v1.0.1 // indirect
|
github.com/go-errors/errors v1.5.1 // indirect
|
||||||
github.com/go-gorp/gorp/v3 v3.0.2 // indirect
|
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
|
||||||
github.com/go-logr/logr v1.2.3 // indirect
|
github.com/go-logr/logr v1.4.1 // indirect
|
||||||
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
||||||
github.com/go-openapi/jsonreference v0.19.6 // indirect
|
github.com/go-openapi/jsonreference v0.21.0 // indirect
|
||||||
github.com/go-openapi/swag v0.19.15 // indirect
|
github.com/go-openapi/swag v0.23.0 // indirect
|
||||||
github.com/go-resty/resty/v2 v2.7.0 // indirect
|
github.com/go-resty/resty/v2 v2.8.0 // indirect
|
||||||
github.com/go-stack/stack v1.8.1 // indirect
|
github.com/go-stack/stack v1.8.1 // indirect
|
||||||
github.com/go-test/deep v1.0.8 // indirect
|
github.com/go-test/deep v1.1.0 // indirect
|
||||||
github.com/gobwas/glob v0.2.3 // indirect
|
github.com/gobwas/glob v0.2.3 // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
|
|
||||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||||
github.com/golang/mock v1.6.0 // indirect
|
github.com/golang/mock v1.6.0 // indirect
|
||||||
github.com/golang/protobuf v1.5.2 // indirect
|
github.com/golang/protobuf v1.5.4 // indirect
|
||||||
github.com/goodhosts/hostsfile v0.1.1 // indirect
|
github.com/goodhosts/hostsfile v0.1.1 // indirect
|
||||||
github.com/google/btree v1.0.1 // indirect
|
github.com/google/btree v1.1.2 // indirect
|
||||||
github.com/google/gnostic v0.5.7-v3refs // indirect
|
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
|
||||||
github.com/google/go-cmp v0.5.9 // indirect
|
github.com/google/go-cmp v0.6.0 // indirect
|
||||||
github.com/google/go-github/v32 v32.1.0 // indirect
|
github.com/google/go-github/v32 v32.1.0 // indirect
|
||||||
github.com/google/go-querystring v1.1.0 // indirect
|
github.com/google/go-querystring v1.1.0 // indirect
|
||||||
github.com/google/gofuzz v1.2.0 // indirect
|
github.com/google/gofuzz v1.2.0 // indirect
|
||||||
github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2 // indirect
|
github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2 // indirect
|
||||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||||
github.com/google/uuid v1.3.0 // indirect
|
github.com/google/uuid v1.6.0 // indirect
|
||||||
github.com/gorilla/mux v1.8.0 // indirect
|
github.com/gorilla/mux v1.8.1 // indirect
|
||||||
|
github.com/gorilla/websocket v1.5.0 // indirect
|
||||||
github.com/gosuri/uitable v0.0.4 // indirect
|
github.com/gosuri/uitable v0.0.4 // indirect
|
||||||
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
||||||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
||||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||||
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
||||||
|
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
|
||||||
github.com/hashicorp/go-version v1.6.0 // indirect
|
github.com/hashicorp/go-version v1.6.0 // indirect
|
||||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||||
github.com/hashicorp/hcl/v2 v2.16.2 // indirect
|
github.com/hashicorp/hcl/v2 v2.18.0 // indirect
|
||||||
github.com/huandu/xstrings v1.3.2 // indirect
|
github.com/huandu/xstrings v1.4.0 // indirect
|
||||||
github.com/imdario/mergo v0.3.13 // indirect
|
github.com/imdario/mergo v0.3.16 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||||
github.com/jmoiron/sqlx v1.3.5 // indirect
|
github.com/jmoiron/sqlx v1.3.5 // indirect
|
||||||
|
@ -160,22 +170,21 @@ require (
|
||||||
github.com/json-iterator/go v1.1.12 // indirect
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
||||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||||
github.com/klauspost/compress v1.15.12 // indirect
|
github.com/klauspost/compress v1.17.7 // indirect
|
||||||
github.com/kubevela/pkg v0.0.0-20230316114047-e2b41b377bac // indirect
|
github.com/kubevela/pkg v1.9.3-0.20241203070234-2cf98778c0a9 // indirect
|
||||||
github.com/kubevela/prism v1.7.0-alpha.1 // indirect
|
github.com/kubevela/workflow v0.6.1-0.20241210074645-d8a85b26c862 // indirect
|
||||||
github.com/kubevela/workflow v0.5.1-0.20230412142923-1f15ba091699 // indirect
|
|
||||||
github.com/kyokomi/emoji v2.2.4+incompatible // indirect
|
github.com/kyokomi/emoji v2.2.4+incompatible // indirect
|
||||||
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
|
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
|
||||||
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
|
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
|
||||||
github.com/lib/pq v1.10.6 // indirect
|
github.com/lib/pq v1.10.9 // indirect
|
||||||
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
||||||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
||||||
github.com/magiconair/properties v1.8.6 // indirect
|
github.com/magiconair/properties v1.8.7 // indirect
|
||||||
github.com/mailru/easyjson v0.7.6 // indirect
|
github.com/mailru/easyjson v0.7.7 // indirect
|
||||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||||
github.com/mattn/go-isatty v0.0.17 // indirect
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||||
github.com/mattn/go-runewidth v0.0.14 // indirect
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
|
||||||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
||||||
github.com/miekg/pkcs11 v1.1.1 // indirect
|
github.com/miekg/pkcs11 v1.1.1 // indirect
|
||||||
github.com/mitchellh/copystructure v1.2.0 // indirect
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
||||||
|
@ -186,150 +195,140 @@ require (
|
||||||
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
||||||
github.com/moby/locker v1.0.1 // indirect
|
github.com/moby/locker v1.0.1 // indirect
|
||||||
github.com/moby/spdystream v0.2.0 // indirect
|
github.com/moby/spdystream v0.2.0 // indirect
|
||||||
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
|
github.com/moby/sys/mount v0.3.3 // indirect
|
||||||
|
github.com/moby/sys/mountinfo v0.6.2 // indirect
|
||||||
|
github.com/moby/term v0.5.0 // indirect
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||||
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
||||||
github.com/morikuni/aec v1.0.0 // indirect
|
github.com/morikuni/aec v1.0.0 // indirect
|
||||||
github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de // indirect
|
|
||||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
||||||
github.com/nacos-group/nacos-sdk-go/v2 v2.1.0 // indirect
|
github.com/nacos-group/nacos-sdk-go/v2 v2.2.2 // indirect
|
||||||
github.com/nxadm/tail v1.4.8 // indirect
|
github.com/nxadm/tail v1.4.8 // indirect
|
||||||
github.com/oam-dev/cluster-gateway v1.7.0-alpha.1 // indirect
|
github.com/oam-dev/cluster-gateway v1.9.1-0.20241120140625-33c8891b781c // indirect
|
||||||
github.com/oam-dev/cluster-register v1.0.4-0.20220928064144-5f76a9d7ca8c // indirect
|
github.com/oam-dev/cluster-register v1.0.4-0.20230424040021-147f7c1fefe5 // indirect
|
||||||
github.com/oam-dev/terraform-config-inspect v0.0.0-20210418082552-fc72d929aa28 // indirect
|
github.com/oam-dev/terraform-config-inspect v0.0.0-20210418082552-fc72d929aa28 // indirect
|
||||||
github.com/oam-dev/terraform-controller v0.7.10 // indirect
|
github.com/oam-dev/terraform-controller v0.8.0 // indirect
|
||||||
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
||||||
github.com/opencontainers/go-digest v1.0.0 // indirect
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
||||||
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
|
github.com/opencontainers/image-spec v1.1.0 // indirect
|
||||||
github.com/opencontainers/runc v1.1.3 // indirect
|
github.com/opencontainers/runc v1.1.12 // indirect
|
||||||
github.com/openkruise/kruise-api v1.3.0 // indirect
|
github.com/openkruise/kruise-api v1.4.0 // indirect
|
||||||
github.com/openkruise/rollouts v0.1.1-0.20220622054609-149e5a48da5e // indirect
|
github.com/openkruise/rollouts v0.3.0 // indirect
|
||||||
github.com/openshift/library-go v0.0.0-20221111030555-73ed40c0a938 // indirect
|
github.com/openshift/library-go v0.0.0-20230327085348-8477ec72b725 // indirect
|
||||||
github.com/pelletier/go-toml v1.9.5 // indirect
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
||||||
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
|
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
||||||
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
github.com/prometheus/client_golang v1.14.0 // indirect
|
github.com/prometheus/client_golang v1.18.0 // indirect
|
||||||
github.com/prometheus/client_model v0.3.0 // indirect
|
github.com/prometheus/client_model v0.5.0 // indirect
|
||||||
github.com/prometheus/common v0.37.0 // indirect
|
github.com/prometheus/common v0.45.0 // indirect
|
||||||
github.com/prometheus/procfs v0.8.0 // indirect
|
github.com/prometheus/procfs v0.12.0 // indirect
|
||||||
github.com/rivo/tview v0.0.0-20221128165837-db36428c92d9 // indirect
|
github.com/rivo/tview v0.0.0-20221128165837-db36428c92d9 // indirect
|
||||||
github.com/rivo/uniseg v0.4.3 // indirect
|
github.com/rivo/uniseg v0.4.3 // indirect
|
||||||
github.com/robfig/cron/v3 v3.0.1 // indirect
|
github.com/robfig/cron/v3 v3.0.1 // indirect
|
||||||
github.com/rogpeppe/go-internal v1.9.0 // indirect
|
github.com/rubenv/sql-migrate v1.5.2 // indirect
|
||||||
github.com/rubenv/sql-migrate v1.1.2 // indirect
|
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
||||||
github.com/russross/blackfriday v1.6.0 // indirect
|
github.com/shopspring/decimal v1.3.1 // indirect
|
||||||
github.com/sergi/go-diff v1.2.0 // indirect
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
||||||
github.com/shopspring/decimal v1.2.0 // indirect
|
github.com/spf13/afero v1.11.0 // indirect
|
||||||
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
||||||
github.com/spf13/afero v1.8.2 // indirect
|
|
||||||
github.com/spf13/cast v1.5.0 // indirect
|
github.com/spf13/cast v1.5.0 // indirect
|
||||||
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
||||||
github.com/spf13/pflag v1.0.5 // indirect
|
github.com/spf13/pflag v1.0.5 // indirect
|
||||||
github.com/spf13/viper v1.12.0 // indirect
|
github.com/spf13/viper v1.15.0 // indirect
|
||||||
github.com/subosito/gotenv v1.4.1 // indirect
|
github.com/subosito/gotenv v1.4.2 // indirect
|
||||||
github.com/theupdateframework/notary v0.7.0 // indirect
|
github.com/theupdateframework/notary v0.7.0 // indirect
|
||||||
github.com/tidwall/gjson v1.14.4 // indirect
|
github.com/tidwall/gjson v1.14.4 // indirect
|
||||||
github.com/tidwall/match v1.1.1 // indirect
|
github.com/tidwall/match v1.1.1 // indirect
|
||||||
github.com/tidwall/pretty v1.2.0 // indirect
|
github.com/tidwall/pretty v1.2.0 // indirect
|
||||||
github.com/wercker/stern v0.0.0-20190705090245-4fa46dd6987f // indirect
|
github.com/wercker/stern v0.0.0-20190705090245-4fa46dd6987f // indirect
|
||||||
github.com/wonderflow/cert-manager-api v1.0.4-0.20210304051430-e08aa76f6c5f // indirect
|
github.com/xanzy/go-gitlab v0.91.1 // indirect
|
||||||
github.com/xanzy/go-gitlab v0.80.0 // indirect
|
|
||||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
||||||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
||||||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
||||||
github.com/xlab/treeprint v1.2.0 // indirect
|
github.com/xlab/treeprint v1.2.0 // indirect
|
||||||
github.com/zclconf/go-cty v1.12.1 // indirect
|
github.com/zclconf/go-cty v1.13.0 // indirect
|
||||||
go.etcd.io/etcd/api/v3 v3.5.4 // indirect
|
go.etcd.io/etcd/api/v3 v3.5.10 // indirect
|
||||||
go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect
|
go.etcd.io/etcd/client/pkg/v3 v3.5.10 // indirect
|
||||||
go.etcd.io/etcd/client/v3 v3.5.4 // indirect
|
go.etcd.io/etcd/client/v3 v3.5.10 // indirect
|
||||||
go.opencensus.io v0.23.0 // indirect
|
go.opencensus.io v0.24.0 // indirect
|
||||||
go.opentelemetry.io/contrib v1.6.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.45.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 // indirect
|
go.opentelemetry.io/otel v1.19.0 // indirect
|
||||||
go.opentelemetry.io/otel v1.3.0 // indirect
|
go.opentelemetry.io/otel/metric v1.19.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp v0.20.0 // indirect
|
go.opentelemetry.io/otel/sdk v1.19.0 // indirect
|
||||||
go.opentelemetry.io/otel/metric v0.20.0 // indirect
|
go.opentelemetry.io/otel/trace v1.19.0 // indirect
|
||||||
go.opentelemetry.io/otel/sdk v1.3.0 // indirect
|
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
|
||||||
go.opentelemetry.io/otel/sdk/export/metric v0.20.0 // indirect
|
go.starlark.net v0.0.0-20240329153429-e6e8e7ce1b7a // indirect
|
||||||
go.opentelemetry.io/otel/sdk/metric v0.20.0 // indirect
|
go.uber.org/automaxprocs v1.5.3 // indirect
|
||||||
go.opentelemetry.io/otel/trace v1.3.0 // indirect
|
go.uber.org/multierr v1.11.0 // indirect
|
||||||
go.opentelemetry.io/proto/otlp v0.11.0 // indirect
|
go.uber.org/zap v1.26.0 // indirect
|
||||||
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
go4.org/intern v0.0.0-20220617035311-6925f38cc365 // indirect
|
||||||
go.uber.org/atomic v1.9.0 // indirect
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
|
||||||
go.uber.org/multierr v1.8.0 // indirect
|
golang.org/x/crypto v0.32.0 // indirect
|
||||||
go.uber.org/zap v1.21.0 // indirect
|
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
|
||||||
go4.org/intern v0.0.0-20211027215823-ae77deb06f29 // indirect
|
golang.org/x/mod v0.19.0 // indirect
|
||||||
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 // indirect
|
golang.org/x/net v0.33.0 // indirect
|
||||||
golang.org/x/crypto v0.6.0 // indirect
|
golang.org/x/oauth2 v0.20.0 // indirect
|
||||||
golang.org/x/mod v0.8.0 // indirect
|
golang.org/x/sync v0.10.0 // indirect
|
||||||
golang.org/x/net v0.8.0 // indirect
|
golang.org/x/sys v0.29.0 // indirect
|
||||||
golang.org/x/oauth2 v0.6.0 // indirect
|
golang.org/x/term v0.28.0 // indirect
|
||||||
golang.org/x/sync v0.1.0 // indirect
|
golang.org/x/text v0.21.0 // indirect
|
||||||
golang.org/x/sys v0.6.0 // indirect
|
golang.org/x/time v0.5.0 // indirect
|
||||||
golang.org/x/term v0.6.0 // indirect
|
golang.org/x/tools v0.23.0 // indirect
|
||||||
golang.org/x/text v0.8.0 // indirect
|
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
|
||||||
golang.org/x/time v0.3.0 // indirect
|
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
|
||||||
golang.org/x/tools v0.6.0 // indirect
|
google.golang.org/grpc v1.63.0 // indirect
|
||||||
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
|
google.golang.org/protobuf v1.34.1 // indirect
|
||||||
google.golang.org/appengine v1.6.7 // indirect
|
|
||||||
google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de // indirect
|
|
||||||
google.golang.org/grpc v1.48.0 // indirect
|
|
||||||
google.golang.org/protobuf v1.28.1 // indirect
|
|
||||||
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
||||||
|
gopkg.in/evanphx/json-patch.v5 v5.9.0 // indirect
|
||||||
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect
|
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect
|
||||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
||||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
||||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
inet.af/netaddr v0.0.0-20220811202034-502d2d690317 // indirect
|
inet.af/netaddr v0.0.0-20220811202034-502d2d690317 // indirect
|
||||||
istio.io/api v0.0.0-20220512212136-561ffec82582 // indirect
|
k8s.io/apiextensions-apiserver v0.29.2 // indirect
|
||||||
istio.io/client-go v1.13.4 // indirect
|
k8s.io/apiserver v0.29.2 // indirect
|
||||||
istio.io/gogo-genproto v0.0.0-20211208193508-5ab4acc9eb1e // indirect
|
k8s.io/cli-runtime v0.29.2 // indirect
|
||||||
k8s.io/apiextensions-apiserver v0.25.2 // indirect
|
k8s.io/component-base v0.29.2 // indirect
|
||||||
k8s.io/apiserver v0.25.3 // indirect
|
|
||||||
k8s.io/cli-runtime v0.25.3 // indirect
|
|
||||||
k8s.io/component-base v0.25.3 // indirect
|
|
||||||
k8s.io/helm v2.17.0+incompatible // indirect
|
k8s.io/helm v2.17.0+incompatible // indirect
|
||||||
k8s.io/klog v1.0.0 // indirect
|
k8s.io/klog v1.0.0 // indirect
|
||||||
k8s.io/kube-aggregator v0.25.3 // indirect
|
k8s.io/kube-aggregator v0.27.2 // indirect
|
||||||
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
|
k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99 // indirect
|
||||||
k8s.io/kubectl v0.25.3 // indirect
|
k8s.io/kubectl v0.29.2 // indirect
|
||||||
k8s.io/metrics v0.25.3 // indirect
|
k8s.io/metrics v0.29.2 // indirect
|
||||||
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
|
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
|
||||||
open-cluster-management.io/api v0.10.0 // indirect
|
open-cluster-management.io/api v0.11.0 // indirect
|
||||||
oras.land/oras-go v1.2.0 // indirect
|
oras.land/oras-go v1.2.5 // indirect
|
||||||
sigs.k8s.io/apiserver-network-proxy v0.0.30 // indirect
|
sigs.k8s.io/apiserver-network-proxy v0.0.30 // indirect
|
||||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.33 // indirect
|
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
|
||||||
sigs.k8s.io/apiserver-runtime v1.1.2-0.20221102045245-fb656940062f // indirect
|
sigs.k8s.io/apiserver-runtime v1.1.2-0.20221118041430-0a6394f6dda3 // indirect
|
||||||
sigs.k8s.io/gateway-api v0.4.3 // indirect
|
sigs.k8s.io/gateway-api v0.7.1 // indirect
|
||||||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
||||||
sigs.k8s.io/kind v0.17.0 // indirect
|
sigs.k8s.io/kind v0.20.0 // indirect
|
||||||
sigs.k8s.io/kustomize/api v0.12.1 // indirect
|
sigs.k8s.io/kustomize/api v0.16.0 // indirect
|
||||||
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
|
sigs.k8s.io/kustomize/kyaml v0.16.0 // indirect
|
||||||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
|
||||||
sigs.k8s.io/yaml v1.3.0 // indirect
|
sigs.k8s.io/yaml v1.4.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
replace (
|
replace (
|
||||||
cuelang.org/go => github.com/kubevela/cue v0.4.4-0.20221107123854-a976b0e340be
|
cuelang.org/go => cuelang.org/go v0.9.2
|
||||||
github.com/docker/cli => github.com/docker/cli v20.10.9+incompatible
|
github.com/docker/cli => github.com/docker/cli v20.10.9+incompatible
|
||||||
|
github.com/docker/docker => github.com/moby/moby v20.10.25+incompatible
|
||||||
github.com/google/certificate-transparency-go => github.com/google/certificate-transparency-go v1.1.3
|
github.com/google/certificate-transparency-go => github.com/google/certificate-transparency-go v1.1.3
|
||||||
github.com/k3d-io/k3d/v5 => github.com/chivalryq/k3d/v5 v5.0.0-20230115105251-1b3833ce38cc
|
github.com/k3d-io/k3d/v5 => github.com/chivalryq/k3d/v5 v5.0.0-20230115105251-1b3833ce38cc
|
||||||
github.com/wercker/stern => github.com/oam-dev/stern v1.13.2
|
github.com/wercker/stern => github.com/oam-dev/stern v1.13.2
|
||||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.42.0
|
||||||
go.opentelemetry.io/otel => go.opentelemetry.io/otel v0.20.0
|
google.golang.org/grpc => google.golang.org/grpc v1.53.0
|
||||||
go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v0.20.0
|
oras.land/oras-go => oras.land/oras-go v1.2.2
|
||||||
go.opentelemetry.io/otel/sdk => go.opentelemetry.io/otel/sdk v0.20.0
|
sigs.k8s.io/apiserver-runtime => github.com/kmodules/apiserver-runtime v1.1.2-0.20240303184316-6365e03bf9ac
|
||||||
go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v0.20.0
|
|
||||||
go.opentelemetry.io/proto/otlp => go.opentelemetry.io/proto/otlp v0.7.0
|
|
||||||
k8s.io/component-base => k8s.io/component-base v0.25.3 // indirect
|
|
||||||
)
|
)
|
||||||
|
|
||||||
replace sigs.k8s.io/apiserver-network-proxy/konnectivity-client => sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.31-0.20220502234555-5308cea56b78
|
replace github.com/containerd/containerd => github.com/containerd/containerd v1.6.18
|
||||||
|
|
|
@ -20,5 +20,5 @@ echo "downloading addons"
|
||||||
addons=("velaux-$velaux_version.tgz")
|
addons=("velaux-$velaux_version.tgz")
|
||||||
for addon in ${addons[*]}; do
|
for addon in ${addons[*]}; do
|
||||||
echo saving "$addon" to "$VELA_ADDON_DIR"/"$addon"
|
echo saving "$addon" to "$VELA_ADDON_DIR"/"$addon"
|
||||||
curl -L "http://addons.kubevela.net/$addon" -o "$VELA_ADDON_DIR"/"$addon"
|
curl -L "https://kubevela.github.io/catalog/official/$addon" -o "$VELA_ADDON_DIR"/"$addon"
|
||||||
done
|
done
|
||||||
|
|
|
@ -19,9 +19,23 @@ echo "Upgrading KubeVela version From: "$VERSION_NOW" --> TO: "$VERSION_TO
|
||||||
|
|
||||||
echo "Upgrading go.mod version..."
|
echo "Upgrading go.mod version..."
|
||||||
|
|
||||||
sed -i "" -e "s/github.com\/oam-dev\/kubevela v.*/github.com\/oam-dev\/kubevela $VERSION_TO/g" go.mod
|
|
||||||
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
|
# macOS
|
||||||
|
sed -i "" -e "s/github.com\/oam-dev\/kubevela v.*/github.com\/oam-dev\/kubevela $VERSION_TO/g" go.mod
|
||||||
|
else
|
||||||
|
# Linux
|
||||||
|
sed -i -e "s/github.com\/oam-dev\/kubevela v.*/github.com\/oam-dev\/kubevela $VERSION_TO/g" go.mod
|
||||||
|
fi
|
||||||
|
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
|
||||||
echo "Upgrading version variable in Makefile"
|
echo "Upgrading version variable in Makefile"
|
||||||
|
|
||||||
sed -i "" -e "s/VELA_VERSION ?= v.*/VELA_VERSION ?= $VERSION_TO/g" Makefile
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
|
# macOS
|
||||||
|
sed -i "" -e "s/VELA_VERSION ?= v.*/VELA_VERSION ?= $VERSION_TO/g" Makefile
|
||||||
|
else
|
||||||
|
# Linux
|
||||||
|
sed -i -e "s/VELA_VERSION ?= v.*/VELA_VERSION ?= $VERSION_TO/g" Makefile
|
||||||
|
fi
|
||||||
|
|
|
@ -33,7 +33,15 @@ if [ -n "$IMAGE_VERSION" ]; then
|
||||||
echo "Upgrading VelaUX image version to: ""$IMAGE_VERSION"
|
echo "Upgrading VelaUX image version to: ""$IMAGE_VERSION"
|
||||||
else
|
else
|
||||||
echo "VelaUX image version is the same as VelaUX addon version"
|
echo "VelaUX image version is the same as VelaUX addon version"
|
||||||
|
IMAGE_VERSION=$VERSION_TO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "" -e "s/VELAUX_VERSION ?= v.*/VELAUX_VERSION ?= $VERSION_TO/g" Makefile
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
sed -i "" -e "s/VELAUX_IMAGE_VERSION ?= .*/VELAUX_IMAGE_VERSION ?= $IMAGE_VERSION/g" Makefile
|
# macOS
|
||||||
|
sed -i "" -e "s/VELAUX_VERSION ?= v.*/VELAUX_VERSION ?= $VERSION_TO/g" Makefile
|
||||||
|
sed -i "" -e "s/VELAUX_IMAGE_VERSION ?= .*/VELAUX_IMAGE_VERSION ?= $IMAGE_VERSION/g" Makefile
|
||||||
|
else
|
||||||
|
# Linux
|
||||||
|
sed -i -e "s/VELAUX_VERSION ?= v.*/VELAUX_VERSION ?= $VERSION_TO/g" Makefile
|
||||||
|
sed -i -e "s/VELAUX_IMAGE_VERSION ?= .*/VELAUX_IMAGE_VERSION ?= $IMAGE_VERSION/g" Makefile
|
||||||
|
fi
|
||||||
|
|
|
@ -6,7 +6,7 @@ GOBIN=$(shell go env GOBIN)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
GOLANGCILINT_VERSION ?= v1.49.0
|
GOLANGCILINT_VERSION ?= v1.54.2
|
||||||
|
|
||||||
.PHONY: golangci
|
.PHONY: golangci
|
||||||
golangci:
|
golangci:
|
||||||
|
@ -32,7 +32,7 @@ ifeq (, $(shell which staticcheck))
|
||||||
@{ \
|
@{ \
|
||||||
set -e ;\
|
set -e ;\
|
||||||
echo 'installing honnef.co/go/tools/cmd/staticcheck ' ;\
|
echo 'installing honnef.co/go/tools/cmd/staticcheck ' ;\
|
||||||
go install honnef.co/go/tools/cmd/staticcheck@v0.3.0 ;\
|
go install honnef.co/go/tools/cmd/staticcheck@v0.5.1 ;\
|
||||||
}
|
}
|
||||||
STATICCHECK=$(GOBIN)/staticcheck
|
STATICCHECK=$(GOBIN)/staticcheck
|
||||||
else
|
else
|
||||||
|
|
|
@ -131,11 +131,11 @@ var (
|
||||||
VelaDDockerNetwork = "k3d-velad"
|
VelaDDockerNetwork = "k3d-velad"
|
||||||
|
|
||||||
// K3dImageK3s is k3s image tag
|
// K3dImageK3s is k3s image tag
|
||||||
K3dImageK3s = "rancher/k3s:v1.24.8-k3s1"
|
K3dImageK3s = "rancher/k3s:v1.29.13-k3s1"
|
||||||
// K3dImageTools is k3d tools image tag
|
// K3dImageTools is k3d tools image tag
|
||||||
K3dImageTools = "ghcr.io/k3d-io/k3d-tools:latest"
|
K3dImageTools = "ghcr.io/k3d-io/k3d-tools:latest"
|
||||||
// K3dImageProxy is k3d proxy image tag
|
// K3dImageProxy is k3d proxy image tag
|
||||||
K3dImageProxy = "ghcr.io/k3d-io/k3d-proxy:5.4.6"
|
K3dImageProxy = "ghcr.io/k3d-io/k3d-proxy:5.5.1"
|
||||||
|
|
||||||
// KubeVelaHelmRelease is helm release name for vela
|
// KubeVelaHelmRelease is helm release name for vela
|
||||||
KubeVelaHelmRelease = "kubevela"
|
KubeVelaHelmRelease = "kubevela"
|
||||||
|
|
|
@ -50,7 +50,7 @@ type k3dSetupOptions struct {
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// K3dImageTag is image tag of k3d
|
// K3dImageTag is image tag of k3d
|
||||||
K3dImageTag = "v1.24.8-k3s1"
|
K3dImageTag = "v1.27.2-k3s1"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -138,7 +138,7 @@ func Cleanup() error {
|
||||||
// InfoBytes is a helper function to print a byte array
|
// InfoBytes is a helper function to print a byte array
|
||||||
func InfoBytes(b []byte) {
|
func InfoBytes(b []byte) {
|
||||||
if len(b) != 0 {
|
if len(b) != 0 {
|
||||||
Info(string(b))
|
Infof(string(b))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
core "github.com/oam-dev/kubevela/apis/core.oam.dev"
|
core "github.com/oam-dev/kubevela/apis/core.oam.dev"
|
||||||
"github.com/oam-dev/kubevela/apis/core.oam.dev/v1alpha2"
|
"github.com/oam-dev/kubevela/apis/core.oam.dev/v1beta1"
|
||||||
v1 "k8s.io/api/core/v1"
|
v1 "k8s.io/api/core/v1"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||||
|
@ -33,7 +33,7 @@ func EditGatewayDefinition() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
gateway := &v1alpha2.TraitDefinition{}
|
gateway := &v1beta1.TraitDefinition{}
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
err = cli.Get(ctx, client.ObjectKey{
|
err = cli.Get(ctx, client.ObjectKey{
|
||||||
Name: "gateway",
|
Name: "gateway",
|
||||||
|
|
Loading…
Reference in New Issue