Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve setup_docker tests to work with RHEL 8 GA #58649

Merged
merged 2 commits into from Jul 3, 2019

Conversation

samdoran
Copy link
Contributor

@samdoran samdoran commented Jul 2, 2019

SUMMARY
  • use include_vars to set appropriate packages and pip packages per distribution and version
  • install an older version of Docker CE on RHEL 8 since a dependency is unavailable
  • disable warnings on tasks that are ok
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

test/integration/targets/setup_docker/

@ansibot
Copy link
Contributor

ansibot commented Jul 2, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. docker needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests. labels Jul 2, 2019
@ansibot
Copy link
Contributor

ansibot commented Jul 2, 2019

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

test/integration/targets/setup_docker/vars/RedHat-7.yml:9:1: empty-lines too many blank lines (1 > 0)

click here for bot help

@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. needs_triage Needs a first human triage before being processed. labels Jul 2, 2019
@felixfontein
Copy link
Contributor

I think the original setup_docker was not installing anything on CentOS6 (identified as RHEL6) since setting up docker never worked there. I guess you either have to fix that, or prevent installing docker there as well.

- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older versiono of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jul 3, 2019
@samdoran samdoran merged commit d50c8c2 into ansible:devel Jul 3, 2019
@samdoran samdoran deleted the ci/docker-setup-tests branch July 3, 2019 18:24
samdoran added a commit to samdoran/ansible that referenced this pull request Jul 3, 2019
…le#58649)

- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older version of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
- skip tests for CentOS/RHEL 6
(cherry picked from commit d50c8c2)

Co-authored-by: Sam Doran <sdoran@redhat.com>
samdoran added a commit to samdoran/ansible that referenced this pull request Jul 3, 2019
…le#58649)

- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older version of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
- skip tests for CentOS/RHEL 6.
(cherry picked from commit d50c8c2)

Co-authored-by: Sam Doran <sdoran@redhat.com>
abadger pushed a commit that referenced this pull request Jul 16, 2019
- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older version of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
- skip tests for CentOS/RHEL 6
(cherry picked from commit d50c8c2)

Co-authored-by: Sam Doran <sdoran@redhat.com>
abadger pushed a commit that referenced this pull request Jul 17, 2019
- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older version of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
- skip tests for CentOS/RHEL 6.
(cherry picked from commit d50c8c2)

Co-authored-by: Sam Doran <sdoran@redhat.com>
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. docker support:community This issue/PR relates to code supported by the Ansible community. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants