Skip to content

Commit

Permalink
Merge pull request #108 from cloudify-cosmo/2.0.12-build
Browse files Browse the repository at this point in the history
integration test uses ecosystem-test instead of calling python script
  • Loading branch information
EarthmanT authored Jun 6, 2023
2 parents 2338900 + 21016c7 commit d19bb6b
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
version: 2.1

orbs:
node: cloudify/public-unittest-orb@volatile
wagonorb: cloudify/wagon-bulder-orb@volatile
releaseorb: cloudify/release-orb@volatile
managerorb: cloudify/manager-orb@volatile
slack: cloudify/notify-slack@2

job-post-steps: &job-post-steps
post-steps:
- slack/notify_failed
Expand All @@ -13,13 +20,6 @@ unittest-post-steps: &unittest-post-steps
prefix: tests
- slack/notify_failed

orbs:
node: cloudify/public-unittest-orb@volatile
wagonorb: cloudify/wagon-bulder-orb@volatile
releaseorb: cloudify/release-orb@volatile
managerorb: cloudify/manager-orb@volatile
slack: cloudify/notify-slack@2

checkout:
post:
- >
Expand All @@ -41,11 +41,15 @@ executors:
image: ubuntu-2004:202201-02

commands:
prepare_test_manager:
steps:
- run: ecosystem-test prepare-test-manager -l $TEST_LICENSE -es gcp_credentials=$gcp_credentials --yum-package python-netaddr --yum-package git -p $(find ~/project/workspace/build/ -name *centos-Core*x86_64.wgn) ~/project/plugin.yaml
- run: ecosystem-test upload-plugin -PN utilities
- run: ecosystem-test upload-plugin -PN gcp

run_test:
steps:
- run: pyenv global 3.6.5
- run: pip install pytest https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/refs/heads/master.zip
- run: pytest -s .circleci/test_examples.py
- run: ecosystem-test local-blueprint-test -b examples/docker/install-docker-gcp-vm/docker-on-vm.yaml -i agent_user=centos --timeout=3000 --on-failure=uninstall-force --test-id=docker_vm_test

jobs:
integration_tests:
Expand All @@ -56,6 +60,7 @@ jobs:
steps:
- checkout
- managerorb/create_manager_container_latest
- prepare_test_manager
- run_test

workflows:
Expand Down

0 comments on commit d19bb6b

Please sign in to comment.