Skip to content

Commit 26520c6

Browse files
chore: clean up repository (#3)
* chore: add GH workflows Co-authored-by: Christopher Junk <[email protected]> * chore: add VERSION file Co-authored-by: Christopher Junk <[email protected]> * chore: add GH template files Co-authored-by: Christopher Junk <[email protected]> * chore: add gitsubmodule build repo Co-authored-by: Christopher Junk <[email protected]> * chore: add taskfile * chore: add gitignore Co-authored-by: Christopher Junk <[email protected]> * chore: add gitsubmodule build repo Co-authored-by: Christopher Junk <[email protected]> * chore: run e2e via Taskfile Co-authored-by: Christopher Junk <[email protected]> * docs: update README Co-authored-by: Christopher Junk <[email protected]> * chore: run e2e in CI Co-authored-by: Christopher Junk <[email protected]> * chore: add golangci lint Co-authored-by: Christopher Junk <[email protected]> * chore: add dummy Makefile Co-authored-by: Christopher Junk <[email protected]> * remove Makefile * chore: add dummy Makefile Co-authored-by: Christopher Junk <[email protected]> * chore: run `task generate` to sort imports Co-authored-by: Christopher Junk <[email protected]> * docs: add todo * chore: remove GH job * chore: add renovate config * ci: e2e test On-behalf-of: @SAP [email protected] Signed-off-by: Christopher Junk <[email protected]> --------- Signed-off-by: Christopher Junk <[email protected]> Co-authored-by: Christopher Junk <[email protected]>
1 parent 8c540f4 commit 26520c6

25 files changed

+256
-42
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug
4+
labels: kind/bug
5+
6+
---
7+
8+
**What happened**:
9+
10+
**What you expected to happen**:
11+
12+
**How to reproduce it (as minimally and precisely as possible)**:
13+
14+
**Anything else we need to know**:
15+
16+
**Environment**:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Enhancement Request
3+
about: Suggest an enhancement
4+
labels: kind/enhancement
5+
6+
---
7+
8+
**What would you like to be added**:
9+
10+
**Why is this needed**:

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
**What this PR does / why we need it**:
2+
3+
**Which issue(s) this PR fixes**:
4+
Fixes #
5+
6+
**Special notes for your reviewer**:
7+
8+
**Release note**:
9+
<!-- Write your release note:
10+
1. Enter your release note in the below block.
11+
2. If no release note is required, just write "NONE" within the block.
12+
13+
Format of block header: <category> <target_group>
14+
Possible values:
15+
- category: breaking|feature|bugfix|doc|other
16+
- target_group: user|operator|developer|dependency
17+
-->
18+
```feature user
19+
20+
```

.github/workflows/ci.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- master
9+
- main
10+
pull_request:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build_validate_test:
17+
uses: openmcp-project/build/.github/workflows/ci.lib.yaml@main
18+
secrets: inherit
19+
20+
e2e_test:
21+
runs-on: ubuntu-24.04
22+
steps:
23+
- uses: actions/checkout@v6
24+
- name: Set up Go
25+
uses: actions/setup-go@v6
26+
with:
27+
go-version: "1.25"
28+
- name: e2e test
29+
run: go test -v ./e2e/... -count=1

.github/workflows/go.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Versioned Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write # we need this to be able to push tags
10+
pull-requests: read
11+
12+
jobs:
13+
release_tag:
14+
uses: openmcp-project/build/.github/workflows/release.lib.yaml@main
15+
secrets: inherit

.github/workflows/reuse.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: REUSE Compliance Check
2+
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
run_reuse:
10+
uses: openmcp-project/build/.github/workflows/reuse.lib.yaml@main
11+
secrets: inherit
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Validate Pull Request Content
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
validate_pr_content:
14+
uses: openmcp-project/build/.github/workflows/validate-pr-content.lib.yaml@main
15+
secrets: inherit

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# If you prefer the allow list template instead of the deny list, see community template:
2+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3+
#
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.exe~
7+
*.dll
8+
*.so
9+
*.dylib
10+
bin/*
11+
12+
# Test binary, built with `go test -c`
13+
*.test
14+
15+
# Output of the go coverage tool, specifically when used with LiteIDE
16+
cover*.html
17+
*.out
18+
19+
# Go workspace file
20+
go.work
21+
go.work.sum
22+
23+
tmp/
24+
.vscode/
25+
.idea

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "hack/common"]
2+
path = hack/common
3+
url = https://github.com/openmcp-project/build

0 commit comments

Comments
 (0)