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

fix: run ansible-lint in ci #309

Merged
merged 1 commit into from
Jan 23, 2024

fix: run ansible-lint in ci

16388e1
Select commit
Loading
Failed to load commit list.
Merged

fix: run ansible-lint in ci #309

fix: run ansible-lint in ci
16388e1
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Jan 22, 2024 in 12m 38s

Build Failed

The build failed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #309 fix: run ansible-lint in ci.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has three jobs, running in parallel.

Job Python Xcode OS State
16.1 3.8 Linux failed
16.2 xcode10.3 macOS failed
16.3 windows failed

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Xenial)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "jobs": {
    "include": [
      {
        "os": "linux",
        "dist": "focal",
        "python": "3.8",
        "language": "python",
        "addons": {
          "apt": {
            "packages": [
              "python3-pip"
            ]
          }
        },
        "install": [
          "sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1",
          "echo $PATH",
          "pip3 install ansible flask",
          "ansible --version",
          "{ echo '[defaults]'; echo 'roles_path = ../'; } > ansible.cfg"
        ],
        "script": [
          "ansible-playbook tests/test.yml -i tests/inventory --syntax-check",
          "ansible-playbook tests/test.yml -i tests/inventory"
        ],
        "after_failure": [
          "touch ~/mock_ci.pid && cat ~/mock_ci.pid",
          "touch ~/mock_ci.log && cat ~/mock_ci.log"
        ]
      },
      {
        "os": "osx",
        "osx_image": "xcode10.3",
        "language": "generic",
        "install": [
          "pip install ansible flask",
          "ansible --version",
          "printf '[defaults]\\nroles_path=../' > ansible.cfg"
        ],
        "script": [
          "ansible-playbook tests/test.yml -i tests/inventory --syntax-check",
          "ansible-playbook tests/test.yml -i tests/inventory"
        ],
        "after_failure": [
          "touch ~/mock_ci.pid && cat ~/mock_ci.pid",
          "touch ~/mock_ci.log && cat ~/mock_ci.log"
        ]
      },
      {
        "os": "windows",
        "language": "shell",
        "install": [
          "powershell -ExecutionPolicy ByPass -File tests/travis-bootstrap-ansible.ps1",
          "wsl ansible --version"
        ],
        "script": [
          "wsl mkdir -p tests/roles/ansible-gitlab-runner/",
          "cd tests/roles/ansible-gitlab-runner/",
          "wsl ln -s ../../../* .",
          "cd ../../",
          "wsl ansible-playbook test.yml -i inventory --syntax-check",
          "wsl ansible-playbook test.yml -i inventory --extra-vars 'ansible_user=ansible ansible_password=Ans1ble_User! ansible_connection=winrm ansible_winrm_server_cert_validation=ignore ansible_ssh_port=5986'"
        ]
      }
    ]
  },
  "notifications": {
    "webhooks": [
      {
        "urls": [
          "https://galaxy.ansible.com/api/v1/notifications/"
        ]
      }
    ]
  }
}