-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sayedppqq <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ on: | |
kubedb_version: | ||
description: 'KubeDB Version' | ||
required: true | ||
default: 'v2024.7.11-rc.1' #needs to be dynamic | ||
default: 'v2024.8.21' #needs to be dynamic | ||
type: string | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-dashboard-check | ||
|
@@ -38,7 +38,7 @@ jobs: | |
KUBEDB_VERSION: ${{ inputs.kubedb_version }} | ||
run: | | ||
echo "folders=${FOLDERS:-mongodb}" >> $GITHUB_OUTPUT | ||
echo "kubedb_version=${KUBEDB_VERSION:-v2024.7.11-rc.1}" >> $GITHUB_OUTPUT | ||
echo "kubedb_version=${KUBEDB_VERSION:-v2024.8.21}" >> $GITHUB_OUTPUT | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
@@ -114,12 +114,13 @@ jobs: | |
CLUSTER_UID=$(kubectl get ns kube-system -o=jsonpath='{.metadata.uid}') | ||
curl -X POST -o /tmp/kubedb-license.txt -d "name=1gtm&[email protected]&product=kubedb-enterprise&cluster=${CLUSTER_UID}&tos=true&token=${BYTEBUILDERS_LICENSE_TOKEN}" https://license-issuer.appscode.com/issue-license | ||
curl -X POST -o /tmp/platform-license.txt -d "name=1gtm&[email protected]&product=platform&cluster=${CLUSTER_UID}&tos=true&token=${BYTEBUILDERS_LICENSE_TOKEN}" https://license-issuer.appscode.com/issue-license | ||
cat /tmp/kubedb-license.txt | ||
- name: Install Longhorn | ||
run: | | ||
helm repo add longhorn https://charts.longhorn.io | ||
helm repo update | ||
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.6.2 --wait --burst-limit=10000 | ||
# - name: Install Longhorn | ||
# run: | | ||
# helm repo add longhorn https://charts.longhorn.io | ||
# helm repo update | ||
# helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.6.2 --wait --burst-limit=10000 | ||
|
||
- name: Install KubeDB | ||
run: | | ||
|
@@ -146,7 +147,7 @@ jobs: | |
cd .. | ||
git clone https://github.com/kubedb/cli.git | ||
cd cli | ||
# git checkout check | ||
git checkout mssql-dashboard | ||
go install ./... | ||
- name: Install Prometheus | ||
|
@@ -179,7 +180,7 @@ jobs: | |
cd .. | ||
git clone https://github.com/kubedb/samples.git | ||
cd samples | ||
git checkout mg-args | ||
git checkout mssql-monitoring | ||
- name: Check Dashboard Metrics | ||
env: | ||
|
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