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

Makefile: Refresh recipes to add "standard" set, new package-related options #98

Closed
atc0005 opened this issue Mar 5, 2023 · 0 comments · Fixed by #111
Closed

Makefile: Refresh recipes to add "standard" set, new package-related options #98

atc0005 opened this issue Mar 5, 2023 · 0 comments · Fixed by #111
Assignees
Labels
builds dependencies enhancement New feature or request packages Related to generated packages for this project (e.g., RPM, DEB)
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Mar 5, 2023

Overview

Update/sync this project's Makefile against recent changes to the atc0005/check-cert project Makefile to provide the same functionality.

TODO

  • arch and OS-specific builds
  • release-build
    • used to generate just the binaries provided by a specific project (e.g., skip Windows (all), skip Linux x86)
  • links (and arch-specific variations)
    • used to generate download links for easier bulk retrieval of release assets
  • quick
    • go build without any custom settings applied
    • it is a quick build to test/prototype binaries without waiting for release-level optimizations to be applied
  • depsinstall
    • install build related dependencies
  • package generation
    • packages-stable
    • packages-dev
@atc0005 atc0005 added enhancement New feature or request builds packages Related to generated packages for this project (e.g., RPM, DEB) labels Mar 5, 2023
@atc0005 atc0005 added this to the Next minor release milestone Mar 5, 2023
@atc0005 atc0005 self-assigned this Mar 5, 2023
atc0005 added a commit that referenced this issue Mar 9, 2023
- Switch to semantic versioning (semver) compatible versioning pattern
  - filenames (where applicable)
  - embedded version metadata
- Generate RPM/DEB packages using nFPM
  - "stable" release packages
  - "dev" release packages
    - provides binaries with `_dev` suffix in order to more easily
      test the impact of new releases
  - NOTE: Even though this project does not yet provide tools usable
    on non-Windows systems the plan is to do so; we stub out future
    package support in anticipation of adding Linux support "soon"
- Add version metadata to Windows executables
  - Use `github.com/tc-hib/go-winres` and `winres.json` file to apply
    version details to Windows executables provided by this project
  - update `.gitignore` to exclude Windows syso files
    - these files are produced when running go generate as part of the
      build process and should not be retained in version control
- Makefile: Compress binaries and use fixed filenames
- Makefile: Refresh recipes to add "standard" set, new package-related
  options
- Build dev/stable releases using go-ci Docker image
- Add Dockerfile to provide "builder" image for Makefile-driven
  release builds
- Update Dependabot configuration to add update monitoring for
  `go-ci-oldstable-build` image
- Add Docker-based build recipes to Makefile
  - `docker-release-build`
  - `docker-dev-build`
  - `docker-packages`
- Update README
  - note decompression step needed after downloading individual
    binaries or building via some Makefile recipes

refs GH-94
refs GH-95
refs GH-96
refs GH-97
refs GH-98
refs GH-99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds dependencies enhancement New feature or request packages Related to generated packages for this project (e.g., RPM, DEB)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant