Commit Graph

96 Commits

Author SHA1 Message Date
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
Evan Culver 28f49dc7bd
Provide an 'escape-hatch' for website-checker workflow (#11882) 2022-01-20 18:34:01 -08:00
Scott Macfarlane de877038ef
Merge pull request #11860 from hashicorp/sm/rename-ecr-tag
Update ECR tag in CRT Builds
2022-01-18 11:00:41 -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
FFMMM 7495b38c56
add a metrics test check GH action (#11536)
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-12-20 09:10:13 -08: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
Mike Morris c5975b5dfb
ci: make changelog-checker only validate PR number against main base (#10844) 2021-08-16 15:40:51 -04:00
Daniel Nephin d60c3863b3 Remove issue-labeler github workflow
It has been failing every time, ex: https://github.com/hashicorp/consul/runs/3186335298?check_suite_focus=true
2021-07-28 17:51:40 -04:00
Daniel Nephin c2cc9b6bda Update references to the main branch
The main branch is being renamed from master->main. This commit should
update all references to the main branch to the new name.

Co-Authored-By: Mike Morris <mikemorris@users.noreply.github.com>
2021-06-29 17:17:38 -04:00
Brian Flad 979199696b Migrate from GitHub HashiBot to GitHub Actions
GitHub HashiBot is being decommissioned. This migrates the crash issue labeling and waiting-reply label removal to GitHub Actions. The stale issue handling is not migrated as neither behavior appears to be actively in use.
2021-06-08 12:14:46 -04:00
Zachary Shilton e23db3045b
website: support hidden pages in nav-data (#10180)
* website: bump to docs-page prerelease with hidden page support

* website: replace hidden pages hot fix for /docs, /api-docs, and /commmands

* website: remove unused files for old hidden pages hotfix

* website: bump to stable docs-page, w next-mdx-remote bump

* website: bump to latest markdown-page
2021-05-06 13:33:15 -04:00
Zachary Shilton d605632216
website: resolve unlinked content (#10087)
* website: add back unlinked pages to match previous state

* website: add unlinked content check

* website: add hidden nav-data to unlinked content check
2021-04-23 10:51:13 -04:00
Bryce Kalow 1186d40c9b
fix: remove period to fix broken link (#9912) 2021-03-22 10:47:10 -04:00
Alvin Huang 02abbdc738
update changelog and website checks (#9781)
* remove expression syntax for if conditional

* make changelog check a status check
2021-02-26 16:29:49 -05:00
Alvin Huang e056a9147e
ci: escape backticks in github comment for website/ change check (#9711) 2021-02-05 13:48:31 -05:00
Alvin Huang c030c632a2
ci: fix pr file checker (#9694)
* filter github pr file checker on the right labels object

* only check PR files when the PR is opened
2021-02-03 10:19:37 -05:00
Alvin Huang d2939d1c9a
ci:check that type/docs-cherrypick is attached to website PR changes (#9690) 2021-02-02 17:04:05 -05:00
Alvin Huang ff60cdac89
ci: fix changelog check checkout (#9688)
* ci: fix changelog check checkout

* use fetch-depth 0 to get all commits to find a merge-base
2021-02-02 14:51:20 -05:00
Alvin Huang e29c9d2f52
ci: add script to check for .changelog file in PRs (#9641)
* ci: add .changelog file check for PRs

* Update .github/workflows/changelog-check.yml

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>

* add better disclaimer in changelog check script description

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-02-01 18:51:52 -05:00
Alvin Huang 0d9eacd851 change trigger label to pr/load-test 2021-01-15 11:09:08 -05:00
Alvin Huang 92ac3906b5 add github action to trigger load tests based on PR label 2021-01-13 23:20:19 -05:00
Daniel Nephin fe8d85f40b Remove the workflow file
The comment out file causes github to send us error emails on every commit
2020-10-28 13:09:29 -04:00
Jono Sosulska 95169961f8
Turn off issue labeler for now (#9054) 2020-10-27 17:34:16 -04:00
Jono Sosulska b596538397
Turns PR labeler to only trigger on create (#8838) 2020-10-07 13:45:17 -04:00
Jono Sosulska a53730362c
Remove label trigger on edit (#8832) 2020-10-06 13:16:14 -04:00
Jono Sosulska df893e14c1
Add github actions for PR and issue labeling (#8709)
* Added Issue Labeler, PR labeler, .github readme
* Updated README with Issue Template information, and regex to metrics
Co-authored-by: Kit Patella <kit@jepsen.io>
2020-10-05 10:43:21 -04:00