Code Monkey home page Code Monkey logo

How to deloy it offline, start up fail. could not populate plugins | error=could not download remote zip: could not get zip from url: Get "https://github.com/bradrydzewski/plugins/archive/refs/heads/master.zip": unexpected EOF about gitness HOT 4 OPEN

Innei avatar Innei commented on July 19, 2024
How to deloy it offline, start up fail. could not populate plugins | error=could not download remote zip: could not get zip from url: Get "https://github.com/bradrydzewski/plugins/archive/refs/heads/master.zip": unexpected EOF

from gitness.

Comments (4)

jimsheldon avatar jimsheldon commented on July 19, 2024

That file provides the plugins available to Gitness pipelines. You could host that file in a different location with the GITNESS_CI_PLUGINS_ZIP_URL variable, see https://github.com/harness/gitness/blob/v3.0.0-beta.6/types/config.go#L138-L141

from gitness.

johannesHarness avatar johannesHarness commented on July 19, 2024

@Innei just following up on this. Did the environment variable mentioned by @jimsheldon above solve your problem?

from gitness.

Innei avatar Innei commented on July 19, 2024

Sorry, I haven't related this information lately, so I didn't follow up in time, I'll try to

from gitness.

Innei avatar Innei commented on July 19, 2024

Maybe not work, I add env in docker-compose file like this.

name: gitness
services:
    gitness:
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
            - ./gitness:/data
        container_name: gitness
        restart: always
        image: harness/gitness:latest
        environment:
          - GITNESS_HTTP_PORT=80
          - GITNESS_URL_BASE=http://git.innei.in
          - GITNESS_USER_SIGNUP_ENABLED=false
          - GITNESS_CI_PLUGINS_ZIP_URL=https://ghproxy.org/https://github.com/bradrydzewski/plugins/archive/refs/heads/master.zip # Add this

But still got an error, download file from github

{"level":"error","error":"could not download remote zip: could not get zip from url: Get \"https://github.com/bradrydzewski/plugins/archive/refs/heads/master.zip\": unexpected EOF","time":"2024-05-04T11:10:15.12901532Z","message":"could not populate plugins"}

from gitness.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.