Update release.yaml #35
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build the Execution Environment | |
| runs-on: ubuntu-latest | |
| # services: | |
| # registry: | |
| # image: registry:2 | |
| # ports: | |
| # - 5000:5000 | |
| # mariadb: | |
| # image: mariadb:"10.10.2" | |
| # ports: | |
| # - 3306 | |
| # env: | |
| # MYSQL_USER: trikorasolns_glpi | |
| # MYSQL_PASSWORD: trikorasolns_glpi | |
| # MYSQL_DATABASE: trikorasolns_glpi | |
| # MYSQL_ROOT_PASSWORD: trikorasolns_glpi | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| # - name: "Install Ansible" | |
| # uses: alex-oleshkevich/setup-ansible@9.3.0 | |
| # with: | |
| # version: "v1.0.1" | |
| # Important: This sets up your GITHUB_WORKSPACE environment variable | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # needed for progressive mode to work | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| - name: Prepare Python project | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ansible ansible-builder | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| ansible-galaxy collection install -r requirements.yml | |
| - name: Execute Ansible Builder | |
| run: | | |
| ansible-builder build --tag awx-ee-openstack |