Derek Nola
d0f7e23328
Require integration test to be run as sudo/root ( #4824 )
...
* Remove internal sudo commands from integration tests
* Run integration CI as sudo
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-22 14:48:21 -08:00
Derek Nola
a02db0f2fa
Fix cgroup smoke test ( #4823 )
...
* Fixed control group vagrantfile so running vagrant up doesn't fail locally
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-22 12:16:43 -08:00
Brad Davidson
08d538fb3a
Update golang
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-22 10:47:38 -08:00
Derek Nola
bcb662926d
Secrets-encryption rotation ( #4372 )
...
* Regular CLI framework for encrypt commands
* New secrets-encryption feature
* New integration test
* fixes for flaky integration test CI
* Fix to bootstrap on restart of existing nodes
* Consolidate event recorder
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-07 14:31:32 -08:00
Jacob Blain Christen
c77efe64e1
tests/vagrant: refactor vagrant smoke tests ( #4484 )
...
- updated `tests/TESTING.md`
- cgroup, snapshotter, and install tests all under tests/vagrant
- cgroup and snapshotter workflows trigger for all code changes on all branches (excluding markdown docs, install script, and other vagrant tests)
- install workflow triggers for relevant script and fixture changes, only on master or pull-requests that target it
- integration and unit test workflows should not trigger for install script changes nor anything under tests/vagrant
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-11-15 11:50:38 -07:00
Jacob Blain Christen
559c8ad94b
install: /usr/sbin/transactional-update ( #4403 )
...
- also updated k3s-uninstall.sh on zypper and TU systems
- fix #4409 for Fedora CoreOS
new installer tests via github actions:
- fedora-coreos
- opensuse-microos
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-11-08 16:26:21 -07:00
Derek Nola
aa3332085f
Update k3s CI to run all integration tests ( #4358 )
...
* Update k3s integration CI so all tests run
* Add check for ipv6 to skip test in Github CI
Signed-off-by: dereknola <derek.nola@suse.com>
2021-11-02 11:37:16 -07:00
Chris Wayne
94c1b988ca
Enable Epics Action to automatically check off child issues in an epic ( #4353 )
...
* Enable Epics Action to automatically check off child issues in an epic
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-11-01 20:46:33 -04:00
Jacob Blain Christen
702fe24afe
containerd/cri: enable the btrfs snapshotter ( #4316 )
...
* vendor: btrfs
* enable the btrfs snapshotter
* testing: snapshotter/btrfs
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-29 23:31:33 -07:00
Jacob Blain Christen
52eb6cac1c
install.sh: initial support for sle-micro ( #4331 )
...
Support invoking install.sh on SLE Micro with or without SELinux
enabled. Same deal for SLES.
Additionally, easy-to-invoke assertions, via Vagrant, that the local
install.sh works correctly:
- tests/install/centos-7 (stand-in for rhel 7)
- tests/install/centos-8 (stand-in for rhel 8)
- tests/install/opensuse-leap (stand-in for sles)
- tests/install/opensuse-microos (stand-in for sle-micro)
- tests/install/ubuntu-focal
Addresses #3188
Addresses #3917
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-29 09:47:37 -07:00
Jacob Blain Christen
a9fce84ab6
github actions: enable workflow_dispatch ( #3923 )
...
Addresses #3922
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-08-26 23:40:06 -07:00
Craig Jellick
a55921b33d
Add missing labels to stalebot config
...
We missed a handful of labels in our stalebot config.
The presence of these labels should prevent closing.
Signed-off-by: Craig Jellick <craig@rancher.com>
2021-08-17 09:53:23 -07:00
Derek Nola
4cc781b5e3
Moved testing utils into tests directory. Improved gotests template. ( #3805 )
...
* Moved testing utils into tests directory. Improved gotests template.
* Updated cgroups2 with util folder rename
Signed-off-by: dereknola <derek.nola@suse.com>
2021-08-10 11:13:26 -07:00
Chris Wayne
09457a57d5
Add in stalebot config, starting with 6mo old stale issues. ( #3739 )
...
* Add in stalebot config, starting with 6mo old stale issues.
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-30 11:47:42 -04:00
Derek Nola
21c8a33647
Introduction of Integration Tests ( #3695 )
...
* Commit of new etcd snapshot integration tests.
* Updated integration github action to not run on doc changes.
* Update Drone runner to only run unit tests
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-26 09:59:33 -07:00
Chris Wayne
461222db98
Merge branch 'k3s-io:master' into issue-backport
2021-07-23 10:52:52 -04:00
Chris Wayne
71e1f1df8c
Ignore markdown files for github actions ( #3676 )
...
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-23 10:29:00 -04:00
Chris Wayne
dcabe14edd
Update .github/ISSUE_TEMPLATE/feature_request.md
...
Co-authored-by: Brad Davidson <brad@oatmail.org>
2021-07-19 18:04:45 -04:00
Chris Wayne
8840c937e6
Update .github/ISSUE_TEMPLATE/bug_report.md
...
Co-authored-by: Brad Davidson <brad@oatmail.org>
2021-07-19 18:04:39 -04:00
Chris Wayne
f6be76b4f7
Add checkbox to denote backporting required on issue templates
...
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-19 17:15:37 -04:00
Chris Wayne
d96fa8f727
Add issue template for creating release checklist issues ( #3604 )
...
* Add issue template for creating release checklist issues
Signed-off-by: Chris Wayne <chris.wayne@suse.com>
2021-07-15 09:44:20 -04:00
Brad Davidson
6b3285b7e3
Fix coverage reporting to include all packages, not just those with tests
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 19:21:28 -07:00
Derek Nola
c833183517
Add unit tests for pkg/etcd ( #3549 )
...
* Created new etcd unit tests and testing support file
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-01 16:08:35 -07:00
Brad Davidson
4a6e87e5a2
Add user-facing change section to PR template
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 01:34:41 -07:00
Derek Nola
7242ce9316
Redux: Add Unit Test Coverage to CI ( #3524 )
...
* Added Github action to run unit tests and connect to Codecov
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-29 11:27:50 -07:00
Derek Nola
cf55712767
Revert "Add Unit Test Coverage to CI ( #3494 )" ( #3499 )
...
This reverts commit 216b3beaef
.
2021-06-23 12:40:13 -07:00
Derek Nola
216b3beaef
Add Unit Test Coverage to CI ( #3494 )
...
* Added Github action to run unit tests and connect to Codecov
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-23 09:21:59 -07:00
Akihiro Suda
5e0527f304
cgroup2 CI: add rootless
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-06-01 13:13:21 -07:00
Akihiro Suda
3cfa76fcbf
Add cgroup2 CI (Fedora on Vagrant on GHA)
...
Add `.github/workflows/cgroup2.yaml` for running Fedora on Vagrant on
GitHub Actions to test cgroup2 environment.
Only very basic smoke tests are executed, as Vagrant is too slow to run
the entire sonobuoy.
Relevant:
- kubernetes-sigs/kind PR 2017
- https://github.com/rootless-containers/usernetes/blob/v20210201.0/.github/workflows/main.yaml
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-05-05 15:53:47 -07:00
David Nuzik
c2eff9298c
Update bug_report.md language
2021-04-16 14:35:54 -07:00
David Nuzik
32bdd86e53
Update feature_request.md
...
Add html comments so that helper text is not shown when posting the feature request.
2021-04-16 14:29:44 -07:00
Jeremy Katz
b1a7161ccc
Add information on reporting security issues
...
Signed-off-by: Jeremy Katz <jeremy@tidelift.com>
2020-10-16 11:46:16 -07:00
Craig Jellick
f26785c0e2
Add guidance on PRs and git commits ( #2236 )
...
We need to make the expectations around git commits and the process for
pull requests more clear to contributors.
Signed-off-by: Craig Jellick <craig@rancher.com>
2020-09-11 12:46:21 -07:00
Brad Davidson
f608c62256
Update PR template to match RKE2
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-02 12:19:41 -07:00
Brian Downs
6fcec6aea9
Merge pull request #1754 from briandowns/add_pr_template
...
add pull request template
2020-08-03 09:25:39 -07:00
David Nuzik
f4947befbc
Merge pull request #1767 from davidnuzik/update-bug-template
...
Update GitHub bug_report template
2020-06-29 18:52:39 -07:00
David Nuzik
6c32700616
Update bug_report template
2020-06-29 18:16:35 -07:00
Craig Jellick
a3b8dcff4e
Don't require signing for org members
...
Signed-off-by: Craig Jellick <craig@rancher.com>
2020-06-29 11:26:06 -07:00
Brian Downs
58ad9b87be
Update .github/PULL_REQUEST_TEMPLATE.md
...
Co-authored-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2020-05-07 11:17:19 -07:00
Brian Downs
8a8b47e3e3
update template
2020-05-05 17:06:24 -07:00
Brian Downs
baf6205119
update template
2020-05-05 15:53:08 -07:00
Brian Downs
2744ea370c
Update .github/PULL_REQUEST_TEMPLATE.md
...
Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com>
2020-05-05 15:22:35 -07:00
Brian Downs
76087fc833
update template
2020-05-05 15:14:38 -07:00
Brian Downs
94e124cd23
add pull request template
2020-05-05 15:07:50 -07:00
David Nuzik
1c8124cc02
Ask more clearly for K3s args and logs
...
In the bug report template, more clearly ask the user for K3s arguments and logs
2020-03-13 15:24:19 -07:00
Craig Jellick
c671b07924
bug template update
...
Make the descriptions HTML comments so that they dont show up in the template
2019-10-30 14:30:29 -07:00
David Nuzik
77021adc2d
Update feature_request.md
...
Tweak the intro message portion.
2019-10-02 16:06:13 -07:00
David Nuzik
637e08c36c
Update bug_report.md
...
Tweak and make an addition to the bug report.
Remove request for screenshots.
2019-10-02 16:03:17 -07:00
Craig Jellick
65c40c64d8
Update issue templates
2019-02-27 10:02:11 -07:00
Craig Jellick
1ba0f2530a
Update issue templates
2019-02-27 09:42:19 -07:00