stable
Clone or download
This is part of story #17178 reference my gitlab repositories in my tuleap project How to test : - Have gitlab plugin - To be git admin - Have gitlab server [0] - Have gitlab API token -> go to git plugin in a project -> integrate a gitlab repository (with your gitlab url and token) and choose one of your repository Expected results: - The UI is reloead and your gitlab repository is displayed - A success message is displayed - Rows are added in plugin_gitlab_repository table and plugin_gitlab_repository_project => If there is an API error, it's displayed on modal -> When a repository is already integrated, it must be disabled in the modal so as not to integrate it again [0] - Run docker-compose up - d gitlab - Go in the container and get the ip - Add row in /etc/hosts: your_ip gitlab.local - Go https://gitlab.local/admin/application_settings/network#js-outbound-settings -> Add "tuleap-web.tuleap-aio-dev.docker" in allowed local domains Change-Id: If24ac6998db108e80a3979f852e595f811b3788f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/scripts/repositories/po/fr.po | +6 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/api/rest-querier.js | +24 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/api/rest-querier.test.js | +43 | −2 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.test.js | +5 | −1 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.vue | +5 | −1 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/GitlabRepositoryModal.test.js | +55 | −3 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/GitlabRepositoryModal.vue | +22 | −3 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.test.js | +109 | −3 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue | +76 | −5 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/actions.js | +7 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/getters.js | +6 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/getters.test.js | +33 | −0 | Go to diff View file |
M | plugins/git/scripts/repositories/src/store/mutations.js | +3 | −0 | Go to diff View file |
M | plugins/git/themes/BurningParrot/repositories/_repositories.scss | +22 | −4 | Go to diff View file |