72 Commits

Author SHA1 Message Date
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
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
sophia
336001ac17 Update default branch to main 2020-10-19 16:37:10 -05:00
Chris Roberts
22795b161b Update repository name in spectesting workflow 2020-10-15 13:07:02 -07:00
sophia
55857e6f21 Readd vbox tests 2020-09-17 12:55:00 -05:00
sophia
d1c0f9268c Only run tests for docker 2020-09-17 10:21:50 -05:00
sophia
51c2b4d418 Add docker tests to spectests matrix 2020-09-16 14:51:56 -05:00
sophia
a7c6e4d0fc Retarget tests to run on main branch 2020-09-03 10:48:31 -05:00
sophia
caf5ef7c00 Get installer per release tag 2020-09-02 17:02:21 -05:00
sophia
185953a214 Run workflow on demand or repository dispatch 2020-09-02 17:02:21 -05:00
Brian Cain
9c1ba11c36 Checkout code to run CI scripts 2020-09-02 17:02:17 -05:00
Brian Cain
dbdaedcd47 Fix path for scripts in workflow config 2020-09-02 17:02:17 -05:00