feat: kubesphere 4.0 (#6115)

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

---------

Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
KubeSphere CI Bot
2024-09-06 11:05:52 +08:00
committed by GitHub
parent b5015ec7b9
commit 447a51f08b
8557 changed files with 546695 additions and 1146174 deletions

View File

@@ -5,14 +5,12 @@ on:
branches:
- 'master'
- 'release-*'
- 'feature-pluggable'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'release-*'
- 'feature-pluggable'
jobs:
build:

View File

@@ -13,10 +13,10 @@ jobs:
GO111MODULE: on
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.21
id: go
- name: Check out code into the Go module directory

View File

@@ -15,10 +15,10 @@ jobs:
GO111MODULE: on
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.21
id: go
- name: Check out code into the Go module directory

40
.github/workflows/sync-helm-chart.yaml vendored Normal file
View File

@@ -0,0 +1,40 @@
on:
workflow_dispatch:
push:
paths:
- 'config/ks-core/**'
branches:
- 'master'
jobs:
sync-chart:
runs-on: self-runner-kubesphere
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup SSH
uses: MrSquaare/ssh-setup-action@v2
with:
host: github.com
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: |
git config --global user.email "ci-bot@kubesphere.io"
git config --global user.name "ks-ci-bot"
git clone git@github.com:kubesphere/helm-charts.git
rm -rf helm-charts/src/test/ks-core
cp -r config/ks-core helm-charts/src/test/
cd helm-charts/
git add .
git commit -m "update ks-core helm chart"
git push origin master:sync/ks-core --force
- env:
GH_TOKEN: ${{ secrets.CIBOT_ACCESS_TOKEN }}
run: |
cd helm-charts/
if [[ $(gh pr ls -H sync/ks-core -B master) == "" ]]; then
gh pr create -H sync/ks-core -B master --title "Update ks-core helm chart" --body "Update ks-core helm chart"
fi