OpenShift build error: fatal: git fetch-pack: expected shallow list


If you are seeing such error when doing build in OpenShift – ‘error: build error: fatal: git fetch-pack: expected shallow list‘, then you probably have missed the ref in your build configuration, ref can be tag or branch name.

spec:
  triggers:
    - type: ConfigChange
  source:
    type: Git
    git:
      uri: 'http://github.com.au/jc1518/dilbert.git'
      ref: master
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s