Commit graph

34 commits

Author SHA1 Message Date
Marian Steinbach
17b8867b96
Clean up config environment variables for server and agent (#218)
The goal here is to make consistent use of configuration environment variables prefixed `WOODPECKER_`. Where several variants existed, this PR aims to remove all but one option, leaving the most explicit.

This PR only changes server and agent code, but not documentation, in order to keep the PR digestible. Once we have consensus that this is correct, I'll change docs accordingly.

User (rather: admin) facing changes in this PR:

- In general, support for all server and agent config environment variables (env vars) starting with `DRONE_` is removed. The according `WOODPECKER_*` variables must be used instead.
- The env var `WOODPECKER_HOST` replaces `DRONE_HOST`, and `DRONE_SERVER_HOST`.
- The env var `WOODPECKER_AGENT_SECRET` is used to configure the shared secret which agents use to authenticate against the server. It replaces `WOODPECKER_SECRET`, `DRONE_SECRET`, `WOODPECKER_PASSWORD`, `DRONE_PASSWORD`, and `DRONE_AGENT_SECRET`.
- The env var `WOODPECKER_DATABASE_DRIVER` replaces `DRONE_DATABASE_DRIVER` and `DATABASE_DRIVER`.
- The env var `WOODPECKER_DATABASE_DATASOURCE` replaces `DRONE_DATABASE_DATASOURCE` and `DATABASE_CONFIG`.
2021-09-28 15:43:44 +02:00
Anbraten
b3d40024a9
Rename cmd agent and server folders and binaries (#330)
Renamed `cmd/drone-agent` to `cmd/agent` and `cmd/drone-server` to `cmd/server` and binaries to get rid of the drone name.
2021-09-21 17:06:13 +02:00
6543
310c46d3ab
Switch in docs to new docker hub image repo (#227) 2021-06-18 20:48:22 +02:00
Brad Rydzewski
1e64f61009 update base image to drone/ca-certs 2017-09-11 16:03:11 -07:00
Brad Rydzewski
1a6920e822 separate agent and server binary 2017-06-29 18:51:22 -04:00
Brad Rydzewski
aed567a71e initial work to enable grpc 2017-06-28 13:21:22 -04:00
Brad Rydzewski
d4a1c22f85 store lets encrypt in same dir as sqlite 2017-04-29 19:46:36 +02:00
Brad Rydzewski
81ec2f9bf5 vendor acme 2017-04-29 19:41:19 +02:00
Bo-Yi Wu
21430d2ecd fix go coding style by gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-14 12:25:45 +08:00
Brad Rydzewski
4a17c45c31 re-enable net dns driver 2016-06-03 11:47:05 -07:00
Brad Rydzewski
e348d6a6bb Update Dockerfile 2016-06-03 09:30:12 -07:00
Brad Rydzewski
64785c8b47 update yaml for s3 upload 2016-05-26 11:08:48 -07:00
Brad Rydzewski
c07e8f1520 migrate almost all CLI commands to core 2016-05-06 10:59:36 -07:00
Brad Rydzewski
0fb4aeda3f bump to 0.5 in master 2016-05-02 12:21:25 -07:00
Brad Rydzewski
34c3c92ec3 created custom stream implementation 2016-04-22 17:35:32 -07:00
Brad Rydzewski
b5823d20ff chunk the yaml into sections 2016-04-19 18:37:53 -07:00
Brad Rydzewski
9b93e6bae7 backport 0.5 queue packages 2016-04-12 17:27:24 -07:00
Thomas Frössman
637c47341f Add /etc/nsswitch.conf to docker container
Fixes #1269
2015-11-09 05:38:31 +01:00
Brad Rydzewski
efcab1210b set defaults database and driver in Dockerfile 2015-10-20 16:44:36 -07:00
Brad Rydzewski
2deb7e0d0c start building 0.4 with 0.4 2015-09-30 22:16:42 -07:00
Brad Rydzewski
dfea14c7e5 updated vendor files and paths 2015-09-29 18:21:17 -07:00
Jean Mertz
1eadd8ff98 add empty drone.toml to satisfy drone startup requirements 2015-06-05 19:48:28 +02:00
Jean Mertz
d4bfd39713 update Dockerfile implementation
* fix $GOPATH usage
* improve layer caching
2015-06-05 19:41:36 +02:00
Brad Rydzewski
d55d28436b adding code for a drone build agent 2015-05-18 10:05:58 -07:00
Brad Rydzewski
d9fd23a6df experimental branch. playing around with boltdb 2015-04-07 01:20:55 -07:00
Brad Rydzewski
a1e44f4e1b Update Dockerfile 2015-02-23 22:50:58 -08:00
Brad Rydzewski
e9e4b64500 Added VOLUME to Dockerfile 2015-02-19 10:26:07 -08:00
Brad Rydzewski
5dd08030e3 fixed #822 2015-01-15 21:35:38 -08:00
Brad Rydzewski
bbc0d37ad1 fixed Dockerfile to pass port via ENV 2014-10-11 20:48:24 -07:00
Brad Rydzewski
e725abe204 hooked up commit feed for user dashboard 2014-10-01 11:29:23 -07:00
Brad Rydzewski
068906d02f updated Dockerfile 2014-07-17 22:25:30 -07:00
Brad Rydzewski
813b5e9371 added working Dockerfile 2014-07-16 22:14:53 -07:00
Brad
ce44ddfeca pushing my local branch 2014-06-04 14:25:38 -07:00
Jeremy Whitlock
61332f5431 Add a Dockerfile for building Drone.io Docker containers. 2014-02-13 11:56:51 -07:00