You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/contributing.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,15 +51,30 @@ If you are using Visual Studio Code with [Remote - Containers](https://marketpla
51
51
```
52
52
7. Once your kind cluster has been created, you can now start testing your Azure Databicks Operator within your own local kubernetes environment!
53
53
54
+
## Advanced: DevContainer Cache
55
+
56
+
To speedup start times for the `devcontainer` and reduce the requirement for internet connectivity when starting we cache the `.vscodeserver` and `/go/pkg` folder to docker volumes. The [VSCode docs cover this topic here](https://code.visualstudio.com/docs/remote/containers-advanced#_avoiding-extension-reinstalls-on-container-rebuild).
57
+
58
+
The downside is that changes to the `extension` list in `devcontainer.json` won't automatically be picked up. To clear the cache run `docker volume rm dboperator-vscodecache -f`.
59
+
60
+
You'll need to remove existing instance of the `devcontainer` before clearing the cache. Use `docker ps -a` and then locating the container with a name `vsc-azure-databricks-operator-*` and using `docker rm -f CONTAINER-NAME-HERE` to remove it.
61
+
62
+
In `bash` the following will automate the process:
The scaffolding for the project is generated using `Kubebuilder`. It is a good idea to become familiar with this [project](https://github.com/kubernetes-sigs/kubebuilder). The [quick start](https://book.kubebuilder.io/quick-start.html) guide is also quite useful.
58
74
59
75
See `Makefile` at the root directory of the project. By default, executing `make` will build the project and produce an executable at `./bin/manager`
60
76
61
-
For example, to quick start
62
-
>this assumes dependencies have been downloaded and existing CRDs have been installed. See next section
77
+
For example, to quick start this assumes dependencies have been downloaded and existing CRDs have been installed. See next section
0 commit comments