Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app-node): split GA #88

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .github/workflows/release-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Release App Charts

on:
push:
branches:
- main
paths:
- 'charts/celestia-app/**'
- 'common-charts/common-celestia-app/**'
pull_request:
paths:
- 'charts/celestia-app/**'
- 'common-charts/common-celestia-app/**'
workflow_dispatch:

jobs:
release-common-celestia-app:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
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@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Run chart-releaser for common-celestia-app
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: "common-charts"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

release-celestia-app:
permissions:
contents: write
runs-on: ubuntu-latest
needs: release-common-celestia-app
steps:
- name: Checkout
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@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Add Helm Repositories
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add celestiaorg https://celestiaorg.github.io/helm-charts
helm repo update

- name: Update Helm Dependencies for celestia-app
run: |
helm dependency update charts/celestia-app

- name: Run chart-releaser for celestia-app
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: "charts"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
82 changes: 82 additions & 0 deletions .github/workflows/release-node.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Release Node Charts

on:
push:
branches:
- main
paths:
- 'charts/celestia-node/**'
- 'common-charts/common-celestia-node/**'
pull_request:
paths:
- 'charts/celestia-node/**'
- 'common-charts/common-celestia-node/**'
workflow_dispatch:

jobs:
release-common-celestia-node:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
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@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Run chart-releaser for common-celestia-node
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: "common-charts"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

release-celestia-node:
permissions:
contents: write
runs-on: ubuntu-latest
needs: release-common-celestia-node
steps:
- name: Checkout
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@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Add Helm Repositories
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add celestiaorg https://celestiaorg.github.io/helm-charts
helm repo update

- name: Update Helm Dependencies for celestia-node
run: |
helm dependency update charts/celestia-node

- name: Run chart-releaser for celestia-node
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: "charts"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Loading