-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into nat-0205-patch-1
- Loading branch information
Showing
7 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,25 +31,22 @@ jobs: | |
- stable-2.15 | ||
- devel | ||
python: | ||
- 3.9 | ||
- '3.10' | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ansible_collections/community/zabbix | ||
|
||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install ansible-base (${{ matrix.ansible }}) | ||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check | ||
|
||
- name: Install dependencies | ||
run: pip install docker-compose | ||
|
||
- name: Install ansible.netcommon collection | ||
run: ansible-galaxy collection install ansible.netcommon -p $GITHUB_WORKSPACE | ||
working-directory: ./ansible_collections/community/zabbix | ||
|
@@ -58,8 +55,9 @@ jobs: | |
# the Zabbix server. To do this we spin up a Docker container using the `matrix` | ||
# of version and ports specified earlier. | ||
- name: Zabbix container server provisioning | ||
run: docker-compose up -d | ||
working-directory: ./ansible_collections/community/zabbix | ||
uses: isbang/[email protected] | ||
with: | ||
compose-file: "./ansible_collections/community/zabbix/docker-compose.yml" | ||
env: | ||
zabbix_version: ${{ matrix.zabbix_container.version }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters