Hello, Here is my problem.
I made a private gitlab instance.
docker run --detach \
--hostname 10.4.1.94 \
--publish 9443:443 --publish 9080:80 --publish 9022:22 \
--name gitlab-ce-15.10 \
--restart always \
--volume /app/gitlab-ce-15.10/config:/etc/gitlab \
--volume /app/gitlab-ce-15.10/logs:/var/log/gitlab \
--volume /app/gitlab-ce-15.10/data:/var/opt/gitlab \
-e GITLAB_ROOT_PASSWORD=12345678 \
gitlab/gitlab-ce:15.10.1-ce.0
and I want to try gitlab ci, I follow the Tutorial: Create and run your first GitLab CI/CD pipeline | GitLab
when I create .gitlab-ci.yml and fill the content as the tutorial told and commit the file to the main branch, but I can’t see any pipeline in the pipeline page.
This is what I put in the .gitlab-ci.yml
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job1:
stage: test
script:
- echo "This job tests something"
test-job2:
stage: test
script:
- echo "This job tests something, but takes more time than test-job1."
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
deploy-prod:
stage: deploy
script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment: production
I also have register a runner of my own.
I do what the same above on gitlab.com, and it behaved like the tutorial says.
SO I GUESS THIS BECAUSE the DOCKER IMAGE OR ERROR IN THE INITIAL STARTUP BY DOCKER.
help wanted.