Skip to content

test(functional): bump GitLab docker image to 15.2.0-ee.0 #2194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

JohnVillalovos
Copy link
Member

Use the GitLab docker image 15.2.0-ee.0 in the functional testing.

Use the GitLab docker image 15.2.0-ee.0 in the functional testing.
@JohnVillalovos JohnVillalovos requested a review from nejch July 28, 2022 16:30
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/update-gitlab branch 3 times, most recently from f1603e2 to 3e07453 Compare July 28, 2022 23:39
@codecov-commenter
Copy link

Codecov Report

Merging #2194 (3e07453) into main (194ee01) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2194      +/-   ##
==========================================
- Coverage   95.54%   95.49%   -0.06%     
==========================================
  Files          81       81              
  Lines        5296     5344      +48     
==========================================
+ Hits         5060     5103      +43     
- Misses        236      241       +5     
Flag Coverage Δ
api_func_v4 81.34% <ø> (-0.14%) ⬇️
cli_func_v4 83.06% <ø> (-0.06%) ⬇️
unit 87.31% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gitlab/v4/objects/topics.py 100.00% <ø> (ø)
gitlab/v4/objects/clusters.py 82.35% <0.00%> (-11.77%) ⬇️
gitlab/utils.py 98.59% <0.00%> (-1.41%) ⬇️
gitlab/cli.py 100.00% <0.00%> (ø)
gitlab/mixins.py 92.30% <0.00%> (ø)
gitlab/v4/cli.py 90.78% <0.00%> (ø)
gitlab/v4/objects/members.py 94.82% <0.00%> (ø)
gitlab/v4/objects/projects.py 100.00% <0.00%> (ø)
gitlab/v4/objects/releases.py 100.00% <0.00%> (ø)
gitlab/v4/objects/statistics.py 100.00% <0.00%> (ø)
... and 10 more

@JohnVillalovos JohnVillalovos force-pushed the jlvillal/update-gitlab branch from 3e07453 to af47e74 Compare July 29, 2022 03:59
In GitLab >= 15.0 `title` is required when creating a topic.
Cluster support was deprecated in GitLab 14.5 [1]. And disabled by
default in GitLab 15.0 [2]

  * Update docs to mark clusters as deprecated
  * Remove testing of clusters

[1] https://docs.gitlab.com/ee/api/project_clusters.html
[2] https://gitlab.com/groups/gitlab-org/configure/-/epics/8
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/update-gitlab branch from af47e74 to b46b379 Compare July 29, 2022 04:01
Comment on lines +10 to +18
create_dict = {"name": "my-topic", "description": "My Topic"}
if gitlab_version.major >= 15:
create_dict["title"] = "my topic title"
topic = gl.topics.create(
{"name": "my-topic", "title": "my topic title", "description": "My Topic"}
)
assert topic.name == "my-topic"
if gitlab_version.major >= 15:
assert topic.title == "my topic title"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW I don't think we need to test multiple major versions as tests get complicated quickly, but I agree it'll be helpful having version checks when developing new features.

@nejch nejch merged commit 7a53c69 into main Jul 29, 2022
@nejch nejch deleted the jlvillal/update-gitlab branch July 29, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants