-
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.
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <[email protected]>
- Loading branch information
Showing
403 changed files
with
37,491 additions
and
3,056 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
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,60 @@ | ||
name: Build library | ||
|
||
on: { push: { branches-ignore: [future, main] } } | ||
|
||
concurrency: | ||
group: build-library-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-library: | ||
name: Build library | ||
runs-on: ubuntu-latest | ||
container: golang:1.21-alpine | ||
steps: | ||
- name: Install build dependencies | ||
run: | | ||
apk add --no-cache alpine-sdk git bash npm python3 py3-pip | ||
- name: Install yarn | ||
run: npm install --global yarn | ||
|
||
- name: Setup Dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6 | ||
|
||
- name: Check out repository code | ||
uses: actions/checkout@main | ||
|
||
- name: Treat repo as safe | ||
run: git config --global --add safe.directory /__w/pulumi-spacelift/pulumi-spacelift | ||
|
||
- name: Remove Pulumi directory | ||
run: rm -rf /github/home/.pulumi | ||
|
||
- name: Install pulumictl | ||
uses: jaxxstorm/action-install-gh-release@v1 | ||
with: | ||
repo: pulumi/pulumictl | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install pulumi | ||
uses: pulumi/actions@v4 | ||
|
||
- name: Tag version | ||
run: | | ||
$CURRENT_TAG=$(git describe --tags --abbrev=0) | ||
git tag $CURRENT_TAG | ||
- name: Print version | ||
run: pulumictl get version | ||
|
||
- name: Build SDKs | ||
run: make build_sdks | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Check if sdk is up to date | ||
run: git diff --exit-code ./ |
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
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
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,195 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Spacelift | ||
{ | ||
[SpaceliftResourceType("spacelift:index/blueprint:Blueprint")] | ||
public partial class Blueprint : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// Description of the blueprint | ||
/// </summary> | ||
[Output("description")] | ||
public Output<string?> Description { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Labels of the blueprint | ||
/// </summary> | ||
[Output("labels")] | ||
public Output<ImmutableArray<string>> Labels { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Name of the blueprint | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// ID of the space the blueprint is in | ||
/// </summary> | ||
[Output("space")] | ||
public Output<string> Space { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`. | ||
/// </summary> | ||
[Output("state")] | ||
public Output<string> State { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required. | ||
/// </summary> | ||
[Output("template")] | ||
public Output<string?> Template { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a Blueprint resource with the given unique name, arguments, and options. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resource</param> | ||
/// <param name="args">The arguments used to populate this resource's properties</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public Blueprint(string name, BlueprintArgs args, CustomResourceOptions? options = null) | ||
: base("spacelift:index/blueprint:Blueprint", name, args ?? new BlueprintArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private Blueprint(string name, Input<string> id, BlueprintState? state = null, CustomResourceOptions? options = null) | ||
: base("spacelift:index/blueprint:Blueprint", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
PluginDownloadURL = "https://downloads.spacelift.io/pulumi-plugins", | ||
}; | ||
var merged = CustomResourceOptions.Merge(defaultOptions, options); | ||
// Override the ID if one was specified for consistency with other language SDKs. | ||
merged.Id = id ?? merged.Id; | ||
return merged; | ||
} | ||
/// <summary> | ||
/// Get an existing Blueprint resource's state with the given name, ID, and optional extra | ||
/// properties used to qualify the lookup. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resulting resource.</param> | ||
/// <param name="id">The unique provider ID of the resource to lookup.</param> | ||
/// <param name="state">Any extra arguments used during the lookup.</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public static Blueprint Get(string name, Input<string> id, BlueprintState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new Blueprint(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class BlueprintArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// Description of the blueprint | ||
/// </summary> | ||
[Input("description")] | ||
public Input<string>? Description { get; set; } | ||
|
||
[Input("labels")] | ||
private InputList<string>? _labels; | ||
|
||
/// <summary> | ||
/// Labels of the blueprint | ||
/// </summary> | ||
public InputList<string> Labels | ||
{ | ||
get => _labels ?? (_labels = new InputList<string>()); | ||
set => _labels = value; | ||
} | ||
|
||
/// <summary> | ||
/// Name of the blueprint | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// ID of the space the blueprint is in | ||
/// </summary> | ||
[Input("space", required: true)] | ||
public Input<string> Space { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`. | ||
/// </summary> | ||
[Input("state", required: true)] | ||
public Input<string> State { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required. | ||
/// </summary> | ||
[Input("template")] | ||
public Input<string>? Template { get; set; } | ||
|
||
public BlueprintArgs() | ||
{ | ||
} | ||
public static new BlueprintArgs Empty => new BlueprintArgs(); | ||
} | ||
|
||
public sealed class BlueprintState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// Description of the blueprint | ||
/// </summary> | ||
[Input("description")] | ||
public Input<string>? Description { get; set; } | ||
|
||
[Input("labels")] | ||
private InputList<string>? _labels; | ||
|
||
/// <summary> | ||
/// Labels of the blueprint | ||
/// </summary> | ||
public InputList<string> Labels | ||
{ | ||
get => _labels ?? (_labels = new InputList<string>()); | ||
set => _labels = value; | ||
} | ||
|
||
/// <summary> | ||
/// Name of the blueprint | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// ID of the space the blueprint is in | ||
/// </summary> | ||
[Input("space")] | ||
public Input<string>? Space { get; set; } | ||
|
||
/// <summary> | ||
/// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`. | ||
/// </summary> | ||
[Input("state")] | ||
public Input<string>? State { get; set; } | ||
|
||
/// <summary> | ||
/// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required. | ||
/// </summary> | ||
[Input("template")] | ||
public Input<string>? Template { get; set; } | ||
|
||
public BlueprintState() | ||
{ | ||
} | ||
public static new BlueprintState Empty => new BlueprintState(); | ||
} | ||
} |
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
Oops, something went wrong.