Skip to content

Commit fbbd4b4

Browse files
committed
first draft
1 parent d3d66ee commit fbbd4b4

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
3+
{
4+
"name": "Debian",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:trixie",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/go:1": {
11+
"version": "1.24"
12+
}
13+
}
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
// "forwardPorts": [],
17+
18+
// Configure tool-specific properties.
19+
// "customizations": {},
20+
21+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22+
// "remoteUser": "root"
23+
}

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ updates:
1111
directory: "/"
1212
schedule:
1313
interval: "weekly"
14+
- package-ecosystem: "devcontainers"
15+
directory: "/"
16+
schedule:
17+
interval: weekly

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ check-vet: ## Check source files with `go vet`
7171

7272
##@ Code generation
7373

74+
.PHONY: apispecs
75+
apispecs: ## Update all API specs
76+
$(MAKE) renku-users-apispec
77+
$(MAKE) renku-session-apispec
78+
7479
.PHONY: renku-users-apispec
7580
renku-users-apispec: ## Download the "users" API spec
7681
curl -L -o pkg/renkuapi/users/api.spec.yaml https://raw.githubusercontent.com/SwissDataScienceCenter/renku-data-services/refs/heads/main/components/renku_data_services/users/api.spec.yaml
@@ -80,8 +85,6 @@ renku-users-apispec: ## Download the "users" API spec
8085
.PHONY: renku-session-apispec
8186
renku-session-apispec: ## Download the "session" API spec
8287
curl -L -o pkg/renkuapi/session/api.spec.yaml https://raw.githubusercontent.com/SwissDataScienceCenter/renku-data-services/refs/heads/main/components/renku_data_services/session/api.spec.yaml
83-
# sed -e 's/- default: "general"//g' pkg/renkuapi/users/api.spec.yaml > pkg/renkuapi/users/api.spec.new.yaml
84-
# mv pkg/renkuapi/users/api.spec.new.yaml pkg/renkuapi/users/api.spec.yaml
8588

8689
.PHONY: generate
8790
generate: pkg/renkuapi/users/users_gen.go pkg/renkuapi/session/session_gen.go ## Run go generate

0 commit comments

Comments
 (0)