Skip to content

Commit

Permalink
Added keycloakify starter theme (#2513)
Browse files Browse the repository at this point in the history
* Added keycloakify starter theme

* Forked repo
  • Loading branch information
shaidar authored Jul 11, 2024
1 parent ce09fcc commit 95dd669
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ def build_keycloak_infrastructure_pipeline() -> PipelineFragment:
repository="keycloak-scim",
)

# Repo: https://github.com/mitodl/keycloakify-starter
# Use: Keycloak Starter Theme
keycloakify_spi = github_release(
name=Identifier("keycloakify-spi"),
owner="mitodl",
repository="keycloakify-starter",
)

#############################################
image_build_context = Output(name=Identifier("image-build-context"))

Expand All @@ -138,6 +146,7 @@ def build_keycloak_infrastructure_pipeline() -> PipelineFragment:
GetStep(get=metrics_spi.name, trigger=True),
GetStep(get=ol_spi.name, trigger=True),
GetStep(get=scim_spi.name, trigger=True),
GetStep(get=keycloakify_spi.name, trigger=True),
TaskStep(
task=Identifier("collect-artifacts-for-build-context"),
config=TaskConfig(
Expand All @@ -149,6 +158,7 @@ def build_keycloak_infrastructure_pipeline() -> PipelineFragment:
Input(name=metrics_spi.name),
Input(name=ol_spi.name),
Input(name=scim_spi.name),
Input(name=keycloakify_spi.name),
],
image_resource=AnonymousResource(
type=REGISTRY_IMAGE,
Expand All @@ -166,6 +176,7 @@ def build_keycloak_infrastructure_pipeline() -> PipelineFragment:
cp -r {metrics_spi.name}/* {image_build_context.name}/plugins/
cp -r {ol_spi.name}/* {image_build_context.name}/plugins/
cp -r {scim_spi.name}/* {image_build_context.name}/plugins/
cp -r {keycloakify_spi.name}/* {image_build_context.name}/plugins/
""" # noqa: E501
),
],
Expand Down Expand Up @@ -206,6 +217,7 @@ def build_keycloak_infrastructure_pipeline() -> PipelineFragment:
metrics_spi,
ol_spi,
scim_spi,
keycloakify_spi,
],
jobs=[docker_build_job],
)
Expand Down

0 comments on commit 95dd669

Please sign in to comment.