50 changes: 25 additions & 25 deletions .github/workflows/test-fips-install-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ name: "Install fips test matrix"
on:
pull_request:
paths:
- '.github/workflows/**/*'
- 'spec/**/*'
- 'lib/**/*'
- 'tasks/**/*'
- 'functions/**/*'
- 'types/**/*'
- 'plans/**/*'
- 'hiera/**/*'
- 'manifests/**/*'
- 'templates/**/*'
- 'files/**/*'
- 'metadata.json'
- 'Rakefile'
- 'Gemfile'
- 'provision.yaml'
- '.rspec'
- '.rubocop.yml'
- '.puppet-lint.rc'
- '.fixtures.yml'
- ".github/workflows/**/*"
- "spec/**/*"
- "lib/**/*"
- "tasks/**/*"
- "functions/**/*"
- "types/**/*"
- "plans/**/*"
- "hiera/**/*"
- "manifests/**/*"
- "templates/**/*"
- "files/**/*"
- "metadata.json"
- "Rakefile"
- "Gemfile"
- "provision.yaml"
- ".rspec"
- ".rubocop.yml"
- ".puppet-lint.rc"
- ".fixtures.yml"
branches: [main]
workflow_dispatch: {}

Expand All @@ -33,7 +33,7 @@ jobs:
env:
BOLT_GEM: true
BOLT_DISABLE_ANALYTICS: true
LANG: 'en_US.UTF-8'
LANG: "en_US.UTF-8"
strategy:
fail-fast: false
matrix:
Expand All @@ -43,8 +43,8 @@ jobs:
- extra-large-with-dr
version:
- 2019.8.12
- 2021.7.2
- 2023.3.0
- 2021.7.5
- 2023.4.0
image:
- rhel-8
fips:
Expand All @@ -67,7 +67,7 @@ jobs:
bundle env
echo ::endgroup::
- name: 'Provision test cluster'
- name: "Provision test cluster"
timeout-minutes: 15
run: |
echo ::group::prepare
Expand All @@ -94,7 +94,7 @@ jobs:
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
echo ::endgroup::
- name: 'Install PE on test cluster'
- name: "Install PE on test cluster"
timeout-minutes: 120
run: |
bundle exec bolt plan run peadm_spec::install_test_cluster \
Expand All @@ -104,7 +104,7 @@ jobs:
version=${{ matrix.version }} \
fips=${{ matrix.fips }}
- name: 'Tear down test cluster'
- name: "Tear down test cluster"
if: ${{ always() }}
continue-on-error: true
run: |
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/test-install-latest-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ on:
workflow_dispatch:
inputs:
image:
description: 'GCP image for test cluster'
description: "GCP image for test cluster"
required: true
default: 'almalinux-cloud/almalinux-8'
default: "almalinux-cloud/almalinux-8"
architecture:
type: choice
required: true
default: 'standard'
description: 'PE architecture to test'
options:
- standard
- standard-with-dr
- large
- large-with-dr
- extra-large
- extra-large-with-dr
default: "standard"
description: "PE architecture to test"
options:
- standard
- standard-with-dr
- large
- large-with-dr
- extra-large
- extra-large-with-dr
ssh-debugging:
description: 'Boolean; whether or not to pause for ssh debugging'
description: "Boolean; whether or not to pause for ssh debugging"
required: true
default: 'false'
default: "false"

jobs:
test-install:
Expand All @@ -32,7 +32,7 @@ jobs:
env:
BOLT_GEM: true
BOLT_DISABLE_ANALYTICS: true
LANG: 'en_US.UTF-8'
LANG: "en_US.UTF-8"
strategy:
fail-fast: false
matrix:
Expand All @@ -42,7 +42,7 @@ jobs:
- "${{ github.event.inputs.image }}"

steps:
- name: 'Start SSH session'
- name: "Start SSH session"
if: ${{ github.event.inputs.ssh-debugging == 'true' }}
uses: luchihoratiu/debug-via-ssh@main
with:
Expand All @@ -65,7 +65,7 @@ jobs:
bundle env
echo ::endgroup::
- name: 'Provision test cluster'
- name: "Provision test cluster"
timeout-minutes: 15
run: |
echo ::group::prepare
Expand All @@ -92,17 +92,17 @@ jobs:
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
echo ::endgroup::
- name: 'Activate twingate to obtain unreleased build'
uses: timidri/twingate-github-action@main
- name: "Activate twingate to obtain unreleased build"
uses: comfucios/twingate-github-action@main
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}

- name: 'Get latest build name'
- name: "Get latest build name"
id: latest
run: |
echo "::set-output name=ver::$(curl -q https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local/main/ci-ready/LATEST)"
- name: 'Install PE on test cluster'
- name: "Install PE on test cluster"
timeout-minutes: 120
run: |
bundle exec bolt plan run peadm_spec::install_test_cluster \
Expand All @@ -113,16 +113,16 @@ jobs:
architecture=${{ matrix.architecture }} \
pe_installer_source="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local/main/ci-ready/puppet-enterprise-${{ steps.latest.outputs.ver }}-el-8-x86_64.tar"
- name: 'Wait as long as the file ${HOME}/pause file is present'
- name: "Wait as long as the file ${HOME}/pause file is present"
if: ${{ always() && github.event.inputs.ssh-debugging == 'true' }}
run: |
while [ -f "${HOME}/pause" ] ; do
echo "${HOME}/pause present, sleeping for 60 seconds..."
sleep 60
done
done
echo "${HOME}/pause absent, continuing workflow."
- name: 'Tear down test cluster'
- name: "Tear down test cluster"
if: ${{ always() }}
continue-on-error: true
run: |
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/test-install-latest-xlarge-dev-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: "Install latest dev test nightly"

on:
schedule:
- cron: '0 3 * * *'
- cron: "0 3 * * *"
workflow_dispatch:
inputs:
ssh-debugging:
description: 'Boolean; whether or not to pause for ssh debugging'
description: "Boolean; whether or not to pause for ssh debugging"
required: true
default: 'false'
default: "false"

jobs:
test-install:
Expand All @@ -18,17 +18,17 @@ jobs:
env:
BOLT_GEM: true
BOLT_DISABLE_ANALYTICS: true
LANG: 'en_US.UTF-8'
LANG: "en_US.UTF-8"
strategy:
fail-fast: false
matrix:
architecture:
- 'extra-large-with-dr'
- "extra-large-with-dr"
image:
- 'almalinux-cloud/almalinux-8'
- "almalinux-cloud/almalinux-8"

steps:
- name: 'Start SSH session'
- name: "Start SSH session"
if: ${{ github.event.inputs.ssh-debugging == 'true' }}
uses: luchihoratiu/debug-via-ssh@main
with:
Expand All @@ -51,7 +51,7 @@ jobs:
bundle env
echo ::endgroup::
- name: 'Provision test cluster'
- name: "Provision test cluster"
timeout-minutes: 15
run: |
echo ::group::prepare
Expand All @@ -78,17 +78,17 @@ jobs:
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
echo ::endgroup::
- name: 'Activate twingate to obtain unreleased build'
uses: timidri/twingate-github-action@main
- name: "Activate twingate to obtain unreleased build"
uses: comfucios/twingate-github-action@main
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}

- name: 'Get latest build name'
- name: "Get latest build name"
id: latest
run: |
echo "::set-output name=ver::$(curl -q https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local/main/ci-ready/LATEST)"
- name: 'Install PE on test cluster'
- name: "Install PE on test cluster"
timeout-minutes: 120
run: |
bundle exec bolt plan run peadm_spec::install_test_cluster \
Expand All @@ -99,16 +99,16 @@ jobs:
architecture=${{ matrix.architecture }} \
pe_installer_source="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local/main/ci-ready/puppet-enterprise-${{ steps.latest.outputs.ver }}-el-8-x86_64.tar"
- name: 'Wait as long as the file ${HOME}/pause file is present'
- name: "Wait as long as the file ${HOME}/pause file is present"
if: ${{ always() && github.event.inputs.ssh-debugging == 'true' }}
run: |
while [ -f "${HOME}/pause" ] ; do
echo "${HOME}/pause present, sleeping for 60 seconds..."
sleep 60
done
done
echo "${HOME}/pause absent, continuing workflow."
- name: 'Tear down test cluster'
- name: "Tear down test cluster"
if: ${{ always() }}
continue-on-error: true
run: |
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/test-install-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ name: "Install test matrix"
on:
pull_request:
paths:
- '.github/workflows/**/*'
- 'spec/**/*'
- 'lib/**/*'
- 'tasks/**/*'
- 'functions/**/*'
- 'types/**/*'
- 'plans/**/*'
- 'hiera/**/*'
- 'manifests/**/*'
- 'templates/**/*'
- 'files/**/*'
- 'metadata.json'
- 'Rakefile'
- 'Gemfile'
- 'provision.yaml'
- '.rspec'
- '.rubocop.yml'
- '.puppet-lint.rc'
- '.fixtures.yml'
- ".github/workflows/**/*"
- "spec/**/*"
- "lib/**/*"
- "tasks/**/*"
- "functions/**/*"
- "types/**/*"
- "plans/**/*"
- "hiera/**/*"
- "manifests/**/*"
- "templates/**/*"
- "files/**/*"
- "metadata.json"
- "Rakefile"
- "Gemfile"
- "provision.yaml"
- ".rspec"
- ".rubocop.yml"
- ".puppet-lint.rc"
- ".fixtures.yml"
branches: [main]
workflow_dispatch: {}

Expand All @@ -33,7 +33,7 @@ jobs:
env:
BOLT_GEM: true
BOLT_DISABLE_ANALYTICS: true
LANG: 'en_US.UTF-8'
LANG: "en_US.UTF-8"
strategy:
fail-fast: false
matrix:
Expand All @@ -43,8 +43,8 @@ jobs:
- extra-large-with-dr
version:
- 2019.8.12
- 2021.7.4
- 2023.3.0
- 2021.7.5
- 2023.4.0
image:
- centos-7
- almalinux-cloud/almalinux-8
Expand All @@ -65,7 +65,7 @@ jobs:
bundle env
echo ::endgroup::
- name: 'Provision test cluster'
- name: "Provision test cluster"
timeout-minutes: 15
run: |
echo ::group::prepare
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
echo ::endgroup::
- name: 'Install PE on test cluster'
- name: "Install PE on test cluster"
timeout-minutes: 120
run: |
bundle exec bolt plan run peadm_spec::install_test_cluster \
Expand All @@ -102,7 +102,7 @@ jobs:
architecture=${{ matrix.architecture }} \
version=${{ matrix.version }}
- name: 'Tear down test cluster'
- name: "Tear down test cluster"
if: ${{ always() }}
continue-on-error: true
run: |
Expand Down
Loading