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
5d1e468b
Commit
5d1e468b
authored
Feb 02, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't bash TMPDIR env var unnecessarily. Other programs might rely on it
parent
c655e914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/integration/Makefile
+3
-3
No files found.
test/integration/Makefile
View file @
5d1e468b
...
...
@@ -15,7 +15,7 @@ CREDENTIALS_ARG =
endif
# http://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
TMPDIR
=
$(
shell
mktemp
-d
2>/dev/null
||
mktemp
-d
-t
'mytmpdir'
)
MY
TMPDIR
=
$(
shell
mktemp
-d
2>/dev/null
||
mktemp
-d
-t
'mytmpdir'
)
VAULT_PASSWORD_FILE
=
vault-password
...
...
@@ -122,7 +122,7 @@ rackspace: $(CREDENTIALS_FILE)
test_galaxy
:
test_galaxy_spec test_galaxy_yaml
test_galaxy_spec
:
mytmpdir
=
$(TMPDIR)
;
\
mytmpdir
=
$(
MY
TMPDIR)
;
\
ansible-galaxy install
-r
galaxy_rolesfile
-p
$$
mytmpdir/roles
;
\
cp galaxy_playbook.yml
$$
mytmpdir
;
\
ansible-playbook
-i
$(INVENTORY)
$$
mytmpdir/galaxy_playbook.yml
-v
$(TEST_FLAGS)
;
\
...
...
@@ -131,7 +131,7 @@ test_galaxy_spec:
exit
$$
RC
test_galaxy_yaml
:
mytmpdir
=
$(TMPDIR)
;
\
mytmpdir
=
$(
MY
TMPDIR)
;
\
ansible-galaxy install
-r
galaxy_roles.yml
-p
$$
mytmpdir/roles
;
\
cp galaxy_playbook.yml
$$
mytmpdir
;
\
ansible-playbook
-i
$(INVENTORY)
$$
mytmpdir/galaxy_playbook.yml
-v
$(TEST_FLAGS)
;
\
...
...
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