From 8472b241af3115158df2f150adb1f657f8c6f6f2 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Thu, 16 Apr 2020 15:59:35 +0200 Subject: [PATCH] docs(release.md): remove manual steps Signed-off-by: Leonardo Grasso --- release.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/release.md b/release.md index 2a2e752..ffde120 100644 --- a/release.md +++ b/release.md @@ -1,13 +1,13 @@ # Release Process -Currently, our release process is partially automated. We use the [goreleaser](https://github.com/goreleaser/goreleaser) tool for artifacts. +Our release process is partially automated using [CircleCI](https://app.circleci.com/pipelines/github/falcosecurity/falco-exporter) and [goreleaser](https://github.com/goreleaser/goreleaser) tool for artifacts. When we release we do the following process: 1. We decide together (usually in the #falco channel in [slack](https://sysdig.slack.com)) what's the next version to tag 2. A person with repository rights does the tag 3. The same person runs commands in their machine following the "Release commands" section below -4. The tag is live on [Github](https://github.com/falcosecurity/falco-exporter/releases) with the artifacts, and the container image is live on [DockerHub](https://hub.docker.com/r/falcosecurity/falco-exporter) with proper tags +4. Once the CI has done its job, the tag is live on [Github](https://github.com/falcosecurity/falco-exporter/releases) with the artifacts, and the container image is live on [DockerHub](https://hub.docker.com/r/falcosecurity/falco-exporter) with proper tags ## Release commands @@ -16,16 +16,4 @@ Tag the version ```bash git tag -a v0.1.0-rc.0 -m "v0.1.0-rc.0" git push origin v0.1.0-rc.0 -``` - -Run goreleaser, make sure to export your GitHub token first - -``` -export GITHUB_TOKEN= -goreleaser --rm-dist -``` - -## TODO - -- [x] Setup goreleaser to build and publish images -- [ ] Setup goreleaser [on a CI system](https://goreleaser.com/ci/), ie., CircleCI \ No newline at end of file +``` \ No newline at end of file