Merge branch 'master' into version-2021.6
This commit is contained in:
commit
c81431895a
|
@ -8,7 +8,7 @@ WORKDIR /app/
|
||||||
|
|
||||||
RUN pip install pipenv && \
|
RUN pip install pipenv && \
|
||||||
pipenv lock -r > requirements.txt && \
|
pipenv lock -r > requirements.txt && \
|
||||||
pipenv lock -rd > requirements-dev.txt
|
pipenv lock -r --dev-only > requirements-dev.txt
|
||||||
|
|
||||||
# Stage 2: Build web API
|
# Stage 2: Build web API
|
||||||
FROM openapitools/openapi-generator-cli as api-builder
|
FROM openapitools/openapi-generator-cli as api-builder
|
||||||
|
@ -76,6 +76,7 @@ RUN apt-get update && \
|
||||||
COPY ./authentik/ /authentik
|
COPY ./authentik/ /authentik
|
||||||
COPY ./pyproject.toml /
|
COPY ./pyproject.toml /
|
||||||
COPY ./xml /xml
|
COPY ./xml /xml
|
||||||
|
COPY ./tests /tests
|
||||||
COPY ./manage.py /
|
COPY ./manage.py /
|
||||||
COPY ./lifecycle/ /lifecycle
|
COPY ./lifecycle/ /lifecycle
|
||||||
COPY --from=builder /work/authentik /authentik-proxy
|
COPY --from=builder /work/authentik /authentik-proxy
|
||||||
|
|
|
@ -78,6 +78,7 @@ stages:
|
||||||
tags: |
|
tags: |
|
||||||
gh-$(branchName)
|
gh-$(branchName)
|
||||||
gh-$(branchName)-$(timestamp)
|
gh-$(branchName)-$(timestamp)
|
||||||
|
gh-$(Build.SourceVersion)
|
||||||
arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'
|
arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -87,6 +88,7 @@ stages:
|
||||||
tags: |
|
tags: |
|
||||||
gh-$(branchName)
|
gh-$(branchName)
|
||||||
gh-$(branchName)-$(timestamp)
|
gh-$(branchName)-$(timestamp)
|
||||||
|
gh-$(Build.SourceVersion)
|
||||||
- job: ldap_build_docker
|
- job: ldap_build_docker
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
|
@ -109,6 +111,7 @@ stages:
|
||||||
tags: |
|
tags: |
|
||||||
gh-$(branchName)
|
gh-$(branchName)
|
||||||
gh-$(branchName)-$(timestamp)
|
gh-$(branchName)-$(timestamp)
|
||||||
|
gh-$(Build.SourceVersion)
|
||||||
arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'
|
arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -118,3 +121,4 @@ stages:
|
||||||
tags: |
|
tags: |
|
||||||
gh-$(branchName)
|
gh-$(branchName)
|
||||||
gh-$(branchName)-$(timestamp)
|
gh-$(branchName)-$(timestamp)
|
||||||
|
gh-$(Build.SourceVersion)
|
||||||
|
|
|
@ -28,9 +28,11 @@ Afterwards, run the upgrade commands from the latest releasae notes.
|
||||||
Add the following block to your `values.yml` file:
|
Add the following block to your `values.yml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
authentik:
|
||||||
|
outposts:
|
||||||
|
docker_image_base: beryju.org/authentik/outpost-%(type)s:gh-%(build_hash)s
|
||||||
image:
|
image:
|
||||||
name: beryju.org/authentik/server
|
name: beryju.org/authentik/server
|
||||||
name_outposts: beryju.org/authentik/outpost-%(type)s:gh-next
|
|
||||||
tag: gh-next
|
tag: gh-next
|
||||||
# pullPolicy: Always to ensure you always get the latest version
|
# pullPolicy: Always to ensure you always get the latest version
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
Reference in a new issue