Skip to content

Commit fb9e5d7

Browse files
author
Mengqi Yu
authored
Split curated and contrib functions in the build and release (#157)
1 parent 1db16fb commit fb9e5d7

File tree

19 files changed

+86
-69
lines changed

19 files changed

+86
-69
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Build node and Go docker images with latest tag
9090
if: matrix.platform == 'ubuntu-latest'
9191
run: |
92-
make TAG=latest build
92+
make TAG=unstable build
9393
- name: Run all tests
9494
if: matrix.platform == 'ubuntu-latest'
9595
run: |

CONTRIBUTING.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ This catalog is documented on the [kpt website]. Follow the
5959
Changes to other documentation such as examples and README files can follow the
6060
same pull request format as code changes.
6161

62-
## How to Release
63-
64-
We have spearate a release process for each language: golang and typescript.
65-
All functions written in the language get released together. Maintainers should
66-
create releases through the
67-
[Github UI](https://github.com/GoogleContainerTools/kpt-functions-catalog/releases).
68-
69-
The release title and the release tag version should both be of the form
70-
`release-[lang]-functions-v[version number]`. Risky changes are encouraged to be
71-
tagged as pre-releases to confirm production readiness.
72-
7362
## Contact Us
7463

7564
Do you need a review or release of configuration functions? We’d love to hear

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kpt-functions-catalog repo.
1212
`{funtion-name} {semver}`. The release notes for this function should be in
1313
the body.
1414
1. Click `Publish release` button.
15-
1. Send an announcement email in the kpt-function users google group.
16-
<!--- TODO: create this google group and link it here -->
15+
1. Send an announcement email in the [kpt users google group].
1716

1817
[releases pages]: https://github.com/GoogleContainerTools/kpt-functions-catalog/releases
18+
[kpt users google group]: https://groups.google.com/g/kpt-users

examples/helm-inflator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ metadata:
8888
annotations:
8989
config.kubernetes.io/function: |
9090
container:
91-
image: gcr.io/kpt-functions/helm-inflator
91+
image: gcr.io/kpt-fn-contrib/helm-inflator
9292
config.kubernetes.io/path: fn-config.yaml
9393
data:
9494
name: chart

examples/helm-inflator/local-configs/fn-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
annotations:
77
config.kubernetes.io/function: |
88
container:
9-
image: gcr.io/kpt-functions/helm-inflator
9+
image: gcr.io/kpt-fn-contrib/helm-inflator:unstable
1010
data:
1111
name: chart
1212
local-chart-path: /source

examples/istioctl-analyze/fn-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
annotations:
66
config.k8s.io/function: |
77
container:
8-
image: gcr.io/kpt-functions/istioctl-analyze
8+
image: gcr.io/kpt-fn-contrib/istioctl-analyze:unstable
99
config.kubernetes.io/local-config: 'true'
1010
data:
1111
'--use-kube': 'false'

examples/kubeval/fn-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
annotations:
66
config.k8s.io/function: |
77
container:
8-
image: gcr.io/kpt-functions/kubeval
8+
image: gcr.io/kpt-fn/kubeval:unstable
99
network: true
1010
config.kubernetes.io/local-config: 'true'
1111
data:

examples/set-namespace/.expected/diff.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ index 1c43349..2460ffb 100644
2121
- name: etcd-server-ssl
2222
diff --git a/functions/fn-config.yaml b/functions/fn-config.yaml
2323
deleted file mode 100644
24-
index 47eab5e..0000000
24+
index f2e0be4..0000000
2525
--- a/functions/fn-config.yaml
2626
+++ /dev/null
2727
@@ -1,11 +0,0 @@
@@ -32,7 +32,7 @@ index 47eab5e..0000000
3232
- annotations:
3333
- config.k8s.io/function: |
3434
- container:
35-
- image: gcr.io/kpt-functions/set-namespace
35+
- image: gcr.io/kpt-fn/set-namespace:unstable
3636
- config.kubernetes.io/local-config: 'true'
3737
-data:
3838
- "namespace": "example-ns"

examples/set-namespace/functions/fn-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
annotations:
66
config.k8s.io/function: |
77
container:
8-
image: gcr.io/kpt-functions/set-namespace
8+
image: gcr.io/kpt-fn/set-namespace:unstable
99
config.kubernetes.io/local-config: 'true'
1010
data:
1111
"namespace": "example-ns"

examples/sops/local-configs/function.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
annotations:
66
config.k8s.io/function: |
77
container:
8-
image: gcr.io/kpt-functions/sops
8+
image: gcr.io/kpt-fn-contrib/sops:unstable
99
envs:
1010
- SOPS_IMPORT_PGP
1111
config.kubernetes.io/local-config: "true"
@@ -20,7 +20,7 @@ metadata:
2020
annotations:
2121
config.k8s.io/function: |
2222
container:
23-
image: gcr.io/kpt-functions/sops
23+
image: gcr.io/kpt-fn-contrib/sops:unstable
2424
envs:
2525
- SOPS_IMPORT_PGP
2626
config.kubernetes.io/local-config: "true"

0 commit comments

Comments
 (0)