@rancher/shell 0.3.20 → 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 +8 -2
- 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/Questions/Array.vue +2 -2
- package/components/Questions/Boolean.vue +7 -1
- package/components/Questions/CloudCredential.vue +1 -0
- package/components/Questions/Enum.vue +21 -2
- package/components/Questions/Float.vue +8 -3
- package/components/Questions/Int.vue +8 -3
- package/components/Questions/Question.js +72 -0
- package/components/Questions/QuestionMap.vue +2 -1
- package/components/Questions/Radio.vue +33 -0
- package/components/Questions/Reference.vue +2 -0
- package/components/Questions/String.vue +8 -3
- package/components/Questions/Yaml.vue +46 -0
- package/components/Questions/__tests__/Boolean.test.ts +123 -0
- package/components/Questions/__tests__/Float.test.ts +123 -0
- package/components/Questions/__tests__/Int.test.ts +123 -0
- package/components/Questions/__tests__/String.test.ts +123 -0
- package/components/Questions/__tests__/Yaml.test.ts +123 -0
- package/components/Questions/index.vue +8 -1
- package/components/ResourceTable.vue +6 -12
- package/components/SideNav.vue +634 -0
- package/components/__tests__/NamespaceFilter.test.ts +3 -4
- package/components/form/ResourceQuota/ProjectRow.vue +38 -15
- package/components/form/UnitInput.vue +1 -0
- package/components/form/__tests__/KeyValue.test.ts +2 -1
- package/components/form/__tests__/UnitInput.test.ts +2 -2
- package/components/formatter/ClusterProvider.vue +9 -3
- package/components/formatter/LinkName.vue +12 -1
- package/components/formatter/__tests__/ClusterProvider.test.ts +5 -1
- package/components/nav/Header.vue +1 -0
- package/components/nav/WorkspaceSwitcher.vue +4 -1
- package/config/settings.ts +59 -2
- package/config/types.js +2 -0
- package/core/plugin-helpers.js +4 -1
- package/core/types.ts +1 -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 +8 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +4 -4
- package/layouts/default.vue +11 -597
- package/middleware/authenticated.js +2 -14
- 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/models/fleet.cattle.io.gitrepo.js +3 -1
- package/package.json +1 -1
- package/pages/c/_cluster/fleet/index.vue +4 -0
- package/pages/c/_cluster/gatekeeper/index.vue +10 -1
- package/pages/c/_cluster/uiplugins/index.vue +3 -3
- 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/rancher-components/components/Form/LabeledInput/LabeledInput.vue +8 -0
- package/rancher-components/components/Form/Radio/RadioButton.test.ts +7 -3
- package/scripts/extension/parse-tag-name +30 -0
- package/types/shell/index.d.ts +3 -0
- package/utils/auth.js +17 -0
- package/utils/object.js +0 -1
- package/utils/settings.ts +2 -17
- package/utils/validators/__tests__/cidr.test.ts +33 -0
- package/utils/validators/cidr.js +5 -0
- 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
package/yarn-error.log
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/Users/aalves/.nvm/versions/node/v16.19.1/bin/node /Users/aalves/.nvm/versions/node/v16.19.1/bin/yarn publish . --new-version 0.3.22 --no-git-tag-version --access public
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/Users/aalves/.rd/bin:/Users/aalves/.nvm/versions/node/v16.19.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/aalves/.rd/bin:/Users/aalves/.nvm/versions/node/v16.19.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.22.19
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
16.19.1
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
darwin arm64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
Error: https://registry.yarnpkg.com/-/user/org.couchdb.user:aalves08: failed to authenticate: Could not authenticate aalves08: bad password
|
|
18
|
+
at Request.params.callback [as _callback] (/Users/aalves/.nvm/versions/node/v16.19.1/lib/node_modules/yarn/lib/cli.js:66145:18)
|
|
19
|
+
at Request.self.callback (/Users/aalves/.nvm/versions/node/v16.19.1/lib/node_modules/yarn/lib/cli.js:140890:22)
|
|
20
|
+
at Request.emit (node:events:513:28)
|
|
21
|
+
at Request.<anonymous> (/Users/aalves/.nvm/versions/node/v16.19.1/lib/node_modules/yarn/lib/cli.js:141862:10)
|
|
22
|
+
at Request.emit (node:events:513:28)
|
|
23
|
+
at IncomingMessage.<anonymous> (/Users/aalves/.nvm/versions/node/v16.19.1/lib/node_modules/yarn/lib/cli.js:141784:12)
|
|
24
|
+
at Object.onceWrapper (node:events:627:28)
|
|
25
|
+
at IncomingMessage.emit (node:events:525:35)
|
|
26
|
+
at endReadableNT (node:internal/streams/readable:1358:12)
|
|
27
|
+
at processTicksAndRejections (node:internal/process/task_queues:83:21)
|
|
28
|
+
|
|
29
|
+
npm manifest:
|
|
30
|
+
{
|
|
31
|
+
"name": "@rancher/shell",
|
|
32
|
+
"version": "0.3.22",
|
|
33
|
+
"description": "Rancher Dashboard Shell",
|
|
34
|
+
"repository": "https://github.com/rancherlabs/dashboard",
|
|
35
|
+
"license": "Apache-2.0",
|
|
36
|
+
"author": "SUSE",
|
|
37
|
+
"private": false,
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=12"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"**/*"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"clean": "./scripts/clean",
|
|
46
|
+
"lint": "./node_modules/.bin/eslint --max-warnings 0 --ext .ts,.js,.vue .",
|
|
47
|
+
"test": "./node_modules/.bin/nyc ava --serial --verbose",
|
|
48
|
+
"dev": "./node_modules/.bin/vue-cli-service dev",
|
|
49
|
+
"docker-dev": "docker run --rm --name dashboard-dev -p 8005:8005 -e API=$API -v $(pwd):/src -v dashboard_node:/src/node_modules rancher/dashboard:dev",
|
|
50
|
+
"build": "./node_modules/.bin/vue-cli-service build",
|
|
51
|
+
"analyze": "./node_modules/.bin/vue-cli-service build --report",
|
|
52
|
+
"start": "./node_modules/.bin/vue-cli-service start",
|
|
53
|
+
"cy:run": "cypress run",
|
|
54
|
+
"cy:open": "cypress open",
|
|
55
|
+
"e2e:pre": "NODE_ENV=dev yarn build",
|
|
56
|
+
"e2e:run": "NODE_ENV=dev START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start https://localhost:8005/ cy:run",
|
|
57
|
+
"e2e:dev": "start-server-and-test dev https://localhost:8005 cy:open"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@aws-sdk/client-ec2": "3.1.0",
|
|
61
|
+
"@aws-sdk/client-eks": "3.1.0",
|
|
62
|
+
"@aws-sdk/client-kms": "3.8.1",
|
|
63
|
+
"@babel/plugin-proposal-optional-chaining": "7.14.5",
|
|
64
|
+
"@babel/plugin-proposal-private-property-in-object": "7.14.5",
|
|
65
|
+
"@babel/preset-typescript": "7.16.7",
|
|
66
|
+
"@innologica/vue-dropdown-menu": "0.1.3",
|
|
67
|
+
"@novnc/novnc": "1.2.0",
|
|
68
|
+
"@nuxt/types": "2.14.6",
|
|
69
|
+
"@nuxt/typescript-build": "2.1.0",
|
|
70
|
+
"@nuxtjs/axios": "5.12.0",
|
|
71
|
+
"@nuxtjs/eslint-config-typescript": "6.0.1",
|
|
72
|
+
"@nuxtjs/webpack-profile": "0.1.0",
|
|
73
|
+
"@popperjs/core": "2.4.4",
|
|
74
|
+
"@types/node": "16.4.3",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
76
|
+
"@typescript-eslint/parser": "4.33.0",
|
|
77
|
+
"@vue/cli-plugin-babel": "4.5.18",
|
|
78
|
+
"@vue/cli-plugin-typescript": "4.5.18",
|
|
79
|
+
"@vue/cli-service": "4.5.18",
|
|
80
|
+
"@vue/test-utils": "1.2.1",
|
|
81
|
+
"@vue/vue2-jest": "27.0.0",
|
|
82
|
+
"add": "2.0.6",
|
|
83
|
+
"ansi_up": "5.0.0",
|
|
84
|
+
"babel-eslint": "10.1.0",
|
|
85
|
+
"babel-plugin-module-resolver": "4.0.0",
|
|
86
|
+
"babel-preset-vue": "2.0.2",
|
|
87
|
+
"browser-env": "3.3.0",
|
|
88
|
+
"cookie": "0.5.0",
|
|
89
|
+
"cookie-universal-nuxt": "2.1.4",
|
|
90
|
+
"core-js": "3.21.1",
|
|
91
|
+
"cron-validator": "1.2.0",
|
|
92
|
+
"cronstrue": "1.95.0",
|
|
93
|
+
"cross-env": "6.0.3",
|
|
94
|
+
"css-loader": "6.7.3",
|
|
95
|
+
"csv-loader": "3.0.3",
|
|
96
|
+
"cypress": "10.3.1",
|
|
97
|
+
"d3": "7.3.0",
|
|
98
|
+
"d3-selection": "1.4.1",
|
|
99
|
+
"dagre-d3": "0.6.4",
|
|
100
|
+
"dayjs": "1.8.29",
|
|
101
|
+
"diff2html": "3.4.24",
|
|
102
|
+
"dompurify": "2.4.5",
|
|
103
|
+
"eslint": "7.32.0",
|
|
104
|
+
"eslint-config-standard": "16.0.3",
|
|
105
|
+
"eslint-import-resolver-node": "0.3.4",
|
|
106
|
+
"eslint-module-utils": "2.6.1",
|
|
107
|
+
"eslint-plugin-cypress": "2.12.1",
|
|
108
|
+
"eslint-plugin-import": "2.23.4",
|
|
109
|
+
"eslint-plugin-jest": "24.4.0",
|
|
110
|
+
"eslint-plugin-n": "15.2.0",
|
|
111
|
+
"eslint-plugin-vue": "9.10.0",
|
|
112
|
+
"event-target-shim": "5.0.1",
|
|
113
|
+
"express": "4.17.1",
|
|
114
|
+
"file-saver": "2.0.2",
|
|
115
|
+
"frontmatter-markdown-loader": "3.7.0",
|
|
116
|
+
"identicon.js": "2.3.3",
|
|
117
|
+
"intl-messageformat": "7.8.4",
|
|
118
|
+
"is-url": "1.2.4",
|
|
119
|
+
"jest": "27.5.1",
|
|
120
|
+
"jest-serializer-vue": "2.0.2",
|
|
121
|
+
"jexl": "2.2.2",
|
|
122
|
+
"jquery": "3.5.1",
|
|
123
|
+
"js-cookie": "2.2.1",
|
|
124
|
+
"js-yaml": "4.1.0",
|
|
125
|
+
"js-yaml-loader": "1.2.2",
|
|
126
|
+
"jsdiff": "1.1.1",
|
|
127
|
+
"jsdom-global": "3.0.2",
|
|
128
|
+
"jsonpath-plus": "6.0.1",
|
|
129
|
+
"jsrsasign": "10.5.25",
|
|
130
|
+
"jszip": "3.8.0",
|
|
131
|
+
"lodash": "4.17.21",
|
|
132
|
+
"marked": "4.0.17",
|
|
133
|
+
"nodemon": "2.0.22",
|
|
134
|
+
"nuxt": "2.15.8",
|
|
135
|
+
"nyc": "15.1.0",
|
|
136
|
+
"papaparse": "5.3.0",
|
|
137
|
+
"portal-vue": "2.1.7",
|
|
138
|
+
"rancher-icons": "rancher/icons#v2.0.16",
|
|
139
|
+
"require-extension-hooks": "0.3.3",
|
|
140
|
+
"require-extension-hooks-babel": "1.0.0",
|
|
141
|
+
"require-extension-hooks-vue": "3.0.0",
|
|
142
|
+
"sass": "1.51.0",
|
|
143
|
+
"sass-loader": "10.2.1",
|
|
144
|
+
"serve-static": "1.14.1",
|
|
145
|
+
"set-cookie-parser": "2.4.6",
|
|
146
|
+
"shell-quote": "1.7.3",
|
|
147
|
+
"sinon": "8.1.1",
|
|
148
|
+
"start-server-and-test": "1.13.1",
|
|
149
|
+
"style-loader": "1.2.1",
|
|
150
|
+
"ts-node": "8.10.2",
|
|
151
|
+
"typescript": "4.1.6",
|
|
152
|
+
"url-parse": "1.5.10",
|
|
153
|
+
"v-tooltip": "2.0.3",
|
|
154
|
+
"vue": "2.7.14",
|
|
155
|
+
"vue-clipboard2": "0.3.1",
|
|
156
|
+
"vue-codemirror": "4.0.6",
|
|
157
|
+
"vue-js-modal": "1.3.35",
|
|
158
|
+
"vue-resize": "0.4.5",
|
|
159
|
+
"vue-select": "3.18.3",
|
|
160
|
+
"vue-server-renderer": "2.7.14",
|
|
161
|
+
"vue-shortkey": "3.1.7",
|
|
162
|
+
"vue-template-compiler": "2.7.14",
|
|
163
|
+
"vue-virtual-scroll-list": "^2.3.4",
|
|
164
|
+
"vue2-transitions": "0.3.0",
|
|
165
|
+
"vuedraggable": "2.24.3",
|
|
166
|
+
"vuex": "3.6.2",
|
|
167
|
+
"webpack-bundle-analyzer": "4.5.0",
|
|
168
|
+
"webpack-virtual-modules": "0.4.3",
|
|
169
|
+
"xterm": "5.0.0",
|
|
170
|
+
"xterm-addon-fit": "0.6.0",
|
|
171
|
+
"xterm-addon-search": "0.10.0",
|
|
172
|
+
"xterm-addon-web-links": "0.7.0",
|
|
173
|
+
"xterm-addon-webgl": "0.13.0",
|
|
174
|
+
"worker-loader": "3.0.8",
|
|
175
|
+
"yarn": "1.22.18"
|
|
176
|
+
},
|
|
177
|
+
"resolutions": {
|
|
178
|
+
"ejs": "^3.1.7",
|
|
179
|
+
"json5": ">=2.2.2",
|
|
180
|
+
"d3-color": ">=3.1.0",
|
|
181
|
+
"glob-parent": ">=5.1.2",
|
|
182
|
+
"node-forge": ">=1.3.0",
|
|
183
|
+
"qs": ">=6.7.3",
|
|
184
|
+
"nth-check": ">=2.0.1",
|
|
185
|
+
"follow-redirects": ">=1.14.7",
|
|
186
|
+
"merge": ">=2.1.1"
|
|
187
|
+
},
|
|
188
|
+
"nyc": {
|
|
189
|
+
"extension": [
|
|
190
|
+
".js",
|
|
191
|
+
".vue"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
yarn manifest:
|
|
197
|
+
No manifest
|
|
198
|
+
|
|
199
|
+
Lockfile:
|
|
200
|
+
No lockfile
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
name: Build and release container to registry
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
env:
|
|
9
|
-
REGISTRY: ghcr.io
|
|
10
|
-
IMAGE_NAME: ${{ github.repository }}
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
build:
|
|
14
|
-
name: Build container image
|
|
15
|
-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
permissions: write-all
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- name: Checkout repository
|
|
21
|
-
uses: actions/checkout@v3
|
|
22
|
-
|
|
23
|
-
- name: Configure Git
|
|
24
|
-
run: |
|
|
25
|
-
git config user.name "${{ github.actor }}"
|
|
26
|
-
git config user.email "${{ github.actor }}@users.noreply.github.com"
|
|
27
|
-
|
|
28
|
-
- name: Login to GitHub Container Registry
|
|
29
|
-
uses: docker/login-action@v2
|
|
30
|
-
with:
|
|
31
|
-
registry: ${{ env.REGISTRY }}
|
|
32
|
-
username: ${{ github.actor }}
|
|
33
|
-
password: ${{ secrets.GITHUB_TOKEN }}
|
|
34
|
-
|
|
35
|
-
- name: Setup Helm
|
|
36
|
-
uses: azure/setup-helm@v3
|
|
37
|
-
with:
|
|
38
|
-
version: v3.8.0
|
|
39
|
-
|
|
40
|
-
- name: Setup yq
|
|
41
|
-
uses: chrisdickinson/setup-yq@v1.0.1
|
|
42
|
-
with:
|
|
43
|
-
yq-version: v4.28.2
|
|
44
|
-
|
|
45
|
-
- name: Setup Nodejs and npm
|
|
46
|
-
uses: actions/setup-node@v3
|
|
47
|
-
with:
|
|
48
|
-
node-version: '16'
|
|
49
|
-
|
|
50
|
-
- name: Setup yarn
|
|
51
|
-
run: npm install -g yarn
|
|
52
|
-
|
|
53
|
-
- name: Setup Nodejs with yarn caching
|
|
54
|
-
uses: actions/setup-node@v3
|
|
55
|
-
with:
|
|
56
|
-
node-version: '16'
|
|
57
|
-
cache: yarn
|
|
58
|
-
|
|
59
|
-
- name: Install dependencies
|
|
60
|
-
run: yarn
|
|
61
|
-
|
|
62
|
-
- name: Build and push UI image
|
|
63
|
-
run: |
|
|
64
|
-
yarn publish-pkgs -cp -r ${{ env.REGISTRY }} -o ${{ github.repository_owner }}
|
|
@@ -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
|