aboutsummaryrefslogtreecommitdiff
path: root/Makefile.release (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-03-07Repo controlled Go version (#6526)Gravatar Jason Du 1-0/+4
* Repo controlled Go version Signed-off-by: xdu31 <jasonxdu@amazon.com> * Bump to go1.21.8 for CVE update Signed-off-by: xdu31 <jasonxdu@amazon.com> --------- Signed-off-by: xdu31 <jasonxdu@amazon.com>
2023-08-151.11.1 release: bump version + add notes (#6273)v1.11.1Gravatar Chris O'Haver 1-0/+1
* bump version; add notes Signed-off-by: Chris O'Haver <cohaver@infoblox.com> --------- Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-07-10Add support for RISC-V (#6195)Gravatar Antony Chazapis 1-1/+1
* Add support for RISC-V Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr> * Use existing Dockerfile with unstable Debian base images for RISC-V Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr> --------- Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>
2022-10-26Add macOS arm64 binary as part of the release (#5721)Gravatar Yong Tang 1-0/+3
2021-11-18Fix small typos and grammar (#4988)Gravatar Hu Shuai 1-2/+2
Signed-off-by: Hu Shuai <hus.fnst@fujitsu.com>
2021-09-14add docker in Makefile.docker (#4864)Gravatar Miek Gieben 1-4/+2
This adds the (older) docker stuff back in a new Makefile.docker. Add .dreck alias to be able to release the docker stuff via a github issue. See #4858 Signed-off-by: Miek Gieben <miek@miek.nl>
2021-09-13Spun out docker (#4859)Gravatar Miek Gieben 1-81/+3
* Spun out docker Remove docker from Makefile.release so we can actually release. Unify the mips stuff, now that docker is gone. Update the docs to reflect this. See #4858 Signed-off-by: Miek Gieben <miek@miek.nl> * Update test as well Signed-off-by: Miek Gieben <miek@miek.nl>
2021-08-04Use docker buildx for release image (#4779)Gravatar Sascha Grunert 1-3/+17
This allows to choose the correct architecture in the image manifest, which defaulted to the host system before applying this patch. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-18workflow: move committing workflows to schedule (#4529)Gravatar Miek Gieben 1-1/+1
This moves all workflows that commit to a schedule, so that it _doesn't_ push into peoples PRs as that enlarges them and is just non-obvious. They run throughout the week. Also change the "user" we use for this, so that DCO believes it a real email address (DCO is pretty stupid here). Update the authors target to filter out this bot as well. Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24Fix release script (#4483)Gravatar Miek Gieben 1-3/+13
Move the make syntax out of the shell syntax section and pull it to the top of the file. Also add notes on how to test this script. And yes Makefile syntax is pretty horrible. Testing on a release machine with my personal docker repo. Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-12Add 1.8.2 notes (#4461)Gravatar Miek Gieben 1-2/+2
2021-01-28Makefile.release: Replace manifest-tool with docker manifest (#4421)Gravatar Manuel Rüger 1-16/+25
This commit replaces `manifest-tool` with `docker manifest`, which should hopefully provide a better experience for releasing coredns. In addition it integrates mips64le (since it's supported by `docker manifest`) in LINUX_ARCHES, so docker images for mips64le are pushed as well. Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-01-20release (#4414)v1.8.1Gravatar Miek Gieben 1-5/+4
* Remove draft draft from notes, and prepare to release Signed-off-by: Miek Gieben <miek@miek.nl> * fix time Signed-off-by: Miek Gieben <miek@miek.nl> * remove draft=true Signed-off-by: Miek Gieben <miek@miek.nl> * Remove manifest-tool installation This doesn't install cleanly anymore. I've installed manifest-tool in /usr/bin on the releaser machine; use that instead of building our own each time. Signed-off-by: Miek Gieben <miek@miek.nl> * Check for manifest-tool to be available; otherwise we tag a release and then fail Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-11Add make notes target (#4276)Gravatar Miek Gieben 1-19/+30
Automatically submitted.
2020-03-24Bump to version 1.6.9 (#3773)v1.6.9Gravatar Miek Gieben 1-2/+2
See #3727 for the details. Copying release notes verbatim to coredns-1.6.9.md and fix the release script (because Makefile are stupid). Up version to 1.6.9 here as well. Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24send token in the header instead of api call (#3764)Gravatar Zou Nengren 1-3/+5
Automatically submitted.
2020-01-23Prepare release: (#3614)Gravatar Miek Gieben 1-1/+13
* run Makefile.doc to update to the latest * add prs and authors to Makefile.release to aid in creating release notes. And update the comments in the makefile. * add 1.6.7 release notes. Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13add mips64le to released ARCH (#3589)Gravatar Dominic Yin 1-0/+3
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2019-12-12update to latest bot version (#3535)Gravatar Miek Gieben 1-2/+2
Loose the colon from the commands to release a new coredns version. Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03Bump version to 1.5.2 (#2969)v1.5.2Gravatar Miek Gieben 1-1/+1
Run through the motions; create manual pages. Run go generate for good measure. Fix typo in Makefile.release while at it. Signed-off-by: Miek Gieben <miek@miek.nl>
2019-06-26docs: Makefile.release and Makefile.doc (#2926)Gravatar Miek Gieben 1-15/+27
* add metrics for reload * documented release process better * run: Makefile.doc all to push reload doc to man-pages Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-03manifest-tool doesn't support mips (#2753)Gravatar Chris O'Haver 1-1/+5
* remove mips from manifest * derp * add comment
2019-04-01add mips to released ARCH (#2746)Gravatar spigell 1-1/+1
2019-03-13Add `GO111MODULE=off` for go get manifest-tool (#2691)Gravatar Yong Tang 1-2/+2
to fix issue #2689 Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-03Add release notes into coredns repo (#2645)Gravatar Miek Gieben 1-3/+4
* Put release notes in notes subdir Verbatim copy of the current set of notes on coredns.io. Copy them here to make them authoritative. 'make sync' on the coredns.io site copies them back in. They need to be formatted in Hugo style. Signed-off-by: Miek Gieben <miek@miek.nl> * pull latest Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-10rename VERBOSE to be more generic (#2172)Gravatar Chris O'Haver 1-3/+3
2018-10-09release: drop release/ (#2173)Gravatar Miek Gieben 1-6/+6
Drop the release/ dir prefix form the uploaded files. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-31Document updates: (#2075)Gravatar Miek Gieben 1-6/+7
Update the how to release notes in Makefile.release And some little community tweaks in the README.md Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-29release: kill sum target (#2069)Gravatar Miek Gieben 1-7/+8
Just create the sha256 inline so we know there are there. Add a 'version' target in Makefile.release that prints the version so we can double check that easily in the release script. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-29Bump version to 1.2.2 (#2067)v1.2.2Gravatar Miek Gieben 1-2/+2
* Bump version to 1.2.2 Release 1.2.2 Signed-off-by: Miek Gieben <miek@miek.nl> * Fix filename to what we upload With ls dir/* the pathname returned are diff. then we with ls dir, fix how curl is called. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-28release: split out sha256 upload (#2063)Gravatar Miek Gieben 1-1/+8
For the 1.2.1 release we didn't upload the sha256 files. I've added an echo, but some testing suggests that the files are created, so the problem lays somewhere else. Add a new upload section that sets the content type correctly and POST the files as text/plain. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-27release: echo assets (#2060)Gravatar Miek Gieben 1-0/+1
help debug why the assets' sha256 files weren't upload to github. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-03Add exe extension to Windows release binary (#2022)Gravatar Yong Tang 1-2/+2
This fix adds exe extension to Windows release binary. This fix fixes 2021. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-07-21release: add sha256sum files (#1991)Gravatar Miek Gieben 1-1/+7
Generate the sha256 sum of each asset. These should all be automatically be uploaded in the github-push target. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-11Various improvements in the release documention. (#1961)v1.2.0Gravatar Miek Gieben 1-11/+13
Releasing 1.2.0 uncovered some rough edges that need to be documented. Also fix github-push target and docker login. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-10Up release to 1.2.0 (#1958)Gravatar Miek Gieben 1-2/+2
Automatically submitted.
2018-07-09release: automate the release (#1935)Gravatar Miek Gieben 1-59/+27
* release: automate the release This PR aims to various pieces into place so we can automate the coredns release. It needs the script from coredns/release to be installed. Dreck is to be setup as described in coredns/release/README.md The release-coredns script can be tested and allows for other branches than master to be test. This PR also features some cleanup in the Makefile.release so we don't call the godep target for each linux release - this speeds it up for some bit. Manually running ./release-coredns -t auto-release builds the artifects for this release, but (of course) doesn't upload anything yet. Add /release to the OWNERS and allow command to be executed (this still needs to be tested). Signed-off-by: Miek Gieben <miek@miek.nl> * that makefile target doesnt exist anymore Signed-off-by: Miek Gieben <miek@miek.nl> * test release for now Signed-off-by: Miek Gieben <miek@miek.nl> * Slightly better output Signed-off-by: Miek Gieben <miek@miek.nl> * remove again Signed-off-by: Miek Gieben <miek@miek.nl>
2018-06-24Replace gh-release with curl (#1896)Gravatar Yong Tang 1-3/+10
* Replace gh-release with curl This fix tries to address the issue raised in 1895 where gh-release is deprecated. As GitHub provides API that could be accessed easily, and gh-release itself is just a wrapper to the API, this fix replaces gh-release with the direct interaction with GitHub API, so that it could be maintained by coredns team. This fix fixes 1895. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Added `-o /dev/null` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-06-05Update Makefile.release for docker image build (#1856)Gravatar Yong Tang 1-15/+0
This fix update Makefile.release for docker image build on different platforms. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-02-28Makefile release: depend on godeps (#1570)Gravatar Miek Gieben 1-3/+3
godeps sets the external repos to the correct versions meaning we can build CoreDNS.
2018-01-26release improvements (#1439)Gravatar Miek Gieben 1-4/+12
Last release I forgot steps, put them in Makefile.release. Generating the manual files will be skipped if 'ronn' can't be found.
2018-01-23Add coredns_build_info metric (#1418)Gravatar Tobias Schmidt 1-1/+1
In order to track the rollout status of CoreDNS versions, add the common build_info metric.
2017-12-21Update Makefile.release (#1327)Gravatar Francois Tur 1-1/+1
2017-12-21Makefile.release: allow for other docker registries (#1324)Gravatar Miek Gieben 1-11/+18
Default to empty DOCKER var so you wont accidently push to the production dockerhub. But allow to be overriden to you can push to your registry. This allows you to re-use the CoreDNS makefiles for your internal CI/CD. Hacked Makefile with echos: make DOCKER=bla -f Makefile.release docker-push Pushing: 1.0.1 for arch in amd64 arm arm64 ppc64le s390x; do \ echo docker push bla/coredns:coredns-$arch ;\ done docker push bla/coredns:coredns-amd64 docker push bla/coredns:coredns-arm docker push bla/coredns:coredns-arm64 docker push bla/coredns:coredns-ppc64le docker push bla/coredns:coredns-s390x echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1 manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1 echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest
2017-11-16build: create correct directory for arch (#1242)Gravatar Miek Gieben 1-1/+1
2017-11-04Always use LE for ppc64le. (#1201)Gravatar Yong Tang 1-3/+7
* Use one `PLATFORM` variable to setup the build process Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update Makefile.release Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-11-03release: fixes to push to dockerGravatar Miek Gieben 1-3/+3
Last minute fixes to push to hub.docker.com.
2017-11-03Update docker-build steps in Makefile.release (#1200)Gravatar Yong Tang 1-2/+28
* Update docker-build steps in Makefile.release for different architectures Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update to use `case ... esac` in shell script Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Remove `RUN` cmd in Dockerfile in case of non amd64 CPU ssl will only be supported on amd64 CPUs for now. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-11-03Makefile: add Windows target (#1199)Gravatar Miek Gieben 1-8/+11
While we at it, why not add a target for Windows as well. This also introduces a VERBOSE option that defaults to -v, but it empty when releases so that you can actually see what you're building. Move an @echo out of shell snippet into the Makefile, as that errored with @echo: command not found. Sample run and resulting artifacts: ~~~ % make -f Makefile.release build % find build -type f -exec file {} \; build/windows/amd64/coredns: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows build/darwin/amd64/coredns: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS> build/linux/ppc64le/coredns: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, stripped build/linux/amd64/coredns: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped build/linux/arm/coredns: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped build/linux/s390x/coredns: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), statically linked, stripped build/linux/arm64/coredns: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped % make -f Makefile.release tar % find release -type f | sort release/coredns_0.9.9_darwin_amd64.tgz release/coredns_0.9.9_linux_amd64.tgz release/coredns_0.9.9_linux_arm64.tgz release/coredns_0.9.9_linux_arm.tgz release/coredns_0.9.9_linux_ppc64le.tgz release/coredns_0.9.9_linux_s390x.tgz release/coredns_0.9.9_windows_amd64.tgz ~~~
2017-11-02release: use for-loop to minimize duplication (#1196)Gravatar Miek Gieben 1-43/+18
* release: use for-loop to minize duplication Use LINUX_ARCH as the basis for all release. Fix a few typos along the way. * remove echo