Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Report a bug in the STACKIT pulumi provider
about: Report a bug in the STACKIT Pulumi Provider
title: ''
labels: bug
assignees: ''
Expand All @@ -26,16 +26,17 @@ assignees: ''

## Actual behavior

*Please describe the current behavior of the STACKIT pulumi provider. Don't forget to add detailed information like error messages.*
*Please describe the current behavior of the STACKIT Pulumi Provider. Don't forget to add detailed information like error messages.*

## Expected behavior

*Please describe the behavior which you would expect from the STACKIT pulumi provider in that case.*
*Please describe the behavior which you would expect from the STACKIT Pulumi Provider in that case.*

## Environment
- OS:
- pulumi version (see `pulumi --version`): `vX.X.X`
- Version of the STACKIT pulumi provider: `vX.X.X`
- pulumi version (see `pulumi version`): `vX.X.X`
- pulumictl version (see `pulumictl version`) `X.X.X`
- Version of the STACKIT Pulumi Provider: `vX.X.X`

**Additional information**

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Feature request
about: Suggest an idea for the STACKIT pulumi provider
about: Suggest an idea for the STACKIT Pulumi Provider
title: ''
labels: enhancement
assignees: ''
Expand Down
16 changes: 16 additions & 0 deletions .github/actions/gotools/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Install Go Tools
description: "Install Go Tools for pipeline"
inputs:
go-version:
description: "Go version to install"
required: true
runs:
using: "composite"
steps:
- name: Install Go ${{ inputs.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- name: Install project tools and dependencies
shell: bash
run: make project-tools
67 changes: 67 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: CI Workflow

on:
pull_request:
workflow_dispatch:
push:
branches:
- main

permissions:
contents: write
id-token: write

env:
GO_VERSION: "1.24"
DOTNET_VERSION: 9.0.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_VERSION: 20.x
PYTHON_VERSION: "3.9"

jobs:
main:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # tag=v2.1.0
with:
repo: pulumi/pulumictl
- name: Install pulumi
uses: pulumi/actions@v4
- name: Install Go Tools
uses: ./.github/actions/gotools
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # tag=v4.4.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup DotNet
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # tag=v4.3.1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # tag=v5.6.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Build sdks
run: make generate_sdks
- name: Lint
run: make lint_provider

config:
name: Check GoReleaser config
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
args: check
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
with:
go-version: ${{matrix.goversion}}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # tag=v2.1.0
with:
repo: pulumi/pulumictl
- name: Install Go Tools
uses: ./.github/actions/gotools
with:
go-version: ${{ matrix.goversion }}
- name: Set PreRelease Version
run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
- uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
Expand All @@ -63,7 +63,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.22.x
- 1.24.x
publish_sdk:
name: Publish SDKs
runs-on: ubuntu-latest
Expand All @@ -73,23 +73,23 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
with:
go-version: ${{ matrix.goversion }}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # tag=v2.1.0
with:
repo: pulumi/pulumictl
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b374ceb6168550de27c6eba92e01c1a774040e11 # tag=v2.0.0
- name: Install Go Tools
uses: ./.github/actions/gotools
with:
go-version: ${{ matrix.goversion }}
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # tag=v4.4.0
with:
node-version: ${{matrix.nodeversion}}
registry-url: ${{env.NPM_REGISTRY_URL}}
- name: Setup DotNet
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # tag=v2.1.0
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # tag=v4.3.1
with:
dotnet-version: ${{matrix.dotnetverson}}
- name: Setup Python
Expand Down Expand Up @@ -130,9 +130,9 @@ jobs:
fail-fast: true
matrix:
dotnetversion:
- 3.1.301
- 9.0.x
goversion:
- 1.22.x
- 1.24.x
language:
- nodejs
- python
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
.code
pulumi-stackit.sln
**/vendor/
.pulumi
**/bin/
Expand Down
Loading
Loading