@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.
Files changed (35) hide show
  1. package/assets/translations/en-us.yaml +4 -0
  2. package/assets/translations/zh-hans.yaml +8 -1
  3. package/cloud-credential/__tests__/azure.test.ts +53 -0
  4. package/cloud-credential/azure.vue +6 -0
  5. package/components/GrowlManager.vue +33 -30
  6. package/components/form/ResourceQuota/ProjectRow.vue +38 -15
  7. package/components/formatter/ClusterProvider.vue +9 -3
  8. package/components/formatter/__tests__/ClusterProvider.test.ts +5 -1
  9. package/components/nav/Header.vue +1 -0
  10. package/config/settings.ts +59 -2
  11. package/config/types.js +2 -0
  12. package/creators/pkg/files/.github/workflows/build-extension-catalog.yml +28 -0
  13. package/creators/pkg/files/.github/workflows/build-extension-charts.yml +26 -0
  14. package/creators/pkg/init +63 -4
  15. package/detail/provisioning.cattle.io.cluster.vue +4 -2
  16. package/edit/fleet.cattle.io.gitrepo.vue +1 -0
  17. package/edit/provisioning.cattle.io.cluster/rke2.vue +4 -4
  18. package/mixins/__tests__/chart.test.ts +40 -0
  19. package/mixins/chart.js +5 -0
  20. package/models/catalog.cattle.io.clusterrepo.js +6 -2
  21. package/models/fleet.cattle.io.cluster.js +10 -2
  22. package/package.json +1 -1
  23. package/pages/c/_cluster/gatekeeper/index.vue +10 -1
  24. package/plugins/steve/__tests__/header-warnings.spec.ts +238 -0
  25. package/plugins/steve/actions.js +4 -23
  26. package/plugins/steve/header-warnings.ts +91 -0
  27. package/promptRemove/management.cattle.io.project.vue +9 -6
  28. package/scripts/extension/parse-tag-name +30 -0
  29. package/types/shell/index.d.ts +1 -0
  30. package/utils/settings.ts +2 -17
  31. package/vue-config-helper.js +135 -0
  32. package/vue.config.js +23 -139
  33. package/yarn-error.log +200 -0
  34. package/creators/pkg/files/.github/workflows/build-container.yml +0 -64
  35. 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