Hello there,
i have self-hosted gitlab here
https://git.90-soft.com/
i am trying to enable CI/CD in gitlab and activate in on my Centos server, and to perfom this i installed gitlab runner on my Centos and i success with connecting them vis ssh, but when i tried the pipline i got this error
Running with gitlab-runner 15.11.0 (436955cb)
on test1 SVzyYXNX, system ID: s_8c75987bad58
Preparing the “shell” executor
Using Shell (bash) executor…
Preparing environment
Running on localhost.localdomain…
Getting source from Git repository
Fetching changes…
Initialized empty Git repository in /home/gitlab-runner/builds/SVzyYXNX/0/rayanazzam/wasel/.git/
Created fresh repository.
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘Sign in · GitLab’
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1
and this is my .gitlab.ci.yml
deploy:
stage: deploy
only:
- development
script:
- echo “Deploying to staging…”
- ssh -p 2200 root@185.194.126.244 “cd /var/www/html/wasel && git pull origin development”
please help asap
Best Regards,