-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
67ba323
commit f66045d
Showing
3 changed files
with
55 additions
and
0 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,13 @@ | ||
{ | ||
"name": "pulumi-codespace", | ||
"build": { | ||
"dockerfile": "../.gitpod.Dockerfile", | ||
}, | ||
"postCreateCommand": "make install", | ||
"remoteUser": "gitpod", | ||
"containerEnv": { | ||
"PULUMI_ACCESS_TOKEN": "${localEnv:PULUMI_ACCESS_TOKEN}", | ||
"PULUMI_TEST_ORG": "${localEnv:PULUMI_TEST_ORG}" | ||
}, | ||
"extensions": ["golang.go", "ms-dotnettools.csharp", "ms-python.python", "formulahendry.dotnet-test-explorer"], | ||
} |
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,21 @@ | ||
FROM gitpod/workspace-full | ||
|
||
USER root | ||
|
||
# Install latest Pulumi CLI | ||
RUN curl -fsSL https://get.pulumi.com/ | bash; \ | ||
mv ~/.pulumi/bin/* /usr/bin | ||
|
||
# Install latest pulumictl | ||
RUN wget -O pulumictl.tar.gz $(curl -s https://api.github.com/repos/pulumi/pulumictl/releases/latest | jq -rc '.assets | map(select(.name | contains("linux-amd64"))) | .[] .browser_download_url') \ | ||
&& tar xzf pulumictl.tar.gz -C /usr/bin pulumictl \ | ||
&& rm -f pulumictl.tar.gz \ | ||
&& pulumictl version | ||
|
||
USER gitpod | ||
|
||
# Install .NET SDK (Current channel) | ||
# Source: https://docs.microsoft.com/dotnet/core/install/linux-scripted-manual#scripted-install | ||
RUN mkdir -p /home/gitpod/dotnet && curl -fsSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel Current --install-dir /home/gitpod/dotnet | ||
ENV DOTNET_ROOT=/home/gitpod/dotnet | ||
ENV PATH=$PATH:/home/gitpod/dotnet |
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,21 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- init: make install | ||
|
||
vscode: | ||
extensions: | ||
- "golang.go" | ||
- "ms-dotnettools.csharp" | ||
- "ms-python.python" | ||
- "formulahendry.dotnet-test-explorer" | ||
|
||
# See: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app | ||
github: | ||
prebuilds: | ||
master: true | ||
branches: true | ||
pullRequests: true | ||
pullRequestsFromForks: true | ||
addCheck: true |