update cluster_info refs from community to vmware (#114) #385
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: Ansible Eco vCenter Integration Test | |
on: | |
pull_request_target: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- main | |
- 'release-\d.\d' | |
permissions: | |
contents: read | |
jobs: | |
ansible_integration_test: | |
runs-on: ["self-hosted", linux, X64] | |
steps: | |
- name: Update pip, git | |
if: runner.os == 'Linux' && startsWith(runner.name, 'ubuntu') | |
run: | | |
set -euxo pipefail | |
sudo apt-get update | |
sudo apt-get install podman | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
path: ansible_collections/cloud/vmware_ops | |
- name: Generate integration config | |
working-directory: ansible_collections/cloud/vmware_ops/tests/integration | |
run: | | |
chmod +x generate_integration_config.sh | |
./generate_integration_config.sh | |
env: | |
VCENTER_HOSTNAME: ${{ secrets.VCENTER_HOSTNAME }} | |
VCENTER_USERNAME: ${{ secrets.VCENTER_USERNAME }} | |
VCENTER_PASSWORD: ${{ secrets.VCENTER_PASSWORD }} | |
- name: Run integration tests | |
run: | | |
python3 -m venv .venv | |
source .venv/bin/activate | |
make eco-vcenter-ci | |
working-directory: ansible_collections/cloud/vmware_ops | |
env: | |
ANSIBLE_COLLECTIONS_PATH: "${{ github.workspace }}" |