Skip to content

Commit

Permalink
add cyclops ui (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit authored Jan 10, 2025
1 parent 9d5594b commit 54f0e57
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 0 deletions.
35 changes: 35 additions & 0 deletions stacks/cyclops/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/sh

set -e

################################################################################
# repo
################################################################################
helm repo add cyclops-ui https://cyclops-ui.com/helm
helm repo update > /dev/null

################################################################################
# chart
################################################################################
STACK="cyclops"
CHART="cyclops-ui/cyclops"
CHART_VERSION="0.13.0"
NAMESPACE="cyclops"

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
ROOT_DIR=$(git rev-parse --show-toplevel)
values="$ROOT_DIR/stacks/cyclops/values.yml"
else
# use github hosted master version of values.yml
values="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/cyclops/values.yml"
fi

helm upgrade "$STACK" "$CHART" \
--atomic \
--create-namespace \
--install \
--timeout 8m0s \
--namespace "$NAMESPACE" \
--values "$values" \
--version "$CHART_VERSION"
13 changes: 13 additions & 0 deletions stacks/cyclops/uninstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -e

################################################################################
# chart
################################################################################
STACK="cyclops"
NAMESPACE="cyclops"


helm uninstall "$STACK" \
--namespace "$NAMESPACE"
29 changes: 29 additions & 0 deletions stacks/cyclops/upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/sh

set -e

################################################################################
# repo
################################################################################
helm repo add cyclops-ui https://cyclops-ui.com/helm
helm repo update > /dev/null

################################################################################
# chart
################################################################################
STACK="cyclops"
CHART="cyclops-ui/cyclops"
NAMESPACE="cyclops"

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
ROOT_DIR=$(git rev-parse --show-toplevel)
values="$ROOT_DIR/stacks/cyclops/values.yml"
else
# use github hosted master version of values.yml
values="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/cyclops/values.yml"
fi

helm upgrade "$STACK" "$CHART" \
--namespace "$NAMESPACE" \
--values "$values" \
63 changes: 63 additions & 0 deletions stacks/cyclops/values.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# cyclops-ui/cyclops

templateStore:
- name: demo
repo: https://github.com/cyclops-ui/templates
path: demo
version: main
iconURL: https://github.com/cyclops-ui/cyclops/blob/main/cyclops-ui/src/static/img/default-template-icon.png?raw=true
sourceType: git
- name: app-template
repo: https://github.com/cyclops-ui/templates
path: app-template
version: main
iconURL: https://github.com/cyclops-ui/cyclops/blob/main/cyclops-ui/src/static/img/default-template-icon.png?raw=true
sourceType: git
- name: jenkins
repo: https://github.com/bitnami/charts
path: bitnami/jenkins
version: main
iconURL: https://bitnami.com/assets/stacks/jenkins/img/jenkins-stack-220x234.png
sourceType: git
- name: mariadb
repo: https://github.com/bitnami/charts
path: bitnami/mariadb
version: main
iconURL: https://bitnami.com/assets/stacks/mariadb/img/mariadb-stack-220x234.png
sourceType: git
- name: metabase
repo: https://github.com/cyclops-ui/templates
path: metabase
version: main
iconURL: https://www.metabase.com/images/logo.svg
sourceType: git
- name: mysql
repo: https://github.com/bitnami/charts
path: bitnami/mysql
version: main
iconURL: https://bitnami.com/assets/stacks/mysql/img/mysql-stack-220x234.png
sourceType: git
- name: postgresql
repo: https://github.com/bitnami/charts
path: bitnami/postgresql
version: main
iconURL: https://bitnami.com/assets/stacks/postgresql/img/postgresql-stack-220x234.png
sourceType: git
- name: prometheus
repo: https://github.com/bitnami/charts
path: bitnami/prometheus
version: main
iconURL: https://bitnami.com/assets/stacks/prometheus/img/prometheus-stack-220x234.png
sourceType: git
- name: rabbitmq
repo: https://github.com/bitnami/charts
path: bitnami/rabbitmq
version: main
iconURL: https://bitnami.com/assets/stacks/rabbitmq/img/rabbitmq-stack-220x234.png
sourceType: git
- name: redis
repo: https://github.com/bitnami/charts
path: bitnami/redis
version: main
iconURL: https://bitnami.com/assets/stacks/redis/img/redis-stack-220x234.png
sourceType: git

0 comments on commit 54f0e57

Please sign in to comment.