mirror of https://github.com/helm/helm
Merge pull request #4024 from adamreese/dev-v3-golden
ref(tests): use golden files for testing command outputpull/4027/head
commit
4015a653f8
@ -0,0 +1 @@
|
||||
Error: command 'delete' requires a release name
|
@ -0,0 +1 @@
|
||||
release "aeneas" deleted
|
@ -0,0 +1 @@
|
||||
release "aeneas" deleted
|
@ -0,0 +1 @@
|
||||
release "aeneas" deleted
|
@ -0,0 +1 @@
|
||||
release "aeneas" deleted
|
@ -0,0 +1,4 @@
|
||||
NAME VERSION REPOSITORY STATUS
|
||||
reqsubchart 0.1.0 https://example.com/charts missing
|
||||
reqsubchart2 0.2.0 https://example.com/charts missing
|
||||
|
@ -0,0 +1 @@
|
||||
Error: stat /no/such/chart: no such file or directory
|
@ -0,0 +1 @@
|
||||
WARNING: no requirements at testdata/testcharts/alpine/charts
|
@ -0,0 +1,5 @@
|
||||
NAME VERSION REPOSITORY STATUS
|
||||
reqsubchart 0.1.0 https://example.com/charts unpacked
|
||||
reqsubchart2 0.2.0 https://example.com/charts unpacked
|
||||
reqsubchart3 >=0.1.0 https://example.com/charts ok
|
||||
|
@ -0,0 +1 @@
|
||||
Error: release name is required
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
@ -0,0 +1 @@
|
||||
Error: release name is required
|
@ -0,0 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
@ -0,0 +1 @@
|
||||
Error: release name is required
|
@ -0,0 +1,23 @@
|
||||
REVISION: 1
|
||||
RELEASED: Fri Sep 2 22:04:05 1977
|
||||
CHART: foo-0.1.0-beta.1
|
||||
USER-SUPPLIED VALUES:
|
||||
name: "value"
|
||||
COMPUTED VALUES:
|
||||
name: value
|
||||
|
||||
HOOKS:
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
|
||||
MANIFEST:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
@ -0,0 +1 @@
|
||||
Error: release name is required
|
@ -0,0 +1 @@
|
||||
name: "value"
|
@ -0,0 +1,3 @@
|
||||
REVISION UPDATED STATUS CHART DESCRIPTION
|
||||
3 1977-09-02 22:04:05 +0000 UTC superseded foo-0.1.0-beta.1 Release mock
|
||||
4 1977-09-02 22:04:05 +0000 UTC deployed foo-0.1.0-beta.1 Release mock
|
@ -0,0 +1 @@
|
||||
[{"revision":3,"updated":"1977-09-02 22:04:05 +0000 UTC","status":"superseded","chart":"foo-0.1.0-beta.1","description":"Release mock"},{"revision":4,"updated":"1977-09-02 22:04:05 +0000 UTC","status":"deployed","chart":"foo-0.1.0-beta.1","description":"Release mock"}]
|
@ -0,0 +1,5 @@
|
||||
REVISION UPDATED STATUS CHART DESCRIPTION
|
||||
1 1977-09-02 22:04:05 +0000 UTC superseded foo-0.1.0-beta.1 Release mock
|
||||
2 1977-09-02 22:04:05 +0000 UTC superseded foo-0.1.0-beta.1 Release mock
|
||||
3 1977-09-02 22:04:05 +0000 UTC superseded foo-0.1.0-beta.1 Release mock
|
||||
4 1977-09-02 22:04:05 +0000 UTC deployed foo-0.1.0-beta.1 Release mock
|
@ -0,0 +1,11 @@
|
||||
- chart: foo-0.1.0-beta.1
|
||||
description: Release mock
|
||||
revision: 3
|
||||
status: superseded
|
||||
updated: 1977-09-02 22:04:05 +0000 UTC
|
||||
- chart: foo-0.1.0-beta.1
|
||||
description: Release mock
|
||||
revision: 4
|
||||
status: deployed
|
||||
updated: 1977-09-02 22:04:05 +0000 UTC
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: aeneas
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: FOOBAR
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1 @@
|
||||
Error: This command needs 1 argument: chart name
|
@ -0,0 +1,5 @@
|
||||
NAME: aeneas
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: virgil
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: virgil
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: foobar
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: virgil
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: virgil
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: apollo
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,5 @@
|
||||
NAME: aeneas
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
thomas-guide
|
||||
atlas-guide
|
@ -0,0 +1,3 @@
|
||||
NAME REVISION UPDATED STATUS CHART NAMESPACE
|
||||
thomas-guide 1 1977-09-02 22:04:05 +0000 UTC deployed foo-0.1.0-beta.1 default
|
||||
thomas-guide 1 1977-09-02 22:04:05 +0000 UTC failed foo-0.1.0-beta.1 default
|
@ -0,0 +1,4 @@
|
||||
thomas-guide
|
||||
wild-idea
|
||||
crazy-maps
|
||||
atlas-guide
|
@ -0,0 +1,2 @@
|
||||
NAME REVISION UPDATED STATUS CHART NAMESPACE
|
||||
thomas-guide 1 1977-09-02 22:04:05 +0000 UTC deployed foo-0.1.0-beta.1 default
|
@ -0,0 +1,2 @@
|
||||
NAME REVISION UPDATED STATUS CHART NAMESPACE
|
||||
atlas 1 1977-09-02 22:04:05 +0000 UTC deployed foo-0.1.0-beta.1 default
|
@ -0,0 +1 @@
|
||||
"test-name" has been added to your repositories
|
@ -0,0 +1 @@
|
||||
Error: This command needs 2 arguments: release name, revision number
|
@ -0,0 +1 @@
|
||||
Rollback was a success! Happy Helming!
|
@ -0,0 +1 @@
|
||||
Rollback was a success! Happy Helming!
|
@ -0,0 +1 @@
|
||||
Rollback was a success! Happy Helming!
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.2.0 2.3.4 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.1.0 1.2.3 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,3 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.2.0 2.3.4 Deploy a basic Alpine Linux pod
|
||||
testing/alpine 0.1.0 1.2.3 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,3 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.2.0 2.3.4 Deploy a basic Alpine Linux pod
|
||||
testing/alpine 0.1.0 1.2.3 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.2.0 2.3.4 Deploy a basic Alpine Linux pod
|
@ -0,0 +1 @@
|
||||
No results found
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.2.0 2.3.4 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/mariadb 0.3.0 Chart for MariaDB
|
@ -0,0 +1,2 @@
|
||||
NAME CHART VERSION APP VERSION DESCRIPTION
|
||||
testing/alpine 0.1.0 1.2.3 Deploy a basic Alpine Linux pod
|
@ -0,0 +1,6 @@
|
||||
LAST DEPLOYED: 2016-01-16 00:00:00 +0000 UTC
|
||||
NAMESPACE:
|
||||
STATUS: deployed
|
||||
|
||||
NOTES:
|
||||
release notes
|
@ -0,0 +1,8 @@
|
||||
LAST DEPLOYED: 2016-01-16 00:00:00 +0000 UTC
|
||||
NAMESPACE:
|
||||
STATUS: deployed
|
||||
|
||||
RESOURCES:
|
||||
resource A
|
||||
resource B
|
||||
|
@ -0,0 +1,11 @@
|
||||
LAST DEPLOYED: 2016-01-16 00:00:00 +0000 UTC
|
||||
NAMESPACE:
|
||||
STATUS: deployed
|
||||
|
||||
TEST SUITE:
|
||||
Last Started: 0001-01-01 00:00:00 +0000 UTC
|
||||
Last Completed: 0001-01-01 00:00:00 +0000 UTC
|
||||
|
||||
TEST STATUS INFO STARTED COMPLETED
|
||||
test run 1 success extra info 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC
|
||||
test run 2 failure 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC
|
@ -0,0 +1 @@
|
||||
{"name":"flummoxed-chickadee","info":{"first_deployed":"0001-01-01T00:00:00Z","last_deployed":"2016-01-16T00:00:00Z","deleted":"0001-01-01T00:00:00Z","status":"deployed","notes":"release notes"}}
|
@ -0,0 +1,4 @@
|
||||
LAST DEPLOYED: 2016-01-16 00:00:00 +0000 UTC
|
||||
NAMESPACE:
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,9 @@
|
||||
info:
|
||||
deleted: 0001-01-01T00:00:00Z
|
||||
first_deployed: 0001-01-01T00:00:00Z
|
||||
last_deployed: 2016-01-16T00:00:00Z
|
||||
resources: |
|
||||
resource A
|
||||
resource B
|
||||
status: deployed
|
||||
name: flummoxed-chickadee
|
@ -0,0 +1,2 @@
|
||||
ERROR: yellow lights everywhere
|
||||
Error: 1 test(s) failed
|
@ -0,0 +1,2 @@
|
||||
FAILURE: red lights everywhere
|
||||
Error: 1 test(s) failed
|
@ -0,0 +1 @@
|
||||
RUNNING: things are happpeningggg
|
@ -0,0 +1 @@
|
||||
UNKNOWN: yellow lights everywhere
|
@ -0,0 +1 @@
|
||||
PASSED: green lights everywhere
|
@ -0,0 +1 @@
|
||||
Error: cannot load requirements: error converting YAML to JSON: yaml: line 2: did not find expected '-' indicator
|
@ -0,0 +1,49 @@
|
||||
REVISION: 1
|
||||
RELEASED: Fri Sep 2 22:04:05 1977
|
||||
CHART: testUpgradeChart-0.1.0
|
||||
USER-SUPPLIED VALUES:
|
||||
name: "value"
|
||||
COMPUTED VALUES:
|
||||
affinity: {}
|
||||
fullnameOverride: ""
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: nginx
|
||||
tag: stable
|
||||
ingress:
|
||||
annotations: {}
|
||||
enabled: false
|
||||
hosts:
|
||||
- chart-example.local
|
||||
path: /
|
||||
tls: []
|
||||
name: value
|
||||
nameOverride: ""
|
||||
nodeSelector: {}
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
service:
|
||||
port: 80
|
||||
type: ClusterIP
|
||||
tolerations: []
|
||||
|
||||
HOOKS:
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
|
||||
MANIFEST:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
||||
Release "crazy-bunny" has been upgraded. Happy Helming!
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,49 @@
|
||||
REVISION: 1
|
||||
RELEASED: Fri Sep 2 22:04:05 1977
|
||||
CHART: testUpgradeChart-0.1.0
|
||||
USER-SUPPLIED VALUES:
|
||||
name: "value"
|
||||
COMPUTED VALUES:
|
||||
affinity: {}
|
||||
fullnameOverride: ""
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: nginx
|
||||
tag: stable
|
||||
ingress:
|
||||
annotations: {}
|
||||
enabled: false
|
||||
hosts:
|
||||
- chart-example.local
|
||||
path: /
|
||||
tls: []
|
||||
name: value
|
||||
nameOverride: ""
|
||||
nodeSelector: {}
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
service:
|
||||
port: 80
|
||||
type: ClusterIP
|
||||
tolerations: []
|
||||
|
||||
HOOKS:
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
|
||||
MANIFEST:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
||||
Release "zany-bunny" has been upgraded. Happy Helming!
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1 @@
|
||||
Error: This command needs 2 arguments: release name, chart path
|
@ -0,0 +1,49 @@
|
||||
REVISION: 4
|
||||
RELEASED: Fri Sep 2 22:04:05 1977
|
||||
CHART: testUpgradeChart-0.1.0
|
||||
USER-SUPPLIED VALUES:
|
||||
name: "value"
|
||||
COMPUTED VALUES:
|
||||
affinity: {}
|
||||
fullnameOverride: ""
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: nginx
|
||||
tag: stable
|
||||
ingress:
|
||||
annotations: {}
|
||||
enabled: false
|
||||
hosts:
|
||||
- chart-example.local
|
||||
path: /
|
||||
tls: []
|
||||
name: value
|
||||
nameOverride: ""
|
||||
nodeSelector: {}
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
service:
|
||||
port: 80
|
||||
type: ClusterIP
|
||||
tolerations: []
|
||||
|
||||
HOOKS:
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
|
||||
MANIFEST:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
||||
Release "funny-bunny" has been upgraded. Happy Helming!
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
@ -0,0 +1,49 @@
|
||||
REVISION: 5
|
||||
RELEASED: Fri Sep 2 22:04:05 1977
|
||||
CHART: testUpgradeChart-0.1.0
|
||||
USER-SUPPLIED VALUES:
|
||||
name: "value"
|
||||
COMPUTED VALUES:
|
||||
affinity: {}
|
||||
fullnameOverride: ""
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: nginx
|
||||
tag: stable
|
||||
ingress:
|
||||
annotations: {}
|
||||
enabled: false
|
||||
hosts:
|
||||
- chart-example.local
|
||||
path: /
|
||||
tls: []
|
||||
name: value
|
||||
nameOverride: ""
|
||||
nodeSelector: {}
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
service:
|
||||
port: 80
|
||||
type: ClusterIP
|
||||
tolerations: []
|
||||
|
||||
HOOKS:
|
||||
---
|
||||
# pre-install-hook
|
||||
apiVersion: v1
|
||||
kind: Job
|
||||
metadata:
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
|
||||
MANIFEST:
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: fixture
|
||||
|
||||
Release "funny-bunny" has been upgraded. Happy Helming!
|
||||
LAST DEPLOYED: 1977-09-02 22:04:05 +0000 UTC
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue