Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit a19d111

Browse files
authored
bootstrap cluster-stack-provider-openstack (#1)
this commit bootstrap cluster-stack-provider-openstack and adds necessary make targets, tiltfile, github workflows etc. Signed-off-by: Anurag <[email protected]>
1 parent ea03ed8 commit a19d111

File tree

3,995 files changed

+1438021
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,995 files changed

+1438021
-0
lines changed

.boilerplate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"dirs_to_skip": [
3+
"tilt_modules",
4+
"api/v1alpha1/zz_generated.deepcopy.go",
5+
"hack/ci-e2e-get-token.sh",
6+
"hack/tools/",
7+
"vendor",
8+
".cache",
9+
".pkg"
10+
],
11+
"not_generated_files_to_skip": [
12+
"hack/boilerplate/boilerplate.py"
13+
]
14+
}

.builder-image-version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
2+
# Ignore build and test binaries.
3+
bin/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: 'Bug report'
3+
about: Tell us about a problem you are experiencing.
4+
5+
---
6+
7+
/kind bug
8+
9+
**What steps did you take and what happened:**
10+
[A clear and concise description of what the bug is.]
11+
12+
13+
**What did you expect to happen:**
14+
15+
16+
**Anything else you would like to add:**
17+
[Miscellaneous information that will assist in solving the issue.]
18+
19+
20+
**Environment:**
21+
22+
- cluster-stack-provider-openstack version:
23+
- Kubernetes version: (use `kubectl version`)
24+
- OS (e.g. from `/etc/os-release`):
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: 'Feature request'
3+
about: Suggest an idea for this project.
4+
5+
---
6+
7+
/kind feature
8+
9+
**Describe the solution you'd like**
10+
[A clear and concise description of what you want to happen.]
11+
12+
13+
**Anything else you would like to add:**
14+
[Miscellaneous information that will assist in solving the issue.]
15+
16+
17+
**Environment:**
18+
19+
- cluster-stack-provider-openstack version:
20+
- Kubernetes version: (use `kubectl version`)
21+
- OS (e.g. from `/etc/os-release`):

.github/ISSUE_TEMPLATE/proposal.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Enhancement Proposal
3+
about: Propose larger efforts, breaking changes, or new features
4+
5+
---
6+
7+
***Goals***
8+
1. Goal 1
9+
1. Goal 2
10+
11+
***Non-Goals/Future Work***
12+
1. Non-Goal 1
13+
1. Non-Goal 2
14+
15+
**User Story**
16+
17+
As a [developer/user/operator] I would like to [high level description] for [reasons]
18+
19+
**Detailed Description**
20+
21+
[A clear and concise description of what you want to happen.]
22+
23+
**Contract changes [optional]**
24+
25+
[Describe contract changes between SCS Cluster Stack Provider Openstack controllers, if applicable.]
26+
27+
**Data model changes [optional]**
28+
29+
[Describe contract changes between SCS Cluster Stack Provider Openstack controllers, if applicable.]
30+
31+
/kind proposal
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Metadata"
2+
description: "Generate Image Metadata"
3+
inputs:
4+
metadata_flavor:
5+
description: "metadata_flavor"
6+
required: true
7+
metadata_tags:
8+
description: "metadata_tags"
9+
required: true
10+
outputs:
11+
tags:
12+
description: "generated image tags"
13+
value: ${{ steps.meta.outputs.tags }}
14+
labels:
15+
description: "generated image labels"
16+
value: ${{ steps.meta.outputs.labels }}
17+
version:
18+
description: "generated image version"
19+
value: ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
20+
runs:
21+
using: "composite"
22+
steps:
23+
- name: Docker manager metadata
24+
id: meta
25+
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
26+
with:
27+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
28+
flavor: ${{ inputs.metadata_flavor }}
29+
tags: ${{ inputs.metadata_tags }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Setup Go"
2+
description: "Setup Go"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Install go
7+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
8+
with:
9+
go-version-file: "go.mod"
10+
cache: true
11+
cache-dependency-path: go.sum
12+
- id: go-cache-paths
13+
shell: bash
14+
run: |
15+
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
16+
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
17+
- name: Go Mod Cache
18+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
19+
with:
20+
path: ${{ steps.go-cache-paths.outputs.go-mod }}
21+
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
22+
restore-keys: |
23+
${{ runner.os }}-go-mod-
24+
- name: Go Build Cache
25+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
26+
with:
27+
path: ${{ steps.go-cache-paths.outputs.go-build }}
28+
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
29+
restore-keys: |
30+
${{ runner.os }}-go-build-

.github/labeler.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
area/code:
3+
- "controllers/**/*"
4+
- "pkg/**/*"
5+
area/api:
6+
- "api/**/*"
7+
- "config/crd/**/*"
8+
area/github:
9+
- ".github/**/*"
10+
area/hack:
11+
- "hack/**/*"
12+
- "Makefile"
13+
area/test:
14+
- "test/**/*"
15+
area/templates:
16+
- "templates/**/*"

.github/labels.yaml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
# Area
3+
- name: area/code
4+
color: "72ccf3"
5+
description: >-
6+
Changes made in the code directory
7+
- name: area/api
8+
color: "72ccf3"
9+
description: >-
10+
Changes made in the api directory
11+
- name: area/github
12+
color: "72ccf3"
13+
description: >-
14+
Changes made in the github directory
15+
- name: area/hack
16+
color: "72ccf3"
17+
description: >-
18+
Changes made in the hack directory
19+
- name: area/test
20+
color: "72ccf3"
21+
description: >-
22+
Changes made in the test directory
23+
- name: area/templates
24+
color: "72ccf3"
25+
description: >-
26+
Changes made in the templates directory
27+
# Update
28+
- name: update/container
29+
color: "ffc300"
30+
- name: update/github-action
31+
color: "ffc300"
32+
- name: update/helm
33+
color: "ffc300"
34+
- name: update/go
35+
color: "ffc300"
36+
# Semantic Type
37+
- name: type/patch
38+
color: "FFEC19"
39+
- name: type/minor
40+
color: "FF9800"
41+
- name: type/major
42+
color: "F6412D"
43+
# Size
44+
- name: size/XS
45+
color: "009900"
46+
description: >-
47+
Denotes a PR that changes 0-20 lines, ignoring generated files.
48+
- name: size/S
49+
color: "77bb00"
50+
description: >-
51+
Denotes a PR that changes 20-50 lines, ignoring generated files.
52+
- name: size/M
53+
color: "eebb00"
54+
description: >-
55+
Denotes a PR that changes 50-200 lines, ignoring generated files.
56+
- name: size/L
57+
color: "ee9900"
58+
description: >-
59+
Denotes a PR that changes 200-800 lines, ignoring generated files.
60+
- name: size/XL
61+
color: "ee5500"
62+
description: >-
63+
Denotes a PR that changes 800-2000 lines, ignoring generated files.
64+
- name: size/XXL
65+
color: "ee0000"
66+
description: >-
67+
Denotes a PR that changes 2000+ lines, ignoring generated files.
68+
# Uncategorized
69+
- name: bug
70+
color: "ee0701"
71+
- name: do-not-merge
72+
color: "ee0701"
73+
- name: docs
74+
color: "F4D1B7"
75+
- name: enhancement
76+
color: "84b6eb"
77+
- name: link-checker
78+
color: "7B55D7"
79+
- name: question
80+
color: "cc317c"

0 commit comments

Comments
 (0)