fix: release ci to use tags #26
Workflow file for this run
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: PR to Main Branch | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: pr-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
helm-lint: | |
runs-on: ubicloud-standard-2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint helm chart | |
run: | | |
helm lint cedana-helm | |
install-test: | |
runs-on: ubicloud-standard-2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Docker | |
uses: actions-hub/docker/cli@master | |
env: | |
SKIP_LOGIN: true | |
# check if this uses docker image | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1 | |
with: | |
cluster_name: kind | |
- name: install helm chart | |
run: | | |
helm install cedana ./cedana-helm --create-namespace -n cedana-operator-system \ | |
--set cedanaConfig.cedanaAuthToken="${CEDANA_API_KEY}" \ | |
--set cedanaConfig.cedanaUrl="https://sandbox.cedana.ai" | |
kubectl get pods -n cedana-operator-system | |
sleep 20 | |
kubectl get pods -n cedana-operator-system |