Skip to content

Commit 1fb3529

Browse files
chore: host charts on GitHub pages (#27)
1 parent ec47ca9 commit 1fb3529

22 files changed

+32
-49
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,33 @@
1-
name: Helm Charts build & deploy
1+
name: Release Charts
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
67

78
jobs:
8-
build:
9+
release:
10+
permissions:
11+
contents: write
912
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
chart: [request-node, request-ipfs]
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: azure/setup-helm@v3
16-
with:
17-
version: v3.1.1
18-
- name: Lint
19-
run: helm lint ${{ matrix.chart }}
20-
- name: Build
21-
run: |
22-
mkdir charts
23-
helm package ${{ matrix.chart }} -d ./charts
24-
- uses: actions/upload-artifact@v3
14+
- name: Checkout
15+
uses: actions/checkout@v3
2516
with:
26-
name: charts
27-
path: charts
17+
fetch-depth: 0
2818

29-
deploy:
30-
#if: github.ref == 'refs/heads/main'
31-
needs:
32-
- build
33-
runs-on: ubuntu-latest
34-
permissions:
35-
contents: "read"
36-
id-token: "write"
37-
steps:
38-
- uses: actions/download-artifact@v3
39-
with:
40-
name: charts
41-
path: charts
42-
- uses: azure/setup-helm@v3
43-
with:
44-
version: v3.11.0
45-
- id: "auth"
46-
name: "Authenticate to Google Cloud"
47-
uses: "google-github-actions/auth@v1"
48-
with:
49-
token_format: "access_token"
50-
workload_identity_provider: ${{ vars.GCP_WORKLOAD_IDENTITY_PROVIDER }}
51-
service_account: ${{ vars.GCP_SA }}
52-
- name: Install helm-gcs
53-
run: helm plugin install https://github.com/hayorov/helm-gcs --version 0.4.1
54-
- name: Deploy
19+
- name: Configure Git
5520
run: |
56-
helm repo add request-gcs gs://request-charts
57-
for f in ./charts/*; do echo $f; helm gcs push $f request-gcs --public --force ; done;
21+
git config user.name "$GITHUB_ACTOR"
22+
git config user.email "[email protected]"
23+
24+
- name: Install Helm
25+
uses: azure/setup-helm@v3
26+
27+
- name: Lint
28+
run: helm lint charts/*
29+
30+
- name: Run chart-releaser
31+
uses: helm/[email protected]
32+
env:
33+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
[![CircleCI](https://circleci.com/gh/RequestNetwork/request-helm-charts.svg?style=svg&circle-token=7f672824b8febacaea69fa451b9944fd07454617)](https://circleci.com/gh/RequestNetwork/request-helm-charts)
22

3+
> ### Note: the chart repository URL has changed
4+
> - from: https://request-charts.storage.googleapis.com
5+
> - to: https://requestnetwork.github.io/request-helm-charts
6+
>
7+
> Please use the new URL, the old one will stop being available soon.
8+
39
# Request Helm Charts repository
410

5-
This repository contains sources for all of Request Helm Charts. Using docker images available at https://hub.docker.com/u/requestnetwork
11+
This repository contains sources for all Request Helm Charts.
12+
They use Docker images available at https://hub.docker.com/u/requestnetwork.
613

714
## How to use?
815

916
```
10-
helm repo add request https://request-charts.storage.googleapis.com
17+
helm repo add request https://requestnetwork.github.io/request-helm-charts
1118
helm repo update
1219
helm install request/request-node
1320
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)