Commit Graph

77 Commits (09ff73b9a728580290b782419771e747c275c8e4)

Author SHA1 Message Date
dependabot[bot] 8653d6582c
build(deps): Bump golangci/golangci-lint-action from 6.2.0 to 6.3.2
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.2.0 to 6.3.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](ec5d18412c...051d919338)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 14:59:11 +00:00
Benjamin Wang 74ae007bde
Merge pull request #887 from etcd-io/dependabot/github_actions/actions/stale-9.1.0
build(deps): Bump actions/stale from 9.0.0 to 9.1.0
2025-01-27 16:24:06 +00:00
dependabot[bot] 539c45600b
build(deps): Bump actions/setup-go from 5.2.0 to 5.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...f111f3307d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:39:11 +00:00
dependabot[bot] b61058275c
build(deps): Bump actions/stale from 9.0.0 to 9.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](28ca103628...5bef64f19d)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:39:07 +00:00
dependabot[bot] 41a1050ba3
build(deps): Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](971e284b60...ec5d18412c)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 14:30:54 +00:00
dependabot[bot] 52699ce8fa
build(deps): Bump actions/setup-go from 5.1.0 to 5.2.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](41dfa10bad...3041bf56c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 14:48:37 +00:00
Benjamin Wang 665d3a0e16
Merge pull request #846 from etcd-io/dependabot/github_actions/actions/setup-go-5.1.0
build(deps): Bump actions/setup-go from 5.0.2 to 5.1.0
2024-10-31 14:21:31 +00:00
dependabot[bot] 3ab9912297 build(deps): Bump actions/setup-go from 5.0.2 to 5.1.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0a12ed9d6a...41dfa10bad)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 08:49:22 +00:00
dependabot[bot] 62dd113a38 build(deps): Bump actions/checkout from 4.2.1 to 4.2.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 08:47:54 +00:00
Ivan Valdes a1d8a84c24
github/workflows: remove arm64 robustness tests jobs
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-10-29 09:40:03 -07:00
Ivan Valdes 67826a9c2c
github/workflows: remove arm64 jobs
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-10-24 10:34:28 -07:00
dependabot[bot] 811e7a1826
build(deps): Bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 14:59:24 +00:00
Ivan Valdes ed9a15fb47
github: enable ok-to-test for release-1.3 PRs
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-10-08 10:58:12 -07:00
dependabot[bot] a00ee97797
build(deps): Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](aaa42aa062...971e284b60)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 14:28:33 +00:00
Agni bb993663a7 Bump go version to 1.23.2
Signed-off-by: Agni <bhattacharyya.agni@gmail.com>
2024-10-03 00:01:40 +05:30
dependabot[bot] 7b2154f466
build(deps): Bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 14:09:43 +00:00
Chun-Hung Tseng 406670b70e Update golangci-lint to v1.60.1
Reference:
- https://github.com/golangci/golangci-lint/releases/tag/v1.60.1

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-15 00:28:10 +02:00
Jeffrey Sica 4272a9c897
Update GitHub runners to use ubuntu-latest since they have nested virt (#811)
* update github runners to use ubuntu-latest since they are 4c and have nested virt

Signed-off-by: Jeffrey Sica <me@jeefy.dev>
2024-08-07 14:53:55 +01:00
dependabot[bot] 6f8410bbb0
build(deps): Bump actions/setup-go from 5.0.0 to 5.0.2
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...0a12ed9d6a)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 20:38:04 +00:00
Benjamin Wang 7b6185ae2c
Merge pull request #807 from etcd-io/dependabot/github_actions/actions/checkout-4.1.7
build(deps): Bump actions/checkout from 4.1.1 to 4.1.7
2024-08-05 21:37:09 +01:00
dependabot[bot] 8a64275c92
build(deps): Bump actions/checkout from 4.1.1 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:44:48 +00:00
dependabot[bot] 6f4e0e5c5c
build(deps): Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:44:44 +00:00
Ivan Valdes 83aba89820
github/workflows: set top-level file permissions
The gh-workflow-approve and tests_windows actions didnt't specify
top-level permissions. This is an improvement towards having a better
OpenSSF Scorecard Report score.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-08-02 10:38:44 -07:00
Benjamin Wang b87f244ec2
Merge pull request #801 from ivanvc/pin-github-action-dependencies
github/workflows: pin dependency versions
2024-07-31 09:28:59 +01:00
Ivan Valdes 5378ea12fd
github/workflows: pin dependency versions
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-07-30 08:58:49 -07:00
Thomas Jungblut 2f15c08377 add nightly benchmark
This should ensure we don't creep little percentages over the course of
multiple commits into main, compared to the last release branch.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-07-23 09:42:08 +02:00
Manuel Rüger ac4f75514d
Add benchmark tooling
This adds benchmarking using cmd/bbolt's bench, inspired on what it's
used in kube-state-matrics.

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Ivan Valdes <ivan@vald.es>

wip

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-06-27 15:26:58 -07:00
dependabot[bot] c4c4fbda3c
build(deps): Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.3.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](38e1018663...a4f60bb28d)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 14:55:17 +00:00
Ivan Valdes 2064324161
github/workflows: don't run race tests on user forks
Race tests require a larger instance size, which user forks cannot
access. By not running them on user forks, contributors won't be
notified that their builds are failing due to timeouts trying to run the
job, while the tests will still run on etcd-io/bbolt pull requests and
commits.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-08 17:42:08 -04:00
dependabot[bot] a045cf50c9
build(deps): Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](82d40c283a...38e1018663)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 14:26:17 +00:00
Ivan Valdes 06d4621c8f
github/workflows: skip robustness tests in forks
Robustness tests require a larger instance size, which user forks cannot
access. It also tries to trigger an ARM64 build that runs on actuated
infrastructure. By not running them on user forks, contributors won't be
notified that their builds are failing due to timeouts trying to run the
job, while the tests will still run on etcd-io/bbolt pull requests and
commits.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-30 06:28:56 -07:00
dependabot[bot] 4936519f3a
build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3cfe3a4abb...82d40c283a)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:17:11 +00:00
Cenk Altı b21ea719bc
Add workflow to close stale issues and PRs
Signed-off-by: Cenk Altı <cenkalti@gmail.com>

Update .github/workflows/stale.yaml

Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2024-04-15 11:16:22 -04:00
Thomas Jungblut c27eedcf80 Add basic XFS powerfailure tests
This also introduces mkfs options, in case we need to accomodate for
non-default parameters here in the future.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-03-13 10:18:52 +01:00
dependabot[bot] d17ee55b7a
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3a91952989...3cfe3a4abb)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 14:12:44 +00:00
Wei Fu 32f6f6646f .github: enable robustness on arm64
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-04 21:35:20 +08:00
Wei Fu 68ab1a1207 *: run test-robustness with build
Add new recipe to build bbolt command so that we can ensure that
test-robustness recipe is using bbolt with gofail.

Since test-robustness requires root, move `sudo` into test-robustness
recipe. Otherwise, both bbolt binary and gofail code belongs to root
user.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-04 19:19:03 +08:00
Wei Fu c61a3be3e8 *: introduce nightly run for robustness
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-02 21:29:51 +08:00
James Blair 2cd6213e4a
Remove workflow telemetry to reduce noise.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:14:03 +13:00
James Blair 53450a9f2b
Fix yamllint errors in workflow files.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:12:31 +13:00
James Blair 7cab486ea2
Reduce arm64 runner memory allocation to 8GB.
Based on memory consumption statistics for historic runs.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-28 09:09:23 +13:00
dependabot[bot] 70aa6e651d
build(deps): Bump actions/github-script from 6.4.1 to 7.0.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](d7906e4ad0...60a0d83039)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 14:30:46 +00:00
Ivan Valdes a9cde4d6c8
github actions: add workflow telemetry to collect metrics
Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-12-16 13:34:38 -08:00
Ivan Valdes 82cf0eda8c
github workflow: enable workflow approval
Allow to run GitHub workflows for Pull Requests that have the ok-to-test
label.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-12-12 10:06:49 -08:00
dependabot[bot] 5ff325a6a3
build(deps): Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 14:46:21 +00:00
Wei Fu 300e72ab8a tests/robustness: init with powerfailure case
Add `Robustness Test` pipeline for robustness test cases.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-08 09:48:57 +08:00
Wei Fu b05bec2fe3 tests/*: introduce go-dmflakey
This commit is to add go-binding for go-dmflakey. It's used to simulate
powerfailure with common filesystems.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-07 08:55:33 +08:00
Ivan Valdes 607a0c3d08
github workflow: only run arm64 for etcd-io/bbolt
Skip running arm64 jobs that use actuated's runners for commits done in
forked repositories. These jobs will not run and eventually fail in
GitHub actions.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-21 10:08:19 -08:00
Ivan Valdes a7cb1eeffe
github wokflow: use large runner for race tests
Remove the resource limits from `GOGC`, and set the GitHub workflow to
run on a large runners for race tests (ubuntu 8 cores for amd64 and
coverage tests; actuated 8 cores for arm64).

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-17 11:51:27 -08:00
Mustafa Elbehery f62e83b46d refactor goversion into one location
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2023-11-13 15:38:10 +01:00