Skip to content

Commit 84e0ab7

Browse files
Update GitLab CI
1 parent cae0d49 commit 84e0ab7

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.gitlab-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ before_script:
1717

1818
package:
1919
stage: package
20-
only:
21-
- tags
20+
rules:
21+
- if: '$CI_COMMIT_TAG =~ /^frp-operator-.*$/'
2222
script:
23-
- cd chart
23+
- cd charts/frp-operator
2424
- helm lint
25-
- helm package . --version ${CI_COMMIT_TAG}
26-
- mv *.tgz ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tgz
25+
- helm package .
26+
- mv *.tgz ${CI_COMMIT_TAG}.tgz
2727
- helm repo add --username gitlab-ci-token --password ${CI_JOB_TOKEN} ${CI_PROJECT_NAME} ${HELM_REPO_URL}
2828
- helm plugin install https://github.com/chartmuseum/helm-push
29-
- helm cm-push ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tgz ${CI_PROJECT_NAME}
29+
- helm cm-push ${CI_COMMIT_TAG}.tgz ${CI_PROJECT_NAME}

charts/frp-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: frp-operator
3-
version: 1.0.2
3+
version: 1.0.3
44
description: Helm chart for frp Operator
55
type: application
66
keywords:

charts/frp-operator/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ The **frp Kubernetes Operator** automates the deployment of FRP clients (connect
88

99
```bash
1010
helm repo add frp https://frp-operator.aureum.cloud
11+
helm repo update
1112
```
1213

1314
2. **Install the FRP Operator:**
1415

1516
```bash
16-
helm install my-frp-operator frp/frp-operator --version 1.0.0
17+
helm install my-frp-operator frp/frp-operator
1718
```
1819

1920
## frp Overview

0 commit comments

Comments
 (0)