Jarek Kowalski
cbc66f936d
chore(ci): upgraded linter to 1.53.3 ( #3079 )
...
* chore(ci): upgraded linter to 1.53.3
This flagged a bunch of unused parameters, so the PR is larger than
usual, but 99% mechanical.
* separate lint CI task
* run Lint in separate CI
2023-06-18 13:26:01 -07:00
Jarek Kowalski
f9de453efc
chore(ci): disable dependabot and replace with Snyk ( #3017 )
...
We are not using dependabot to automatically upgrade our dependencies,
instead we will use Snyk to monitor our dependencies and alert us when
they need to be upgraded.
This should hopefully reduce the noise in our PR process.
2023-05-05 14:48:24 -07:00
Jarek Kowalski
a1eeeeadb3
fix(ci): don't auto-submit HomeBrew pull requests for testing releases ( #2951 )
...
Fixes #2928
2023-04-16 23:48:26 -07:00
Julio Lopez
efae8eee46
chore(infra): do not remove branches on stale workflow ( #2925 )
...
That requires repo content write access.
2023-04-11 19:27:40 -04:00
Julio Lopez
eac7d51371
deps(infra): upgrade actions/stale to v8 ( #2924 )
...
Also, specify 'stale' label
2023-04-11 19:16:13 -04:00
Julio Lopez
cfe352f9d5
build(infra): manage stale issues and pull requests ( #2916 )
2023-04-10 22:31:01 -04:00
Julio Lopez
8706239a9f
build(infra): checkout repo before setting up Go ( #2903 )
...
This way GH caching for Go packages has a chance to work.
See https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
* build(providers): checkout repo before setting up Go
* build(infra): checkout repo before setting up Go: apply to other workflows as well.
2023-04-07 17:22:05 -04:00
Julio Lopez
d5d150104f
chore(build): upgrade to Go 1.20 ( #2876 )
2023-03-31 07:58:37 -07:00
dependabot[bot]
5a25affd2a
build(deps): bump actions/setup-go from 3 to 4 ( #2841 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 04:45:19 +00:00
Jarek Kowalski
e6612977b7
feat(server): improved server shutdown and integration tests ( #2722 )
...
* feat(server): improved server shutdown and integration tests
Added `--shutdown-grace-period` flag to `kopia server start` command
which can be used to specify how long the server will wait for active
connections to finish before forcibly shutting down.
This allowed removal of final out-of-process execution of
during integration tests and the need for `integration-tests` target
which was running the same tests as `tests` but in out-of-process mode.
We thus now have all the test coverage in-process without having to
build and launch `kopia` binary.
* fixed logging
* increase test timeout
* speed up and/or parallelize longest-running tests
2023-02-01 22:19:32 -08:00
Jarek Kowalski
97d9420b59
chore(ci): auto-merge ( #2704 )
2023-01-23 06:56:04 +00:00
Jarek Kowalski
f0d237fadb
chore(ci): auto-merge dependabot PRs for golang.org/x/* ( #2699 )
2023-01-21 07:58:33 -08:00
Edward Betts
1e97574391
fix(general): correct spelling mistakes ( #2684 )
2023-01-21 07:37:15 -08:00
dependabot[bot]
b5dca25d52
build(deps): bump actions/dependency-review-action from 2 to 3 ( #2574 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 10:41:30 -08:00
Jarek Kowalski
f69424961f
chore(ci): upgrade golang to 1.19.2 and linter to 1.50.1 ( #2526 )
...
Lack of generics support is blocking various dependency upgrades,
so this unblocks that.
Temporarily disabled `checklocks` linter until it is fixed upstream.
2022-10-28 11:02:47 -07:00
Jarek Kowalski
a8b70d3b40
chore(ci): auto-approve Playwright updates. ( #2475 )
2022-10-01 19:43:05 -07:00
Jarek Kowalski
1755645b51
chore(ci): additional rules for auto-merge.yml ( #2406 )
2022-09-13 22:52:57 -07:00
Jarek Kowalski
51dcaa985d
chore(ci): upgraded linter to 1.48.0 ( #2294 )
...
Mechanically fixed all issues, added `lint-fix` make target.
2022-08-09 06:07:54 +00:00
dependabot[bot]
71ebf14de2
build(deps): bump actions/checkout from 2 to 3 ( #2241 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 14:48:01 -07:00
Julio Lopez
ce8c73c7df
Revert "build(deps): bump actions/checkout from 2 to 3 ( #2093 )" ( #2240 )
...
This reverts commit ab8793f845 .
2022-07-28 12:41:59 -07:00
dependabot[bot]
ab8793f845
build(deps): bump actions/checkout from 2 to 3 ( #2093 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 19:41:31 +00:00
Jarek Kowalski
f13ed089e2
chore(ci): auto-merge prometheus updates ( #2201 )
2022-07-15 21:04:04 -07:00
Jarek Kowalski
30c0aef795
chore(ci): increase dependabot PR concurrency limit ( #2198 )
2022-07-15 20:58:46 -07:00
Jarek Kowalski
8515d050e5
test(infra): improved support for in-process testing ( #2169 )
...
* feat(infra): improved support for in-process testing
* support for killing of a running server using simulated Ctrl-C
* support for overriding os.Stdin
* migrated many tests from the exe runner to in-process runner
* added required indirection when defining Envar() so we can later override it in tests
* refactored CLI runners by moving environment overrides to CLITestEnv
2022-07-09 18:22:50 -07:00
Jarek Kowalski
b5d416196a
chore(ci): updated auto-merge.yaml ( #2113 )
2022-07-01 18:29:34 -07:00
Jarek Kowalski
131af4190c
chore(ci): updated auto-merge rules ( #2105 )
2022-06-30 20:25:25 -07:00
Jarek Kowalski
e357b171bf
chore(ci): added auto-merge rules ( #2088 )
2022-06-25 08:54:34 -07:00
Jarek Kowalski
4c9a793002
chore(ci): auto-merge patch-level dependabot updates ( #2087 )
2022-06-25 00:03:32 -07:00
Jarek Kowalski
f1ffc0625c
chore(ci): temporarily disable ARMHF runners ( #2083 )
...
The docker images we used were discontinued upstream, we either need to:
* drop 32-bit ARM validation, keep publishing builds since they
are cross-compiled from AMD64 Linux anyway
* drop 32-bit ARM validation and releases altogether, looking at stats
there are only tiny amounts of 7-day active users who pull from the
APT repository
* find a replacement for this runner
2022-06-24 21:30:58 -07:00
dependabot[bot]
f9d73f7c7c
build(deps): bump actions/dependency-review-action from 1 to 2 ( #2067 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 00:34:04 -07:00
Julio Lopez
c6fba5468c
chore(deps): allow at least 2 open PR to reduce HoL blocking ( #2031 )
2022-06-10 22:29:49 -07:00
Julio Lopez
df3be1c503
chore(deps): update dependabot frequency for Go deps ( #2028 )
...
Allow more frequent update while limiting the number of open PRs to 1.
Similarly, for GHA deps.
2022-06-10 22:18:40 -07:00
Julio Lopez
511f4aa65d
chore(cli): minor metrics-related cleanups ( #1995 )
...
* stop ticker to release resources
* nit: fix typo
* nit: add new line at EOF
2022-05-31 14:04:01 -07:00
Jeremy Edwards
9167c08183
chore(ci): restrict GH actions for provider and stress tests to upstream repository. ( #1989 )
2022-05-29 02:27:04 +00:00
Jarek Kowalski
ebd8f113c6
chore(ci): set golang version explicitly to 1.18 ( #1952 )
...
We were unintentionally doing that because ^1.17 was pulling 1.18.x
2022-05-16 11:55:04 -07:00
Julio Lopez
8567db6c88
build(deps): bump docker actions from 1 to 2 ( #1947 )
...
* build(deps): bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 00:03:35 +00:00
Julio Lopez
81dd22f8ce
Dependency Review Action ( #1894 )
...
This Action will scan dependency manifest files that change as part of a Pull
Reqest, surfacing known-vulnerable versions of the packages declared or updated
in the PR. Once installed, if the workflow run is marked as required, PRs
introducing known-vulnerable packages will be blocked from merging.
Source repository: https://github.com/actions/dependency-review-action
Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
2022-04-19 06:57:34 +00:00
Julio Lopez
e1c74a5dab
build(deps): bump actions/download-artifact from 2 to 3 ( #1893 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 05:07:37 +00:00
Julio Lopez
4a59ce4165
build(deps): bump codecov/codecov-action from 2 to 3 ( #1891 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 06:32:06 +00:00
Julio Lopez
6fa621941f
build(deps): bump actions/upload-artifact from 2 to 3 ( #1889 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 23:05:08 +00:00
Julio Lopez
83bc416aeb
build(deps): bump actions/setup-go from 2 to 3 ( #1888 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 22:25:48 +00:00
Jarek Kowalski
766cb57160
feat(ci): automatically bump homebrew version on tag ( #1807 )
2022-03-06 21:44:13 -08:00
dependabot[bot]
c7ccf4c79d
build(deps): bump actions/checkout from 2 to 3 ( #1782 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 21:22:55 -08:00
Jarek Kowalski
a48e24e693
feat(providers): add Google Drive support ( #1731 )
...
* feat(provider): Add Google Drive support.
Co-authored-by: xkxx <xkxx@users.noreply.github.com >
Co-authored-by: xkxx <xkxiang@gmail.com >
2022-02-16 22:34:48 -08:00
Jarek Kowalski
aa6f9b17df
build(ci): auto-cancel previous workflows on the same branch ( #1747 )
2022-02-11 18:21:11 -08:00
Jarek Kowalski
90df511609
fix(snapshots): treat empty retention policy as retaining ALL, not NONE ( #1733 )
...
This is a safety measure which addresses P0 improvement for #1732 .
Given that retention policies that retain nothing make no sense, this
is not considered a breaking change.
2022-02-07 11:40:27 -08:00
Jarek Kowalski
09c1489be4
fix(ci): add rclone binaries to the list of artifacts ( #1719 )
2022-02-02 21:53:39 -08:00
Jarek Kowalski
f404806557
fix(ci): fixed linter issue, do not ignore in workflow ( #1687 )
2022-01-29 08:15:24 -08:00
Jarek Kowalski
9cad0edb53
test(ui): added end-to-end HTML UI test ( #1686 )
...
* test(general): refactored parsing of server output
* test(ui): added experimental end-to-end test using chromedp
2022-01-29 01:34:45 -08:00
Jarek Kowalski
16ffe7b5a2
fix(provider): fixed b2 provider failure ( #1685 )
...
There was a small regression in #1654 - only in negative tests.
Also removed unnecessary retries on ErrUnsupportedPutBlobOption
+ switched provider test to run once per day, instead of 12 times/day.
2022-01-28 23:19:52 -08:00