-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Erik Veld
committed
Aug 17, 2023
1 parent
10a0d43
commit 4ce179e
Showing
35 changed files
with
147 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
paths-ignore: | ||
- "public/certificates/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,4 +207,4 @@ export function Navigation(props) { | |
</ul> | ||
</nav> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/blueprint.mdx → src/pages/docs/resources/blueprint/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import MetaProperties from "../shared/meta.mdx" | ||
|
||
# Build `build` | ||
|
||
<Intro> | ||
Builds containers and other resources that can be used in blueprints. | ||
</Intro> | ||
|
||
## Properties | ||
|
||
<Properties> | ||
<Property name="container" type="#container" value=""> | ||
Build a container from the given file and context. | ||
Images are cached in the local Docker engine using the following convention. | ||
</Property> | ||
</Properties> | ||
|
||
--- | ||
|
||
## container | ||
|
||
```hcl | ||
container { | ||
dockerfile = "Dockerfile" | ||
context = "./src" | ||
} | ||
``` | ||
|
||
<Properties> | ||
<Property name="dockerfile" type="string" value="Dockerfile"> | ||
Docker file to use for the build. | ||
</Property> | ||
<Property name="context" type="string" required="true" value=""> | ||
Path to the context for the build. | ||
</Property> | ||
<Property name="tag" type="string" value=""> | ||
Tag to tag the resulting image with. | ||
</Property> | ||
<Property name="args" type="map[string]string" value=""> | ||
Build args to pass to the build. | ||
</Property> | ||
</Properties> | ||
|
||
--- | ||
|
||
## Examples | ||
|
||
```hcl | ||
resource "build" "app" { | ||
container { | ||
dockerfile = "Dockerfile" | ||
context = "./src" | ||
} | ||
} | ||
resource "container" "app" { | ||
image { | ||
name = resource.build.app.image | ||
} | ||
command = ["/bin/app"] | ||
port { | ||
local = 9090 | ||
remote = 9090 | ||
host = 9090 | ||
} | ||
network { | ||
id = resource.network.onprem.id | ||
} | ||
} | ||
``` |
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/certificate_ca.mdx → ...es/docs/resources/cert/certificate_ca.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pages/docs/resources/certificate_leaf.mdx → .../docs/resources/cert/certificate_leaf.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/pages/docs/resources/sidecar.mdx → ...ages/docs/resources/container/sidecar.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/book.mdx → src/pages/docs/resources/docs/book.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import MetaProperties from "./shared/meta.mdx" | ||
import MetaProperties from "../shared/meta.mdx" | ||
|
||
# Book `book` | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/chapter.mdx → src/pages/docs/resources/docs/chapter.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/task.mdx → src/pages/docs/resources/docs/task.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import MetaProperties from "./shared/meta.mdx" | ||
import MetaProperties from "../shared/meta.mdx" | ||
|
||
# Task `task` | ||
|
||
|
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/local_exec.mdx → src/pages/docs/resources/exec/local_exec.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import MetaProperties from "./shared/meta.mdx" | ||
import MetaProperties from "../shared/meta.mdx" | ||
|
||
# Local Exec | ||
|
||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/helm.mdx → src/pages/docs/resources/helm/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import MetaProperties from "./shared/meta.mdx" | ||
import MetaProperties from "../shared/meta.mdx" | ||
|
||
# Helm `helm` | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/ingress.mdx → src/pages/docs/resources/ingress/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/module.mdx → src/pages/docs/resources/internal/module.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/output.mdx → src/pages/docs/resources/internal/output.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
...ges/docs/resources/kubernetes_cluster.mdx → ...docs/resources/k8s/kubernetes_cluster.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/network.mdx → src/pages/docs/resources/network/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
src/pages/docs/resources/nomad_cluster.mdx → ...es/docs/resources/nomad/nomad_cluster.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/nomad_job.mdx → src/pages/docs/resources/nomad/nomad_job.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/random_creature.mdx → ...docs/resources/random/random_creature.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/random_id.mdx → ...pages/docs/resources/random/random_id.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/resources/random_number.mdx → ...s/docs/resources/random/random_number.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.