Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update keycloak readme #40

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Check Non-Docs Changes
name: Check Docs Only Changes
description: A custom action to check if non-documentation files were changed in a pull request.
inputs:
base_ref:
description: 'The base branch to compare against.'
required: true
outputs:
non_docs_changed:
value: ${{ steps.check_docs.outputs.non_docs_changed }}
docs_only:
value: ${{ steps.check_docs.outputs.docs_only }}
description: 'Set to true if non-docs files are changed.'
runs:
using: "composite"
Expand All @@ -25,7 +25,7 @@ runs:
shell: bash
run: |
if grep -qvE '\.(md|jpg|png|gif|svg)$|^docs/|^.vscode/|^.gitignore$|^renovate.json$|^.release-please-config.json$|^release-please-config.json$|^CODEOWNERS$|^LICENSE$' changed_files.txt; then
echo "non_docs_changed=true" >> $GITHUB_OUTPUT
echo "docs_only=true" >> $GITHUB_OUTPUT
else
echo "non_docs_changed=false" >> $GITHUB_OUTPUT
echo "docs_only=false" >> $GITHUB_OUTPUT
fi
16 changes: 8 additions & 8 deletions .github/workflows/docs-shim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
check-only-docs-changes:
runs-on: ubuntu-latest
outputs:
only_docs_changed: ${{ steps.set_output.outputs.only_docs_changed }}
docs_only: ${{ steps.set_output.outputs.docs_only }}
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Check for non-docs changes
id: docs_check
uses: ./.github/actions/check-non-docs-changes
uses: ./.github/actions/docs-only
with:
base_ref: ${{ github.base_ref }}

- name: Set outputs
id: set_output
run: echo "only_docs_changed=${{ steps.docs_check.outputs.non_docs_changed }}" >> $GITHUB_OUTPUT
run: echo "docs_only=${{ steps.docs_check.outputs.docs_only }}" >> $GITHUB_OUTPUT

lint-check:
needs: check-only-docs-changes
if: ${{ needs.check-only-docs-changes.outputs.only_docs_changed == 'false' }}
if: ${{ needs.check-only-docs-changes.outputs.docs_only == 'true' }}
name: Lint Check(Simulated)
runs-on: ubuntu-latest
steps:
Expand All @@ -48,7 +48,7 @@ jobs:

check-paths:
needs: check-only-docs-changes
if: ${{ needs.check-only-docs-changes.outputs.only_docs_changed == 'false' }}
if: ${{ needs.check-only-docs-changes.outputs.docs_only == 'true' }}
name: Check Paths(Simulated)
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +57,7 @@ jobs:

run-package-test:
needs: check-only-docs-changes
if: ${{ needs.check-only-docs-changes.outputs.only_docs_changed == 'false' }}
if: ${{ needs.check-only-docs-changes.outputs.docs_only == 'true' }}
name: Package Test(Simulated)
runs-on: ubuntu-latest
steps:
Expand All @@ -66,7 +66,7 @@ jobs:

evaluate-package-compliance:
needs: check-only-docs-changes
if: ${{ needs.check-only-docs-changes.outputs.only_docs_changed == 'false' }}
if: ${{ needs.check-only-docs-changes.outputs.docs_only == 'true' }}
name: Compliance Test(Simulated)
runs-on: ubuntu-latest
steps:
Expand All @@ -76,7 +76,7 @@ jobs:
# slim-dev-test.yaml
test:
needs: check-only-docs-changes
if: ${{ needs.check-only-docs-changes.outputs.only_docs_changed == 'false' }}
if: ${{ needs.check-only-docs-changes.outputs.docs_only == 'true' }}
name: Slim Dev Test(Simulated)
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/slim-dev-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ jobs:
check-only-non-docs-changes:
runs-on: ubuntu-latest
outputs:
run_slim_dev: ${{ steps.set_output.outputs.run_slim_dev }}
docs_only: ${{ steps.set_output.outputs.docs_only }}
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Check for non-docs changes
id: docs_check
uses: ./.github/actions/check-non-docs-changes
uses: ./.github/actions/docs-only
with:
base_ref: ${{ github.base_ref }}

- name: Set outputs
id: set_output
run: echo "run_slim_dev=${{ steps.docs_check.outputs.non_docs_changed }}" >> $GITHUB_OUTPUT
run: echo "docs_only=${{ steps.docs_check.outputs.docs_only }}" >> $GITHUB_OUTPUT

test:
needs: check-only-non-docs-changes
if: ${{ needs.check-only-non-docs-changes.outputs.run_slim_dev == 'true' }}
if: ${{ needs.check-only-non-docs-changes.outputs.docs_only == 'false' }}
runs-on: ubuntu-latest
steps:
- name: Checkout the code
Expand Down
2 changes: 2 additions & 0 deletions src/keycloak/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Keycloak

test

[Keycloak](https://www.keycloak.org/) is an open source IdAM stack written in Java. This Keycloak source package provides an implementation of Keycloak and is intended to be used in conjunction with the [UDS Identity Config](https://github.com/defenseunicorns/uds-identity-config) image and the [UDS Operator](../pepr/operator/README.md).

### Changes from the DoD Platform One Big Bang package
Expand Down
Loading