harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
31.87k stars 2.78k forks source link

pipelines clone error #3443

Open lalaze opened 6 months ago

lalaze commented 6 months ago

I have set up a project using Gitness, and my git submissions are functioning normally with 'main' as the branch name. However, my pipelines errored out at the first step. The error message is as follows. I installed using the Docker configuration from the official website. Here are my Docker configuration and pipelines configuration. Additionally, I couldn't find any obvious errors in the Docker logs. How can I resolve this issue?thank!

docker config

version: "3"
services:
  gitness:
    image: harness/gitness
    container_name: gitness
    environment:
      - GITNESS_PRINCIPAL_ADMIN_PASSWORD=xxxxxxx
      - GITNESS_USER_SIGNUP_ENABLED=false
    networks:
      - traefik
    labels:
      - traefik.http.routers.gitness1.rule=Host(`gitness.home.com`)
      - traefik.http.routers.gitness.entrypoints=http
      - traefik.http.services.gitness.loadbalancer.server.port=3000
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /root/gitness/data:/data
    restart: always
networks:
  traefik:
    external: true

pipeline config

kind: pipeline
spec:
  stages:
   - type: ci
     spec:
       steps:
       - name: build
         type: plugin
         spec:
           name: docker
           inputs:
            add_host: "8080"
            compress: true
            dockerfile: Dockerfile
            pull_image: true
            purge: "true"
            registry: registry.home.com
            tags:
              - latest

image

indaco commented 6 months ago

More or less, same to me. I think this can be related to #3428