Skip to content

Commit

Permalink
docs(release.md): remove manual steps
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr authored and poiana committed Apr 16, 2020
1 parent 0642840 commit 8472b24
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions 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

Expand All @@ -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=<YOUR_GH_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
```

0 comments on commit 8472b24

Please sign in to comment.