Commit Graph

25 Commits

Author SHA1 Message Date
Michele Degges d032fb52a2
Merge branch 'main' into fix-broken-dockerfile 2022-02-04 12:30:20 -08:00
claire labry 985ac9f185
Merge branch 'main' into enable-security-scan 2022-02-02 13:36:48 -05:00
JG d433a9d085
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 857ae2e94b Merge remote-tracking branch 'origin/main' into fix-broken-dockerfile 2022-01-30 20:09:59 -08:00
Michele Degges 987e9d3258 Remove trailing ,'s to keep commit history clean 2022-01-25 18:55:20 -08:00
Michele Degges ec3cf44240 Remove testing build trigger 2022-01-25 17:10:39 -08:00
Michele Degges 3f894604bb Fix broken docker builds 2022-01-25 16:59:04 -08:00
Morgan Drake 6eea2f2d48 add netcgo tag for darwin builds 2022-01-24 14:34:57 -08:00
Claire Labry 2ddba9e3a8
fix branch event convention 2022-01-06 14:32:35 -05:00
Claire Labry 0b3dfcb195
fixing build error 2022-01-06 09:45:54 -05:00
Claire Labry d66f4da7f0
clean up after testing 2022-01-06 09:43:35 -05:00
Claire Labry 61eca6513b
enabling security scan for CRT 2021-12-16 11:49:22 -05:00
Scott Macfarlane 6d720b88b7 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 03507b5053 Removing test branch 2021-12-14 18:19:14 -08:00
Michele Degges 5f70f2812d Add darwin arm64 suport 2021-12-14 17:46:04 -08:00
Evan Culver 8edb01ec26
Update product version extraction for CRT (#11843) 2021-12-14 16:11:16 -08:00
Chris S. Kim 8bdbe7c0fb
Update CI and release go versions to 1.17.5 (#11799) 2021-12-10 14:04:56 -05:00
99 4c0f40d8fb ci: update triggers for main branch 2021-11-22 09:25:32 -08:00
Freddy 39023fb296
Prevent running build workflows on all PRs (#11469) 2021-11-01 17:29:45 -06:00
99 0402cc16bf PR fixes 2021-10-28 22:22:38 -07:00
99 26f53e82b5
Update .github/workflows/build.yml
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-10-28 11:07:55 -07:00
99 1732861848 Update release branch to 1.11.x 2021-10-27 14:14:02 -07:00
99 34d62a9c85 Final fixes 2021-10-26 23:21:04 -07:00
Scott Macfarlane 6c0008913a 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 cb40e1f55a Add crt release workflow 2021-10-25 23:01:18 -07:00