HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Reflect GitLab repo changes in VSTS code

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
reflectgitlabcodechangesvstsrepo

Problem

I have a repository in GitLab that is used by our development team. On the other hand, there is a VSTS setup (at xyz.visualstudio.com) that we use to manage our scrum board.

As of today, we have to manually import the repository in VSTS every time a feature is finalized. Once the repository is imported, it does not pull the latest commits by itself.

How do I ensure that every time a developer commits code to GitLab repository, same is displayed in VSTS automatically? Am I missing something when I use "import repository" feature in VSTS?

Solution

I'm using https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository to push everything into a repository in VSTS, easily done via access token with the right permissions.

Context

StackExchange DevOps Q#3056, answer score: 2

Revisions (0)

No revisions yet.