Skip to content

Commit

Permalink
disable values
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Akriotis committed Jul 11, 2024
1 parent 42578dc commit fb68fa3
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,23 @@ jobs:
infile: './charts/docusaurus/Chart.yaml'
varlist: 'version=${{ vars.APP_VERSION }}.${{github.run_number}},appVersion=${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }}'

- name: Update Docusaurus values.yaml
uses: rmeneely/update-yaml@v1
with:
infile: './charts/docusaurus/values.yaml'
varlist: 'image.tag=${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }},env.typesenseHost=${{ vars.TYPESENSE_HOST }},env.typesensePort=\"${{ vars.TYPESENSE_PORT }}\",env.typesenseProtocol=${{ vars.TYPESENSE_PROTOCOL }},env.typesenseSearchApiKey=${{ secrets.TYPESENSE_SEARCH_KEY }},ingress.elbId=${{ vars.DOCS_NEXT_ELB_ID }},ingress.host=${{ vars.DOCS_NEXT_HOST }},ingress.port=80'
# - name: Update Docusaurus values.yaml
# uses: rmeneely/update-yaml@v1
# with:
# infile: './charts/docusaurus/values.yaml'
# varlist: 'image.tag=${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }},env.typesenseHost=${{ vars.TYPESENSE_HOST }},env.typesensePort=\"${{ vars.TYPESENSE_PORT }}\",env.typesenseProtocol=${{ vars.TYPESENSE_PROTOCOL }},env.typesenseSearchApiKey=${{ secrets.TYPESENSE_SEARCH_KEY }},ingress.elbId=${{ vars.DOCS_NEXT_ELB_ID }},ingress.host=${{ vars.DOCS_NEXT_HOST }},ingress.port=80'

- name: Update Typesense Chart.yaml
uses: rmeneely/update-yaml@v1
with:
infile: './charts/typesense/Chart.yaml'
varlist: 'version=${{ vars.APP_VERSION }}.${{github.run_number}},appVersion=${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }}'

- name: Update Typesense values.yaml
uses: rmeneely/update-yaml@v1
with:
infile: './charts/typesense/values.yaml'
varlist: 'typesense.apiKey=${{ secrets.TYPESENSE_API_KEY }},docusaurus.externalUrl=${{ vars.DOCS_NEXT_HOST }},reverseProxy.ingress.elbId=${{ vars.TYPESENSE_ELB_ID }},reverseProxy.ingress.host=${{ vars.TYPESENSE_HOST }},reverseProxy.ingress.port=${{ vars.TYPESENSE_PORT }}'
# - name: Update Typesense values.yaml
# uses: rmeneely/update-yaml@v1
# with:
# infile: './charts/typesense/values.yaml'
# varlist: 'typesense.apiKey=${{ secrets.TYPESENSE_API_KEY }},docusaurus.externalUrl=${{ vars.DOCS_NEXT_HOST }},reverseProxy.ingress.elbId=${{ vars.TYPESENSE_ELB_ID }},reverseProxy.ingress.host=${{ vars.TYPESENSE_HOST }},reverseProxy.ingress.port=${{ vars.TYPESENSE_PORT }}'

- name: Commit Changes
id: update_charts
Expand All @@ -118,6 +118,9 @@ jobs:
echo "---"
echo ""
cat ./charts/docusaurus/values.yaml
echo ""
echo "---"
echo ""
# typesense
cat ./charts/typesense/Chart.yaml
echo ""
Expand Down

0 comments on commit fb68fa3

Please sign in to comment.