Skip to content

Commit 0754977

Browse files
committed
Merge branch 'master' of github.com:IBM-Cloud/secure-file-storage
2 parents 432e482 + ac2c148 commit 0754977

37 files changed

+1073
-1031
lines changed

.bluemix/classic.yml

Lines changed: 0 additions & 172 deletions
This file was deleted.

.bluemix/deploy.json

Lines changed: 11 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@
3535
"params": ["api-key"]
3636
}
3737
},
38-
"target-resource-group": {
39-
"description": {
40-
"$ref": "#/messages/deploy.groupDescription"
41-
},
42-
"type": "string",
43-
"pattern": "\\S",
44-
"validator": {
45-
"v-type": "resource-group",
46-
"params": ["api-key"]
47-
}
48-
},
4938
"image-name": {
5039
"description": {
5140
"$ref": "#/messages/deploy.imageDescription"
@@ -65,33 +54,20 @@
6554
"validate": false
6655
}
6756
},
68-
"target-cluster-name": {
57+
"schematics-workspace-id": {
6958
"description": {
70-
"$ref": "#/messages/deploy.clusterDescription"
71-
},
72-
"type": "string",
73-
"pattern": "\\S",
74-
"validator": {
75-
"v-type": "k8s-cluster-name",
76-
"params": ["target-resource-group", "target-region"]
77-
}
78-
},
79-
"target-cluster-namespace": {
80-
"description": {
81-
"$ref": "#/messages/deploy.namespaceDescription"
59+
"$ref": "#/messages/deploy.schematicsWorkspaceDescription"
8260
},
8361
"type": "string",
8462
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
8563
}
86-
},
87-
"required": [
64+
},
65+
"required": [
8866
"api-key",
8967
"target-region",
90-
"target-resource-group",
9168
"image-name",
9269
"registry-namespace",
93-
"target-cluster-name",
94-
"target-cluster-namespace"
70+
"schematics-workspace-id"
9571
],
9672
"form": [
9773
{
@@ -118,41 +94,26 @@
11894
"type": "select",
11995
"readonly": false,
12096
"title": {
121-
"$ref": "#/messages/deploy.groupName"
97+
"$ref": "#/messages/deploy.imageRegistryNamespace"
12298
},
123-
"key": "target-resource-group"
99+
"key": "registry-namespace"
124100
},
125101
{
126102
"type": "select",
127103
"readonly": false,
128104
"title": {
129-
"$ref": "#/messages/deploy.imageRegistryNamespace"
105+
"$ref": "#/messages/deploy.schematicsWorkspace"
130106
},
131-
"key": "registry-namespace"
107+
"key": "schematics-workspace-id"
132108
},
109+
133110
{
134111
"type": "text",
135112
"readonly": false,
136113
"title": {
137114
"$ref": "#/messages/deploy.imageName"
138115
},
139116
"key": "image-name"
140-
},
141-
{
142-
"key": "target-cluster-name",
143-
"readonly": false,
144-
"type": "select",
145-
"title": {
146-
"$ref": "#/messages/deploy.clusterName"
147-
}
148-
},
149-
{
150-
"type": "text",
151-
"readonly": false,
152-
"title": {
153-
"$ref": "#/messages/deploy.namespaceName"
154-
},
155-
"key": "target-cluster-namespace"
156117
}
157-
]
118+
]
158119
}

.bluemix/nls/messages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ deploy.clusterNote: "Retrieve the Kubernetes cluster name with the CLI command '
2020
region: "Region"
2121
deploy.groupName: "Resource group where to create resources"
2222
deploy.groupDescription: "Resource group where to create resources"
23+
deploy.schematicsWorkspace: "Schematics workspace ID"
24+
deploy.schematicsWorkspaceDescription: "Schematics workspace ID for workspace with deployed resources"

.bluemix/tekton.yml

Lines changed: 19 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,76 +3,39 @@ inputs:
33
branch: ${GIT_BRANCH}
44
path: .tekton
55
service: repo
6+
- type: git
7+
branch: master
8+
service: ${TEKTON_CATALOG_REPO}
9+
path: container-registry
610
properties:
7-
- name: GIT_REPO
11+
- name: git-repository
812
value: ${GIT_REPO_URL}
913
type: text
10-
- name: GIT_BRANCH
14+
- name: git-branch
1115
value: ${GIT_BRANCH}
1216
type: text
13-
- name: API_KEY
17+
- name: apikey
1418
value: ${API_KEY}
1519
type: SECURE
16-
- name: REGISTRY_REGION_ID
20+
- name: registry-region
1721
value: ${REGISTRY_REGION_ID}
18-
type: text
19-
- name: REGISTRY_NAMESPACE
22+
type: text
23+
- name: registry-namespace
2024
value: ${REGISTRY_NAMESPACE}
2125
type: text
22-
- name: TARGET_CLUSTER_NAME
23-
value: ${TARGET_CLUSTER_NAME}
26+
- name: schematics-workspace-id
27+
value: ${SCHEMATICS_WORKSPACE_ID}
2428
type: text
25-
- name: IMAGE_NAME
29+
- name: image-name
2630
value: ${IMAGE_NAME}
2731
type: text
28-
- name: TARGET_REGION_ID
32+
- name: target-region
2933
value: ${TARGET_REGION_ID}
30-
type: text
31-
- name: TARGET_NAMESPACE
32-
value: ${TARGET_NAMESPACE}
33-
type: text
34-
- name: TARGET_RESOURCE_GROUP
35-
value: ${TARGET_RESOURCE_GROUP}
36-
type: text
37-
- name: COS_PLAN
38-
value: "lite"
39-
type: text
40-
- name: APP_ID_PLAN
41-
value: "lite"
42-
type: text
43-
- name: CLOUDANT_PLAN
44-
value: "lite"
45-
type: text
34+
type: text
4635
triggers:
47-
- eventListener: BUILD-DEPLOY-two-task
48-
branch: master
49-
events:
50-
push: true
51-
name: git-BUILD-DEPLOY-two-task
52-
properties: []
53-
type: git
54-
service: repo
55-
- eventListener: BUILD
56-
name: BUILD
57-
type: manual
58-
- eventListener: DEPLOY
59-
name: DEPLOY
60-
type: manual
61-
- eventListener: BUILD-DEPLOY-two-task
62-
name: BUILD-DEPLOY-two-task
63-
type: manual
64-
- eventListener: BUILD-DEPLOY-one-task
65-
name: BUILD-DEPLOY-one-task
66-
type: manual
67-
- eventListener: ROTATE_STORAGE_CREDENTIALS
68-
name: ROTATE_STORAGE_CREDENTIALS
69-
type: manual
70-
- eventListener: ROTATE_APPID_CREDENTIALS
71-
name: ROTATE_APPID_CREDENTIALS
72-
type: manual
73-
- eventListener: ROTATE_REGISTRY_CREDENTIALS
74-
name: ROTATE_REGISTRY_CREDENTIALS
36+
- eventListener: manual-listener-builddeploy
37+
name: manual-builddeploy
7538
type: manual
76-
- eventListener: UNINSTALL
77-
name: UNINSTALL
39+
- eventListener: manual-listener-uninstall
40+
name: manual-uninstall
7841
type: manual

0 commit comments

Comments
 (0)