Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Commit d97032b

Browse files
authored
Release 1.1.2 (#30)
1 parent baecd06 commit d97032b

File tree

6 files changed

+115
-85
lines changed

6 files changed

+115
-85
lines changed

.github/workflows/integration.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Collection integration
33
on:
44
push:
55
schedule:
6-
- cron: 31 6 * * * # Run weekly
6+
- cron: 31 6 * * 2 # Run weekly
77

88
jobs:
99
integration-test:
@@ -16,59 +16,59 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
runner-python-version:
19-
- 3.6
19+
- 3.6
2020
python-version:
21-
- 3.6
22-
- 2.7
21+
- 3.6
22+
- 2.7
2323
steps:
24-
- name: Check out code
25-
uses: actions/checkout@v2
26-
with:
27-
path: ansible_collections/ngine_io/vultr
24+
- name: Check out code
25+
uses: actions/checkout@v2
26+
with:
27+
path: ansible_collections/ngine_io/vultr
2828

29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v1
31-
with:
32-
python-version: ${{ matrix.python-version }}
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v1
31+
with:
32+
python-version: ${{ matrix.python-version }}
3333

34-
- name: Install ansible and collection dependencies
35-
run: |
36-
python -m pip install --upgrade pip
37-
pip install ansible
34+
- name: Install ansible and collection dependencies
35+
run: |
36+
python -m pip install --upgrade pip
37+
pip install ansible
3838
39-
- name: Build and install collection
40-
run: |
41-
ansible-galaxy collection build .
42-
ansible-galaxy collection install *.gz
39+
- name: Build and install collection
40+
run: |
41+
ansible-galaxy collection build .
42+
ansible-galaxy collection install *.gz
4343
44-
- name: Add config file
45-
env:
46-
CONFIG_FILE: ${{ secrets.CONFIG_FILE }}
47-
run: |
48-
echo "$CONFIG_FILE" > tests/integration/cloud-config-vultr.ini
44+
- name: Add config file
45+
env:
46+
CONFIG_FILE: ${{ secrets.CONFIG_FILE }}
47+
run: |
48+
echo "$CONFIG_FILE" > tests/integration/cloud-config-vultr.ini
4949
50-
- name: Run the tests
51-
run: >-
52-
ansible-test
53-
integration
54-
--docker
55-
-v
56-
--diff
57-
--color
58-
--retry-on-error
59-
--python ${{ matrix.python-version }}
60-
--continue-on-error
61-
--coverage
62-
smoke/vultr/
50+
- name: Run the tests
51+
run: >-
52+
ansible-test
53+
integration
54+
--docker
55+
-v
56+
--diff
57+
--color
58+
--retry-on-error
59+
--python ${{ matrix.python-version }}
60+
--continue-on-error
61+
--coverage
62+
smoke/vultr/
6363
64-
- name: Generate coverage report
65-
run: >-
66-
ansible-test
67-
coverage xml
68-
-v
69-
--requirements
70-
--group-by command
71-
--group-by version
72-
- uses: codecov/codecov-action@v1
73-
with:
74-
fail_ci_if_error: false
64+
- name: Generate coverage report
65+
run: >-
66+
ansible-test
67+
coverage xml
68+
-v
69+
--requirements
70+
--group-by command
71+
--group-by version
72+
- uses: codecov/codecov-action@v1
73+
with:
74+
fail_ci_if_error: false

.github/workflows/publish.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,32 @@ name: Upload release to Galaxy
33
on:
44
release:
55
types: [created]
6-
76
jobs:
7+
call-sanity-workflow:
8+
uses: ./.github/workflows/sanity.yml
89
deploy:
910
runs-on: ubuntu-latest
1011
defaults:
1112
run:
1213
working-directory: ansible_collections/ngine_io/vultr
1314
steps:
14-
- uses: actions/checkout@v2
15-
with:
16-
path: ansible_collections/ngine_io/vultr
15+
- uses: actions/checkout@v2
16+
with:
17+
path: ansible_collections/ngine_io/vultr
1718

18-
- name: Set up Python
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: '3.x'
19+
- name: Set up Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: "3.x"
2223

23-
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip install ansible
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install ansible
2728
28-
- name: Build and publish
29-
env:
30-
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
31-
run: |
32-
ansible-galaxy collection build .
33-
ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY
29+
- name: Build and publish
30+
env:
31+
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
32+
run: |
33+
ansible-galaxy collection build .
34+
ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY

.github/workflows/sanity.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Sanity
22
on:
3+
workflow_call:
34
schedule:
4-
- cron: "5 12 * * *"
5+
- cron: "5 12 * * *"
56
pull_request:
67

78
jobs:
@@ -14,23 +15,25 @@ jobs:
1415
strategy:
1516
matrix:
1617
ansible:
17-
- stable-2.11
18-
- stable-2.10
19-
- stable-2.9
20-
- devel
18+
- stable-2.13
19+
- stable-2.12
20+
- stable-2.11
21+
- stable-2.10
22+
- stable-2.9
23+
- devel
2124
steps:
22-
- name: Check out code
23-
uses: actions/checkout@v2
24-
with:
25-
path: ansible_collections/ngine_io/vultr
25+
- name: Check out code
26+
uses: actions/checkout@v2
27+
with:
28+
path: ansible_collections/ngine_io/vultr
2629

27-
- name: Set up Python
28-
uses: actions/setup-python@v2
29-
with:
30-
python-version: '3.x'
30+
- name: Set up Python
31+
uses: actions/setup-python@v2
32+
with:
33+
python-version: "3.x"
3134

32-
- name: Install ansible-base (${{ matrix.ansible }})
33-
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
35+
- name: Install ansible-base (${{ matrix.ansible }})
36+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
3437

35-
- name: Run sanity tests
36-
run: ansible-test sanity --docker -v --color
38+
- name: Run sanity tests
39+
run: ansible-test sanity --docker -v --color

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ Vultr Collection Release Notes
55
.. contents:: Topics
66

77

8+
v1.1.2
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
This collection has turned into maintenance mode. We encourage you to add new features to its successor at https://galaxy.ansible.com/vultr/cloud.
15+
16+
17+
Minor Changes
18+
-------------
19+
20+
- Documentation fixes.
21+
822
v1.1.1
923
======
1024

changelogs/changelog.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,15 @@ releases:
3535
fragments:
3636
- 26-fix-user-data.yml
3737
release_date: '2022-03-27'
38+
1.1.2:
39+
changes:
40+
minor_changes:
41+
- Documentation fixes.
42+
release_summary: 'This collection has turned into maintenance mode. We encourage
43+
you to add new features to its successor at https://galaxy.ansible.com/vultr/cloud.
44+
45+
'
46+
fragments:
47+
- sanity.yml
48+
- summary.yml
49+
release_date: '2022-06-08'

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ tags:
1616
- cloud
1717
- vultr
1818
- ngine_io
19-
version: 1.1.1
19+
version: 1.1.2

0 commit comments

Comments
 (0)