This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new a1455fe3266 NO-ISSUE: Add Nix-based development environment using
devbox (#2246)
a1455fe3266 is described below
commit a1455fe3266522b76ab80de3dd32fdf674595c45
Author: Thiago Lugli <[email protected]>
AuthorDate: Thu Apr 18 14:49:14 2024 -0300
NO-ISSUE: Add Nix-based development environment using devbox (#2246)
---
.envrc | 7 +
.gitignore | 3 +
.vscode/extensions.json | 8 +-
NIX_DEV_ENV.md | 65 +++
README.md | 17 +-
devbox.json | 30 ++
devbox.lock | 507 +++++++++++++++++++++
package.json | 1 +
repo/build-dependencies-versions.json | 4 +-
.../check_required_preinstalled_cli_commands.mjs | 2 +
10 files changed, 631 insertions(+), 13 deletions(-)
diff --git a/.envrc b/.envrc
new file mode 100644
index 00000000000..84fc8e53614
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,7 @@
+# Automatically sets up your devbox environment whenever you cd into this
+# directory via our direnv integration:
+
+eval "$(devbox generate direnv --print-envrc)"
+
+# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
+# for more details
diff --git a/.gitignore b/.gitignore
index 2b0cebd90d5..06fae2386d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -277,3 +277,6 @@ fabric.properties
packages/bpmn-marshaller/**/ts-gen
packages/dmn-marshaller/**/ts-gen
packages/scesim-marshaller/**/ts-gen
+
+# devbox
+.devbox
\ No newline at end of file
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index bbd3dc616f1..8a14dded8ad 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,3 +1,9 @@
{
- "recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint",
"ms-kubernetes-tools.vscode-kubernetes-tools"]
+ "recommendations": [
+ "esbenp.prettier-vscode",
+ "dbaeumer.vscode-eslint",
+ "ms-kubernetes-tools.vscode-kubernetes-tools",
+ "mkhl.direnv",
+ "jetpack-io.devbox"
+ ]
}
diff --git a/NIX_DEV_ENV.md b/NIX_DEV_ENV.md
new file mode 100644
index 00000000000..ea3180e2d04
--- /dev/null
+++ b/NIX_DEV_ENV.md
@@ -0,0 +1,65 @@
+## Nix-based development environment shell
+
+### Installing
+
+- [Install Nix](https://nixos.org/download/) using the multi-user
installation. (You can use the single-user installation, but things may not
work as expected)
+- Enable nix-command and flakes:
+ - Open the Nix config:
+ - `sudo nano /etc/nix/nix.conf`
+ - Add the following at the bottom of the file:
+ - `experimental-features = nix-command flakes`
+- Test your installation by running the Hello World Nix package:
+ - Open a new shell;
+ - Run the hello world Nix package:
+ - `nix run 'nixpkgs#hello'`
+ - You should see `Hello, world!` printed on your terminal.
+- Install [devbox](https://www.jetify.com/devbox/docs/installing_devbox/).
+
+### Running
+
+- Start the development environment:
+ - `devbox shell`
+- To exit the devbox shell, terminate it with `exit` or _Ctrl+D_.
+
+---
+
+### Automating
+
+The steps below are optional but can make your life easier.
+
+#### Starting the shell automatically when navigating into the kie-tools
directory
+
+- [Install direnv](https://direnv.net/docs/installation.html);
+- Remember to [hook it into your shell](https://direnv.net/docs/hook.html);
+- Reload your shell (`source ~/.bashrc` or `source ~/.zshrc`, for example) or
open a new one;
+- `cd` back into the kie-tools directory;
+- Run `direnv allow` to allow direnv to exectue;
+- If `devbox` is not loaded, run `cd .` to trigger it.
+
+#### Make VSCode use the devbox shell automatically
+
+- Install the [devbox VSCode extension](vscode:extension/jetify-com.devbox);
+- Install the [direnv VSCode extension](vscode:extension/mkhl.direnv);
+- Run the steps above, if not already;
+- Open your Devbox project in VSCode. Direnv extension should show a prompt
notification to reload your environment.
+
+---
+
+### Maintaining
+
+#### Adding new packages
+
+- Search for them in [nixhub.io](https://www.nixhub.io/) or via `devbox search
<package_name>`;
+ <blockquote>
+ If you can't find it there, it may have a different name or belong to a
package set.
+
+ Try searching for the package name in
[search.nixos.org](https://search.nixos.org/), and then finding the equivalent
package in [nixhub.io](https://www.nixhub.io/).
+ </blockquote>
+
+- Copy and run the `devbox add <package_name>@<version>` command.
+
+#### Upgrading packages
+
+- Run `devbox add <package_name>@<new_version>` and it should update both
`devbox.json` and `devbox.lock`.
+
+#### Learn more about [devbox](https://www.jetify.com/devbox/docs/)!
diff --git a/README.md b/README.md
index 9c9d76210bc..a6664f227db 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,8 @@ This repository contains tooling applications and libraries
for KIE projects.
## Build from source
+> **💡 Nix development environment**: A _devbox_ configuration is provided to
automatically setup all the tools above, read more in [here](./NIX_DEV_ENV.md).
+
To start building the Apache KIE Tools project, you're going to need:
- Node `18` _(To install, follow these instructions:
https://nodejs.org/en/download/package-manager/)_
@@ -31,24 +33,17 @@ To start building the Apache KIE Tools project, you're
going to need:
> **ℹ️ NOTE:** Some packages will require that `make` is available as well.
-> **ℹ️ NOTE:** \*nix users will also need:
->
-> - `lib-gtk-3-dev`
-> - `appindicator3-0.1` (`libayatana-appindicator3-dev` or
`libappindicator-gtk3-devel` and `gir1.2-appindicator3-0.1`)
-
-> **ℹ️ NOTE:** Users of Fedora or RHEL will need to add a repository:
->
-> `sudo yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm`
-
After installing the tools above, you'll need to download the dependencies and
link the packages locally. Simply run:
- `pnpm bootstrap`
+ > **ℹ️ NOTE:** If you plan on running Playwright tests, set the
`PLAYWRIGHT_BASE__installDeps` environment variable to `true` before running
the command above: `PLAYWRIGHT_BASE__installDeps=true pnpm bootstrap`. This
will install all Playwright dependencies (such as browsers engines and OS
specific libraries).
+
To install only the dependencies that are relevant to the package called
`[pkg-name]`.
- `pnpm bootstrap -F [pkg-name]...`
- > **⚠️ NOTE:** Here, `...` is actually **necessary**! They're part of a
[`pnpm` filter](https://pnpm.io/filtering#--filter-package_name-1).
+ > **ℹ️ NOTE:** Here, `...` is actually **necessary**! They're part of a
[`pnpm` filter](https://pnpm.io/filtering#--filter-package_name-1).
After dependencies are installed, you'll be able to build. To do so, you'll
have two choices - `dev`, or `prod`.
@@ -57,7 +52,7 @@ Note that it is recommended that you specify which package
you want to build, so
- `pnpm -F [pkg-name]... build:dev` - This is fast, but not as strict. It
skips tests, linters, and some type checks. Be prepared for the CI to fail on
your PRs.
- `pnpm -F [pkg-name]... build:prod` - The default command to build
production-ready packages. Use that to make sure your changes are correct.
-> **⚠️ NOTE:** Here, `...` is actually **necessary**! They're part of a
[`pnpm` filter](https://pnpm.io/filtering#--filter-package_name-1).
+> **ℹ️ NOTE:** Here, `...` is actually **necessary**! They're part of a
[`pnpm` filter](https://pnpm.io/filtering#--filter-package_name-1).
> **ℹ️ NOTE:** If you want to build _everything_, run `pnpm -r build:dev` or
> `pnpm -r build:prod`. It's going to take a while, though :)
diff --git a/devbox.json b/devbox.json
new file mode 100644
index 00000000000..9627108022d
--- /dev/null
+++ b/devbox.json
@@ -0,0 +1,30 @@
+{
+ "$schema":
"https://raw.githubusercontent.com/jetpack-io/devbox/0.10.4/.schema/devbox.schema.json",
+ "packages": {
+ "temurin-bin-17": "17.0.9",
+ "nodejs": "18.19.1",
+ "maven": "3.9.6",
+ "kubernetes-helm": "3.13.3",
+ "gnumake": "4.4.1",
+ "go": "1.21.8",
+ "python": "3.12.2",
+ "operator-sdk": "1.34.1",
+ "kubebuilder": "3.14.0"
+ },
+ "env": {
+ "PLAYWRIGHT_BROWSERS_PATH": "0",
+ "PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS": "true",
+ "DEVBOX_COREPACK_ENABLED": "true",
+ "GOFLAGS": "-modcacherw",
+ "GOPATH": "$DEVBOX_PROJECT_ROOT/.devbox/gopkgs",
+ "PATH": "$PATH:$DEVBOX_PROJECT_ROOT/.devbox/gopkgs/bin"
+ },
+ "shell": {
+ "init_hook": [". $VENV_DIR/bin/activate"],
+ "scripts": {
+ "versions": [
+ "java --version && mvn -v && node -v && pnpm -v && go version && helm
version && make -v && python --version && pip --version"
+ ]
+ }
+ }
+}
diff --git a/devbox.lock b/devbox.lock
new file mode 100644
index 00000000000..e2408302f2a
--- /dev/null
+++ b/devbox.lock
@@ -0,0 +1,507 @@
+{
+ "lockfile_version": "1",
+ "packages": {
+ "[email protected]": {
+ "last_modified": "2024-03-22T11:26:23Z",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#gnumake",
+ "source": "devbox-search",
+ "version": "4.4.1",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/d9wnf8z9xpl90kghagl5jh3lncqc893q-gnumake-4.4.1",
+ "default": true
+ },
+ {
+ "name": "man",
+ "path":
"/nix/store/cj2kz1p6fzkxyr6s2a6h2kkz6vy3hs66-gnumake-4.4.1-man",
+ "default": true
+ },
+ {
+ "name": "info",
+ "path":
"/nix/store/rkg39gf40dyllcppicbl2jjmx5jgfasz-gnumake-4.4.1-info"
+ }
+ ],
+ "store_path":
"/nix/store/d9wnf8z9xpl90kghagl5jh3lncqc893q-gnumake-4.4.1"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/fff78x6lxmsmhzkcijpia3pac6gy2hfs-gnumake-4.4.1",
+ "default": true
+ },
+ {
+ "name": "man",
+ "path":
"/nix/store/l4m6k61i066b84f24pfgspy5anm0ic55-gnumake-4.4.1-man",
+ "default": true
+ },
+ {
+ "name": "debug",
+ "path":
"/nix/store/xwwa9jvl8wkvzslh9f4f9paqd66jxhdy-gnumake-4.4.1-debug"
+ },
+ {
+ "name": "info",
+ "path":
"/nix/store/h7g4d56a69cchg4ph7rgaqwy8xvrfk8c-gnumake-4.4.1-info"
+ }
+ ],
+ "store_path":
"/nix/store/fff78x6lxmsmhzkcijpia3pac6gy2hfs-gnumake-4.4.1"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/224fzspjyx3mwc050v2bi9bikiq3h417-gnumake-4.4.1",
+ "default": true
+ },
+ {
+ "name": "man",
+ "path":
"/nix/store/fxrnymr71z4q2bs91zsnwqqah976wz10-gnumake-4.4.1-man",
+ "default": true
+ },
+ {
+ "name": "info",
+ "path":
"/nix/store/pn0agdr8mqyz1hndxldrzgz073r2javv-gnumake-4.4.1-info"
+ }
+ ],
+ "store_path":
"/nix/store/224fzspjyx3mwc050v2bi9bikiq3h417-gnumake-4.4.1"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/x1aqq14561lsgck9ii5dfibpf58jy7d9-gnumake-4.4.1",
+ "default": true
+ },
+ {
+ "name": "man",
+ "path":
"/nix/store/1y6xvn5ff1b4h5vc0sx4kr0ad5h93viq-gnumake-4.4.1-man",
+ "default": true
+ },
+ {
+ "name": "debug",
+ "path":
"/nix/store/r8yg8v3x21rvpzjzjqvgzmrdqvg3hqwy-gnumake-4.4.1-debug"
+ },
+ {
+ "name": "info",
+ "path":
"/nix/store/2mrrh6f51cncy67i3xxj1s2f4i99djwh-gnumake-4.4.1-info"
+ }
+ ],
+ "store_path":
"/nix/store/x1aqq14561lsgck9ii5dfibpf58jy7d9-gnumake-4.4.1"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-22T11:26:23Z",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#go_1_21",
+ "source": "devbox-search",
+ "version": "1.21.8",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path": "/nix/store/zla9agv9h4w5byazjx2vhwnsqnk96cb5-go-1.21.8",
+ "default": true
+ }
+ ],
+ "store_path": "/nix/store/zla9agv9h4w5byazjx2vhwnsqnk96cb5-go-1.21.8"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path": "/nix/store/4mjpm4gxn04drnr2l83js185v66fw6nz-go-1.21.8",
+ "default": true
+ }
+ ],
+ "store_path": "/nix/store/4mjpm4gxn04drnr2l83js185v66fw6nz-go-1.21.8"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path": "/nix/store/isc1mgnbrfiqi3blr8glixdq1nmlap0h-go-1.21.8",
+ "default": true
+ }
+ ],
+ "store_path": "/nix/store/isc1mgnbrfiqi3blr8glixdq1nmlap0h-go-1.21.8"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path": "/nix/store/afv3zwqxyw062vg2j220658jq0g1yadv-go-1.21.8",
+ "default": true
+ }
+ ],
+ "store_path": "/nix/store/afv3zwqxyw062vg2j220658jq0g1yadv-go-1.21.8"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-22T07:26:23-04:00",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#kubebuilder",
+ "source": "devbox-search",
+ "version": "3.14.0",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/hdggigkq5ibqvk3ksmq7cwlyn1l2gdsv-kubebuilder-3.14.0",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/hdggigkq5ibqvk3ksmq7cwlyn1l2gdsv-kubebuilder-3.14.0"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/7ykpi9d6jd4zhxs5c6lfbb9p5kgm5m3p-kubebuilder-3.14.0",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/7ykpi9d6jd4zhxs5c6lfbb9p5kgm5m3p-kubebuilder-3.14.0"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/jpqwxd42bcfkxljy0pkqagbnpifdxvpx-kubebuilder-3.14.0",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/jpqwxd42bcfkxljy0pkqagbnpifdxvpx-kubebuilder-3.14.0"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/c492irdhgzr6wbl6zggn5bw23dlgxb9r-kubebuilder-3.14.0",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/c492irdhgzr6wbl6zggn5bw23dlgxb9r-kubebuilder-3.14.0"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-01-27T14:55:31Z",
+ "resolved":
"github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#kubernetes-helm",
+ "source": "devbox-search",
+ "version": "3.13.3",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/s15ghsgbb8ziwm5wzd547gh8h0pv54wa-kubernetes-helm-3.13.3",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/s15ghsgbb8ziwm5wzd547gh8h0pv54wa-kubernetes-helm-3.13.3"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/gp97zk09cv9b3kd6x0df5p6i2lijclqy-kubernetes-helm-3.13.3",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/gp97zk09cv9b3kd6x0df5p6i2lijclqy-kubernetes-helm-3.13.3"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/iia083d6skha9sg80plvjjfzql2by8rc-kubernetes-helm-3.13.3",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/iia083d6skha9sg80plvjjfzql2by8rc-kubernetes-helm-3.13.3"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/jv37f1mm61bspinaw9q2hq67vn9qydyk-kubernetes-helm-3.13.3",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/jv37f1mm61bspinaw9q2hq67vn9qydyk-kubernetes-helm-3.13.3"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-22T11:26:23Z",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#maven",
+ "source": "devbox-search",
+ "version": "3.9.6",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/0nqg520l3i11hzkbb6ws6i6jkpaqdqp7-apache-maven-3.9.6",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/0nqg520l3i11hzkbb6ws6i6jkpaqdqp7-apache-maven-3.9.6"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/bjggvjn78xjazk370ynx2gy582rqgdf8-apache-maven-3.9.6",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/bjggvjn78xjazk370ynx2gy582rqgdf8-apache-maven-3.9.6"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/1mxga40yfvjvhsxr9z3hychg49f0gn95-apache-maven-3.9.6",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/1mxga40yfvjvhsxr9z3hychg49f0gn95-apache-maven-3.9.6"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/ncvq15byzjpgvjq2mf7kxx89khx64ifn-apache-maven-3.9.6",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/ncvq15byzjpgvjq2mf7kxx89khx64ifn-apache-maven-3.9.6"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-29T03:06:03Z",
+ "plugin_version": "0.0.2",
+ "resolved":
"github:NixOS/nixpkgs/9b09bde6e3fc9493b6a8b2a5702ac87c66505c64#nodejs_18",
+ "source": "devbox-search",
+ "version": "18.19.1",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/r5iax8ijz3fb2318mvk1lqhmgd3ywra0-nodejs-18.19.1",
+ "default": true
+ },
+ {
+ "name": "libv8",
+ "path":
"/nix/store/5da4myd75fd2lng1c5y7vgsjx5d0fzps-nodejs-18.19.1-libv8"
+ }
+ ],
+ "store_path":
"/nix/store/r5iax8ijz3fb2318mvk1lqhmgd3ywra0-nodejs-18.19.1"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/c77aqmmdz2xrnwx8r00830vrikpvxsgs-nodejs-18.19.1",
+ "default": true
+ },
+ {
+ "name": "libv8",
+ "path":
"/nix/store/kbsp3mrmr31fs0qvscik29ls4ph97wvy-nodejs-18.19.1-libv8"
+ }
+ ],
+ "store_path":
"/nix/store/c77aqmmdz2xrnwx8r00830vrikpvxsgs-nodejs-18.19.1"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/d797z1ds0cp8djhd4r6g7lw660npalv4-nodejs-18.19.1",
+ "default": true
+ },
+ {
+ "name": "libv8",
+ "path":
"/nix/store/1m4bp8f0frjjrfgrply18hssy1ddpxjp-nodejs-18.19.1-libv8"
+ }
+ ],
+ "store_path":
"/nix/store/d797z1ds0cp8djhd4r6g7lw660npalv4-nodejs-18.19.1"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/s01jxkf9lr2ajlqxk86065rs77mm96am-nodejs-18.19.1",
+ "default": true
+ },
+ {
+ "name": "libv8",
+ "path":
"/nix/store/82932mmpy9jyry0f1yn8s31l0vnd9xa2-nodejs-18.19.1-libv8"
+ }
+ ],
+ "store_path":
"/nix/store/s01jxkf9lr2ajlqxk86065rs77mm96am-nodejs-18.19.1"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-22T07:26:23-04:00",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#operator-sdk",
+ "source": "devbox-search",
+ "version": "1.34.1",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/39bndv1fk8rrdi1a0xlfaw5qhgylnzkk-operator-sdk-1.34.1",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/39bndv1fk8rrdi1a0xlfaw5qhgylnzkk-operator-sdk-1.34.1"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/n9ln3a2whzwp0x2ik3rxh10wn7ra85r5-operator-sdk-1.34.1",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/n9ln3a2whzwp0x2ik3rxh10wn7ra85r5-operator-sdk-1.34.1"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/y0vi2nvhsgakbvlmbhdpsqdnl83l8q65-operator-sdk-1.34.1",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/y0vi2nvhsgakbvlmbhdpsqdnl83l8q65-operator-sdk-1.34.1"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/h607xcilqpwsc0mna9bc6yilj4v3q4y3-operator-sdk-1.34.1",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/h607xcilqpwsc0mna9bc6yilj4v3q4y3-operator-sdk-1.34.1"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-03-22T11:26:23Z",
+ "plugin_version": "0.0.3",
+ "resolved":
"github:NixOS/nixpkgs/a3ed7406349a9335cb4c2a71369b697cecd9d351#python312",
+ "source": "devbox-search",
+ "version": "3.12.2",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/jc5jlynlx561ibqxd6sy12hcqc8p39c9-python3-3.12.2",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/jc5jlynlx561ibqxd6sy12hcqc8p39c9-python3-3.12.2"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/n5yvl08kxz5llrdiwwxfxyy6wiq2g6lc-python3-3.12.2",
+ "default": true
+ },
+ {
+ "name": "debug",
+ "path":
"/nix/store/bihg62nz0vqqski18cpyppwgqz62blrq-python3-3.12.2-debug"
+ }
+ ],
+ "store_path":
"/nix/store/n5yvl08kxz5llrdiwwxfxyy6wiq2g6lc-python3-3.12.2"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/41yqb3sxsx22drhza74icn4x1gfh3h8m-python3-3.12.2",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/41yqb3sxsx22drhza74icn4x1gfh3h8m-python3-3.12.2"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2",
+ "default": true
+ },
+ {
+ "name": "debug",
+ "path":
"/nix/store/mq8jh0sl1lcpk592whzw96n52grhq8wl-python3-3.12.2-debug"
+ }
+ ],
+ "store_path":
"/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2"
+ }
+ }
+ },
+ "[email protected]": {
+ "last_modified": "2024-04-02T02:53:36Z",
+ "resolved":
"github:NixOS/nixpkgs/080a4a27f206d07724b88da096e27ef63401a504#temurin-bin-17",
+ "source": "devbox-search",
+ "version": "17.0.9",
+ "systems": {
+ "aarch64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/236qmlpvwi6yanjck7hskxwmx1xz1srb-temurin-bin-17.0.9",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/236qmlpvwi6yanjck7hskxwmx1xz1srb-temurin-bin-17.0.9"
+ },
+ "aarch64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/bbv87h9707fqxz2fhd88jys0yb79kj6y-temurin-bin-17.0.9",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/bbv87h9707fqxz2fhd88jys0yb79kj6y-temurin-bin-17.0.9"
+ },
+ "x86_64-darwin": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/p3ip7x2qpz8v11lp5xb4hxc4919ijz28-temurin-bin-17.0.9",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/p3ip7x2qpz8v11lp5xb4hxc4919ijz28-temurin-bin-17.0.9"
+ },
+ "x86_64-linux": {
+ "outputs": [
+ {
+ "name": "out",
+ "path":
"/nix/store/jg44fq69zhms7c4cvnd1hyzcxwhj7cm7-temurin-bin-17.0.9",
+ "default": true
+ }
+ ],
+ "store_path":
"/nix/store/jg44fq69zhms7c4cvnd1hyzcxwhj7cm7-temurin-bin-17.0.9"
+ }
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
index d50acbd0050..bbf4be36980 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"node": ">=18",
"pnpm": "8.7.0"
},
+ "packageManager": "[email protected]",
"pnpm": {
"packageExtensions": {
"monaco-editor-webpack-plugin": {
diff --git a/repo/build-dependencies-versions.json
b/repo/build-dependencies-versions.json
index 3b7e9efc407..4c459d22877 100644
--- a/repo/build-dependencies-versions.json
+++ b/repo/build-dependencies-versions.json
@@ -3,5 +3,7 @@
"java": "17",
"maven": "3.9.6",
"node": "18.14.0",
- "pnpm": "8.7.0"
+ "pnpm": "8.7.0",
+ "python": "3.12.2",
+ "pip": "24.0"
}
diff --git a/scripts/bootstrap/check_required_preinstalled_cli_commands.mjs
b/scripts/bootstrap/check_required_preinstalled_cli_commands.mjs
index fa5500b9286..04f041821b4 100755
--- a/scripts/bootstrap/check_required_preinstalled_cli_commands.mjs
+++ b/scripts/bootstrap/check_required_preinstalled_cli_commands.mjs
@@ -31,6 +31,8 @@ const argsByCommand = new Map([
["go", ["version"]],
["make", ["-v"]],
["helm", ["version"]],
+ ["python", "--version"],
+ ["pip", "--version"],
]);
async function main() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]