-
Notifications
You must be signed in to change notification settings - Fork 319
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
Add resource for GitHub integration #311
Add resource for GitHub integration #311
Conversation
since https://gitlab.com/gitlab-org/gitlab/-/issues/211963 was solved we can now check the username in our tests
@tptee for my understanding, is there still a fix needed in |
I've pointed to the latest
Any guidance for how we can separate EE-only tests from the CE test run? |
@tptee I filed #314 to investigate how the acceptance tests can be divided in the community and the enterprise editions. |
Use |
19a854d
to
4f882f5
Compare
Ok CE tests pass now–all that's left is to bump to I do worry that the EE tests will fail–the
This is with |
I ran the whole suite on a |
Upgraded to v0.32.0 of go-gitlab and reconfirmed the tests pass! I think this is ready to go as long as the EE tests pass for maintainers! |
Looks like an unrelated failure from the
I'll take a peek at the changes in that release to see what's up. |
@tptee test probably fails due to this: |
@tptee I need to ask you to rebase once more. Branch |
5b74c5a
to
488cd4c
Compare
Tests passed locally for me after rebase! |
@tptee Without documentation, this new resource won't show up on the Terraform website. Can you still add it to the |
oh whoops, on it! |
Done! Sorry for missing that! |
@tptee and I forgot to mention that you also have to add the resource to the website sidebar here: |
No worries! on it! |
Done! Thanks for your patience 🙇 |
@tptee more in reverse. Thank you for all the work in this contribution. |
…thub Add resource for GitHub integration
This PR adds a resource for integrating GitHub into a GitLab project. It replicates the patterns from the Jira and Slack resources and uses the Service API via
go-gitlab
.The GitHub integration is a Premium+ feature, so running the acceptance test is tricky–maybe there's a way to omit it from
make testacc
? Additionally, thisgo-gitlab
PR prevents this resource and its acceptance test from working. When this fix lands upstream (may need a backport because of breaking changes in0.31.x
, I'll update the PR and run the acceptance test in a Silver .com group!