Commit graph

21 commits

Author SHA1 Message Date
Yong Tang
0c02708d63 Consolidation of Makefile and Makefile.release (#912)
* Consolidation of Makefile and Makefile.release

Several changes:
1. All go specific target like `go generate`, etc. has
been moved to Makefile. Now Makefile.release does not
repeat go build, etc. related rules.
2. In Makefile.release, the binary build is done through
`docker run` and with a fixed specific go version (currently 1.8.3).
This will help making sure build process could be reproduced
on any dev platform, with no dependency to the golang version
installed on the platform.
3. Platform related flags (e.g., "GOOS=darwin") are passed through
Makefile (not Makefile.release).

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update to only use `make` without running inside `docker run`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-08-13 17:41:50 +01:00
Yong Tang
a09f208c51 Add git commit to the version output. (#900)
Now the output would be:
```
 ./coredns -version
CoreDNS-010
linux/amd64, go1.8, 241e3db
```
In case the local file has been modified, then the output would be (with --dirty):
```
 ./coredns -version
CoreDNS-010
linux/amd64, go1.8, 241e3db-dirty
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-08-11 17:47:37 +01:00
Miek Gieben
b0c94c5e53 release: add go generate (#829)
Do a go generate to generate all middleware we want/need before
releasing a new CoreDNS version.
2017-08-04 14:04:27 -07:00
Miek Gieben
7d1b0cf2e1 doc: small update
Lower-case dnstap in the readme and update Makefile.release to point to
the new website.
2017-07-26 08:55:06 +01:00
Miek Gieben
f33b02689c Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
Chris O'Haver
4dc61e67cd fix docker build (#673) 2017-05-25 07:28:12 +01:00
Miek Gieben
7e6f5c77aa Makefile.release: bogus all target (#666)
Make the default target do nothing and put the actual release under a
'release' target. Prevent accidentally committing unwanted commits to
the repo.

Tested with `make -f Makefile.release -n`.
2017-05-12 10:15:34 +01:00
Miek Gieben
b7dd1559c1 Release: fix docker push 2017-05-03 19:59:11 +01:00
Miek Gieben
667635e295 Release: fix Makefile
Latest refactoring fubar-ed Makefile.release. Fix the Linux build
target.
2017-05-03 19:48:11 +01:00
Miek Gieben
4fc1318e28 Install: split build targets (#656)
Allows one to use `make -f Makefile.release build-arm` to just get an
Arm binary.
2017-04-30 11:48:19 +01:00
Miek Gieben
f2426b9966 Add MAINTAINERS (#633)
Add a MAINTAINERS file. It's not generated and not as elaborate (i.e. no
focus areas) as the one prometheus uses. But it's a start.

Generated with `git shortlog -s -n`, everyone with more than 5 commits.

Docs are put in `Makefile.release`.

Fixes #566
2017-04-20 10:56:56 +01:00
Miek Gieben
a3f7788686 Put docker release in Makefile.release (#562)
Make the docker release part of the normal CoreDNS release
2017-03-01 15:46:26 +00:00
Miek Gieben
d0303195c3 Makefile.release: move to coredns/coredns 2017-02-21 20:02:43 +00:00
Miek Gieben
a1b9f96d87 Add ARM for Raspberry PI (#443)
Also release ARM binary when releasing. Comes in handy for raspberry Pi.
2016-11-27 15:19:41 +00:00
Miek Gieben
f402b8f726 Releasing: automate more
Only manual operation is editing the source - even that could be
automated but meh.
2016-11-11 17:57:06 +00:00
Miek Gieben
0481614fd8 Document how to get the author from git (#423) 2016-11-11 09:36:26 +00:00
Miek Gieben
9a048663cf Release 002 2016-10-19 20:49:27 +01:00
Miek Gieben
2e68682d4d releasing 002 2016-10-19 20:34:28 +01:00
Miek Gieben
e0a49b73b5 Build the release just like defined in Makefile 2016-09-22 09:54:03 +00:00
Miek Gieben
a8fb01bfd2 releasing: reverse build order
Do linux last, so my go install isn't messed up. Use gh-release from
PATH.
2016-09-18 14:25:47 +01:00
Miek Gieben
338b77667b Add Makefile.release (#267)
Document the release process and encode it in Makefile.release. We
use gh-release to minimize the amount of effort required.
2016-09-18 14:14:01 +01:00