Commit Graph

236 Commits

Author SHA1 Message Date
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
Nikita Galaiko
8baa4194bf use hosted macOs, arm64 2023-10-30 09:53:07 +01:00
Nikita Galaiko
c4a04cf5d5 🔨 chore: update GitHub Actions workflow permissions and add custom token for pushing tags 2023-10-20 13:32:11 +02:00
Nikita Galaiko
9277f4a8de 🔨 chore: update permissions for tag manipulation in publish-tauri job 2023-10-20 13:16:13 +02:00
Nikita Galaiko
866a9652b7 🔨 chore: add write permission to contents in GitHub Actions workflow 2023-10-20 13:05:17 +02:00
Nikita Galaiko
6c2c860f2d 🔨 chore: update tag creation process to handle existing tags gracefully 2023-10-20 12:49:18 +02:00
Nikita Galaiko
3868de6c18 fix: update TAG_NAME format in release job 2023-10-20 11:10:02 +02:00
Nikita Galaiko
dfab6e1263 chore: update release workflow to include tagging of releases
- Added a step to tag the release with the format "channel::version"
- If the tag already exists, it is deleted and then recreated
2023-10-20 11:09:15 +02:00
Nikita Galaiko
b5b531aff8 fix condition for berlin runner 2023-10-19 14:30:35 +02:00
Nikita Galaiko
e50651d28f rename step 2023-10-19 13:08:08 +02:00
Nikita Galaiko
2271aa3a21 merged upstream 2023-10-19 12:50:31 +02:00
Nikita Galaiko
1943590e7b fixbup 2023-10-19 12:50:24 +02:00
Nikita Galaiko
5f1f5298d4 do not cache node in berlin 2023-10-19 12:46:28 +02:00
Nikita Galaiko
cd6acd6a47 🔨 chore: update Rust test and check workflows 2023-10-19 10:44:26 +02:00
Nikita Galaiko
e5f928cea6 do not cache rust in berlin 2023-10-19 10:03:50 +02:00
extrawurst
eb569b389c * cleanup combined bin/lib in gitbutler
* gitbutler as a lib is `gblib` now and used accordingly by `butler`
* use `cargo-cranky` for shared lints across workspace until cargo supports Cargo.toml lints section in 1.75
2023-10-18 16:39:14 +02:00
extrawurst
c5f5dc015f
check unused dependencies in ci (#1406)
also
* remove unused `sentry-rust-minidump`
* use maintained rust toolchain github action
* make `init-env-rust` parameterized to allow picking `nightly`
2023-10-18 12:52:37 +02:00
Nikita Galaiko
eb17137bf2 make clippy check test code 2023-10-13 14:54:44 +02:00
Nikita Galaiko
295e29474a feat: add support for APPLE_TEAM_ID environment variable in signing process
The changes include:
- Added support for `--apple-team-id` flag in the command line interface
- Added check for `APPLE_TEAM_ID` environment variable in the script
- Updated help text to include `--apple-team-id` flag
- Updated GitHub Actions workflow to include `--apple-team-id` flag in the command
2023-10-09 09:06:28 +02:00
Nikita Galaiko
148b290b0c chore: update package-ecosystem directory for cargo to root directory 2023-10-05 10:32:47 +02:00
Nikita Galaiko
af09d2074e chore: update gpg import action to version 6 2023-09-28 10:37:18 +02:00
Mattias Granlund
922c3fd12f Fix GH action node detection for CI
- s/node/ui
2023-09-14 13:54:59 +02:00
Nikita Galaiko
0404c1e0ff fixup for publish.yaml 2023-09-14 09:40:39 +02:00
Nikita Galaiko
8bec547ebd rename to rust / node 2023-09-14 09:30:38 +02:00
Nikita Galaiko
c5d44b7cb9 checkout for changes 2023-09-14 09:21:20 +02:00
Nikita Galaiko
88f42ac596 filter on jobs level 2023-09-14 09:16:00 +02:00
Nikita Galaiko
b8c128d623 rm init-env 2023-09-14 09:05:12 +02:00
Nikita Galaiko
ee9c656346 checkout before init 2023-09-14 08:56:12 +02:00
Nikita Galaiko
e6b281cf5f refactor actions 2023-09-14 08:54:23 +02:00
Nikita Galaiko
1750949e80 fix github action conditions 2023-09-14 08:28:55 +02:00
Nikita Galaiko
7c3a3af9f6 ensure cargo deps are sorted 2023-09-14 08:20:53 +02:00
Nikita Galaiko
ed2d126d8c bumps 2023-09-07 13:48:04 +02:00
Nikita Galaiko
746e8ccabc
new structure 2023-09-06 11:47:35 +02:00
Nikita Galaiko
61c6e1ef99 git config for publish 2023-08-31 10:07:37 +02:00
Mattias Granlund
0b8d7a5eda Force https over ssh in ci
- auth fails withou ssh key, even for public repos
2023-08-28 21:43:49 +01:00
Mattias Granlund
c2c8113c66 Include butler in CI backend detection 2023-08-21 16:32:50 +01:00
Mattias Granlund
b14f2ddde9 Fix CI composite action output values 2023-08-17 22:13:59 +01:00
Mattias Granlund
65ef3522ab Forgot to add these if statements to ci actions 2023-08-17 22:13:59 +01:00
Mattias Granlund
e3bc5d7ef1 Filter github actions in a more granular way 2023-08-17 20:20:38 +01:00
Mattias Granlund
8b22246206 Use composite actions in push.yaml
- to use cache effectively we need a re-usable node setup
2023-08-17 20:20:38 +01:00
Mattias Granlund
068a8c4ce8 Upgrade pnpm v7 -> v8 in ci 2023-08-17 09:00:32 +01:00
Nikita Galaiko
2cc6ae6d99 final touches 2023-08-03 12:31:05 +00:00
Nikita Galaiko
0b1809cb5d more tests 2023-08-03 12:31:05 +00:00
Nikita Galaiko
9b7c3eea7f do not cache linux deps 2023-08-03 12:31:05 +00:00
Nikita Galaiko
b35e54f144 run test env 2023-08-03 12:31:05 +00:00
Nikita Galaiko
95611577d6 fix condition 2023-08-03 12:31:05 +00:00
Nikita Galaiko
a1c5c6e1dd uninstall homebrew from github runners 2023-08-03 12:31:05 +00:00
Nikita Galaiko
b64bffa45e use github for ubuntu x86 2023-08-03 06:52:38 +00:00
Nikita Galaiko
94febd6c6b do not apt on selfhosted arm64 2023-08-03 06:52:38 +00:00
Nikita Galaiko
2ece0c32c1 more specific runners description 2023-08-03 06:52:38 +00:00
Nikita Galaiko
95f590a68b use an older ubuntu image 2023-08-01 11:38:01 +00:00
Nikita Galaiko
c4b7112f5b sign appimage 2023-08-01 11:38:01 +00:00
Mattias Granlund
930abe4e48 Fix ts/svelte linting 2023-07-31 13:13:52 +01:00
Kiril Videlov
13d03e0653 make sure we test in ci with locked cardo deps 2023-07-25 19:34:07 +02:00
Scott Chacon
338d8c753d so dumb 2023-07-21 17:15:31 +02:00
Scott Chacon
265f8ba43d revert to github runners 2023-07-21 16:47:34 +02:00
Scott Chacon
acecda995e try testing on self-hosted 2023-07-21 15:40:53 +02:00
nikita@galaiko.rocks
4b38e8b75d fix actions condition 2023-07-18 12:59:45 +02:00
nikita@galaiko.rocks
a837895a86 do not cache pnpm in berlin 2023-07-18 10:27:54 +02:00
Nikita Galaiko
a985bc9769 set bump type inside the pipeline 2023-07-17 08:07:11 +02:00
Nikita Galaiko
1b5525fd8e separate builds by channel inside the s3 bucket 2023-07-17 08:07:11 +02:00
Nikita Galaiko
4dc5f66873 rm channel from s3 dist 2023-07-14 14:14:30 +02:00
Nikita Galaiko
4d343b4849 fix nightly action 2023-07-14 13:09:00 +02:00
Nikita Galaiko
556db1290d nightly builds 2023-07-14 13:06:22 +02:00
Nikita Galaiko
c16b772739 do not cache rust on aarch 2023-07-14 08:53:11 +02:00
Kiril Videlov
af32173fdd only run rust checks if rust code changed 2023-07-13 16:08:20 +02:00
Mattias Granlund
d0665739c2 Lint only changed files in CI
We can use `git diff --names-only` to get a list of files changed
between two revisions. The purpose is to stop lint errors from
untouched files showing up in code review.
2023-07-07 11:46:14 +02:00
Kiril Videlov
5e4136591a test frontend in ci too 2023-06-22 14:42:44 +02:00
Nikita Galaiko
ede366f13e gh actions: override rust 2023-06-02 14:31:35 +02:00
Nikita Galaiko
61bdfef94d lint and check run on push 2023-05-31 10:52:07 +02:00
Nikita Galaiko
df01f0ce49 run apt-get update in actions 2023-05-16 13:20:04 +02:00
Nikita Galaiko
c182d4785c build story book 2023-05-12 12:34:31 +02:00
Nikita Galaiko
dc2315b56f configure dependabot [2] 2023-05-08 15:10:55 +02:00
Nikita Galaiko
6736bf2154 configure dependabot 2023-05-08 15:04:23 +02:00
Kiril Videlov
5fb947421a removing chromatic 2023-04-05 21:09:34 +02:00
Nikita Galaiko
94967bae47 sotrybook script things 2023-03-31 12:13:03 +02:00
Kiril Videlov
d599875eea chromatic ci 2023-03-28 17:48:23 +02:00
Nikita Galaiko
8827e9f91a try another rust cache action 2023-03-28 15:44:59 +02:00
Nikita Galaiko
9347df2ce0 try speed up rust tests 2023-03-28 14:59:37 +02:00
Nikita Galaiko
28a4a111af send sha when releasing 2023-03-23 08:00:27 +01:00
Nikita Galaiko
5db47c7b66
enable non-m1 builds 2023-03-17 07:53:53 +01:00
Nikita Galaiko
6cfc25c2f2
split int & check actions 2023-03-07 17:11:49 +01:00
Nikita Galaiko
c0a85d91b8
cache pnpm deps 2023-02-28 09:25:41 +01:00
Nikita Galaiko
d60d859383
cache rust deps when publishing 2023-02-28 09:25:41 +01:00
Nikita Galaiko
9126a72e66
speed up test action 2023-02-28 09:25:40 +01:00
Nikita Galaiko
db2d53ca3b
do not run lint on test step 2023-02-27 12:47:57 +01:00
Nikita Galaiko
210f2d27da
run lint separately 2023-02-27 10:51:05 +01:00
Nikita Galaiko
5fde45a916
lint and check frontend on push 2023-02-24 11:01:23 +01:00
Nikita Galaiko
b7677ca75f
fail if curl fails 2023-02-20 17:13:49 +01:00
Nikita Galaiko
f77ab8a74b
Revert "hardcode release dir"
This reverts commit 7467b96c2e.
2023-02-20 16:17:02 +01:00
Nikita Galaiko
7467b96c2e
hardcode release dir 2023-02-20 16:06:13 +01:00
Nikita Galaiko
558bd5b997
read input from event 2023-02-20 15:21:27 +01:00
Nikita Galaiko
390bb40ced
add github run only when pushing version to s3 and server 2023-02-20 15:08:52 +01:00
Nikita Galaiko
1706653085
fix input variable syntax [2] 2023-02-20 14:57:58 +01:00
Nikita Galaiko
2dae707096
fix input variable syntax 2023-02-20 14:54:33 +01:00
Nikita Galaiko
38a5705066
build before test 2023-02-20 14:42:06 +01:00
Nikita Galaiko
e311f44886
install _all_ dependencies 2023-02-20 14:29:10 +01:00
Nikita Galaiko
facb584858
install libjavascriptcoregtk-4.0-dev for tests 2023-02-20 14:21:49 +01:00
Nikita Galaiko
139686859f
install libsoup2.4-dev for tests 2023-02-20 14:14:45 +01:00
Nikita Galaiko
ca6ce1ea97
cache deps 2023-02-20 14:14:28 +01:00
Nikita Galaiko
4c20988c03
fix pipeline 2023-02-20 14:06:04 +01:00
Nikita Galaiko
1904e83086
install missing tests dep 2023-02-20 14:04:26 +01:00
Nikita Galaiko
f21fc69170
run tests on push 2023-02-20 13:12:24 +01:00
Nikita Galaiko
95cd818a3f
sort release types to prevent accidental deployment 2023-02-17 16:14:39 +01:00
Nikita Galaiko
b1d6c2fee3 dynamic release versioning 2023-02-17 16:09:24 +01:00
Nikita Galaiko
928b94a031 do semver 2023-02-17 16:09:24 +01:00
Nikita Galaiko
df950a5608
s3 upload (#14)
Automatically build on build branch, upload to S3 and tell the server.

---------

Co-authored-by: Scott Chacon <schacon@gmail.com>
2023-02-17 07:42:30 +01:00
Nikita Galaiko
29e76aa24c
include updater bundle when publishing 2023-02-15 09:18:19 +01:00
Nikita Galaiko
b653965e2e
try to fix release product name 2023-02-14 16:00:04 +01:00
Nikita Galaiko
a3c7704026
fix path to release cfg 2023-02-14 15:46:22 +01:00
Nikita Galaiko
9d4b3216ce
use release tauri config for publishing 2023-02-14 15:39:16 +01:00
Nikita Galaiko
3f2657e0d1
try sturdy mac dev certificate 2023-02-13 09:09:00 +01:00
Nikita Galaiko
9ea6419909
do not use github macos runners for now 2023-02-13 08:55:56 +01:00
Nikita Galaiko
d47203eb9c
add APPLE_PROVIDER_SHORT_NAME 2023-02-08 16:41:19 +01:00
Nikita Galaiko
8fb2e3f2be
save secret to home 2023-02-08 16:01:45 +01:00
Nikita Galaiko
4d61a22196
fix secret name 2023-02-08 15:57:12 +01:00
Nikita Galaiko
616b1a8fb3
save key to disk 2023-02-08 15:51:52 +01:00
Nikita Galaiko
d73911220e
add ci secrets 2023-02-08 15:26:33 +01:00
Nikita Galaiko
1f55f9f881
run rust test on pr 2023-02-07 15:52:37 +01:00
Nikita Galaiko
f1fcc3195a
rm git binary 2023-02-07 14:22:56 +01:00
Nikita Galaiko
be3bdb2f57
do not run publish on pr 2023-02-03 13:42:15 +01:00
Nikita Galaiko
999bc2f019
build app with github actions 2023-02-03 13:23:09 +01:00