fix (redis): add keyspace-events-enabled on redis (#65) #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chart Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
chart-release: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.0' | |
- name: install chart release | |
run: | | |
git clone https://github.com/helm/chart-releaser.git | |
cd chart-releaser/ | |
go build -o cr-bin ./cr/main.go | |
sudo mv cr-bin /usr/local/bin/cr | |
sudo chmod a+rx /usr/local/bin/cr | |
sudo chown root.root /usr/local/bin/cr | |
cd .. | |
rm -rf chart-releaser | |
cr version | |
- name: install helm | |
run: cd /tmp && curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash | |
- name: checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: install orb helm dependencies | |
run: | | |
make prepare-helm | |
- name: create deploy folder | |
run: | | |
mkdir .deploy | |
- name: create chart package | |
run: | | |
make branch=${{ github.ref_name }} package | |
- name: upload chart package | |
run: | | |
make branch=${{ github.ref_name }} ghtoken=${{ secrets.GITHUB_TOKEN }} upload | |
- name: indexing chart package | |
run: | | |
git config user.name "orb-ci" | |
git config user.email "[email protected]" | |
make branch=${{ github.ref_name }} ghtoken=${{ secrets.GITHUB_TOKEN }} index |