OPSEXP-2303 Add identity role for SSO (#669) #1393
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "community" | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "*.md" | ||
push: | ||
branches: [master] | ||
paths-ignore: | ||
- "docs/**" | ||
- "*.md" | ||
jobs: | ||
docker: | ||
# -A* and -M* are not available without nexus credentials | ||
if: | | ||
! startsWith(github.head_ref, 'next/') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
molecule_distro: | ||
- image: ubuntu:20.04 | ||
- image: rockylinux:8.7 | ||
role: | ||
- name: activemq | ||
- name: common | ||
- name: elasticsearch | ||
- name: identity | ||
- name: java | ||
- name: nginx | ||
- name: postgres | ||
- name: search | ||
- name: tomcat | ||
- name: transformers | ||
exclude: | ||
# Keycloak collection doesn't support ubuntu | ||
- name: identity | ||
Check failure on line 37 in .github/workflows/community.yml GitHub Actions / communityInvalid workflow file
|
||
image: ubuntu:20.04 | ||
env: | ||
PY_COLORS: 1 | ||
PYTHONUNBUFFERED: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
id: setup-python | ||
with: | ||
python-version-file: .python-version | ||
cache: pipenv | ||
- name: Install python packages | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ steps.setup-python.outputs.python-version }} | ||
- name: Install and cache ansible galaxy dependencies | ||
uses: ./.github/actions/galaxy | ||
- name: Setup workspace | ||
uses: ./.github/actions/setup-workspace | ||
- name: Run tests | ||
env: | ||
MOLECULE_ROLE_IMAGE: ${{ matrix.molecule_distro.image }} | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 60 | ||
max_attempts: 3 | ||
retry_wait_seconds: 10 | ||
command: cd roles/${{ matrix.role.name }} && pipenv run molecule test |