Commit Graph

271 Commits

Author SHA1 Message Date
ndom91
2adf5f50dd
fix: cleanup GHA 2024-05-05 18:51:14 +02:00
Nico Domino
a0d6deb4a7
Merge branch 'master' into ndom91/add-playwright-test 2024-05-05 18:48:08 +02:00
Kiril Videlov
539ba983b3 add cli crate to ci jobs 2024-05-04 11:31:28 +02:00
ndom91
01e8a4d28d
chore: WIP 2024-05-02 14:55:41 +02:00
Josh Junon
77fbe558cc
only build gitbutler-git bins if testing 2024-05-02 13:07:33 +02:00
Josh Junon
bce6e48de8
init the rust env on windows check, too 2024-05-02 13:03:29 +02:00
Josh Junon
4625189cb9
remove use of cache 2024-05-02 13:00:25 +02:00
Josh Junon
6ae4f91ecc
eliminate rust-init step in CI 2024-05-02 12:52:44 +02:00
Kiril Videlov
ab4fae2c27
revert changes to windows version in ci 2024-05-02 10:47:28 +02:00
Kiril Videlov
59ade99566
update CI runners
macos-latest is no longer x86, specifying 13 in order to have x86 builds back
2024-05-02 09:59:08 +02:00
Sebastian Thiel
29525ffd03
address review comments
- rename feature to `windows`
- remove unused config key from `Cargo.toml`, unfortunately `cfg` isn't available for everything
- make sure feature is toggled on on CI when checking and when publishing
2024-04-25 11:29:24 +02:00
Josh Junon
f92c94ff46 build gitbutler-git binaries prior to tests 2024-04-24 16:13:05 +02:00
Josh Junon
e598962eaf
upload windows aux artifacts 2024-04-23 11:20:34 +02:00
Josh Junon
b43fd0849b
run all tests on any workflow/actions change 2024-04-18 15:03:13 +02:00
Josh Junon
597dcb3f1e
fix tests not running for core 2024-04-18 14:54:08 +02:00
Josh Junon
8ac5865046
Merge pull request #3550 from Byron/fix-win-build
fix build on Windows
2024-04-18 14:36:06 +02:00
Sebastian Thiel
300a90f3cb
let CI run cargo check on the workspace on Windows
That way, we will catch basic breakage early.
2024-04-18 14:34:02 +02:00
Josh Junon
3aea922afc
switch tokens to Josh 2024-04-18 14:05:45 +02:00
Josh Junon
99c6710f1a
Merge pull request #3528 from gitbutlerapp/clear-artifacts-on-sign
clear old artifacts on signing machine
2024-04-16 16:58:04 +02:00
Josh Junon
a9c6fa7618
clear old artifacts on signing machine 2024-04-16 16:57:15 +02:00
Josh Junon
039378cdb7
Merge pull request #3526 from gitbutlerapp/fix-devtools-feature
fix devtools on release builds
2024-04-16 16:56:15 +02:00
Josh Junon
fa06586cdf
fix devtools on release builds 2024-04-16 16:43:22 +02:00
Josh Junon
2754330a4a
normalize S3 paths, enable additional signature on windows, and include updater bundles 2024-04-16 16:22:16 +02:00
Josh Junon
2fbded31f7
upload *.sig to s3 when publishing 2024-04-16 14:42:08 +02:00
Josh Junon
18e85583f0
prune S3 upload file tree 2024-04-11 16:04:22 +02:00
Josh Junon
c71f89cddd
append run number to artifact bin name 2024-04-11 14:05:44 +02:00
Josh Junon
401a5367e7
fix spaces in signed files 2024-04-11 14:04:39 +02:00
Josh Junon
d3fd4ed69f
use artifacts to transfer version number 2024-04-09 23:40:49 +02:00
Josh Junon
53d2dd6691
add runs-on to publish step and also pull the source with the PAT 2024-04-09 23:12:59 +02:00
Josh Junon
5d1ed2db38
re-introduce publishing step after signing 2024-04-09 23:07:50 +02:00
Josh Junon
27be3c92aa
remove if statement for signing step entirely 2024-04-09 22:39:41 +02:00
Josh Junon
9262cf973e
copy over the matrix from the first step into each of the steps 2024-04-09 22:38:05 +02:00
Josh Junon
bf8ee4fb63
use find to get paths to MSIs to sign 2024-04-09 22:11:20 +02:00
Josh Junon
b95ad73ac6
name artifacts by name of channel and platform 2024-04-09 21:45:59 +02:00
Josh Junon
4b25af0a54
error if no files are available for upload, and overwrite after signing 2024-04-09 21:20:16 +02:00
Josh Junon
d72e76efda
use upload/download artifacts v4 2024-04-09 21:18:45 +02:00
Josh Junon
dac3805cb5
fix needs clause in signing job 2024-04-09 21:05:26 +02:00
Josh Junon
fb7ee674c8
comment out release reporting 2024-04-09 20:57:46 +02:00
Josh Junon
b36c4ce5e1
add release signing 2024-04-09 20:53:20 +02:00
Josh Junon
59af2953cd
update config to refer to new crate structure 2024-04-04 12:09:12 +02:00
Kiril Videlov
3d831c8527 fix: ci for gitbutler-core
testing shit
2024-03-31 00:21:13 +01:00
Sebastian Thiel
37efc8bc94
Assure CI will build the new core as well 2024-03-30 22:48:08 +01:00
Sebastian Thiel
63f75c956e
assure CI runs the new library crate 2024-03-30 15:16:12 +01:00
Sebastian Thiel
8760973611
Use GITBUTLER_TESTS_NO_CLEANUP on CI for max performance.
Without it, CI would have reduced performance compared to how
it worked previously. As it's wiped at the end of each run,
there is no reason to leave the added performance on the table
by not removing our own files.
2024-03-29 07:56:01 +01:00
Mattias Granlund
2497ec633d Run dependabot for npm every week
- mainly because posthog seems to be making breaking changes quite frequently
2024-03-27 19:23:07 +01:00
Kiril Videlov
b36b746e6a
dependabot re-enable
This makes a no-op change to dependabot.yml to force Dependabot to re-evaluate the config file.
2024-03-27 18:51:47 +01:00
Josh Junon
9ebdd2f4ed
Merge pull request #3323 from gitbutlerapp/simpler-clippy
Simpler clippy
2024-03-25 23:14:12 +01:00
Josh Junon
0f964a787c
don't run ci twice per pull request 2024-03-25 23:09:51 +01:00
Josh Junon
1dfdc2c1a2
make clippy deny warnings in CI 2024-03-25 23:01:01 +01:00
Josh Junon
0e9a84168a
remove additional features from changeset CI 2024-03-25 22:50:37 +01:00
Josh Junon
f803dd4de3
only set the first perl that we find instead of all that are on PATH 2024-03-22 00:30:18 +01:00
Josh Junon
5a04dac58f
ser PERL env from powershell instead of bash 2024-03-22 00:25:19 +01:00
Josh Junon
1e0e650075
set PERL env for openssl build 2024-03-22 00:18:44 +01:00
Josh Junon
4ed54ce9d6
remove extra checkout step from windows publish action 2024-03-21 23:39:20 +01:00
Josh Junon
9070873212
replace Perl installation with strawberry on windows 2024-03-21 23:33:57 +01:00
Josh Junon
8742885474
install CPAN module on windows in release action 2024-03-21 23:15:42 +01:00
Josh Junon
0224daa2f1
don't specify shell for 'uses' action 2024-03-21 22:53:12 +01:00
Josh Junon
2a013b0369
initial attempt at windows bundling for nightly 2024-03-21 22:40:41 +01:00
Josh Junon
bd288f92ca refactor gitbutler-git to be cli-only and allow prompt handlers 2024-03-19 08:25:57 +01:00
Josh Junon
b9e55c3142 fix reverted allowed skips configuration 2024-03-18 16:56:03 +01:00
Josh Junon
52334a2724 remove core crate in favor of more granule crates 2024-03-18 15:06:40 +01:00
Josh Junon
0468a6f48c
unconditionally check all skipped jobs 2024-03-14 19:46:46 +01:00
Josh Junon
b108708c1a remove extraneous comment 2024-03-14 16:47:47 +01:00
Olena
76e1803eff Integrate alls-green in rust-check job to improve status checks
This patch integrates alls-green, that checks whether all dependency jobs
have passed successfully. This change also simplifies the CI setup by
requiring only the rust-check job for status checks.

Resolves #2848
2024-03-09 23:46:56 +02:00
Josh Junon
73faf32b29 automatically create gitbutler-ui/build 2024-03-01 13:00:31 +01:00
Josh Junon
5c88e3db89
remove gitbutler-git from builds 2024-02-29 15:44:07 +01:00
Josh Junon
c9b185f7f4 rename gitbutler-diff to gitbutler-changeset 2024-02-29 13:27:19 +01:00
Josh Junon
8e0ef27de8 fix remote repo in gitbutler-git tests 2024-02-08 17:03:37 +01:00
Josh Junon
1cc354321d update dependabot schedule and grouping 2024-02-07 12:42:21 +01:00
Josh Junon
a2cc3ea2f3 trigger CI on pull_request in addition to push 2024-02-06 23:12:43 +01:00
dependabot[bot]
e91bd7e605
Bump dorny/paths-filter from 2 to 3
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 15:23:08 +00:00
Josh Junon
ee4ad9c743 fix doc references and test docs in CI 2024-01-25 19:49:18 +01:00
Kiril Videlov
ea5e794b68 fix ci linux deps 2024-01-24 00:56:43 +01:00
Kiril Videlov
7d667e3265 ci linux dependencies 2024-01-23 22:26:30 +01:00
Kiril Videlov
14fd810a54 include gtk dependencies 2024-01-23 22:07:44 +01:00
Josh Junon
29a6715544 fix dependabot major version ignore rules 2024-01-20 00:58:25 +01:00
Josh Junon
c87f33e765 ignore major updates entirely 2024-01-19 18:42:12 +01:00
Josh Junon
97b9bc9526 use a unified cache instead of restore keys 2024-01-19 18:37:53 +01:00
Josh Junon
becffb1a29 use better names for groups 2024-01-19 18:32:24 +01:00
Josh Junon
7f0dfe81ff disable dependabot for majors 2024-01-19 18:24:42 +01:00
Josh Junon
33b0d4e6f6 group npm dependencies by major/minor/patch 2024-01-19 18:16:29 +01:00
Josh Junon
783b8c588b revert cargo dependabot updates back to weekly and use groups instead 2024-01-19 18:03:10 +01:00
Josh Junon
bc00ec8701 change dependabot checks for rust to submit PRs monthly instead of weekly 2024-01-19 17:58:05 +01:00
Josh Junon
80ccc8d453 pass —all-targets to cargo test in crate check 2024-01-19 17:53:28 +01:00
Josh Junon
d2589601f3 use more advanced filters to better cull unrelated files and clean up filters 2024-01-19 17:50:52 +01:00
Josh Junon
a9a8276d7e add matrix-based CI config for core libs 2024-01-19 17:25:49 +01:00
Josh Junon
5af679b20f add a few more config types to the workflows run 2024-01-18 17:44:12 +01:00
Josh Junon
6471696108 add core libs to push changes workflow 2024-01-18 17:22:50 +01:00
Josh Junon
bf607c0029 add core gitbutler-git crate 2024-01-17 16:21:21 +01:00
Josh Junon
fe8c3e0615 remove cargo-sort check from CI 2024-01-17 15:35:17 +01:00
Kiril Videlov
2f2f2b5eba Revert "Revert "remove sentry api key from source code""
This reverts commit 72e6df813f.
2024-01-10 10:48:19 +01:00
Kiril Videlov
72e6df813f Revert "remove sentry api key from source code"
This reverts commit 4417510d55.
Seems broken
2024-01-10 02:03:24 +01:00
Nikita Galaiko
4417510d55 remove sentry api key from source code 2024-01-09 09:59:19 +01:00
Josh Junon
e7074284f7 add gitbutler-core to GA glob 2023-12-28 15:23:15 +01:00
Josh Junon
0e33410ed4 update configuration to reflect new paths 2023-12-22 14:22:54 +01:00
josh@gitbutler.com
dc06dadb10 add rust-toolchain.toml file 2023-12-11 11:09:19 +01:00
Nikita Galaiko
ee53b09a61 replace cranky with new clippy 2023-11-24 09:03:04 +01:00
Nikita Galaiko
0868c8a2b9
drop udeps - it's too slow 2023-11-13 16:59:13 +01:00
Nikita Galaiko
b10d001309
ci speedup rust check 2023-11-09 14:04:35 +01:00
Mattias Granlund
fb7a327cef Remove stories from github actions and readme 2023-11-01 11:47:00 +01:00