Skip to content

Commit 20dfbc2

Browse files
release process (#10)
1 parent ed9e8ae commit 20dfbc2

File tree

5 files changed

+38
-6
lines changed

5 files changed

+38
-6
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: release
2+
on:
3+
release:
4+
types:
5+
- published
6+
jobs:
7+
release:
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: '0' # ensure tag lookup works
13+
- run: |
14+
#!/usr/bin/env bash
15+
set -e -u -x -o pipefail
16+
export VERSION=${GITHUB_REF:11}
17+
make helm-repo-login
18+
make push-chart
19+
env:
20+
GHCR_PAT: ${{ secrets.RELEASE_PAT }}
21+
USERNAME: alex-treebeard
22+
- uses: EndBug/[email protected]
23+
with:
24+
author_name: github-actions
25+
author_email: 41898282+github-actions[bot]@users.noreply.github.com
26+
add: helm/kubeflow/values.yaml
27+
branch: main
28+
message: Published new version

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ push-chart: build-chart
5252
helm push helm/kubeflow-$(VERSION).tgz oci://ghcr.io/treebeardtech/helm
5353

5454
helm-repo-login:
55-
echo $(GHCR_PAT) | docker login ghcr.io -u alex-treebeard --password-stdin
55+
echo $(GHCR_PAT) | docker login ghcr.io -u $(USERNAME) --password-stdin

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
## About this project
2626

27-
2827
This project simplifies MLOps in Kubernetes by providing Kubeflow in Helm and Terraform package formats. This allows scaling Kubeflow usage with the rest of your production systems.
2928

3029
Kubeflow provides a cloud-native AI platform which can be used to deploy applications in
@@ -61,7 +60,7 @@ The default configuration of Kubeflow provided is designed to run on a cluster w
6160

6261
## Getting Started
6362

64-
Note that as all of our examples are implemented in Terraform, we recommend using the Terraform module to start off. The [helm super-chart](https://github.com/treebeardtech/kubeflow/tree/main/helm/treebeard-kubeflow) is likely to be a more viable interface as you move into production.
63+
Note that as all of our examples are implemented in Terraform, we recommend using the Terraform module to start off. The [helm charts](helm) are likely to be a more viable interface as you move into production.
6564

6665
We recommend trying out this module in a development environment first.
6766

@@ -78,7 +77,12 @@ To do so, follow the [k3s tutorial](examples/k3s).
7877
### Install via helm CLI
7978

8079
```sh
81-
helm install kf oci://ghcr.io/treebeardtech/helm/treebeard-kubeflow --version x.y.z
80+
# install argo (necessary for orchestration)
81+
helm repo add argo-cd https://argoproj.github.io/argo-helm
82+
helm install -n argocd --create-namespace argo-cd argo-cd/argo-cd
83+
84+
# install kubeflow
85+
helm install kubeflow -n argocd oci://ghcr.io/treebeardtech/helm/kubeflow --version x.y.z
8286
```
8387

8488
In order to integrate Kubeflow with your production systems there are some changes you
@@ -154,7 +158,7 @@ See the [gitops example](examples/k3s-gitops) for details.
154158

155159
## Troubleshooting
156160

157-
## Reconfiguration challenges
161+
### Reconfiguration challenges
158162

159163
Moving the deployment between different states of configuration can be challenging
160164
due to the dependencies between components in the cluster.

docs/arch.png

7.03 KB
Loading

helm/kubeflow/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ finalizers:
66
- resources-finalizer.argocd.argoproj.io
77
project: default
88
repoURL: ghcr.io/treebeardtech/helm
9-
targetRevision: "0.3.1"
9+
targetRevision: "0.4.0-dev9"
1010
chart: kubeflow-core
1111
destination:
1212
server: https://kubernetes.default.svc

0 commit comments

Comments
 (0)