adambkaplan / kubebuilder-plus

Experimental improvements on the kubebuilder project layout
Apache License 2.0
0 stars 0 forks source link

DevContainer: Inner Loop, GitHub Actions and Codespaces #3

Open otaviof opened 2 years ago

otaviof commented 2 years ago

DevContainer

The "dev-container" is a shorter reference to development container, a place with all project dependencies installed and ready to be instantiated during development phase, the inner loop.

A popular way to define the development container in a consistent and reproducible manner is using the devcontainer.json format, it gives a predefined folder structure to introduce local a Dockerfile (or alternatively a docker-compose based approach), to organize and maintain the development toolset.

Considering the tools we use on the shipwright-io organization, we will need the following tools:

Developers can use such environment directly in vscode-remote, in the command-line with the CLI, and/or using local tools like podman, docker and such.

A interesting feature to improve consistency is being able to adopt such dev-container during the CI steps directly. And as well on places like GitHub Code Spaces, which means we can use this foundation to provide a "single click" remote Shipwright complete development environment.

Lets formalize this concept of the "development container"? WDYT?

otaviof commented 2 years ago

/cc @SaschaSchwarze0