Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cicd: Create GitHub Actions pipeline to manage builds and releases #5

Open
timoguin opened this issue Apr 13, 2020 · 0 comments · Fixed by #6
Open

cicd: Create GitHub Actions pipeline to manage builds and releases #5

timoguin opened this issue Apr 13, 2020 · 0 comments · Fixed by #6

Comments

@timoguin
Copy link
Owner

Run builds and tests via GitHub Actions. Publish releases.

  • Publish multi-platform binaries to GitHub Releases
  • Build/publish Docker image (possibly hand off to Docker Hub after tests pass)
timoguin pushed a commit that referenced this issue Apr 17, 2020
Prep work to support a CI/CD pipeline that can publish multi-platform
binaries to GitHub.

Related to #5.

Added:

- `make release`: Use ghr to publish binaries to GitHub
- `make tools`: Install build and release tooling (gox and ghr)
- `make debug`: Display generated vars used in the Makefile
- Commits vendored modules

Changed:

- `make build_all`: Use `go mod tidy` and `go mod vendor`
- Determine version from Git describe output

Removed:

- Removes LDFLAG for main.buildTime to support reproducible builds
timoguin pushed a commit that referenced this issue Apr 17, 2020
Prep work to support a CI/CD pipeline that can publish multi-platform
binaries to GitHub.

Related to #5.

Added:

- `make release`: Use ghr to publish binaries to GitHub
- `make tools`: Install build and release tooling (gox and ghr)
- `make debug`: Display generated vars used in the Makefile
- Commit vendored modules to the repo
- `.go-version` file set to 1.14.0

Changed:

- `make build_all`: Use `go mod tidy` and `go mod vendor`
- Determine version from Git describe output

Removed:

- Removes LDFLAG for main.buildTime to support reproducible builds
@timoguin timoguin linked a pull request Apr 17, 2020 that will close this issue
timoguin pushed a commit that referenced this issue Apr 17, 2020
Get the ghr config working locally. Related to #5.

Added:

- Include sha256 checksum file for binaries
- `make release-draft`: Publish a draft release to GitHub

Changed:

- Built binaries now include the version string
@timoguin timoguin reopened this Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant