From c4d71393e717cd478502dfb5f74734224f943a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Siwek?= <71661357+RafalSiwek@users.noreply.github.com> Date: Sun, 21 Jan 2024 20:00:13 +0100 Subject: [PATCH] define bundle releases (#11) * define bundles * update readme --- README.md | 2 +- releases/0.54/edge/zenml/bundle.yaml | 18 ++++++++++++++++++ releases/0.54/edge/zenml/charmcraft.yaml | 1 + releases/0.54/stable/zenml/bundle.yaml | 18 ++++++++++++++++++ releases/0.54/stable/zenml/charmcraft.yaml | 1 + releases/latest/stable/zenml/bundle.yaml | 18 ++++++++++++++++++ releases/latest/stable/zenml/charmcraft.yaml | 1 + 7 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 releases/0.54/edge/zenml/bundle.yaml create mode 100644 releases/0.54/edge/zenml/charmcraft.yaml create mode 100644 releases/0.54/stable/zenml/bundle.yaml create mode 100644 releases/0.54/stable/zenml/charmcraft.yaml create mode 100644 releases/latest/stable/zenml/bundle.yaml create mode 100644 releases/latest/stable/zenml/charmcraft.yaml diff --git a/README.md b/README.md index ba4a615..c99a787 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ juju add-model To deploy the ZenML bundle run: ```bash -juju deploy zenml --channel edge --trust +juju deploy zenml --trust ``` Run `juju status --watch 2s` to observe the charm deployment and after all the apps reach the `Active` status, the ZenML Server dashboard should be accessible as a `NodePort` under diff --git a/releases/0.54/edge/zenml/bundle.yaml b/releases/0.54/edge/zenml/bundle.yaml new file mode 100644 index 0000000..24dd3f1 --- /dev/null +++ b/releases/0.54/edge/zenml/bundle.yaml @@ -0,0 +1,18 @@ +bundle: kubernetes +name: zenml +docs: https://discourse.charmhub.io/t/zenml-docs-index/12832 +applications: + zenml-mysql: + charm: mysql-k8s + channel: 8.0/stable + scale: 1 + trust: true + _github_repo_name: mysql-k8s-operator + zenml-server: + charm: zenml-server + channel: 0.54/edge + scale: 1 + trust: true + _github_repo_name: RafalSiwek/zenml-server-operator +relations: + - [zenml-server, zenml-mysql] diff --git a/releases/0.54/edge/zenml/charmcraft.yaml b/releases/0.54/edge/zenml/charmcraft.yaml new file mode 100644 index 0000000..d7a57a8 --- /dev/null +++ b/releases/0.54/edge/zenml/charmcraft.yaml @@ -0,0 +1 @@ +type: bundle diff --git a/releases/0.54/stable/zenml/bundle.yaml b/releases/0.54/stable/zenml/bundle.yaml new file mode 100644 index 0000000..3b43e19 --- /dev/null +++ b/releases/0.54/stable/zenml/bundle.yaml @@ -0,0 +1,18 @@ +bundle: kubernetes +name: zenml +docs: https://discourse.charmhub.io/t/zenml-docs-index/12832 +applications: + zenml-mysql: + charm: mysql-k8s + channel: 8.0/stable + scale: 1 + trust: true + _github_repo_name: mysql-k8s-operator + zenml-server: + charm: zenml-server + channel: 0.54/stable + scale: 1 + trust: true + _github_repo_name: RafalSiwek/zenml-server-operator +relations: + - [zenml-server, zenml-mysql] diff --git a/releases/0.54/stable/zenml/charmcraft.yaml b/releases/0.54/stable/zenml/charmcraft.yaml new file mode 100644 index 0000000..d7a57a8 --- /dev/null +++ b/releases/0.54/stable/zenml/charmcraft.yaml @@ -0,0 +1 @@ +type: bundle diff --git a/releases/latest/stable/zenml/bundle.yaml b/releases/latest/stable/zenml/bundle.yaml new file mode 100644 index 0000000..7239aa2 --- /dev/null +++ b/releases/latest/stable/zenml/bundle.yaml @@ -0,0 +1,18 @@ +bundle: kubernetes +name: zenml +docs: https://discourse.charmhub.io/t/zenml-docs-index/12832 +applications: + zenml-mysql: + charm: mysql-k8s + channel: 8.0/stable + scale: 1 + trust: true + _github_repo_name: mysql-k8s-operator + zenml-server: + charm: zenml-server + channel: latest/stable + scale: 1 + trust: true + _github_repo_name: RafalSiwek/zenml-server-operator +relations: + - [zenml-server, zenml-mysql] diff --git a/releases/latest/stable/zenml/charmcraft.yaml b/releases/latest/stable/zenml/charmcraft.yaml new file mode 100644 index 0000000..d7a57a8 --- /dev/null +++ b/releases/latest/stable/zenml/charmcraft.yaml @@ -0,0 +1 @@ +type: bundle