I have setup Gitlab in ubuntu server, it's working fine. I access Gitlab by url http://123.456.789.100
and Gitlab login details
username:[email protected]
password:123456
Then I wanted to set Gitlab CI for test the code before it merge. I have done with setting Gitlab CI by using the link. I have done setting up every thing except Runners. While set ssh git@<your gitlab url>
in Runner I face error
ssh [email protected]
it prompts me for password
[email protected]'s password: I entered password(123456) of gitlab's that I used to enter into gitlab server, then I have this error
Permission denied please try again
But I got Gitlab CI web interface by http://123.456.789.100:8081
(I did set Gitlab-ci to listen on 8081 port). Then I entered Gitlab server's username and password as [email protected] and 123456, I got Invalid credentials.
What would be the wrong I made?
Watch Intro to GitLab CI. This workshop uses the Web IDE to quickly get going with building source code using CI/CD, and run unit tests. Ensure you have runners available to run your jobs. If you don’t have a runner, install GitLab Runner and register a runner for your instance, project, or group.
The easiest fix for this would be to create an SSH key on the runner in question and then add that SSH key to GitLab. That will allow the runner to access the GitLab instance and clone and repositories you need. For more help getting started, see this page on Configuring GitLab runners.
The self-hosted GitLab version is virtually limitless. I am developing both microservices and monoliths, so being flexible with CI/CD is essential for me. In this post, we are going to guide ourselves through the initial setup of GitLab using Docker.
When you purchase a GitLab self-managed plan, an activation code is generated. This activation code is sent to the email address associated with the Customers Portal account. In GitLab, on the top bar, select Menu > Admin . On the left sidebar, select Subscription and paste the activation code in the text field.
When you put git@
in the ssh it’s actually trying to use the git user on the machine that is running GitLab (rather than some GitLab controlled user).
The easiest fix for this would be to create an SSH key on the runner in question and then add that SSH key to GitLab. That will allow the runner to access the GitLab instance and clone and repositories you need.
For more help getting started, see this page on Configuring GitLab runners.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With