-
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
11 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 |
---|---|---|
|
@@ -13,12 +13,12 @@ on: | |
folders: | ||
description: 'Folders' | ||
required: true | ||
default: 'mongodb' | ||
default: 'mysql' | ||
type: string | ||
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 | ||
|
@@ -34,11 +34,11 @@ jobs: | |
- name: Defaulter | ||
id: defaulter | ||
env: | ||
FOLDERS: "mongodb" | ||
FOLDERS: "mysql" | ||
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 "folders=${FOLDERS:-mysql}" >> $GITHUB_OUTPUT | ||
echo "kubedb_version=${KUBEDB_VERSION:-v2024.8.21}" >> $GITHUB_OUTPUT | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
@@ -114,6 +114,7 @@ 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: | | ||
|
@@ -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