Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • gitlab-runner gitlab-runner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 972
    • Issues 972
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar

Do not update/delete: Banner broadcast message test data

Do not update/delete: Notification broadcast message test data

  • GitLab.orgGitLab.org
  • gitlab-runnergitlab-runner
  • Issues
  • #2148
Closed
Open
Issue created Feb 14, 2017 by username-removed-127142@krkl

Submodule init failing due to "SSL certificate problem"

Summary

I'm trying to build my Go code with help from the golang:1.7 image, I have vendored some golang packages as submodules, but when the runner try to init them, it get "SSL certificate problem".

Running the same image locally and doing: git clone .. and git submodule init it init the submodule without any issues, so is Gitlab somehow messing around with the certificates maybe?

Steps to reproduce

Add some submodules which use https and use the golang:1.7 image.

Actual behavior

Updating/initializing submodules...
Submodule 'vendor/github.com/minio/minio-go' (http://github.com/minio/minio-go) registered for path 'vendor/github.com/minio/minio-go'
Submodule 'vendor/github.com/nfnt/resize' (http://github.com/nfnt/resize) registered for path 'vendor/github.com/nfnt/resize'
Cloning into '/builds/ScreenPublisher/screengrab/vendor/github.com/minio/minio-go'...
fatal: unable to access 'https://github.com/minio/minio-go/': SSL certificate problem: unable to get local issuer certificate
fatal: clone of 'http://github.com/minio/minio-go' into submodule path '/builds/ScreenPublisher/screengrab/vendor/github.com/minio/minio-go' failed

Expected behavior

Submodule should init without any problems.

Relevant logs and/or screenshots

.gitlab-ci.yml

stages:
  - build
  - docker

build:
  image: golang:1.7
  stage: build
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  script:
    - go-wrapper download
    - go build

Environment description

I'm using Gitlab.com shared runners

Used GitLab Runner version

Running with gitlab-ci-multi-runner 1.10.4 (b32125f)
Using Docker executor with image golang:1.7
Assignee
Assign to
Time tracking