Commit graph

17636 commits

Author SHA1 Message Date
hc-github-team-secure-vault-core bb7250f911
backport of commit 771bba0dc6de6125ee131eb40d3d606030cedbb5 (#22048)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-07-25 08:51:18 -04:00
hc-github-team-secure-vault-core cbff440925
backport of commit da5d0ca498677d6fe0a8e7033217245ebbfd81d4 (#20994)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-07-24 19:10:44 +00:00
hc-github-team-secure-vault-core 08187d2ca4
backport of commit 4811ef9cc3885f83e204aea86083589b22c19d62 (#22025)
Co-authored-by: Austin Gebauer <34121980+austingebauer@users.noreply.github.com>
2023-07-21 15:09:47 -07:00
hc-github-team-secure-vault-core 94dc0d67e0
backport of commit 437a7ab9340c9d5e6638570ac37a271e5c1342e5 (#22019)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-07-21 17:34:53 +00:00
hc-github-team-secure-vault-core c7b9ea79ac
backport of commit e91b5079968841ce936a9cca877b7c4e6abda736 (#22020) 2023-07-21 17:30:00 +00:00
Hamid Ghaf 191aebca62
use verify changes for docs to skip tests (#21620) (#22017)
* use verify changes for docs to skip tests

* add verify-changes to the needed jobs

* skip go tests for doc/ui only changes

* fix a job ref

* change names, remove script

* remove ui conditions

* separate flags

* feedback
2023-07-21 10:15:14 -07:00
hc-github-team-secure-vault-core ca31f71966
backport of commit 8615b31598e094b1bf083242e76fff74a31daf9a (#22014)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-07-21 10:53:07 -06:00
hc-github-team-secure-vault-core cade65423c
backport of commit 02f43ecbc26ec79790f30826f49f97cecda987eb (#21587) (#21996)
* VAULT-17590 Add failure notifications for OSS builds

* VAULT-17590 Incur build failure for testing purposes

* VAULT-17590 head_ref for testing

* VAULT-17590 rework to rely on completed status checks

* VAULT-17590 Use slackapi/slack-github-action

* VAULT-17590 Remember dollar sign

* VAULT-17590 finalize PR

* VAULT-17590 add extra empty line

* Update .github/workflows/build.yml



* Update .github/workflows/ci.yml



* VAULT-17590 fix typo

* VAULT-17590 ent workflow

* VAULT-17590 typo

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
2023-07-21 08:50:26 -04:00
hc-github-team-secure-vault-core 9fa2b669e4
backport UI: Remove logic that skips sending object if not changed (#21759)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-07-21 00:18:34 +00:00
hc-github-team-secure-vault-core 83b95d3efe
backport of commit 1a46088afb0d5e442273350c6793d1216b6be4d1 (#21985)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-07-20 22:39:29 +00:00
hc-github-team-secure-vault-core f155d1fe2c
backport of commit 4ce8e4b00f96de7b7f0d66878ef41d340fe33855 (#21988)
Co-authored-by: Max Bowsher <maxbowsher@gmail.com>
2023-07-20 21:11:14 +00:00
hc-github-team-secure-vault-core 5923ceab05
backport of commit 5ba848dbdd14cac24960ec31e83d620f698b87a8 (#21992)
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-07-20 17:09:32 -04:00
hc-github-team-secure-vault-core 04eed0b14c
backport of commit 6b21994d76b18c91397247dfd69bb01e46c5de25 (#21981)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-07-20 20:51:07 +00:00
hc-github-team-secure-vault-core cf6c2937b0
backport of UI: Fix confirm dropdown not rendering on HSM (#21975)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-07-20 16:19:49 +00:00
hc-github-team-secure-vault-core 45af65da81
Backport of Limit number of tests in CI comment into release/1.14.x (#21971)
* backport of commit dc104898f700447f7764919445c7559baeb7e987 (#21853)

* fix multiline

* shellcheck, and success message for builds

* add full path

* cat the summary

* fix and faster

* fix if condition

* base64 in a separate step

* echo

* check against empty string

* add echo

* only use matrix ids

* only id

* echo matrix

* remove wrapping array

* tojson

* try echo again

* use jq to get packages

* don't quote

* only run binary tests once

* only run binary tests once

* test what's wrong with the binary

* separate file

* use matrix file

* failed test

* update comment on success

* correct variable name

* bae64 fix

* output to file

* use multiline

* fix

* fix formatting

* fix newline

* fix whitespace

* correct body, remove comma

* small fixes

* shellcheck

* another shellcheck fix

* fix deprecation checker

* only run comments for prs

* Update .github/workflows/test-go.yml

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update .github/workflows/test-go.yml

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* fixes

---------

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* backport of commit 3b00dde1ba4d479fbd67b1d0767e421e495d8cce (#21936)

* limit test comments

* remove unecessary tee

* fix go test condition

* fix

* fail test

* remove ailways entirely

* fix columns

* make a bunch of tests fail

* separate line

* include Failures:

* remove test fails

* fix whitespace

* backport of commit 245430215c00d80a38283020fca114bade022e0f (#21973)

* only add binary tests if they exist

* shellcheck

---------

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
2023-07-20 15:07:20 +02:00
hc-github-team-secure-vault-core 9bbd9b0534
backport of commit e969e4ae4326c8c80e2a42fc47eef0976fc55236 (#21966)
Co-authored-by: Conor McCullough <103977699+conor-mccullough@users.noreply.github.com>
2023-07-20 05:42:11 +00:00
hc-github-team-secure-vault-core f66da5eda2
backport of commit bf05cfd64a8ac01e07c2b6b1e1db02390266c932 (#21957)
Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
2023-07-19 19:43:50 +00:00
hc-github-team-secure-vault-core af5132f100
backport of commit 215687795d6b9ad2b3a3e2c7dbb70b01cc470e44 (#21954)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-07-19 18:32:53 +00:00
hc-github-team-secure-vault-core 8bde02c699
backport of commit 96bb63442204a1c8981947f3182640d04f29ff85 (#21931)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-07-19 09:01:28 -07:00
hc-github-team-secure-vault-core af69b579b5
backport of commit def7c1b0a7a35f17fb2c7eb15ba215a39b17f60d (#21945)
Co-authored-by: Paul Banks <pbanks@hashicorp.com>
2023-07-19 15:34:18 +00:00
hc-github-team-secure-vault-core e147778434
backport of commit f54bc0227d56ad01aa5fe88ff4288cb1ccf3ce4d (#21939)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-07-19 14:10:08 +00:00
Anton Averchenkov 7a3f68bb97
Backport of [docs] Convert titles to sentense case into 1.14.x (#21921) 2023-07-18 17:07:55 -04:00
hc-github-team-secure-vault-core 299f33d016
Backport of secrets/azure: update minimal permissions recommendation into release/1.14.x (#21917)
* no-op commit due to failed cherry-picking

* secrets/azure: update minimal permissions recommendation (#21897)

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: Austin Gebauer <34121980+austingebauer@users.noreply.github.com>
2023-07-18 12:18:53 -07:00
hc-github-team-secure-vault-core 17a6700f6c
backport of commit 4b15fb96b88d633db1ef294d7cc86483df060b2b (#21920)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2023-07-18 11:15:56 -07:00
hc-github-team-secure-vault-core 5041048f4d
backport of commit a9977fab8008a53d052b6f89f41eb65fb83bdaa8 (#21910)
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2023-07-18 13:01:39 +00:00
hc-github-team-secure-vault-core 9ca8e82245
backport of commit 3159aa26be41f9b9a5581ed9b00bc6dd564fa8f1 (#21902)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-07-17 18:27:58 -06:00
hc-github-team-secure-vault-core 08c0489053
backport of commit 4ec5e22adebe64944c35a6b6460bfee5efae5d51 (#21899)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-07-17 19:11:48 +00:00
hc-github-team-secure-vault-core f5bb678c98
backport of commit e1a9d85a18858bccf4de71ddc0ce7592170ab894 (#21879)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2023-07-17 09:46:00 -07:00
hc-github-team-secure-vault-core 32433e9dd7
Go test failure summaries fixes and improvements (#21888) (#21892)
Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
2023-07-17 16:13:15 +00:00
hc-github-team-secure-vault-core c08b05506f
backport of commit f3e9d159d325b9e2a3c80b7acf6705303ae04468 (#21891)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-07-17 08:08:20 -07:00
hc-github-team-secure-vault-core ebc05a5221
backport of commit 366693c78dec71212ab344e8d315637722b60d25 (#21887)
Co-authored-by: Laurent <hello@viper61.fr>
2023-07-17 13:50:04 +00:00
hc-github-team-secure-vault-core 9c43e232d2
backport of commit 5d97159f05e581c0e5f14be9e2e3f8ac3b733091 (#21886)
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2023-07-17 13:01:25 +00:00
hc-github-team-secure-vault-core 7f6d4dc70b
backport of commit 8834e4d16bb08972d4e0561e22dfde4d4536cf1d (#21868)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-07-14 12:18:36 -06:00
hc-github-team-secure-vault-core 6655be126a
backport of commit 31a71f6db405e3665b8cbd951aa1d1f31d343dc8 (#21729)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-07-14 17:30:14 +00:00
hc-github-team-secure-vault-core 72b46b87aa
backport of UI: focus navigate-input after page filter (#21862)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-07-14 15:40:18 +00:00
Steven Clark e167798ea5
Add back paths to TestProperAuthing (#21855)
- Since the backport's for the OpenAPI list haven't occurred yet,
   we need both the existing path and the new path for when they do
   get backported.
2023-07-14 13:02:15 +00:00
hc-github-team-secure-vault-core 43feaf1379
Update TestProperAuthing test for backports (#21852)
Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
2023-07-14 11:51:10 +00:00
hc-github-team-secure-vault-core 6ea01382b4
backport of commit ba52063705ac8a7842ee2818e785faad361277d3 (#21849)
Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2023-07-14 10:22:54 +00:00
hc-github-team-secure-vault-core ca1d99d3a7
backport of commit 384cdd791c5a473374fe1a0f7cb9b9d3f972bcf7 (#21845)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2023-07-13 18:22:15 -07:00
hc-github-team-secure-vault-core a0dca58c44
backport of commit 0b0b15f968bb243b29544d6a7f2652137e07d632 (#21839)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2023-07-13 15:26:01 -07:00
hc-github-team-secure-vault-core da49fe9db5
backport of commit 20675ccef0944571f17fd06969147fa476fc68ba (#21834)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2023-07-13 20:08:22 +00:00
hc-github-team-secure-vault-core a7232590e9
VAULT-12958 Add link to logs to the test failure summary in CI (#21736) (#21825)
Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
2023-07-13 18:36:30 +00:00
hc-github-team-secure-vault-core 7b8c8e722c
backport of commit c2cbd5a578108d2447efc52f47f3bb7f7b69ee02 (#21819)
Co-authored-by: Austin Gebauer <34121980+austingebauer@users.noreply.github.com>
2023-07-13 10:27:03 -07:00
hc-github-team-secure-vault-core e9ee08ec7d
backport of commit 2a05a48016150b4040067ae7b6dc8ab8ba8aa93a (#21816)
Co-authored-by: Rebecca Willett <47540675+rebwill@users.noreply.github.com>
2023-07-13 12:09:34 -04:00
hc-github-team-secure-vault-core ecec77f6f2
backport of commit 702c52148988fc6907b8ee6457accd1536a2c25f (#21781)
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
2023-07-13 11:23:53 -04:00
hc-github-team-secure-vault-core 6738b00b59
backport of commit 8d74143872101df6f845fe86e69faea276e9e0f4 (#21810)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-07-13 13:24:09 +00:00
hc-github-team-secure-vault-core d2bbc42fcb
backport of commit bfa93fdeda1a998dc9c2a91c5c14424456b6d1d7 (#21782) (#21786)
* use shas instead of versions and fix milestones

* remove trailing space

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-07-13 15:19:21 +02:00
hc-github-team-secure-vault-core 1ebd61689d
backport of commit a98c0d9cbe9d7cc59fc17a0416e61469cd9d56ac (#21797)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-07-12 20:40:35 +00:00
hc-github-team-secure-vault-core 59cbdcda39
[QT-589] Use the go module cache between CI and build (#21764) (#21790)
In order to reliably store Go test times in the Github Actions cache we
need to reduce our cache thrashing by not using more than 10gb over all
of our caches. This change reduces our cache usage significantly by
sharing Go module cache between our Go CI workflows and our build
workflows. We lose our per-builder cache which will result in a bit of
performance hit, but we'll enable better automatic rebalancing of our CI
workflows. Overall we should see a per branch reduction in cache sizes
from ~17gb to ~850mb.

Some preliminary investigation into this new strategy:

Prior build workflow strategy on a cache miss:
  Download modules: ~20s
  Build Vault: ~40s
  Upload cache: ~30s
  Total: ~1m30s

Prior build workflow strategy on a cache hit:
  Download and decompress modules and build cache: ~12s
  Build Vault: ~15s
  Total: ~28s

New build workflow strategy on a cache miss:
  Download modules: ~20
  Build Vault: ~40s
  Upload cache: ~6s
  Total: ~1m6s

New build workflow strategy on a cache hit:
  Download and decompress modules: ~3s
  Build Vault: ~40s
  Total: ~43s

Expected time if we used no Go caching:
  Download modules: ~20
  Build Vault: ~40s
  Total: ~1m

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-07-12 19:26:00 +00:00
Sarah Chavis 841507c314
Add note about user lockout defaults (#21744) (#21765) 2023-07-11 14:42:04 -07:00