Skip to content

Commit

Permalink
website/docs: install: add aws
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
  • Loading branch information
rissson committed Nov 19, 2024
1 parent ac00386 commit ae11634
Show file tree
Hide file tree
Showing 11 changed files with 1,855 additions and 3 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci-aws-cfn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: authentik-ci-aws-cfn

on:
push:
branches:
- main
- next
- version-*
pull_request:
branches:
- main
- version-*

env:
POSTGRES_DB: authentik
POSTGRES_USER: authentik
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"

jobs:
check-changes-applied:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup authentik env
uses: ./.github/actions/setup
- uses: actions/setup-node@v4
with:
node-version-file: website/package.json
cache: "npm"
cache-dependency-path: website/package-lock.json
- working-directory: website/
run: |
npm ci
- name: Check changes have been applied
run: |
poetry run make aws-cfn
git diff --exit-code
ci-aws-cfn-mark:
needs:
- check-changes-applied
runs-on: ubuntu-latest
steps:
- run: echo mark
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PWD = $(shell pwd)
UID = $(shell id -u)
GID = $(shell id -g)
NPM_VERSION = $(shell python -m scripts.npm_version)
PY_SOURCES = authentik tests scripts lifecycle .github
PY_SOURCES = authentik tests scripts lifecycle .github website/docs/install-config/install/aws
DOCKER_IMAGE ?= "authentik:test"

GEN_API_TS = "gen-ts-api"
Expand Down Expand Up @@ -252,6 +252,9 @@ website-build:
website-watch: ## Build and watch the documentation website, updating automatically
cd website && npm run watch

aws-cfn:
cd website && npm run aws-cfn

#########################
## Docker
#########################
Expand Down
175 changes: 173 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ xmlsec = "*"
zxcvbn = "*"

[tool.poetry.dev-dependencies]
aws-cdk-lib = "*"
bandit = "*"
black = "*"
bump2version = "*"
channels = { version = "*", extras = ["daphne"] }
codespell = "*"
colorama = "*"
constructs = "*"
coverage = { extras = ["toml"], version = "*" }
debugpy = "*"
drf-jsonschema-serializer = "*"
Expand Down
1 change: 1 addition & 0 deletions website/docs/install-config/install/aws/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cdk.out
Loading

0 comments on commit ae11634

Please sign in to comment.