Skip to content

Commit 5f67131

Browse files
committed
root: remove generated code, add main CI
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
1 parent f4fc03d commit 5f67131

2,693 files changed

Lines changed: 51 additions & 686308 deletions

File tree

Some content is hidden

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

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: CI - Main
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
generate:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5
17+
with:
18+
path: client-python
19+
- name: Fetch schema
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
repository: goauthentik/authentik
23+
ref: main
24+
path: authentik
25+
sparse-checkout: |
26+
schema.yml
27+
sparse-checkout-cone-mode: false
28+
- name: Generate API client
29+
working-directory: client-python
30+
run: |
31+
cp ../authentik/schema.yml .
32+
make build version=0.0.0
33+
ci-main-mark:
34+
if: always()
35+
needs:
36+
- generate
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
40+
with:
41+
jobs: ${{ toJSON(needs) }}

.gitignore

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

.openapi-generator-ignore

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1 @@
1-
# OpenAPI Generator Ignore
2-
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
31

4-
# Use this file to prevent files from being overwritten by the generator.
5-
# The patterns follow closely to .gitignore or .dockerignore.
6-
7-
# As an example, the C# client generator defines ApiClient.cs.
8-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9-
#ApiClient.cs
10-
11-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12-
#foo/*/qux
13-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14-
15-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16-
#foo/**/qux
17-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18-
19-
# You can also negate patterns with an exclamation (!).
20-
# For example, you can ignore all files in a docs folder with the file extension .md:
21-
#docs/*.md
22-
# Then explicitly reverse the ignore rule for a single file:
23-
#!docs/README.md

0 commit comments

Comments
 (0)