Skip to content

Commit 1632f3d

Browse files
committed
chore(workflow): remove python requirements
1 parent c124446 commit 1632f3d

3 files changed

Lines changed: 17 additions & 45 deletions

File tree

.woodpecker/publish-charts.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ pipeline:
1111
- export IMAGE_TAG=$([ ! -z $CI_COMMIT_TAG ] && echo \"$VERSION\" || echo \"canary\")
1212
- export APP_VERSION=$([ ! -z $CI_COMMIT_TAG ] && echo $VERSION || echo 1.0.0)
1313
- export CHART_VERSION=$([ -z $CI_COMMIT_TAG ] && echo 1.0.0 || echo $VERSION)
14-
- pip install -r requirements.txt
15-
- python3 _scripts/dependency_update.py "oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)" "charts/workflow/Chart.yaml"
14+
- sed -i s#{{repository}}#oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)#g charts/workflow/Chart.yaml
1615
- helm dependency update charts/workflow
1716
- helm package -u charts/$${CI_REPO_NAME} --version $CHART_VERSION --app-version $APP_VERSION
1817
- echo $CONTAINER_PASSWORD | helm registry login $DRYCC_REGISTRY -u $CONTAINER_USERNAME --password-stdin

_scripts/dependency_update.py

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

charts/workflow/Chart.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,52 +2,52 @@ apiVersion: v2
22
appVersion: 1.0.0
33
dependencies:
44
- name: builder
5-
repository: oci://registry.drycc.cc/charts-testing
5+
repository: {{repository}}
66
version: x.x.x
77
- name: imagebuilder
8-
repository: oci://registry.drycc.cc/charts-testing
8+
repository: {{repository}}
99
version: x.x.x
1010
- name: controller
11-
repository: oci://registry.drycc.cc/charts-testing
11+
repository: {{repository}}
1212
version: x.x.x
1313
- name: database
14-
repository: oci://registry.drycc.cc/charts-testing
14+
repository: {{repository}}
1515
version: x.x.x
1616
- name: timeseries
17-
repository: oci://registry.drycc.cc/charts-testing
17+
repository: {{repository}}
1818
version: x.x.x
1919
- name: fluentbit
20-
repository: oci://registry.drycc.cc/charts-testing
20+
repository: {{repository}}
2121
version: x.x.x
2222
- name: gateway
23-
repository: oci://registry.drycc.cc/charts-testing
23+
repository: {{repository}}
2424
version: x.x.x
2525
- name: redis
26-
repository: oci://registry.drycc.cc/charts-testing
26+
repository: {{repository}}
2727
version: x.x.x
2828
- name: logger
29-
repository: oci://registry.drycc.cc/charts-testing
29+
repository: {{repository}}
3030
version: x.x.x
3131
- name: storage
32-
repository: oci://registry.drycc.cc/charts-testing
32+
repository: {{repository}}
3333
version: x.x.x
3434
- name: monitor
35-
repository: oci://registry.drycc.cc/charts-testing
35+
repository: {{repository}}
3636
version: x.x.x
3737
- name: registry
38-
repository: oci://registry.drycc.cc/charts-testing
38+
repository: {{repository}}
3939
version: x.x.x
4040
- name: registry-proxy
41-
repository: oci://registry.drycc.cc/charts-testing
41+
repository: {{repository}}
4242
version: x.x.x
4343
- name: rabbitmq
44-
repository: oci://registry.drycc.cc/charts-testing
44+
repository: {{repository}}
4545
version: x.x.x
4646
- name: passport
47-
repository: oci://registry.drycc.cc/charts-testing
47+
repository: {{repository}}
4848
version: x.x.x
4949
- name: prometheus
50-
repository: oci://registry.drycc.cc/charts-testing
50+
repository: {{repository}}
5151
version: x.x.x
5252
description: Drycc Workflow
5353
home: https://github.com/drycc/workflow

0 commit comments

Comments
 (0)