Skip to content
This repository was archived by the owner on Nov 10, 2019. It is now read-only.

Commit cfecd86

Browse files
metadata update
1 parent cb01c24 commit cfecd86

File tree

6 files changed

+112
-41
lines changed

6 files changed

+112
-41
lines changed

plugins/gke/example.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
create-cluster:
2+
image: codefresh/plugin-gke
3+
commands:
4+
- gke-create gke-test-cluster-1 --zone=us-central1-a --num-nodes 2 --machine-type n1-standard-2
5+
6+
deploy-my-service:
7+
image: codefresh/plugin-gke
8+
commands:
9+
- kubectl get pods --all-namespaces -owide
10+
# - deploy.sh
11+
# - kubectl run --image mytestimage
12+
# - check-status.sh
13+
14+
clean:
15+
image: codefresh/plugin-gke
16+
commands:
17+
- gke-delete gke-test-cluster-1 --zone=us-central1-a

plugins/gke/plugin.yaml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
image: codefresh/plugin-gke
2-
tag: latest
3-
version: 0.1.0
1+
title: GKE Plugin
2+
image: codefresh/plugin-gke:latest
43
description: Codefresh gke plugin
5-
keywords:
6-
- kubernetes
7-
- gke
8-
- gcloud
9-
home: https://github.com/codefresh-io/plugin-gke
10-
sources:
11-
- https://github.com/codefresh-io/plugin-gke
4+
category:
5+
- Featured
6+
source: 'https://github.com/codefresh-io/plugin-gke'
7+
logo: 'https://raw.githubusercontent.com/codefresh-io/plugins/new-pipeline/plugins/vault/logo.jpg'
128
maintainers:
139
- name: Kosta Klevensky
14-
email: kosta@codefresh.io
15-
icon: https://cloud.google.com/images/products/logos/cloud-symbol.png
1610
envs:
17-
- name: GOOGLE_SERVICE_ACCOUNT_KEY
18-
type: required
11+
- name: VAULT_ADDR
12+
description: 'Vault server URI. Example: https://vault.testdomain.io:8200 (required)'
13+
- name: GOOGLE_SERVICE_ACCOUNT_KEY (required)
1914
description: Google Service Account Key value
2015
- name: CLOUDSDK_COMPUTE_ZONE
21-
type: optional
2216
description: one of valid Google Compute zones
2317
- name: CLOUDSDK_COMPUTE_REGION
24-
type: optional
25-
description: one of valid Google Compute regions. If both CLOUDSDK_COMPUTE_ZONE and CLOUDSDK_COMPUTE_REGION are not set, default is us-central1
18+
description: 'one of valid Google Compute regions. If both CLOUDSDK_COMPUTE_ZONE and CLOUDSDK_COMPUTE_REGION are not set, default is us-central1'
2619
- name: GKE_CLUSTER_NAME
27-
type: optional
28-
description: Name of the cluster to create/delete. Can be also set from gke-create command line. It is generated if not set
20+
description: 'Name of the cluster to create/delete. Can be also set from gke-create command line. It is generated if not set'

plugins/gke/plugin_old.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
image: codefresh/plugin-gke
2+
tag: latest
3+
version: 0.1.0
4+
description: Codefresh gke plugin
5+
keywords:
6+
- kubernetes
7+
- gke
8+
- gcloud
9+
home: https://github.com/codefresh-io/plugin-gke
10+
sources:
11+
- https://github.com/codefresh-io/plugin-gke
12+
maintainers:
13+
- name: Kosta Klevensky
14+
email: kosta@codefresh.io
15+
icon: https://cloud.google.com/images/products/logos/cloud-symbol.png
16+
envs:
17+
- name: GOOGLE_SERVICE_ACCOUNT_KEY
18+
type: required
19+
description: Google Service Account Key value
20+
- name: CLOUDSDK_COMPUTE_ZONE
21+
type: optional
22+
description: one of valid Google Compute zones
23+
- name: CLOUDSDK_COMPUTE_REGION
24+
type: optional
25+
description: one of valid Google Compute regions. If both CLOUDSDK_COMPUTE_ZONE and CLOUDSDK_COMPUTE_REGION are not set, default is us-central1
26+
- name: GKE_CLUSTER_NAME
27+
type: optional
28+
description: Name of the cluster to create/delete. Can be also set from gke-create command line. It is generated if not set

plugins/helm/example.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
deploy:
2+
image: codefresh/cfstep-helm:2.9.0
3+
environment:
4+
- CHART_REF=mychart
5+
- RELEASE_NAME=mychart-prod
6+
- KUBE_CONTEXT=kube-prod

plugins/helm/plugin.yaml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
1-
image: codefresh/cfstep-helm
2-
version: 1.0.0
3-
description: Release a Helm chart (update or install)
4-
keywords:
5-
- helm
6-
- kubernetes
7-
home: https://github.com/codefresh-io/pugins/tree/master/incubator/helm
8-
sources:
9-
- https://github.com/codefresh-contrib/cfplugin-step
10-
maintainers: # (optional)
1+
title: Release a Helm chart
2+
image: codefresh/cfstep-helm:2.9.0
3+
description: 'Release a Helm chart (update or install)'
4+
category:
5+
- Featured
6+
source: 'https://github.com/codefresh-contrib/cfplugin-step'
7+
logo: 'https://avatars0.githubusercontent.com/u/29493517?v=4&s=400'
8+
maintainers:
119
- name: Itay Shakury
12-
email: itaysk@codefresh.io
13-
icon: https://avatars0.githubusercontent.com/u/29493517?v=4&s=400
1410
envs:
1511
- name: KUBE_CONTEXT
16-
type: required
17-
description: Kubernetes context to use (the name of the cluster as configured in Codefresh)
12+
description: 'Kubernetes context to use (the name of the cluster as configured in Codefresh) (required)'
1813
- name: CHART_NAME
19-
type: required
20-
description: Helm chart name to release (path to chart folder, or name of packaged chart)
14+
description: 'Helm chart name to release (path to chart folder, or name of packaged chart) (required)'
2115
- name: RELEASE_NAME
2216
description: Helm release name
2317
- name: NAMESPACE
@@ -28,9 +22,7 @@ envs:
2822
description: application chart version to install
2923
- name: CHART_REPO_URL
3024
description: Helm chart repository URL (overriden by injected Helm repository context)
31-
- name: CUSTOMFILE_<name>
32-
description: Values file to provide to Helm (as --file). see usage information below.
33-
- name: CUSTOM_<name>
34-
description: Value to provide to Helm (as --set). see usage information below.
35-
context:
36-
- kind: kubernetes
25+
- name: 'CUSTOMFILE_<name>'
26+
description: 'Values file to provide to Helm (as --file). see usage information below.'
27+
- name: 'CUSTOM_<name>'
28+
description: 'Value to provide to Helm (as --set). see usage information below.'

plugins/helm/plugin_old.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
image: codefresh/cfstep-helm
2+
version: 1.0.0
3+
description: Release a Helm chart (update or install)
4+
keywords:
5+
- helm
6+
- kubernetes
7+
home: https://github.com/codefresh-io/pugins/tree/master/incubator/helm
8+
sources:
9+
- https://github.com/codefresh-contrib/cfplugin-step
10+
maintainers: # (optional)
11+
- name: Itay Shakury
12+
email: itaysk@codefresh.io
13+
icon: https://avatars0.githubusercontent.com/u/29493517?v=4&s=400
14+
envs:
15+
- name: KUBE_CONTEXT
16+
type: required
17+
description: Kubernetes context to use (the name of the cluster as configured in Codefresh)
18+
- name: CHART_NAME
19+
type: required
20+
description: Helm chart name to release (path to chart folder, or name of packaged chart)
21+
- name: RELEASE_NAME
22+
description: Helm release name
23+
- name: NAMESPACE
24+
description: target Kubernetes namespace
25+
- name: TILLER_NAMESPACE
26+
description: Kubernetes namespace where tiller is at
27+
- name: CHART_VERSION
28+
description: application chart version to install
29+
- name: CHART_REPO_URL
30+
description: Helm chart repository URL (overriden by injected Helm repository context)
31+
- name: CUSTOMFILE_<name>
32+
description: Values file to provide to Helm (as --file). see usage information below.
33+
- name: CUSTOM_<name>
34+
description: Value to provide to Helm (as --set). see usage information below.
35+
context:
36+
- kind: kubernetes

0 commit comments

Comments
 (0)