Commit Graph

25 Commits

Author SHA1 Message Date
Michele Degges e513430187
Merge branch 'main' into fix-broken-dockerfile 2022-02-04 12:30:20 -08:00
claire labry 1e35685ea3
Merge branch 'main' into enable-security-scan 2022-02-02 13:36:48 -05:00
JG da1072da80
packaging: fix issues in pre/postremove scripts (#12147)
Fixes several issues with the pre/postremove scripts for both rpm and
deb packages. Specifically:

For postremove:
- the postremove script now functions correctly (i.e. restarts consul
  after a package upgrade) on rpm-based systems (where $1 is numeric
  rather than `purge` or `upgrade`)
- `systemctl daemon-reload` is called on package removal (rather than
  only on upgrade)
- calls `systemctl try-restart` instead of `systemctl restart`, which
  will only (re)start consul if it was already running when the upgrade
  happened.

For preremove:
- if the package is being completely uninstalled (rather than upgraded),
  stop consul before removing the package
2022-02-01 12:07:18 -08:00
Michele Degges 6586fa36db Merge remote-tracking branch 'origin/main' into fix-broken-dockerfile 2022-01-30 20:09:59 -08:00
Michele Degges 7ab2a3fff9 Remove trailing ,'s to keep commit history clean 2022-01-25 18:55:20 -08:00
Michele Degges 7a69752cb5 Remove testing build trigger 2022-01-25 17:10:39 -08:00
Michele Degges 8d0b03b54d Fix broken docker builds 2022-01-25 16:59:04 -08:00
Morgan Drake 11ef7d99bd add netcgo tag for darwin builds 2022-01-24 14:34:57 -08:00
Claire Labry 9cf80e091d
fix branch event convention 2022-01-06 14:32:35 -05:00
Claire Labry 6a3cd82166
fixing build error 2022-01-06 09:45:54 -05:00
Claire Labry e510e0258c
clean up after testing 2022-01-06 09:43:35 -05:00
Claire Labry 3414b76fce
enabling security scan for CRT 2021-12-16 11:49:22 -05:00
Scott Macfarlane 70757f617d Update ECR tag in CRT Builds
This updates the ECR tag to the correct naming convention.

Signed-off-by: Scott Macfarlane <smacfarlane@hashicorp.com>
2021-12-15 13:17:16 -08:00
Michele Degges 152f5810e9 Removing test branch 2021-12-14 18:19:14 -08:00
Michele Degges 0eabc2c63f Add darwin arm64 suport 2021-12-14 17:46:04 -08:00
Evan Culver c6dd08f675
Update product version extraction for CRT (#11843) 2021-12-14 16:11:16 -08:00
Chris S. Kim db6c2663be
Update CI and release go versions to 1.17.5 (#11799) 2021-12-10 14:04:56 -05:00
99 88fcb4f047 ci: update triggers for main branch 2021-11-22 09:25:32 -08:00
Freddy a31d65b914
Prevent running build workflows on all PRs (#11469) 2021-11-01 17:29:45 -06:00
99 324fa75d25 PR fixes 2021-10-28 22:22:38 -07:00
99 daf4208341
Update .github/workflows/build.yml
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-10-28 11:07:55 -07:00
99 6195b55dac Update release branch to 1.11.x 2021-10-27 14:14:02 -07:00
99 5f6b1a902c Final fixes 2021-10-26 23:21:04 -07:00
Scott Macfarlane f85c1a9422 Create linux packaging structure
Copied from hashicorp/linux-packaging
24e7e2675b

Signed-off-by: Scott Macfarlane <smacfarlane@hashicorp.com>
2021-10-25 23:22:46 -07:00
99 584ea01320 Add crt release workflow 2021-10-25 23:01:18 -07:00