Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
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
12 changes: 12 additions & 0 deletions .boilerplate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dirs_to_skip" : [
"hack/boilerplate/testdata/",
"hack/tools/",
"vendor",
".cache",
".pkg"
],
"not_generated_files_to_skip" : [
"hack/boilerplate/boilerplate.py"
]
}
1 change: 1 addition & 0 deletions .builder-image-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: 'Bug report'
about: Tell us about a problem you are experiencing.

---

/kind bug

**What steps did you take and what happened:**
[A clear and concise description of what the bug is.]


**What did you expect to happen:**


**Anything else you would like to add:**
[Miscellaneous information that will assist in solving the issue.]


**Environment:**

- csctl-plugin-openstack version: (use `csctl-plugin-openstack version`)
- OS (e.g. from `/etc/os-release`):
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: 'Feature request'
about: Suggest an idea for this project.

---

/kind feature

**Describe the solution you'd like**
[A clear and concise description of what you want to happen.]


**Anything else you would like to add:**
[Miscellaneous information that will assist in solving the issue.]


**Environment:**

- csctl-plugin-openstack version: (use `csctl-plugin-openstack version`)
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Enhancement Proposal
about: Propose larger efforts, breaking changes, or new features

---

***Goals***
1. Goal 1
2. Goal 2

***Non-Goals/Future Work***
1. Non-Goal 1
1. Non-Goal 2

**User Story**

As a [developer/user/operator] I would like to [high level description] for [reasons]

**Detailed Description**

[A clear and concise description of what you want to happen.]

/kind proposal
30 changes: 30 additions & 0 deletions .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Setup Go"
description: "Setup Go"
runs:
using: "composite"
steps:
- name: Install go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: "go.mod"
cache: true
cache-dependency-path: go.sum
- id: go-cache-paths
shell: bash
run: |
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
- name: Go Mod Cache
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mod-
- name: Go Build Cache
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-build-
22 changes: 22 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
area/code:
- changed-files:
- any-glob-to-any-file: "controllers/**/*"
- any-glob-to-any-file: "pkg/**/*"
area/api:
- changed-files:
- any-glob-to-any-file: "api/**/*"
- any-glob-to-any-file: "config/crd/**/*"
area/github:
- changed-files:
- any-glob-to-any-file: ".github/**/*"
area/hack:
- changed-files:
- any-glob-to-any-file: "hack/**/*"
- any-glob-to-any-file: "Makefile"
area/test:
- changed-files:
- any-glob-to-any-file: "test/**/*"
area/templates:
- changed-files:
- any-glob-to-any-file: "templates/**/*"
80 changes: 80 additions & 0 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
# Area
- name: area/code
color: "72ccf3"
description: >-
Changes made in the code directory
- name: area/api
color: "72ccf3"
description: >-
Changes made in the api directory
- name: area/github
color: "72ccf3"
description: >-
Changes made in the github directory
- name: area/hack
color: "72ccf3"
description: >-
Changes made in the hack directory
- name: area/test
color: "72ccf3"
description: >-
Changes made in the test directory
- name: area/templates
color: "72ccf3"
description: >-
Changes made in the templates directory
# Update
- name: update/container
color: "ffc300"
- name: update/github-action
color: "ffc300"
- name: update/helm
color: "ffc300"
- name: update/go
color: "ffc300"
# Semantic Type
- name: type/patch
color: "FFEC19"
- name: type/minor
color: "FF9800"
- name: type/major
color: "F6412D"
# Size
- name: size/XS
color: "009900"
description: >-
Denotes a PR that changes 0-20 lines, ignoring generated files.
- name: size/S
color: "77bb00"
description: >-
Denotes a PR that changes 20-50 lines, ignoring generated files.
- name: size/M
color: "eebb00"
description: >-
Denotes a PR that changes 50-200 lines, ignoring generated files.
- name: size/L
color: "ee9900"
description: >-
Denotes a PR that changes 200-800 lines, ignoring generated files.
- name: size/XL
color: "ee5500"
description: >-
Denotes a PR that changes 800-2000 lines, ignoring generated files.
- name: size/XXL
color: "ee0000"
description: >-
Denotes a PR that changes 2000+ lines, ignoring generated files.
# Uncategorized
- name: bug
color: "ee0701"
- name: do-not-merge
color: "ee0701"
- name: docs
color: "F4D1B7"
- name: enhancement
color: "84b6eb"
- name: link-checker
color: "7B55D7"
- name: question
color: "cc317c"
19 changes: 19 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- If this is your first PR, welcome! Please make sure you read the [contributing guidelines](../CONTRIBUTING.md#contributing-a-patch). -->
<!-- please add an icon to the title of this PR and delete this line and similar ones -->
<!-- the icon will be either ⚠️ (:warning:, major or breaking changes), ✨ (:sparkles:, feature additions), 🐛 (:bug:, patches and bugfixes), 📖 (:book:, documentation or proposals), or 🌱 (:seedling:, minor or other) -->

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

_Please confirm that if this PR changes any image versions, then that's the sole change this PR makes._

**TODOs**:

- [ ] squash commits
- [ ] include documentation
- [ ] add unit tests

47 changes: 47 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
extends: [
":dependencyDashboard",
":semanticPrefixFixDepsChoreOthers",
":autodetectRangeStrategy",
":disableRateLimiting",
":semanticCommits",
"helpers:pinGitHubActionDigests",
"github>whitesource/merge-confidence:beta",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/commitMessage.json5",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/approval.json5",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/golang.json5",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/groups.json5",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/labels.json5",
"github>SovereignCloudStack/csctl-plugin-openstack//.github/renovate/regexManagers.json5"
],
platform: "github",
baseBranches: ["main"],
onboarding: false,
requireConfig: "ignored",
timezone: "Europe/Berlin",
// repo config
repositories: ["SovereignCloudStack/csctl-plugin-openstack"],
ignorePaths: [
"**/vendor/**",
"**/test/**",
"**/tests/**"
],
username: "cluster-stack-bot[bot]",
gitAuthor: "cluster-stack-bot[bot] <143188378+cluster-stack-bot[bot]@users.noreply.github.com>",
// PR config
dependencyDashboardTitle: "Dependency Dashboard 🤖",
dependencyDashboardHeader: "",
prFooter: "",
suppressNotifications: ["prIgnoreNotification"],
rebaseWhen: "conflicted",
commitBodyTable: true,
prHourlyLimit: 1,
printConfig: true,
pruneStaleBranches: true,
allowPostUpgradeCommandTemplating: true,
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
enabledManagers: ["dockerfile", "gomod", "github-actions", "regex"],
recreateClosed: true,
}
11 changes: 11 additions & 0 deletions .github/renovate/approval.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
packageRules: [
{
matchUpdateTypes: ["major", "minor"],
matchManagers: ["gomod"],
matchDepTypes: ["golang"],
description: "Ask for approval for golang updates",
dependencyDashboardApproval: true,
},
],
}
18 changes: 18 additions & 0 deletions .github/renovate/commitMessage.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"commitMessagePrefix": ":seedling: ",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"group": { commitMessageTopic: "{{{groupName}}} group" },
"packageRules": [
{
"matchDatasources": ["helm"],
"commitMessageTopic": "chart {{depName}}"
},
{
"matchDatasources": ["docker"],
"commitMessageTopic": "image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}"
}
]
}
31 changes: 31 additions & 0 deletions .github/renovate/golang.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
golang: {
postUpdateOptions: ["gomodTidy", "gomodUpdateImportPaths"],
},
// https://docs.renovatebot.com/configuration-options/#constraints
"constraints": {
"go": "1.21"
},
packageRules: [
{
description: "Disable Golang update for major and minor versions",
matchManagers: ["dockerfile"],
matchDepNames: ["docker.io/library/golang"],
matchUpdateTypes: ["major", "minor"],
enabled: false,
},
{
description: "Disable slim-sprig",
matchManagers: ["gomod"],
matchDepNames: ["github.com/go-task/slim-sprig"],
matchPaths: ["hack/tools/**"],
enabled: false,
},
{
description: "Disable update k8s packages",
matchManagers: ["gomod"],
matchDepNames: ["k8s.io/api", "k8s.io/apimachinery", "k8s.io/apiserver", "k8s.io/client-go", "k8s.io/kubectl", "k8s.io/code-generator"],
enabled: false,
},
],
}
Loading