Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add devbox integration #13584

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ typedoc.json
origin-bucket-metadata.json

# Ignore js scripts added to the static folder
static/js
static/js

# Ignore files installed with devbox
devbox.json
.devbox
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ Additionally, to build the SDK and CLI documentation, you'll also need:
* [Pulumi](https://www.pulumi.com/docs/install)
* [Pulumi ESC](https://www.pulumi.com/docs/install/esc)

Alternatively, you can quickly launch a shell environment with all the required dependencies using [devbox](https://www.jetpack.io/devbox/):
```
# Install devbox if needed
$ which devbox || curl -fsSL https://get.jetpack.io/devbox | bash
$ devbox shell
```

### Repository layout

* **Documentation and page content**: We generally follow Hugo's [directory-structure conventions](https://gohugo.io/getting-started/directory-structure/), with Markdown files in `./content`, layout files (including partials and shortcodes) in `./layout`, and data files in `./data`. There are also several [Hugo templates](https://gohugo.io/content-management/archetypes/) available in `./archetypes` for bootstrapping common content types like blog posts and Learn modules.
Expand Down
21 changes: 21 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json",
"packages": [
"[email protected]",
"[email protected]",
"[email protected]",
"nodejs@18",
"dotnet-sdk@6",
"[email protected]",
"pulumi-esc@latest"
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true",
"VENV_DIR": "venv"
},
"shell": {
"init_hook": [
". $VENV_DIR/bin/activate"
]
}
}
Loading