Skip to content

Commit

Permalink
Fixes for AZP (ansible-collections#152)
Browse files Browse the repository at this point in the history
* Fixes for AZP

* More sanity checks
  • Loading branch information
jborean93 authored Dec 9, 2020
1 parent e9cd24c commit 8c8ed06
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
30 changes: 18 additions & 12 deletions .azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,32 @@ resources:
pool: Standard

stages:
- stage: Sanity
- stage: Ansible_devel
displayName: Ansible devel
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Test {0}
testFormat: '{0}/sanity'
nameFormat: '{0}'
testFormat: 'devel/{0}'
targets:
- test: devel
- test: 2.10
- stage: Units
- name: Sanity
test: sanity
- name: Units
test: units
- stage: Ansible_2_10
displayName: Ansible 2.10
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Test {0}
testFormat: '{0}/units'
nameFormat: '{0}'
testFormat: '2.10/{0}'
targets:
- test: devel
- test: 2.10
- name: Sanity
test: sanity
- name: Units
test: units
- stage: Windows
displayName: Windows
dependsOn: []
Expand All @@ -81,8 +87,8 @@ stages:
- stage: Summary
condition: succeededOrFailed()
dependsOn:
- Sanity
- Units
- Ansible_devel
- Ansible_2_10
- Windows
jobs:
- template: templates/coverage.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ansible Collection: ansible.windows

[![Run Status](https://api.shippable.com/projects/5e4d952ef7b7100007bcf1a1/badge?branch=main)](https://app.shippable.com/github/ansible-collections/ansible.windows/dashboard/jobs)
[![Build Status](https://dev.azure.com/ansible/ansible.windows/_apis/build/status/CI?branchName=main)](https://dev.azure.com/ansible/ansible.windows/_build/latest?definitionId=24&branchName=main)
[![codecov](https://codecov.io/gh/ansible-collections/ansible.windows/branch/main/graph/badge.svg)](https://codecov.io/gh/ansible-collections/ansible.windows)

The `ansible.windows` collection includes the core plugins supported by Ansible to help the management of Windows hosts.
Expand Down
4 changes: 3 additions & 1 deletion tests/utils/shippable/shippable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ if [ "${SHIPPABLE_BUILD_ID:-}" ]; then
cd "${TEST_DIR}"
fi

# export PATH="${PWD}/bin:${PATH}"
export PATH="${HOME}/.local/bin:${PATH}"
sudo chown "$(whoami)" "${PWD}/../../"

export PYTHONIOENCODING='utf-8'

if [ "${JOB_TRIGGERED_BY_NAME:-}" == "nightly-trigger" ]; then
Expand Down

0 comments on commit 8c8ed06

Please sign in to comment.