Skip to content

Scheduled OpenStack All-in-One verification #93

Scheduled OpenStack All-in-One verification

Scheduled OpenStack All-in-One verification #93

Workflow file for this run

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2022
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Scheduled OpenStack All-in-One verification
# yamllint disable-line rule:truthy
on:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
jobs:
generate-json-matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get matrix values
id: set-matrix
run: |
if ! command -v shyaml; then
if ! command -v pip; then
apt-get update
apt-get install -y --no-install-recommends python3-pip
fi
pip install shyaml
fi
if ! command -v jq; then
apt-get update
apt-get install -y --no-install-recommends jq
fi
echo "matrix=$(shyaml keys < distros_supported.yml|jq -cnR '[inputs | select(length>0)]')" >>"$GITHUB_OUTPUT"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
check-aio-vms:
name: Check All-in-One deployment on Virtual Machines
needs: generate-json-matrix
strategy:
fail-fast: false
matrix:
distro: ${{ fromJson(needs.generate-json-matrix.outputs.matrix) }}
runs-on: macos-12
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/vagrant-setup
- name: Deploy latest release in All-in-One instance
env:
CI_INITIAL_RELEASE_POINTER: 1
CPUS: 2
MEMORY: 12288
OS_DISTRO: ${{ matrix.distro }}
run: ./ci/check_aio.sh