@rancher/shell 0.3.21 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/translations/en-us.yaml +4 -0
- package/assets/translations/zh-hans.yaml +8 -1
- package/cloud-credential/__tests__/azure.test.ts +53 -0
- package/cloud-credential/azure.vue +6 -0
- package/components/GrowlManager.vue +33 -30
- package/components/form/ResourceQuota/ProjectRow.vue +38 -15
- package/components/formatter/ClusterProvider.vue +9 -3
- package/components/formatter/__tests__/ClusterProvider.test.ts +5 -1
- package/components/nav/Header.vue +1 -0
- package/config/settings.ts +59 -2
- package/config/types.js +2 -0
- package/creators/pkg/files/.github/workflows/build-extension-catalog.yml +28 -0
- package/creators/pkg/files/.github/workflows/build-extension-charts.yml +26 -0
- package/creators/pkg/init +63 -4
- package/detail/provisioning.cattle.io.cluster.vue +4 -2
- package/edit/fleet.cattle.io.gitrepo.vue +1 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +4 -4
- package/mixins/__tests__/chart.test.ts +40 -0
- package/mixins/chart.js +5 -0
- package/models/catalog.cattle.io.clusterrepo.js +6 -2
- package/models/fleet.cattle.io.cluster.js +10 -2
- package/package.json +1 -1
- package/pages/c/_cluster/gatekeeper/index.vue +10 -1
- package/plugins/steve/__tests__/header-warnings.spec.ts +238 -0
- package/plugins/steve/actions.js +4 -23
- package/plugins/steve/header-warnings.ts +91 -0
- package/promptRemove/management.cattle.io.project.vue +9 -6
- package/scripts/extension/parse-tag-name +30 -0
- package/types/shell/index.d.ts +1 -0
- package/utils/settings.ts +2 -17
- package/vue-config-helper.js +135 -0
- package/vue.config.js +23 -139
- package/yarn-error.log +200 -0
- package/creators/pkg/files/.github/workflows/build-container.yml +0 -64
- package/creators/pkg/files/.github/workflows/build-extension.yml +0 -110
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
name: Build and Release Extension
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
|
|
11
|
-
env:
|
|
12
|
-
ACTIONS_RUNNER_DEBUG: false
|
|
13
|
-
CI_COMMIT_MESSAGE: CI Build Artifacts
|
|
14
|
-
|
|
15
|
-
defaults:
|
|
16
|
-
run:
|
|
17
|
-
shell: bash
|
|
18
|
-
working-directory: ./
|
|
19
|
-
|
|
20
|
-
jobs:
|
|
21
|
-
build:
|
|
22
|
-
name: Build extension artifact
|
|
23
|
-
runs-on: ubuntu-latest
|
|
24
|
-
permissions: write-all
|
|
25
|
-
steps:
|
|
26
|
-
- name: Checkout
|
|
27
|
-
uses: actions/checkout@v3
|
|
28
|
-
with:
|
|
29
|
-
fetch-depth: 0
|
|
30
|
-
|
|
31
|
-
- name: Configure Git
|
|
32
|
-
run: |
|
|
33
|
-
git config user.name "$GITHUB_ACTOR"
|
|
34
|
-
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
35
|
-
|
|
36
|
-
- name: Setup Helm
|
|
37
|
-
uses: azure/setup-helm@v3
|
|
38
|
-
with:
|
|
39
|
-
version: v3.8.0
|
|
40
|
-
|
|
41
|
-
- name: Setup yq
|
|
42
|
-
uses: chrisdickinson/setup-yq@v1.0.1
|
|
43
|
-
with:
|
|
44
|
-
yq-version: v4.28.2
|
|
45
|
-
|
|
46
|
-
- name: Setup Nodejs and npm
|
|
47
|
-
uses: actions/setup-node@v3
|
|
48
|
-
with:
|
|
49
|
-
node-version: '16'
|
|
50
|
-
|
|
51
|
-
- name: Setup yarn
|
|
52
|
-
run: npm install -g yarn
|
|
53
|
-
|
|
54
|
-
- name: Setup Nodejs with yarn caching
|
|
55
|
-
uses: actions/setup-node@v3
|
|
56
|
-
with:
|
|
57
|
-
node-version: '16'
|
|
58
|
-
cache: yarn
|
|
59
|
-
|
|
60
|
-
- name: Install dependencies
|
|
61
|
-
run: yarn
|
|
62
|
-
|
|
63
|
-
- name: Run build script
|
|
64
|
-
shell: bash
|
|
65
|
-
id: build_script
|
|
66
|
-
run: |
|
|
67
|
-
yarn publish-pkgs -s "${{ github.repository }}" -b gh-pages
|
|
68
|
-
|
|
69
|
-
- name: Upload charts artifact
|
|
70
|
-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
|
71
|
-
uses: actions/upload-artifact@v3
|
|
72
|
-
with:
|
|
73
|
-
name: charts
|
|
74
|
-
path: tmp
|
|
75
|
-
|
|
76
|
-
release:
|
|
77
|
-
name: Release Build
|
|
78
|
-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
|
79
|
-
needs: build
|
|
80
|
-
runs-on: ubuntu-latest
|
|
81
|
-
permissions: write-all
|
|
82
|
-
steps:
|
|
83
|
-
- name: Checkout
|
|
84
|
-
uses: actions/checkout@v3
|
|
85
|
-
with:
|
|
86
|
-
ref: gh-pages
|
|
87
|
-
|
|
88
|
-
- name: Configure Git
|
|
89
|
-
run: |
|
|
90
|
-
git config user.name "$GITHUB_ACTOR"
|
|
91
|
-
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
92
|
-
|
|
93
|
-
- name: Download build artifact
|
|
94
|
-
uses: actions/download-artifact@v3
|
|
95
|
-
with:
|
|
96
|
-
name: charts
|
|
97
|
-
|
|
98
|
-
- name: Commit build
|
|
99
|
-
run: |
|
|
100
|
-
git add ./{assets,charts,extensions,index.yaml}
|
|
101
|
-
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}"
|
|
102
|
-
git push
|
|
103
|
-
|
|
104
|
-
- name: Run chart-releaser
|
|
105
|
-
uses: helm/chart-releaser-action@v1.4.1
|
|
106
|
-
with:
|
|
107
|
-
charts_dir: ./charts/*
|
|
108
|
-
env:
|
|
109
|
-
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
110
|
-
CR_SKIP_EXISTING: true
|