Skip to content

Commit

Permalink
switch to ansible cloudstack test container for now
Browse files Browse the repository at this point in the history
  • Loading branch information
resmo committed Dec 1, 2024
1 parent 4950826 commit 29309e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ permissions:

env:
CLOUDSTACK_API_URL: http://localhost:8080/client/api
#CLOUDSTACK_VERSIONS: "['4.18.2.5', '4.19.1.1', '4.19.1.3']"
CLOUDSTACK_VERSIONS: "['4.19.1.1']"
#CLOUDSTACK_VERSIONS: "['4.18.2.5', '4.19.1.3', '4.20.0.0']"
CLOUDSTACK_VERSIONS: "['1.7.0']"
jobs:
prepare-matrix:
runs-on: ubuntu-latest
Expand All @@ -44,16 +44,17 @@ jobs:
echo "cloudstack-versions=${{ env.CLOUDSTACK_VERSIONS }}" >> $GITHUB_OUTPUT
acceptance-cs:
name: Python ${{ matrix.python-version }} with Cloudstack ${{ matrix.cloudstack-version }}
name: Python ${{ matrix.python-version }} with CloudStack test container ${{ matrix.cloudstack-version }}
needs: [prepare-matrix]
runs-on: ubuntu-latest
services:
cloudstack-simulator:
image: apache/cloudstack-simulator:${{ matrix.cloudstack-version }}
image: quay.io/ansible/cloudstack-test-container:${{ matrix.cloudstack-version }}
ports:
- 8080:5050
- 8080:8080
strategy:
fail-fast: false
max-parallel: 1
matrix:
cloudstack-version: ${{ fromJson(needs.prepare-matrix.outputs.cloudstack-versions) }}
python-version:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/setup-cloudstack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ runs:
id: setup-cloudstack
shell: bash
run: |
docker exec $(docker container ls --format=json -l | jq -r .ID) python /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advanced.cfg
curl -sf --location "${CLOUDSTACK_API_URL}" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'command=login' \
Expand Down

0 comments on commit 29309e1

Please sign in to comment.