Jeffjing
(Jeffjing)
February 21, 2018, 3:11pm
1
drone-server_1 | time=“2018-02-21T14:43:22Z” level=fatal msg=“version control system not configured”
I tried every configuration in INTEGRATOINS , changed DRONE_HOST to my host.
However, configuration for Coding kept getting errors above , while every other configuration worked fine.
After searching for relevant codes, I wondered if this PR was released?
Someone can reproduce this with configuration in docs.
Please provide your configuration so that we can advise further.
Jeffjing
(Jeffjing)
February 21, 2018, 4:49pm
3
version: '2'
services:
drone-server:
image: drone/drone:0.8
ports:
- 80:8000
- 9000
volumes:
- /var/lib/drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_HOST=http://47.52.78.121
- DRONE_CODING=true
- DRONE_CODING_CLIENT=${DRONE_CODING_CLIENT}
- DRONE_CODING_SECRET=${DRONE_CODING_SECRET}
- DRONE_SECRET=${DRONE_SECRET}
drone-agent:
image: drone/agent:0.8
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=${DRONE_SECRET}
Copied from http://docs.drone.io/install-for-coding/ , only DRONE_HOST is changed to avoid error.
In fact, configurations copied from docs for other VCS(github/gitlab/gogs,etc) worked fine, only conf for Coding went wrong.
Maybe you can take a try.
Jeffjing
(Jeffjing)
February 22, 2018, 3:58am
4
Is there anything wrong with demo configuration for Coding.net in docs?
Youngv
(Youngv)
March 12, 2018, 11:08am
5
Have you solved this problem?
@bradrydzewski get the same error when integrating with coding, use the example code from the guide.