Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nleconte-csgroup committed Feb 15, 2024
1 parent 03a2611 commit dae7895
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions .github/workflows/publish-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# Publish Helm charts #
#######################

rs-server-adgs:
rs-server-helm-chart:
runs-on: ubuntu-latest
name: "rs-server-adgs Helm chart"
name: "rs-server Helm chart"
permissions: write-all

steps:
Expand All @@ -49,37 +49,6 @@ jobs:
shell: bash
run: |
sed -i "s,{{CHART_VERSION}},${{ steps.get_version.outputs.RSSERVER_VERSION }}," charts/rs-server-adgs/Chart.yaml
- id: publish-chart
uses: ./.github/actions/publish-chart
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

rs-server-cadip:
runs-on: ubuntu-latest
name: "rs-server-cadip Helm chart"
permissions: write-all

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history for all branches and tags.

- name: Get the rs-server version tag
id: get_version
shell: bash
run: |
# Enable pipefail so git command failures do not result in null versions downstream
set -x
echo "RSSERVER_VERSION=$(\
git ls-remote --tags --refs --sort="v:refname" \
https://github.com/RS-PYTHON/rs-server.git 'v*.*' | tail -n1 | sed 's/.*\///' | sed 's/^v//' | cut -d '.' -f 1 \
)" >> $GITHUB_OUTPUT
- name: Update version number in chart.yaml
shell: bash
run: |
sed -i "s,{{CHART_VERSION}},${{ steps.get_version.outputs.RSSERVER_VERSION }}," charts/rs-server-cadip/Chart.yaml
- id: publish-chart
Expand Down

0 comments on commit dae7895

Please sign in to comment.