Skip to content

Commit

Permalink
push charts to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Apr 2, 2024
1 parent 7a0eb15 commit 5fb3351
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,16 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Update all chart dependencies before packaging
run: |
for chart in charts/*/; do
helm dependency update $chart
done
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
- name: Publish to Charts Repo
uses: nkoppel/push-files-to-another-repository@1.1.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
API_TOKEN_GITHUB: ${{ secrets.CHARTS_REPO_TOKEN }}
with:
source-files: 'charts/'
destination-username: 'astriaorg'
destination-repository: 'charts'
destination-directory: 'charts'
commit-email: 'jordan@astria.org'

conductor:
needs: run_checker
Expand Down
2 changes: 1 addition & 1 deletion charts/evm-rollup/files/genesis/geth-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"astriaSequencerInitialHeight": {{ toString .Values.config.sequencer.initialBlockHeight | replace "\"" "" }},
"astriaRollupName": "{{ .Values.config.rollup.name }}",
"astriaCelestiaInitialHeight": {{ toString .Values.config.celestia.initialBlockHeight | replace "\"" "" }},
"astriaCelestiaHeightVariance":{{ toString .Values.config.celestia.heightVariance | replace "\"" "" }}
"astriaCelestiaHeightVariance": {{ toString .Values.config.celestia.heightVariance | replace "\"" "" }}
{{- if not .Values.global.dev }}
{{- else }}
{{- end }}
Expand Down

0 comments on commit 5fb3351

Please sign in to comment.