gitness icon indicating copy to clipboard operation
gitness copied to clipboard

pipelines clone error

Open lalaze opened this issue 1 year ago • 1 comments

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

lalaze avatar Dec 27 '23 17:12 lalaze

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

indaco avatar Dec 31 '23 13:12 indaco