Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
2d3296d7
Commit
2d3296d7
authored
Mar 12, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6433 from jlaska/integration_ec2
Always run cleanup after running cloud_integration tests
parents
f2a1887f
551cb189
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
test/integration/Makefile
+17
-4
No files found.
test/integration/Makefile
View file @
2d3296d7
...
@@ -15,14 +15,27 @@ test_hash:
...
@@ -15,14 +15,27 @@ test_hash:
cloud
:
amazon rackspace
cloud
:
amazon rackspace
cloud_cleanup
:
amazon_cleanup rackspace_cleanup
amazon_cleanup
:
python cleanup_ec2.py
-y
rackspace_cleanup
:
@
echo
"FIXME - cleanup_rax.py not yet implemented"
@
#python cleanup_rax.py -y
credentials.yml
:
credentials.yml
:
@
echo
"No credentials.yml file found. A file named 'credentials.yml' is needed to provide credentials needed to run cloud tests."
@
echo
"No credentials.yml file found. A file named 'credentials.yml' is needed to provide credentials needed to run cloud tests."
@
exit
1
@
exit
1
amazon
:
credentials.yml
amazon
:
credentials.yml
ansible-playbook amazon.yml
-i
inventory
-e
@integration_config.yml
-e
@credentials.yml
-v
$(TEST_FLAGS)
ansible-playbook amazon.yml
-i
inventory
-e
@integration_config.yml
-e
@credentials.yml
-v
$(TEST_FLAGS)
;
\
@
# FIXME - Cleanup won't run if the previous tests fail
RC
=
$$
?
;
\
python cleanup_ec2.py
-y
make amazon_cleanup
;
\
exit
$$
RC
;
rackspace
:
credentials.yml
rackspace
:
credentials.yml
ansible-playbook rackspace.yml
-i
inventory
-e
@integration_config.yml
-e
@credentials.yml
-v
$(TEST_FLAGS)
ansible-playbook rackspace.yml
-i
inventory
-e
@integration_config.yml
-e
@credentials.yml
-v
$(TEST_FLAGS)
;
\
RC
=
$$
?
;
\
make rackspace_cleanup
;
\
exit
$$
RC
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment