6
6
7
7
name : Create and Publish Helm Packages
8
8
jobs :
9
- # call-ci-servicex:
10
- # uses: ./.github/workflows/ci_servicex.yaml
11
- # secrets: inherit
12
- # call-ci-helm-tests:
13
- # uses: ./.github/workflows/ci_helm_tests.yaml
14
- # secrets: inherit
9
+ call-ci-servicex :
10
+ uses : ./.github/workflows/ci_servicex.yaml
11
+ secrets : inherit
12
+ call-ci-helm-tests :
13
+ uses : ./.github/workflows/ci_helm_tests.yaml
14
+ secrets : inherit
15
15
build :
16
16
name : Create Release
17
- # needs: [call-ci-servicex, call-ci-helm-tests]
17
+ needs : [call-ci-servicex, call-ci-helm-tests]
18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : Checkout code
@@ -41,40 +41,38 @@ jobs:
41
41
uses : mikefarah/yq@master
42
42
with :
43
43
cmd : |
44
- yq -i '.spec.chart.spec.version = "$RELEASE_VERSION" | .spec.chart.spec.version style="double"' flux_river_configs/servicex-int-uproot/values.yaml &&
45
- yq -i '.spec.chart.spec.version = "$RELEASE_VERSION" | .spec.chart.spec.version style="double"' flux_river_configs/servicex-int-xaod/values.yaml &&
46
- yq -i '.appVersion = "$RELEASE_VERSION" | .appVersion style="double" | .version = "$RELEASE_VERSION" | .version style="double"' helm/servicex/Chart.yaml &&
47
- yq -i '.app.tag = "$RELEASE_VERSION" | .app.tag style="double" |
48
- .didfinder.rucio.tag = "$RELEASE_VERSION" | .didfinder.rucio.tag style="double" |
49
- .didFinder.CERNOpendata.tag = "$RELEASE_VERSION" | .didFinder.CERNOpendata.tag style="double" |
50
- .transformer.defaultTransformerTag = "$RELEASE_VERSION" | .transformer.defaultTransformerTag style="double" |
51
- .x509secrets.tag = "$RELEASE_VERSION" | .x509secrets.tag style="double" |
52
- .codeGen.tag = "$RELEASE_VERSION" | .codeGen.tag style="double" ' helm/servicex/values.yaml
44
+ yq -i '.spec.chart.spec.version = "' $RELEASE_VERSION' " | .spec.chart.spec.version style="double" ' flux_river_configs/servicex-int-uproot/values.yaml &&
45
+ yq -i '.spec.chart.spec.version = "' $RELEASE_VERSION' " | .spec.chart.spec.version style="double" ' flux_river_configs/servicex-int-xaod/values.yaml &&
46
+ yq -i '.appVersion = "' $RELEASE_VERSION' " | .appVersion style="double" | .version = "' $RELEASE_VERSION'" | .version style="double" ' helm/servicex/Chart.yaml &&
47
+ yq -i '.app.tag = "' $RELEASE_VERSION' " | .app.tag style="double" |
48
+ .didfinder.rucio.tag = "' $RELEASE_VERSION' " | .didfinder.rucio.tag style="double" |
49
+ .didFinder.CERNOpendata.tag = "' $RELEASE_VERSION' " | .didFinder.CERNOpendata.tag style="double" |
50
+ .transformer.defaultTransformerTag = "' $RELEASE_VERSION' " | .transformer.defaultTransformerTag style="double" |
51
+ .x509secrets.tag = "' $RELEASE_VERSION' " | .x509secrets.tag style="double" |
52
+ .codeGen.tag = "' $RELEASE_VERSION' " | .codeGen.tag style="double" ' helm/servicex/values.yaml
53
53
- name : Create helm package
54
- working-directory : ./ssl- helm-charts
54
+ working-directory : ./helm
55
55
run : |
56
- pwd
57
- cat servicex/Chart.yaml
58
- cat servicex/values.yaml
59
56
helm dependency update servicex
60
57
helm package servicex
61
- helm repo index release-package --url https://ssl-hep.github.io/ssl-helm-charts/
58
+ mv servicex-$RELEASE_VERSION.tgz ../ssl-helm-charts
59
+ helm repo index ../ssl-helm-charts --url https://ssl-hep.github.io/ssl-helm-charts/
62
60
- name : Pushes to ssl-helm-packages repository
63
61
uses : cpina/github-action-push-to-another-repository@main
64
62
env :
65
63
API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
66
64
with :
67
65
source-directory : ' ssl-helm-charts'
68
- destination-github-username : ' ssl-hep '
66
+ destination-github-username : ' prajwalkkumar '
69
67
destination-repository-name : ' ssl-helm-charts'
70
- target-branch : ' gh-pages '
68
+ target-branch : ' master '
71
69
- name : Pushes to flux-river-configs repository
72
70
uses : cpina/github-action-push-to-another-repository@main
73
71
env :
74
72
API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
75
73
with :
76
74
source-directory : ' flux_river_configs'
77
- destination-github-username : ' ssl-hep '
75
+ destination-github-username : ' prajwalkkumar '
78
76
destination-repository-name : ' flux_river_configs'
79
77
target-branch : ' main'
80
78
- name : Create Release
0 commit comments