Commit Graph

45 Commits

Author SHA1 Message Date
Abhijeet Kasurde
fa819d3f11 test molecule zuul job (#180) 2021-07-27 15:48:37 +05:30
abikouo
25100e7f5e adding a prepare step to validate that node is ready for schedule (#160) 2021-07-07 07:23:45 -04:00
Mike Graves
c11a255026 Fix apply on Ansible 2.9 (#135)
* Fix apply on Ansible 2.9

For some reason the apply function can't be correctly imported in
Ansible 2.9. This just renames it to get it to import. I've also added
molecule testing on multiple Ansible versions.

* Add changelog fragment
2021-06-16 11:28:46 -04:00
abikouo
dd53fde0e1 remove openshift dependency for molecule testing (#118) 2021-06-02 10:09:19 +02:00
abikouo
5bb827f0f4 2.11 sanity on collection (#103)
* sanity 2.11

* add repo name

* repo name syntax

* install requirements

* update ignore

* molecule tests on multiple versions

* Update ci.yml
2021-05-17 15:17:45 +02:00
abikouo
fc80540db5 drop python 2 support (breaking changes) (#86)
* drop python 2 support

* change log

* Update changelogs/fragments/86_drop_python2_support.yaml

Co-authored-by: Mike Graves <mgraves@redhat.com>

* Update k8s.py

Co-authored-by: Mike Graves <mgraves@redhat.com>
2021-05-04 18:07:22 +02:00
abikouo
963aa3fbe6 support merge_type`json` (#83)
Fixes #54
2021-04-28 09:06:43 -04:00
Mike Graves
ba586a8ed8 Rename from community.kubernetes to kubernetes.core (#6)
* Rename from community.kubernetes to kubernetes.core

This goes through and renames community.kubernetes to kubernetes.core.
Most of this was generated from the downstream build script that was
used on the community repository, plus whatever hand edits I could find
that were needed.

The downstream build and test process has also been removed as this
repository is now the downstream repository.

* Fix CONTRIBUTING.md
2021-04-08 08:48:27 -04:00
Mike Graves
d6f251173e Add unit tests to CI (#407)
* Add unit tests to CI

The unit tests were not being run during CI. This adds a GitHub Action
for it.

* Add changelog fragment
2021-04-05 09:39:01 -04:00
Mike Graves
34e6e09fb8 Restrict molecule version to <3.3.0 (#396)
The 3.3.0 version of molecule broke the test suite. Restricting the
version until we can either fix upstream or decide on the best
workaround.
2021-03-25 09:22:59 +05:30
Abhijeet Kasurde
4b447cc301 CI fix (#322)
Fixes: #316
2020-12-04 12:33:10 +05:30
Jeff Geerling
b97c5ce85b Update to latest version of kind action so kind cluster setup succeeds. (#306) 2020-11-18 11:32:02 -06:00
Jeff Geerling
cbd3a2554e Issue #260: Sanity test 'compile' failing because of positional args. (#261)
* Issue #260: Sanity test 'compile' failing because of positional args.

* Issue #260: Run integration tests on older Python 3.6 still.

* Issue #260: Add changelog fragment.
2020-10-09 10:17:52 -05:00
Adam Miller
d17858c6dd fix downstream ci names
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-28 13:58:39 -05:00
Jeff Geerling
604cae993b Merge pull request #197 from maxamillion/downstream_build
add Makefile and downstream build script
2020-08-27 10:41:28 -05:00
Adam Miller
8c7ea12024 only test downstream against Ansible 2.9.x
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 15:10:29 -05:00
Adam Miller
f9fc0f7d69 fix README, use Makefile everywhere
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 11:33:00 -05:00
Jeff Geerling
5f34d84f67 PR #196 follow-up: Adjust stale bot exemptLabels. 2020-08-26 11:19:05 -05:00
Adam Miller
3885eb1a84 add Makefile, downstream build script, enable CI for downstream
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 09:39:42 -05:00
Jeff Geerling
7acd460bdc Issue #53: Add probot/stale bot configuration to ID and close stale issues. 2020-08-18 10:46:35 -05:00
Jeff Geerling
0473ac9fcc Issue #167: Try Ansible's stable release. 2020-07-23 11:22:35 -05:00
Jeff Geerling
bab4e38738 Issue #167: Install ansible-base via pip with --pre. 2020-07-23 11:15:35 -05:00
Jeff Geerling
9c0f7fe0ba Issue #167: Attempt installing ansible's stable-2.10 branch. 2020-07-23 11:06:56 -05:00
Jeff Geerling
f4f4ec6fcf Issue #167: More fixes, oops. 2020-07-20 16:31:49 -05:00
Jeff Geerling
4a2b1b918b Issue #167: Make yamllint less bothersome and install ansible-base in different order. 2020-07-20 16:25:35 -05:00
Jeff Geerling
6d2567b6c0 Fixes #167: Re-order ansible installation so it doesn't break on molecule test. 2020-07-20 16:06:40 -05:00
Jeff Geerling
a16ac42f3e Issue #148: Switch links and CI process to main from master branch. 2020-07-17 08:55:11 -05:00
Will Thames
61c33724f3 Turn on flake8 checks in molecule tests 2020-06-09 19:24:37 +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
Jeff Geerling
1ea2781562 Fixes #77: Update checkout action to v2 for CI stability. 2020-04-21 13:57:09 -05:00
Jeff Geerling
493b6e31fb Use Ansible devel for all tests. 2020-03-28 10:16:02 -05:00
Jeff Geerling
f7e7cb0e55 Fixes #63: Use ansible/ansible instead of ansible-base for CI. 2020-03-23 12:31:02 -05:00
Jeff Geerling
f5c9dcdd29 Use GitHub Action for code coverage reporting. 2020-03-05 09:26:46 -06:00
Jeff Geerling
c96f28581c Issue #30: Install molecule latest version since 3.0 is released. 2020-02-20 10:53:42 -06:00
Jeff Geerling
eb81891577 Issue #30: Test with Molecule 3.0 alpha. 2020-02-19 11:03:14 -06:00
Jeff Geerling
ae2a78815e Build on pushes to the master branch (including PR merges). 2020-02-13 17:12:25 -06:00
Jeff Geerling
a75593c36a Attempt to resolve #23 entirely without a json_query(). 2020-02-13 15:47:24 -06:00
Jeff Geerling
6dafb4c1db Issue #10: Don't add dependent collections when installing community.general. 2020-02-13 15:05:22 -06:00
Jeff Geerling
b2e639b823 Issue #10: Move integration tests into molecule playbook. 2020-02-13 15:03:47 -06:00
Jeff Geerling
1200460f26 Issue #10: Attempt setting up a KinD cluster in CI workflow.g 2020-02-13 15:01:47 -06:00
Jeff Geerling
c59fb0ce8b Add daily scheduled CI workflow run at 6 a.m. UTC. 2020-02-11 17:40:46 -06:00
Jeff Geerling
a21f8c4d6b Issue #15: Add codecov coverage reporting like grafana collection. 2020-02-11 17:10:38 -06:00
Jeff Geerling
b80632efbd Build on push, and link CI badge to Actions. 2020-01-30 17:03:44 -06:00
Jeff Geerling
48b4c3be54 Issue #2: python_requirements_info is not available in ansible-base. 2020-01-30 14:20:37 -06:00
Jeff Geerling
2e807f946a Issue #2: Get tests working with GitHub Actions for now. 2020-01-30 11:30:34 -06:00