Job Stuck Pending

I am trying to setup CI/CD process on my self hosted Gitlab server. One month ago I was able to setup one job / runner . Lastweek I updated SSL on server. I was using predefined Letsencrpyt but I updated it into custom SSL. everything looks good until I realized runner has issue.
I have been trying with existed (which were working) ,gitlab-ci.yml.
When I started pipeline ,



Screen Shot 2022-12-15 at 18.18.15

    • self-managed *
  • Add the CI configuration from .gitlab-ci.yml and other configuration if relevant (e.g. docker-compose.yml)
    stages:

    • deploy

deploy_prod:
stage: deploy
image: google/cloud-sdk:alpine
environment: PROD
tags:
- countryservice
only:

  • main
    script:
  • echo $GCP_CLOUD_BUILD_SERVICE_KEY > /tmp/gcloud-service-key.json
  • gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json
  • gcloud config set project $GCP_PROJECT_ID
  • gcloud builds submit . --config=cloudbuild.yaml

after_script:

  • rm /tmp/gcloud-service-key.json
  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
    The SSL of runners were self hosted. I re-created runners with
    gitlab-runner register --tls-ca-file svnkey.pem --url …

Thanks for taking the time to be thorough in your request, it really helps! :blush:

@salginci when you say that you updated it to use custom SSL, did you use a self-signed certificate or one you obtained from an SSL certificate provider?

1 Like