Commit Graph

195 Commits

Author SHA1 Message Date
Jeff Geerling
e55053c180 Issue #125: Add requires_ansible version constraints to runtime.yml. 2020-06-10 13:57:02 -05:00
Sloane Hertel
b46a5ee10e Add action groups for playbooks with module_defaults (#107)
* Keep backwards compatibility with playbooks using community.kubernetes content with module_defaults groups
2020-05-30 21:42:59 +10:00
Jeff Geerling
1ed3b659f3 Merge pull request #100 from willthames/scale_improvements
k8s_scale fixes
2020-05-29 10:27:10 -05:00
Will Thames
aa70416ae7 Fix scale wait and add tests
Move wait logic out of raw and into common and use that
logic in scale

Fix a few broken wait condition cases highlighted by scaling
up and down

Move scale-related tests into dedicated test task file

Additional service related tests
2020-05-29 23:38:30 +10:00
Will Thames
5aed26690d Update setup-kind action to 0.4.0
See https://github.com/engineerd/setup-kind/releases/tag/v0.4.0
for details of the EXDEV issue
2020-05-22 13:10:12 +10:00
Will Thames
beebe98ce6 Fix scale wait and add tests
Move wait logic out of raw and into common and use that
logic in scale

Fix a few broken wait condition cases highlighted by scaling
up and down

Move scale-related tests into dedicated test task file

Additional service related tests
2020-05-22 12:39:43 +10:00
Fabian von Feilitzsch
3bdfb4745a Merge pull request #94 from willthames/apply_nested_dict
Add test for openshift apply bug
2020-05-21 15:41:21 -04:00
Jeff Geerling
a519cee48e Merge pull request #103 from abadger/fix-docs
Fix the docs for the inventory plugins.
2020-05-21 13:14:00 -05:00
Will Thames
00200cf917 Add test for openshift apply bug
Fails using 0.11.0
2020-05-21 12:39:04 +10:00
Toshio Kuratomi
d9ece473dd Fix the docs for the inventory plugins.
Documenting the structure of the dictionary to pass in needs to be done
via suboptions rather than putting the structure directoly inside of the
toplevel option.
2020-05-20 07:48:35 -07:00
Fabian von Feilitzsch
2f7b55270d Merge pull request #35 from willthames/wait_conditions
Make deployments and daemonsets wait for pods to be ready
2020-05-19 13:38:35 -04:00
Jeff Geerling
8aea1b6589 Merge pull request #102 from willthames/remove_coverage_failure_check
Don't run project coverage on patches
2020-05-19 12:30:16 -05:00
Will Thames
e7736cb12d Don't run project coverage on patches
Coverage improvement for the project is not a requirement
of the collections projects. Don't fail builds on coverage reduction
2020-05-19 18:23:07 +10:00
Fabian von Feilitzsch
9ccec43c6e Merge pull request #84 from willthames/k8s_apply_check_mode_fix
K8s apply check mode fix
2020-05-15 12:58:40 -04:00
Will Thames
35ffd0e431 Improve k8s Deployment and Daemonset wait conditions
Ensure that Deployments and Daemonsets properly await
all replicas to be available. Correctly handles the
subtle edge case when a service account no longer exists.

Note that this will dramatically slow Daemonset updates
2020-05-15 09:24:35 +10:00
Jeff Geerling
8e9093c971 Merge pull request #98 from geerlingguy/92-verison-added
Add version_added to docs for each of the new collection modules.
2020-05-14 12:23:00 -05:00
Jeff Geerling
aad3ec7ad5 Add version_added to docs for each of the new collection modules. 2020-05-14 09:39:17 -05:00
Jeff Geerling
600fa44098 Merge pull request #97 from geerlingguy/96-sanity-deprecated
Fixes #96: Sanity test finds incorrect deprecated usage.
2020-05-14 09:37:26 -05:00
Jeff Geerling
3e60ccacc3 Fixes #96: Sanity test finds incorrect deprecated usage. 2020-05-14 09:20:00 -05:00
Jeff Geerling
4e40ac382e Merge pull request #95 from orjan/91-remove-metadata
Remove ANSIBLE_METADATA
2020-05-14 09:17:45 -05:00
Örjan Sjöholm
f45d33224f Remove ANSIBLE_METADATA
The meta data field is deprecated and is not used anymore.

See ansible-collections/overview#57 for more details.
2020-05-14 14:25:07 +02:00
Jeff Geerling
5f3d2fc6f1 Merge pull request #86 from geerlingguy/0_11-release-prep
Preparation for 0.11.0 release - and point helm docs at repo for now.
2020-05-04 12:07:53 -05:00
Jeff Geerling
b084e132cb Merge branch 'master' into 0_11-release-prep 2020-05-04 12:07:40 -05:00
Jeff Geerling
7875aba0f9 Merge pull request #85 from geerlingguy/29-update-release-instructions
Fixes #29: Make sure release instructions ignore extra files in repo.
2020-05-04 12:03:13 -05:00
Jeff Geerling
b01cbc163e Preparation for 0.11.0 release - and point helm docs at repo for now. 2020-05-04 11:51:53 -05:00
Jeff Geerling
9885c3e1f6 Fixes #29: Make sure release instructions ignore extra files in repo. 2020-05-04 11:41:45 -05:00
Jeff Geerling
b21494ab23 Merge pull request #61 from LucasBoisserie/helm_cli
Add helm, helm_info, and helm_repository modules
2020-05-04 11:34:15 -05:00
Will Thames
34137c40c2 Fix apply patching results in check mode
apply_object returns only the patch - we need to actually
apply the patch to the existing object.

Fixes ansible/ansible#66780
2020-05-04 18:48:13 +10:00
Will Thames
a23d454365 Add failing test for service in check mode 2020-05-04 16:24:51 +10:00
Jeff Geerling
4de52c5a98 Merge pull request #81 from geerlingguy/76-rename-repo
Fixes #76: Rename repository to community.kubernetes.
2020-04-29 17:36:18 -05:00
Jeff Geerling
130ed49019 Fixes #76: Rename repository to community.kubernetes. 2020-04-29 17:23:02 -05:00
LucasBoisserie
9f788c63e7 Missing helm_repository 2020-04-27 18:03:39 +02:00
LucasBoisserie
1a23994448 Add helm_repository module and fix review suggestion 2020-04-25 12:24:26 +02:00
LucasBoisserie
e89aa1c692 Fix englist grammar errors and rename modules to helm and helm_info 2020-04-23 16:29:34 +02:00
LucasBoisserie
438a30bd8e Remove Helm 2 support and add tests for helm_cli_info 2020-04-23 15:52:12 +02:00
LucasBoisserie
2e1b0f6817 t# This is a combination of 2 commits.
Add requested changes for helm
2020-04-23 15:52:12 +02:00
LucasBoisserie
c36a2d50af increase timeout for waiter 2020-04-23 15:52:12 +02:00
LucasBoisserie
720326ebb4 Add helm_cli & helm_cli_info 2020-04-23 15:52:12 +02:00
Jeff Geerling
dd8b7162b1 Merge pull request #69 from fabianvf/properly-serialize-log
k8s_log no longer attempts to parse log as JSON
2020-04-21 16:14:38 -05:00
Jeff Geerling
0199bc950d Merge pull request #78 from geerlingguy/77-checkout-v2
Fixes #77: Update checkout action to v2 for CI stability.
2020-04-21 14:09:50 -05:00
Jeff Geerling
1ea2781562 Fixes #77: Update checkout action to v2 for CI stability. 2020-04-21 13:57:09 -05:00
Fabian von Feilitzsch
2191825cbd Fix job creation task name 2020-04-01 16:39:20 -04:00
Fabian von Feilitzsch
41407a9362 Make a simpler test 2020-03-31 16:10:09 -04:00
Fabian von Feilitzsch
0f87f2b826 Fix linting errors 2020-03-31 15:14:07 -04:00
Fabian von Feilitzsch
c1df59cb3a Add test 2020-03-31 15:02:31 -04:00
Fabian von Feilitzsch
fe6480594e k8s_log no longer attempts to parse log as JSON
Fixes #68

Rather than relying on the default serialization logic (which attempts
    to parse a log as JSON and then load it into a wrapper class), we
now simply return the raw log data as expected. The previous behavior
worked in many cases because the log was serialized into a JSON string,
       but in the case of #68 the log was loaded as a JSON float, which
       made the error handling fail to fallback to returning the raw
       data.
2020-03-31 14:52:52 -04:00
Jeff Geerling
493b6e31fb Use Ansible devel for all tests. 2020-03-28 10:16:02 -05:00
Jeff Geerling
3790cc46f0 Issue #60: Bump version to 0.10.0. 2020-03-23 15:32:35 -05:00
Jeff Geerling
56704752ab Issue #60: Add CHANGELOG entries for 0.10.0. 2020-03-23 15:31:13 -05:00
Jeff Geerling
55e114d6a3 Merge pull request #64 from ansible-collections/63-ansible-base-switch
Update CI to use ansible/ansible instead of ansible-base
2020-03-23 12:48:19 -05:00