Skip to content

Commit f984358

Browse files
committed
Add buildkit
1 parent 20671cb commit f984358

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

apps/buildkit.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from __future__ import annotations
2+
3+
from typing import Generator
4+
5+
import requests
6+
import yaml
7+
8+
from apps.versions import versions
9+
10+
name = "buildkit"
11+
12+
13+
def objects() -> Generator[dict, None, None]:
14+
contents = requests.get(
15+
f"https://raw.githubusercontent.com/moby/buildkit/{versions['buildkit']['version']}/examples/kubernetes/statefulset.rootless.yaml",
16+
)
17+
contents.raise_for_status()
18+
19+
yield yaml.safe_load(contents.text)

apps/versions.toml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ github = "https://github.com/argoproj/argo-workflows"
1717
version = "1.6.3"
1818
github = "https://github.com/argoproj/argo-events"
1919

20+
[buildkit]
21+
version = "v0.10"
22+
github = "https://github.com/moby/buildkit"
23+
2024
[cert-manager]
2125
version = "1.6.1"
2226
helm = "https://charts.jetstack.io"

cluster.toml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ path = "apps/argocd.py"
1515
[modules.argoci]
1616
path = "apps/argoci.py"
1717

18+
[modules.buildkit]
19+
path = "apps/buildkit.py"
20+
1821
[modules.cert-manager]
1922
path = "apps/cert_manager.py"
2023

0 commit comments

Comments
 (0)