mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
1ee2bba140
New module: gitlab_milestone (#7824)
* new module gitlab_milestone
* change BOTMETA
* remove blank line
* version_added field
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/gitlab_milestone.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update description with reference
Co-authored-by: Felix Fontein <felix@fontein.de>
* Dates as string type
* Removed python 2.7 requirement
* Fixes from recent PR comments.
* milestones_obj returned on success
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4298f2dd92
)
Co-authored-by: Gabriele Pongelli <gpongelli@users.noreply.github.com>
1.2 KiB
1.2 KiB
Gitlab integration tests
- to run integration tests locally, I've setup a podman pod with both gitlab-ee image and the testing image
- gitlab's related information were taken from here, about the variable it needs (hostname, ports, volumes); volumes were pre-made before launching the image
- image that run integration tests is started with
podman run --rm -it --pod <pod_name> --name <image_name> --network=host --volume <path_to_git_repo>/ansible_community/community.general:<container_path_to>/workspace/ansible_collections/community/general quay.io/ansible/azure-pipelines-test-container:4.0.1
- into the testing image, run
pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
cd <container_path_to>/workspace/ansible_collections/community/general
ansible-test integration gitlab_milestone -vvv
While debugging with q
package, open a second terminal and run podman exec -it <image_name> /bin/bash
and inside it do tail -f /tmp/q
.