Commit graph

204 commits

Author SHA1 Message Date
Ashlee Boyer
cd71a9d031 Adding docs-content-check-legacy-links-format workflow 2023-01-18 17:20:40 -05:00
sophia
d69287f850 Bump Ruby version to 3.x 2023-01-03 16:01:16 -08:00
Chris Roberts
047a0dc293 Update default labels 2022-11-17 17:06:09 -08:00
Chris Roberts
c3e3b328a6 Allow access to issues and PRs 2022-11-08 14:18:05 -08:00
Vagrant Bot
3c5a048afe Delete .github/workflows/slack-vars.yml 2022-11-08 09:46:19 -08:00
Vagrant Bot
f7d497d4f6 Delete .github/workflows/hashibot-vars.yml 2022-11-08 09:46:15 -08:00
Vagrant Bot
0cea07a553 Delete .github/workflows/packet-vars.yml 2022-11-08 09:46:11 -08:00
vagrant-bot
92b767f017 Terraform managed file [skip ci] 2022-11-04 17:29:36 -07:00
vagrant-bot
2a894e97f8 Terraform managed file [skip ci] 2022-11-04 17:04:28 -07:00
vagrant-bot
61487c5061 Terraform managed file [skip ci] 2022-11-04 17:04:25 -07:00
vagrant-bot
749facb16b Terraform managed file [skip ci] 2022-11-04 17:04:24 -07:00
vagrant-bot
46511689dc Terraform managed file [skip ci] 2022-11-04 16:42:21 -07:00
vagrant-bot
ef82c75892 Terraform managed file [skip ci] 2022-11-04 16:42:18 -07:00
vagrant-bot
1884a7017c Terraform managed file [skip ci] 2022-11-04 16:42:15 -07:00
vagrant-bot
6fb59e9a63 Terraform managed file [skip ci] 2022-11-04 16:19:32 -07:00
vagrant-bot
286f651b38 Terraform managed file [skip ci] 2022-11-04 16:19:30 -07:00
vagrant-bot
187c838038 Terraform managed file [skip ci] 2022-11-04 16:19:25 -07:00
Chris Roberts
34a1b1de5b Workflow cleanup 2022-11-04 13:17:28 -07:00
Chris Roberts
989d418e40 Update build job 2022-11-04 11:37:19 -07:00
Chris Roberts
9417d0c2e5 Set minimum Ruby at 2.7, remove 2.6 from testing 2022-11-03 11:55:28 -07:00
Dan Čermák
0b6faa613d
Install bsdtar in the CI
The recent update to Ubuntu 20.04 from 18.04 resulted in bsdtar being dropped
from the CI environment. This reduces our test coverage, so let's install it
again.
2022-11-01 15:41:54 +01:00
vagrant-bot
75a37721ff Terraform managed file [skip ci] 2022-10-27 11:02:27 -07:00
vagrant-bot
5aeb0c0250 Terraform managed file [skip ci] 2022-10-27 11:02:26 -07:00
vagrant-bot
e3b541fc8d Terraform managed file [skip ci] 2022-10-27 11:02:20 -07:00
Chris Roberts
8222625821 Don't include comment when locking issues/PRs 2022-10-26 16:38:00 -07:00
Chris Roberts
479a0c60d0 Clean up workflows and scripts 2022-10-26 16:38:00 -07:00
Chris Roberts
3845323a5b Continue running other jobs on failure 2022-10-14 15:58:00 -07:00
kaitlincart
e0646e773f
Merge pull request #12899 from hashicorp/kc.issue-template-new
New Issue Template
2022-09-26 09:56:14 -07:00
kaitlincart
b53b387451 remove checklists 2022-09-23 15:54:43 -07:00
kaitlincart
f9c4b2009b updates from our backlog session 2022-09-23 12:07:31 -07:00
kaitlincart
c8b541f393
Update .github/ISSUE_TEMPLATE/engineering-task.md
Co-authored-by: Sophia Castellarin <sophia@hashicorp.com>
2022-09-23 11:50:48 -07:00
kaitlincart
d5c77ce25a
Merge pull request #12896 from hashicorp/kc.issue-template-update
Bug Report Template Updates
2022-09-21 14:07:25 -07:00
Chris Roberts
b6d4a8dac9
Merge pull request #12638 from dcermak/support-ruby-3-1
Support Ruby 3.1
2022-09-21 11:26:51 -07:00
kaitlincart
c3cb871048 add new template for eng tasks 2022-09-16 10:30:11 -07:00
kaitlincart
9196bad2f5 all explanatory text is now in comment form 2022-09-15 13:35:48 -07:00
kaitlincart
70d62a5195 copy edits, reorg of sections 2022-09-14 10:23:12 -07:00
sophia
b462e721b5 Fix syntax error in spectesting.yml
Multiple keys of the same name are not allowed. Instead, the
"if's" can be evaluated as a boolean (and) expression
2022-09-13 18:19:59 -04:00
kaitlincart
692f08d8e9
Add new config
This will link to the forum to encourage users to post questions there instead of GitHub. This was borrowed from Nomad.
2022-09-13 12:33:22 -07:00
Dan Čermák
91bbefaffa
Add Ruby 3.1 to the CI 2022-08-08 10:10:27 +02:00
Chris Roberts
47a9148053 Set go version using go.mod file 2022-08-03 11:11:12 -07:00
Chris Roberts
ebb3296e95 Update setup-go actions to v3 2022-08-03 11:10:56 -07:00
Chris Roberts
00b34d8b0a Isolate spec runs to acceptance repository 2022-08-03 08:39:39 -07:00
Chris Roberts
ab59462cf4 Update contributing doc 2022-07-28 16:45:16 -07:00
Chris Roberts
62d16b3b9f Build and store the binary on non-release builds 2022-07-26 11:38:41 -07:00
Chris Roberts
ee9e63ca40 Setup go for release job 2022-07-21 08:26:49 -07:00
sophia
2d1b6aa629 Add some info on developing with go 2022-07-20 15:38:14 -07:00
Paul Hinze
2adb438eee
ci: Ensure cleanup runs after notify completes
Without declaring it as a dependency the job can run in parallel and delete the workspace out from under the notify job.

Using format from this example: https://docs.github.com/en/actions/using-jobs/using-jobs-in-a-workflow#example-not-requiring-successful-dependent-jobs
2022-05-16 17:50:00 -05:00
Paul Hinze
ebd03d604b
ci: Reorder spectesting to fix success notify
Turns out you can't run a script in the workdir after you `rm -rf` the
workspace!
2022-05-13 16:23:52 -05:00
Paul Hinze
afd0346dc1
ci: Remove unnecessary vars
per https://github.com/hashicorp/vagrant-ruby/pull/270#discussion_r867266809
2022-05-10 11:14:28 -05:00
Paul Hinze
31c2390533
ci: Separate log pulling and notify on success
* Without being a separate task, log pull won't happen on failure
 * Add a job at the end for notifying on success - since these only run
   nightly and on manual trigger, seems like it'd be nice to get
   notified of something happy!
2022-05-06 16:58:51 -05:00
Paul Hinze
198649be9f
ci: Remove invalid key from workflow
See https://github.community/t/worflow-with-dispatch-and-branches-setting-suddenly-not-supported-anymore/247732/29
2022-04-29 12:41:43 -05:00
Paul Hinze
baf1d777bc
ci: Run docker provider too 2022-04-25 14:35:30 -05:00
Paul Hinze
6646cf50b4
ci: Move always() from step to job so cleanup happens on failures
The `if: always()` can work on steps as well, but in this case we need
it at the job level so it modifies the `needs` clause.

See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-not-requiring-successful-dependent-jobs
2022-04-25 14:35:30 -05:00
Paul Hinze
dc58438476
ci: Run spectesting nightly 2022-04-25 12:26:59 -05:00
Paul Hinze
6ace8d5d9d
ci: Switch to a log artifact vs a noisy stdout 2022-04-25 12:26:59 -05:00
Paul Hinze
e5635142db
ci: Pass hashibot creds down for private gh fetching 2022-04-25 12:26:59 -05:00
Paul Hinze
152a954266
spectesting: remove docker from matrix temporarily
For the time being to simplify test runs we'll just do vbox until we get
that working smoothly
2022-04-25 12:26:59 -05:00
Paul Hinze
8d1ac0b9a3
spectesting: need submodules to build 2022-04-25 12:26:58 -05:00
Paul Hinze
c42145ae64
spectesting: Remove repo filter to allow it to run on vagrant-ruby 2022-04-25 12:26:58 -05:00
Paul Hinze
2efa6547f4
Updates to make vagrant-spec work in CI
* The vagrant-spec gem is installed as part of bundle install so
   there's no need to install it separately. Remove those extra steps
   and invoke it with bundle exec instead.
 * The binstub for vagrant does not work with `--standalone` in CI, but
   the one generated w/o `--standalone` works fine. This also seems to
   work in dev, so we'll just switch to that one.
 * Fetch all tags in CI to make sure we're getting proper version
   numbers in our build (based off `git describe`).
2022-04-25 12:26:50 -05:00
Paul Hinze
e600d6e4a8
GH Actions: Remove architecture from inputs
Should clean up warnings like this:

> Unexpected input(s) 'architecture', valid inputs are ['ruby-version',
> 'rubygems', 'bundler', 'bundler-cache', 'working-directory',
> 'cache-version']
2022-04-25 12:26:44 -05:00
Paul Hinze
61c652c28a
Tweaks to help run spec tests with nektos/act
* Uniquely naming the job for use with `act -j`
 * Gitignoring a `.secrets` file which act reads to get env vars
2022-04-25 12:26:41 -05:00
Paul Hinze
a684350a7b
Give CI jobs unique names
This helps make https://github.com/nektos/act easier to use locally,
since you often want to run `act -j jobname` when debugging a failed
workflow.
2022-04-25 12:26:40 -05:00
sophia
9e7ece840a
Use vagrant-spec from hashicorp org 2022-04-25 12:26:27 -05:00
sophia
72326d6758
Use branch of vagrant-spec which allows for specifying full path to vagrant 2022-04-25 12:26:27 -05:00
sophia
0c29065483
Set Vagrant path 2022-04-25 12:26:27 -05:00
sophia
2d1bc6d2de
Use ruby 2.7 2022-04-25 12:26:27 -05:00
sophia
b07b8315fb
Build/install vagrant spec from it's directory 2022-04-25 12:26:27 -05:00
sophia
94dfa32537
Reduce scope of tests 2022-04-25 12:26:27 -05:00
sophia
ae165d029c
Merge vagrant-spec install and run step 2022-04-25 12:26:27 -05:00
sophia
131bb5740c
Install vagrant spec gem 2022-04-25 12:26:27 -05:00
sophia
5960fb3c73
Recursively checkout repo 2022-04-25 12:26:27 -05:00
sophia
6a182570fb
Allow for on demand builds 2022-04-25 12:26:26 -05:00
sophia
17ff196305
Add ci test for spectesting 2022-04-25 12:26:26 -05:00
sophia
2b7d726c66
Run tests on go.sum/mod changes 2022-04-25 12:24:47 -05:00
Chris Roberts
1c0362837a
Re-enable Ruby 2.6 in testing 2022-04-25 12:24:42 -05:00
sophia
0dbb1d7da3
Drop ruby 2.6 from testing 2022-04-25 12:24:41 -05:00
Chris Roberts
04c4cce085
Bump go to 1.16 for tests 2022-04-25 12:24:25 -05:00
sophia
a65bcc3c41
Use vagrant-plugin-sdk main checkout 2022-04-25 12:24:16 -05:00
sophia
22a3452c1e
Run tests 2022-04-25 12:24:16 -05:00
sophia
ad2ad1d9df
Setup go ci tests 2022-04-25 12:24:12 -05:00
Chris Roberts
fffd96700f Update name for token 2021-12-15 13:05:00 -08:00
Kevin Wang
cbe550c6d2
feat: backport-assistant 2021-12-15 15:51:07 -05:00
Chris Roberts
716f4c0717
Merge pull request #12564 from chrisroberts/vbox-hostonly-validat
Validate VirtualBox hostonly network range
2021-11-02 11:03:44 -07:00
Chris Roberts
2420895739 Update repository sync 2021-11-02 09:52:05 -07:00
Chris Roberts
5d24b91f70 Disable testing for Ruby 2.5 2021-10-29 08:48:30 -07:00
Chris Roberts
e7a6f397da Updates for Ruby 3.0 2021-06-21 15:57:46 -07:00
Tim Visher
0f603e3363 Vagrantfile: Fix setup for tests 2021-06-14 19:30:31 -04:00
Brian Flad
37cea7fbc3 Migrate from GitHub HashiBot to GitHub Actions
Replaces the only enabled behavior with an equivalent workflow.
2021-05-26 17:19:49 -04:00
Zachary Shilton
b8d0e71fa2
website: support hidden pages in nav-data (#12348)
* website: bump to docs-page prerelease w hidden support

* website: replace hidden pages hot fix for /docs

* website: remove unused files for old hidden pages hotfix

* website: bump to stable docs-page, w next-mdx-remote bump
2021-05-06 13:18:28 -04:00
Zachary Shilton
da0a2bff53
website: resolve unlinked content (#12322)
* website: add back unlinked pages to match previous state

* website: add check for unlinked content

* website: fix issue with missing scope
2021-04-23 09:11:58 -04:00
grahamhub
c157c6c317 fix versioning syntax (on correct branch) #12305 2021-04-14 16:43:20 -05:00
sophia
ff40bd2cf9 Use ruby/setup-ruby gh action
actions/setup-ruby is deprecated
2021-04-13 16:23:54 -05:00
Sophia Castellarin
5b72b645d3
Merge pull request #12199 from soapy1/update-ci-scripts
Update ci scripts for assume role setup
2021-02-22 16:12:01 -06:00
sophia
d8affe4ff4 Update ci scripts for assume role setup 2021-02-19 12:31:35 -06:00
sophia
d9b3bebf67 Make tests run on changes to templates 2021-02-19 09:42:37 -06:00
Dan Čermák
ac467ce64a
Add Gemfile, vagrant.gemspec & Rakefile to testing github workflow 2020-12-04 15:09:59 +01:00
sophia
bc3dc0a7b2 Set AWS creds 2020-10-26 13:08:44 -05:00
sophia
2f4a1f6a00 Create packet instance 2020-10-26 12:55:54 -05:00
sophia
a55adf3d02 Inject ci loader bucket var 2020-10-26 12:10:50 -05:00