Skip to content

Commit ac6d032

Browse files
authored
Merge pull request #5301 from faermanj/add-devbox-with-devcontainer
✨ Adding devbox and devcontainer configuration
2 parents b29e04c + c4ab4af commit ac6d032

File tree

3 files changed

+144
-0
lines changed

3 files changed

+144
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "CAPA Devcontainer+Devbox",
3+
"image": "mcr.microsoft.com/devcontainers/go",
4+
"features": {
5+
"ghcr.io/dlouwers/devcontainer-features/devbox:1": {},
6+
"ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {},
7+
"ghcr.io/devcontainers-contrib/features/kind:1.0.14": {},
8+
"ghcr.io/rio/features/k9s:1.1.5": {},
9+
"ghcr.io/audacioustux/devcontainers/tilt:1.0.1": {},
10+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1.2.0": {
11+
"version": "latest",
12+
"helm": "latest",
13+
"minikube": "none"
14+
}
15+
},
16+
"postCreateCommand": "devbox install",
17+
"customizations": {
18+
"vscode": {
19+
"settings": {},
20+
"extensions": [
21+
"jetpack-io.devbox",
22+
"golang.go",
23+
"ms-kubernetes-tools.vscode-kubernetes-tools",
24+
"ms-azuretools.vscode-dockerr"
25+
]
26+
}
27+
}
28+
}

devbox.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
3+
"packages": [
4+
5+
"kubectl",
6+
"kind",
7+
"docker",
8+
"helm",
9+
"jq",
10+
"yq",
11+
"git",
12+
"k9s",
13+
"tilt",
14+
"awscli"
15+
],
16+
"shell": {
17+
"scripts": {
18+
"build": [
19+
"make clusterawsadm"
20+
]
21+
}
22+
}
23+
}

devbox.lock

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"awscli": {
5+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#awscli",
6+
"source": "nixpkg"
7+
},
8+
"docker": {
9+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#docker",
10+
"source": "nixpkg"
11+
},
12+
"git": {
13+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#git",
14+
"source": "nixpkg"
15+
},
16+
17+
"last_modified": "2024-12-23T21:10:33Z",
18+
"resolved": "github:NixOS/nixpkgs/de1864217bfa9b5845f465e771e0ecb48b30e02d#go_1_22",
19+
"source": "devbox-search",
20+
"version": "1.22.10",
21+
"systems": {
22+
"aarch64-darwin": {
23+
"outputs": [
24+
{
25+
"name": "out",
26+
"path": "/nix/store/34qa7mwbc1ja7758q4d9sjwmgip72lj9-go-1.22.10",
27+
"default": true
28+
}
29+
],
30+
"store_path": "/nix/store/34qa7mwbc1ja7758q4d9sjwmgip72lj9-go-1.22.10"
31+
},
32+
"aarch64-linux": {
33+
"outputs": [
34+
{
35+
"name": "out",
36+
"path": "/nix/store/gbidq6smzj09j6qmcdklrvrjgllxmr5j-go-1.22.10",
37+
"default": true
38+
}
39+
],
40+
"store_path": "/nix/store/gbidq6smzj09j6qmcdklrvrjgllxmr5j-go-1.22.10"
41+
},
42+
"x86_64-darwin": {
43+
"outputs": [
44+
{
45+
"name": "out",
46+
"path": "/nix/store/jgz3hrbqblw65v95npdnvlymlm991s0c-go-1.22.10",
47+
"default": true
48+
}
49+
],
50+
"store_path": "/nix/store/jgz3hrbqblw65v95npdnvlymlm991s0c-go-1.22.10"
51+
},
52+
"x86_64-linux": {
53+
"outputs": [
54+
{
55+
"name": "out",
56+
"path": "/nix/store/1hd6kq7rssk14py6v8mrdq2pn5ciiw6y-go-1.22.10",
57+
"default": true
58+
}
59+
],
60+
"store_path": "/nix/store/1hd6kq7rssk14py6v8mrdq2pn5ciiw6y-go-1.22.10"
61+
}
62+
}
63+
},
64+
"helm": {
65+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#helm",
66+
"source": "nixpkg"
67+
},
68+
"jq": {
69+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#jq",
70+
"source": "nixpkg"
71+
},
72+
"k9s": {
73+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#k9s",
74+
"source": "nixpkg"
75+
},
76+
"kind": {
77+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#kind",
78+
"source": "nixpkg"
79+
},
80+
"kubectl": {
81+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#kubectl",
82+
"source": "nixpkg"
83+
},
84+
"tilt": {
85+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#tilt",
86+
"source": "nixpkg"
87+
},
88+
"yq": {
89+
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#yq",
90+
"source": "nixpkg"
91+
}
92+
}
93+
}

0 commit comments

Comments
 (0)