Code Monkey home page Code Monkey logo

Comments (6)

foosinn avatar foosinn commented on July 22, 2024

From a quick look, the variable should come from env var AUTH_SERVER.

Can you verify this is set?

from drone-tree-config.

aku avatar aku commented on July 22, 2024

I guess if I select a certain SCM provider then there should be some default value for it. It would be strange to provide GitHub\BitBucket endpoint manually. I will check later if providing value for this variable fixes the problem with the connection.

from drone-tree-config.

foosinn avatar foosinn commented on July 22, 2024

Im not sure how bitbucket works. Github works with the token on its on, since its the default method (and how we use it)

Let me now if the bugfix works (docker image bitsbeats/drone-tree-config:issue10), afterwards i can create a new release.

from drone-tree-config.

foosinn avatar foosinn commented on July 22, 2024

Update, the Variable is now called BITBUCKET_AUTH_SERVER

from drone-tree-config.

aku avatar aku commented on July 22, 2024

I've managed to configure the plugin by setting these environment variables in my docker-compose config:

  •   - SERVER=https://api.bitbucket.org
    
  •   - BITBUCKET_AUTH_SERVER=https://bitbucket.org
    

I think there should be separate variables like BITBUCKET_API_SERVER and BITBUCKET_AUTH_SERVER with proper default values to avoid confusion. Currently, it is not clear what values need to be set.

I propose to introduce new variables to specify an SCM explicitly. Then we can customize the selected SCM provider by setting additional params

from drone-tree-config.

foosinn avatar foosinn commented on July 22, 2024

Was fixed with a41836b

I updated the docs to make this cleaner.

from drone-tree-config.

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.