Commit Graph

175 Commits

Author SHA1 Message Date
DanStough 9a388f3fdc chore(ci): fix automerge spelling 2022-05-13 14:15:58 -04:00
DanStough 96225aa2e4 chore(ci): deprecate cherry-pick script and enable backport merge 2022-05-13 11:13:12 -04:00
DanStough 8661be475b chore(ci): fix nightly UI test syntaxx 2022-05-09 11:02:58 -04:00
DanStough 5451863f9f chore(ci): exempt backport PRs from changelog-checker 2022-05-06 17:58:12 -04:00
DanStough eafd91f35c ci: add nightly action for UI testing release branches 2022-05-06 11:31:32 -04:00
DanStough 8d655ded4c chore(ci): fix backport-assistant for stable website 2022-05-03 14:36:46 -04:00
DanStough e899e06c29 chore(ci): fix backport assistant 2022-05-03 12:41:12 -04:00
DanStough b2a005342b chore(ci): add initial support for backport assistant 2022-05-02 11:14:32 -04:00
Chris S. Kim 2626963db9
Add a Github action to remind people about backport automation (#12884) 2022-04-28 14:52:41 -04:00
FFMMM 9cca986d46
add a general pull request template (#12827)
Co-authored-by: Dan Upton <daniel@floppy.co>
2022-04-22 12:41:44 -07:00
Claire Labry 38aa1fcadd
change action to pull v1 instead of main 2022-04-22 12:26:12 -04:00
DanStough 95250e7915 Update go version to 1.18.1 2022-04-18 11:41:10 -04:00
Chris S. Kim 1de2632684 Add example of goimports -local 2022-03-28 10:20:50 -04:00
Luke Kysow 633e510f23
Fix logic for website checker (#12627)
Workflow should run when no docs/cherry-pick label && no pr/docs-label
2022-03-25 18:40:51 -07:00
Michele Degges 45f2abfbba
Remove setup-qemu step from Docker build job (#12387) 2022-02-24 12:35:47 -08:00
Evan Culver fc71215734
ci: fix stalebot config (#12346) 2022-02-15 11:13:32 -08:00
Evan Culver 1c71b407f6
Add stalebot policy for closing inactive PRs (#11286)
* Add stalebot policy for closing inactive issues and PRs

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2022-02-08 12:21:46 -08:00
Michele Degges d032fb52a2
Merge branch 'main' into fix-broken-dockerfile 2022-02-04 12:30:20 -08:00
claire labry dc2a95e465
Merge pull request #11956 from hashicorp/enable-security-scan
Enable Security Scan for CRT
2022-02-04 13:13:24 -05:00
Jared Kirschner b357ec9e20
Merge pull request #11391 from hashicorp/add-changelog-creation-to-contributor-docs
Add changelog creation to contributor docs
2022-02-02 14:50:02 -05:00
Jared Kirschner 45acc91c26 Add changelog creation to contributor docs 2022-02-02 10:58:27 -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
Evan Culver 89ed18dc42
Provide an 'escape-hatch' for website-checker workflow (#11882) 2022-01-20 18:34:01 -08:00
Scott Macfarlane 20c3d6670f
Merge pull request #11860 from hashicorp/sm/rename-ecr-tag
Update ECR tag in CRT Builds
2022-01-18 11:00:41 -08:00
Daniel Nephin 665012c036 remove api, sdk, and ui packages from dependabot
sdk and api are removed because those two are libraries, and updating libraries to the latest
dependency versions only serves to make the library harder to use. A
library which uses all the latest versions requires every application
which uses it to update all its dependencies in a single batch, which is
not great.
It is applications that need the latest version of dependencies.

Remove UI at the request as jc, since javascript libraries are updated so frequently it ends up
being too much noise.

Also update the number of PRs for gomod to 10, so we have a few more to
work with.
2022-01-13 12:37:49 -05: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
Karl Cardenas 6a6f8c29dc
removing markdown file for consul docs day issue 2022-01-03 11:06:09 -07:00
Karl Cardenas 122ba27121
style update 2022-01-03 10:54:31 -07:00
Karl Cardenas 709331a7d7
updating Consul docs day issue template 2022-01-03 10:49:56 -07:00
mrspanishviking 1af462203e
Merge pull request #11775 from hashicorp/docs-day-issue
chore: created an issue template for Consul docs day
2022-01-03 10:17:47 -07:00
mrspanishviking ad6b3dccd6
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2022-01-03 09:46:32 -07:00
Karl Cardenas 8bc7e68577
removed unused text area 2021-12-21 14:07:32 -07:00
mrspanishviking 456da08466
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2021-12-21 14:05:15 -07:00
FFMMM 0bae9d041f
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 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
Karl Cardenas d4002c852e
chore: created an issue template for Consul docs day 2021-12-08 09:01:29 -07:00
Matthieu MOREL 35f824ebeb
dependabot : add standard and hashicorp labels (#11676) 2021-12-07 15:12:32 -05:00
Iryna Shustava ffca66d5df
Update issue templates to link to consul-k8s instead of consul-helm (#11701) 2021-12-01 11:37:37 -07: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
John Cowen 76cbe6ea86
github: Amends to the UI issue template (#11199)
Some updates to the UI specific issue template.

The previous 'Old UI or New UI' question is no longer relevant and considering the amount of visual change we've had, this leads to folks answering things like 'Consul 1.10.0+ent with new, new UI'. Now it's just "The Consul UI".

I mainly took the rest from the current Consul Core issue template but made it relevant to the UI both for issues/bugfixes and for suggestions/improvements.
2021-10-07 19:24:04 +01:00
mrspanishviking 2b10d61bce
github: added CODEOWNERS to automatically request tech writer review (#10962)
* github: update CODEOWNERS to point to the @hashicorp/consul-docs group
2021-09-01 14:02:06 -04:00
Daniel Nephin 75c9c5f968 Move contributing to docs
So that this documentation is more appropriated named.
2021-08-30 16:17:09 -04:00
Daniel Nephin f203689d92 Update contributing guide
* Replace the mailing list link with Discuss. The mailing list has not been used for a few years.
* 'make format' no longer exists, so replace it with 'gofmt'
* Remove the instructions about running all tests locally, and debugging flakes.
* Update note about vendoring of dependencies.
* Add link to developer docs.
2021-08-30 14:57:30 -04:00
Mike Morris 2a98ed5b7d
ci: make changelog-checker only validate PR number against main base (#10844) 2021-08-16 15:40:51 -04:00
Kent 'picat' Gruber 9e783ccce7 Add `github-actions` 2021-07-29 17:51:32 -04:00
Kent 'picat' Gruber a4613689cb Add default `open-pull-requests-limit` for all updates
Using the default value just to start with.
2021-07-29 17:47:33 -04:00
Kent 'picat' Gruber 4035bd41dc Add the `/sdk` module 2021-07-29 17:35:48 -04:00
Kent 'picat' Gruber 1b8e973bb8 Add initial Dependabot configuration 2021-07-29 11:48:46 -04:00
Daniel Nephin aea55a7488 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
jkirschner-hashicorp 4386eb7571 Describe how to run a subset of all unit tests 2021-07-27 15:04:51 -04:00
Daniel Nephin 4d741531b4 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
Freddy 1c28aa732b
Update CONTRIBUTING.md 2021-06-25 14:43:53 -06:00
Brian Flad 9fd352a821 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 adfaf29da4
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 2cebb550b3
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 24d9109ed1
fix: remove period to fix broken link (#9912) 2021-03-22 10:47:10 -04:00
Alvin Huang efd68a855a
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 3c673418a7
ci: escape backticks in github comment for website/ change check (#9711) 2021-02-05 13:48:31 -05:00
Alvin Huang a4d5738a4e
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 7f455b9a42
ci:check that type/docs-cherrypick is attached to website PR changes (#9690) 2021-02-02 17:04:05 -05:00
Alvin Huang 27e80ce5be
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 d94c3b9342
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 117c77a48b change trigger label to pr/load-test 2021-01-15 11:09:08 -05:00
Alvin Huang 4efb3d44cf add github action to trigger load tests based on PR label 2021-01-13 23:20:19 -05:00
Kim Ngo 2d11fc6746
Update pr-labeler to new NIA docs path (#9501)
Artifact from https://github.com/hashicorp/consul/pull/9352
2021-01-05 12:15:10 -06:00
Daniel Nephin 06888839d6 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 97eac7e4c8
Turn off issue labeler for now (#9054) 2020-10-27 17:34:16 -04:00
Jono Sosulska 094c8c8a29
Remove auto-docs-cherrypick and update UI label (#9047)
* Remove auto-docs-cherrypick and update UI regex
2020-10-27 10:24:05 -04:00
Jono Sosulska 5788b4c281
Turn down UI regex, removed things from PR labeler that wont be used (#8977) 2020-10-27 09:43:57 -04:00
Kim Ngo 9cd6b605cb
Include integration docs for NIA with consul-terraform-sync label (#8926) 2020-10-13 09:47:51 -05:00
Sabeen Syed bd7433c808
Docs: Nia/docs tech preview (#8908)
* Add outline and basic content for Tech Preview docs
* Add Tech Preview tag
* Add auto-labler for Consul Terrform Sync
* Add Consul Terraform Sync config docs (#8837)
* CLI Docs for Consul Terraform Sync
* Task Docs for Consul Terraform Sync
* Add docs for NIA Terraform driver (#8871)
* Update Installation Docs for Consul Terraform Sync
* Initial high level architecture overview (#8872)
* Docs: compatible Terraform modules for Consul-Terraform-Sync (#8887)
* Update Requirements Docs for Consul Terraform Sync
* Remove empty partner module sections
2020-10-09 13:37:20 -05:00
Mike Morris d68b4b9e79 chore(ci): remove docs-cherrypick autolabel
This label should never be auto-applied to prevent accidentally publishing docs intended for a major release early.
2020-10-08 12:50:03 -04:00
Jono Sosulska 16e8235abe
Turns PR labeler to only trigger on create (#8838) 2020-10-07 13:45:17 -04:00
Jono Sosulska e657341cd8
Remove label trigger on edit (#8832) 2020-10-06 13:16:14 -04:00
Jono Sosulska f786314315
Fixes README overwrite (#8821) 2020-10-05 15:32:57 -04:00
Jono Sosulska 0174b1c7c6
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
Jeff 90c07232dc
Update CONTRIBUTING.md 2020-08-26 08:04:25 -07:00
woz5999 180b032991 fix typo in contributing docsc 2020-08-25 14:58:58 -07:00
Alexander Mykolaichuk 9fa605f077
fixed links (#8020) 2020-06-04 16:18:37 -04:00
Jono Sosulska 5c1858e70c
Adding redirect to discuss, moving question to old (#7732) 2020-05-01 13:02:15 -04:00