Skip to content

Commit

Permalink
redhat-ci: use requirements.txt
Browse files Browse the repository at this point in the history
Use requirements.txt rather than hardcoding the ansible version here.
Also update the comment re. `rpm-ostree status`.
  • Loading branch information
jlebon committed Apr 26, 2017
1 parent ff78e5c commit 5d10aef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .redhat-ci.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/bash
set -xeuo pipefail

# F25 currently has 2.2.1, so install from pypi
pip install ansible==2.2.2.0
pip install -r requirements.txt

# do a simple ping to make sure the nodes are available
# ping the nodes to check they're responding and register their ostree versions
ansible -vvv -i .redhat-ci.inventory nodes -a 'rpm-ostree status'

upload_journals() {
Expand Down
2 changes: 1 addition & 1 deletion .redhat-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
OPENSHIFT_IMAGE_TAG: v3.6.0-alpha.1

tests:
- sh .redhat-ci.sh
- ./.redhat-ci.sh

artifacts:
- journals/

0 comments on commit 5d10aef

Please sign in to comment.