mirror of https://github.com/helm/helm
Signed-off-by: Dmitrii Ermakov <demonihin@gmail.com>pull/9119/head
commit
69996fe309
@ -0,0 +1,29 @@
|
|||||||
|
name: build-pr
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout source code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: '1.16'
|
||||||
|
- name: Install golangci-lint
|
||||||
|
run: |
|
||||||
|
curl -sSLO https://github.com/golangci/golangci-lint/releases/download/v$GOLANGCI_LINT_VERSION/golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz
|
||||||
|
shasum -a 256 golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz | grep "^$GOLANGCI_LINT_SHA256 " > /dev/null
|
||||||
|
tar -xf golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz
|
||||||
|
sudo mv golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64/golangci-lint /usr/local/bin/golangci-lint
|
||||||
|
rm -rf golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64*
|
||||||
|
env:
|
||||||
|
GOLANGCI_LINT_VERSION: '1.36.0'
|
||||||
|
GOLANGCI_LINT_SHA256: '9b8856b3a1c9bfbcf3a06b78e94611763b79abd9751c245246787cd3bf0e78a5'
|
||||||
|
- name: Test style
|
||||||
|
run: make test-style
|
||||||
|
- name: Run unit tests
|
||||||
|
run: make test-coverage
|
@ -0,0 +1,5 @@
|
|||||||
|
bash
|
||||||
|
man
|
||||||
|
markdown
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,3 @@
|
|||||||
|
markdown
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,2 @@
|
|||||||
|
:0
|
||||||
|
Completion ended with directive: ShellCompDirectiveDefault
|
@ -0,0 +1,2 @@
|
|||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -1,5 +1,5 @@
|
|||||||
table
|
json Output result in JSON format
|
||||||
json
|
table Output result in human-readable format
|
||||||
yaml
|
yaml Output result in YAML format
|
||||||
:4
|
:4
|
||||||
Completion ended with directive: ShellCompDirectiveNoFileComp
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
echo plugin.complete was called
|
|
||||||
Namespace: default
|
|
||||||
Num args received: 1
|
|
||||||
Args received:
|
|
||||||
:0
|
|
||||||
Completion ended with directive: ShellCompDirectiveDefault
|
|
@ -0,0 +1,7 @@
|
|||||||
|
args echo args
|
||||||
|
echo echo stuff
|
||||||
|
env env stuff
|
||||||
|
exitwith exitwith code
|
||||||
|
fullenv show env vars
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,6 @@
|
|||||||
|
echo echo stuff
|
||||||
|
env env stuff
|
||||||
|
exitwith exitwith code
|
||||||
|
fullenv show env vars
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,5 @@
|
|||||||
|
aramis foo-0.1.0-beta.1 -> deployed
|
||||||
|
athos foo-0.1.0-beta.1 -> deployed
|
||||||
|
porthos foo-0.1.0-beta.1 -> deployed
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,4 @@
|
|||||||
|
aramis foo-0.1.0-beta.1 -> deployed
|
||||||
|
athos foo-0.1.0-beta.1 -> deployed
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,5 @@
|
|||||||
|
foo
|
||||||
|
bar
|
||||||
|
baz
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -0,0 +1,4 @@
|
|||||||
|
bar
|
||||||
|
baz
|
||||||
|
:4
|
||||||
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
@ -1,6 +1,6 @@
|
|||||||
8
|
8 App: 1.0, Chart: foo-0.1.0-beta.1
|
||||||
9
|
9 App: 1.0, Chart: foo-0.1.0-beta.1
|
||||||
10
|
10 App: 1.0, Chart: foo-0.1.0-beta.1
|
||||||
11
|
11 App: 1.0, Chart: foo-0.1.0-beta.1
|
||||||
:4
|
:4
|
||||||
Completion ended with directive: ShellCompDirectiveNoFileComp
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
carabins
|
carabins foo-0.1.0-beta.1 -> superseded
|
||||||
musketeers
|
musketeers foo-0.1.0-beta.1 -> deployed
|
||||||
:4
|
:4
|
||||||
Completion ended with directive: ShellCompDirectiveNoFileComp
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
|
||||||
testing/nginx-ingress a.b.c.sdfsdf Chart for nginx-ingress
|
|
@ -1,2 +0,0 @@
|
|||||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
|
||||||
testing/mariadb 0.3.0-0565674 Chart for MariaDB
|
|
@ -1,4 +1,4 @@
|
|||||||
aramis
|
aramis Aramis-chart-0.0.0 -> uninstalled
|
||||||
athos
|
athos Athos-chart-1.2.3 -> deployed
|
||||||
:4
|
:4
|
||||||
Completion ended with directive: ShellCompDirectiveNoFileComp
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
||||||
|
@ -0,0 +1,114 @@
|
|||||||
|
---
|
||||||
|
# Source: subchart/templates/subdir/serviceaccount.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: subchart-sa
|
||||||
|
---
|
||||||
|
# Source: subchart/templates/subdir/role.yaml
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: subchart-role
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["pods"]
|
||||||
|
verbs: ["get","list","watch"]
|
||||||
|
---
|
||||||
|
# Source: subchart/templates/subdir/rolebinding.yaml
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: subchart-binding
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: subchart-role
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: subchart-sa
|
||||||
|
namespace: default
|
||||||
|
---
|
||||||
|
# Source: subchart/charts/subcharta/templates/service.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: subcharta
|
||||||
|
labels:
|
||||||
|
helm.sh/chart: "subcharta-0.1.0"
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: apache
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: subcharta
|
||||||
|
---
|
||||||
|
# Source: subchart/charts/subchartb/templates/service.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: subchartb
|
||||||
|
labels:
|
||||||
|
helm.sh/chart: "subchartb-0.1.0"
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: nginx
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: subchartb
|
||||||
|
---
|
||||||
|
# Source: subchart/templates/service.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: subchart
|
||||||
|
labels:
|
||||||
|
helm.sh/chart: "subchart-0.1.0"
|
||||||
|
app.kubernetes.io/instance: "RELEASE-NAME"
|
||||||
|
kube-version/major: "1"
|
||||||
|
kube-version/minor: "16"
|
||||||
|
kube-version/version: "v1.16.0"
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: nginx
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: subchart
|
||||||
|
---
|
||||||
|
# Source: subchart/templates/tests/test-config.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: "RELEASE-NAME-testconfig"
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": test
|
||||||
|
data:
|
||||||
|
message: Hello World
|
||||||
|
---
|
||||||
|
# Source: subchart/templates/tests/test-nothing.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "RELEASE-NAME-test"
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": test
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: test
|
||||||
|
image: "alpine:latest"
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: "RELEASE-NAME-testconfig"
|
||||||
|
command:
|
||||||
|
- echo
|
||||||
|
- "$message"
|
||||||
|
restartPolicy: Never
|
@ -0,0 +1,9 @@
|
|||||||
|
Release "funny-bunny" has been upgraded. Happy Helming!
|
||||||
|
NAME: funny-bunny
|
||||||
|
LAST DEPLOYED: Fri Sep 2 22:04:05 1977
|
||||||
|
NAMESPACE: default
|
||||||
|
STATUS: deployed
|
||||||
|
REVISION: 3
|
||||||
|
TEST SUITE: None
|
||||||
|
NOTES:
|
||||||
|
PARENT NOTES
|
@ -1 +1 @@
|
|||||||
version.BuildInfo{Version:"v3.5", GitCommit:"", GitTreeState:"", GoVersion:""}
|
version.BuildInfo{Version:"v3.6", GitCommit:"", GitTreeState:"", GoVersion:""}
|
||||||
|
@ -1 +1 @@
|
|||||||
version.BuildInfo{Version:"v3.5", GitCommit:"", GitTreeState:"", GoVersion:""}
|
version.BuildInfo{Version:"v3.6", GitCommit:"", GitTreeState:"", GoVersion:""}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
0.3.0-rc.1
|
0.3.0-rc.1 App: 3.0.0, Created: November 12, 2020
|
||||||
0.2.0
|
0.2.0 App: 2.3.4, Created: July 9, 2018
|
||||||
0.1.0
|
0.1.0 App: 1.2.3, Created: June 27, 2018 (deprecated)
|
||||||
:4
|
:4
|
||||||
Completion ended with directive: ShellCompDirectiveNoFileComp
|
Completion ended with directive: ShellCompDirectiveNoFileComp
|
||||||
|
@ -1 +1 @@
|
|||||||
v3.5
|
v3.6
|
||||||
|
@ -1 +1 @@
|
|||||||
Version: v3.5
|
Version: v3.6
|
@ -1 +1 @@
|
|||||||
version.BuildInfo{Version:"v3.5", GitCommit:"", GitTreeState:"", GoVersion:""}
|
version.BuildInfo{Version:"v3.6", GitCommit:"", GitTreeState:"", GoVersion:""}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
password
|
@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: subchart-with-notes
|
||||||
|
repository: file://../chart-with-subchart-notes/charts/subchart-with-notes
|
||||||
|
version: 0.0.1
|
||||||
|
digest: sha256:8ca45f73ae3f6170a09b64a967006e98e13cd91eb51e5ab0599bb87296c7df0a
|
||||||
|
generated: "2021-05-02T15:07:22.1099921+02:00"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue