-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from spacelift-io/future
V3 Provider, Bringing future into main
- Loading branch information
Showing
603 changed files
with
43,493 additions
and
37,986 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,68 @@ | ||
ARG UBUNTU_VERSION=latest | ||
FROM --platform=linux/amd64 ubuntu:${UBUNTU_VERSION} | ||
|
||
# Update apt-get and install various needed utilities | ||
RUN apt-get update && \ | ||
apt-get install -y curl && \ | ||
apt-get install -y wget && \ | ||
apt-get install -y xz-utils && \ | ||
apt-get install -y make && \ | ||
apt-get install -y gcc && \ | ||
apt-get install -y git | ||
|
||
# Install bridged provider prerequisites | ||
# See README.md | ||
|
||
# Install go | ||
ARG GO_VERSION=1.18.3 | ||
RUN rm -rf /usr/local/go && \ | ||
wget -O ${GO_VERSION}.tar.gz https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz && \ | ||
tar -C /usr/local -xzf ${GO_VERSION}.tar.gz && \ | ||
rm ${GO_VERSION}.tar.gz | ||
|
||
ENV GOPATH=/root/go | ||
ENV PATH=$PATH:/usr/local/go/bin | ||
|
||
# Install go linter | ||
RUN mkdir -p $GOPATH/bin && \ | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.46.2 | ||
|
||
ENV PATH=$PATH:$GOPATH/bin | ||
|
||
# Install pulumictl | ||
ARG PULUMICTL_VERSION=v0.0.32 | ||
RUN rm -rf /usr/local/bin/pulumictl && \ | ||
wget -O pulumictl.${PULUMICTL_VERSION}.tar.gz https://github.com/pulumi/pulumictl/releases/download/${PULUMICTL_VERSION}/pulumictl-${PULUMICTL_VERSION}-linux-amd64.tar.gz && \ | ||
tar -C /usr/local/bin -xzf pulumictl.${PULUMICTL_VERSION}.tar.gz | ||
|
||
# Install nodejs | ||
ARG NODEJS_VERSION=v16.16.0 | ||
ARG NODEJS_PKG=node-${NODEJS_VERSION}-linux-x64 | ||
ARG NODEJS_TARBALL=${NODEJS_PKG}.tar.xz | ||
RUN rm -rf /usr/local/node && \ | ||
wget -O ${NODEJS_TARBALL} https://nodejs.org/dist/${NODEJS_VERSION}/${NODEJS_TARBALL} && \ | ||
tar -C /usr/local -xf ${NODEJS_TARBALL} && \ | ||
mv /usr/local/${NODEJS_PKG} /usr/local/node | ||
|
||
ENV PATH=$PATH:/usr/local/node/bin | ||
|
||
# Install yarn | ||
RUN npm install --global yarn | ||
|
||
# Install python and related items | ||
RUN apt-get install -y python3 && \ | ||
apt-get install -y python3-setuptools | ||
|
||
# Install .NET | ||
RUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \ | ||
dpkg -i packages-microsoft-prod.deb && \ | ||
rm packages-microsoft-prod.deb | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y apt-transport-https && \ | ||
apt-get update && \ | ||
apt-get install -y dotnet-sdk-6.0 | ||
|
||
# Install Pulumi | ||
RUN curl -fsSL https://get.pulumi.com | sh | ||
ENV PATH=$PATH:/root/.pulumi/bin |
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,8 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.3/containers/hugo | ||
{ | ||
"name": "TFProvider", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.19.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -55,6 +55,8 @@ jobs: | |
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} | ||
- name: Publish npm package. | ||
run: cd sdk/nodejs/bin && npm publish --access public | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Build dotnet package | ||
run: make build_dotnet | ||
- name: Package 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
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,23 @@ | ||
.idea | ||
.code | ||
**/vendor/ | ||
.pulumi | ||
**/bin/ | ||
**/obj/ | ||
Pulumi.*.yaml | ||
**/node_modules/ | ||
.DS_Store | ||
|
||
**/command-output/ | ||
|
||
.idea/ | ||
*.iml | ||
|
||
yarn.lock | ||
**/pulumiManifest.go | ||
|
||
ci-scripts | ||
provider/**/schema-embed.json | ||
**/version.txt | ||
**/nuget | ||
**/dist |
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,4 @@ | ||
.pulumi/ | ||
**/bin/ | ||
node_modules/ | ||
|
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,3 @@ | ||
module github.com/spacelift-io/pulumi-spacelift/examples | ||
|
||
go 1.16 |
Oops, something went wrong.