Commit Graph

62 Commits

Author SHA1 Message Date
Ellie Huxtable
b7adf1d797
Fix cargo deb usage (#1337)
v2.0.0 of cargo deb added the revision number. I'd rather not change the
output name of our file, so force cargo-deb to stick to the "old"
behaviour
2023-10-26 16:13:54 +01:00
Ellie Huxtable
9f25ce581a
Revert "Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)" (#1325)
This reverts commit 089cb6847c.
2023-10-25 09:25:43 +01:00
Ellie Huxtable
ad4868567e
Checkout repo so the manifest publish step can read git (#1314) 2023-10-19 22:21:24 +01:00
Ellie Huxtable
62994ca264
use the short sha to tag images (#1313) 2023-10-19 22:07:24 +01:00
Ellie Huxtable
fef5986e9a Use ubuntu for x86, oops 2023-10-19 21:45:58 +01:00
Ellie Huxtable
ce114b1f37 Fix events 2023-10-19 21:41:14 +01:00
Ellie Huxtable
5a353d5ed1
Switch to Actuated for docker builds (#1312) 2023-10-19 21:39:40 +01:00
Ellie Huxtable
089cb6847c
Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)
This reverts commit 1054113469.
2023-10-08 11:50:30 -07:00
Ellie Huxtable
1054113469
Revert "Use github runners for unit tests (for now) (#1279)" (#1294)
This reverts commit 0abbcd6941.
2023-10-08 11:23:36 -07:00
Ellie Huxtable
0abbcd6941
Use github runners for unit tests (for now) (#1279)
My self hosted runner is much faster, but my house was hit by lightning
and the internet is down. I'm a few thousand miles away atm so won't be
able to sort it for a while.

Tests broken by _nature_.
2023-10-02 22:31:16 -07:00
Ellie Huxtable
f539580f0e
Revert "Re-enable linux/arm64 platform in CI docker build (#1276)" (#1278)
This reverts commit ab8a48b2e0.
2023-10-02 21:41:51 -07:00
rriski
ab8a48b2e0
Re-enable linux/arm64 platform in CI docker build (#1276)
This was previously enabled in #616 and then reverted in #730.
2023-10-02 20:32:32 -07:00
Ellie Huxtable
865f0e65f1 Fix support template 2023-09-28 19:37:28 -07:00
Ellie Huxtable
71fd31ed4f
Update support.yml (#1268) 2023-09-28 18:40:24 -07:00
Ellie Huxtable
52e1389ca0
Update support.yml 2023-09-28 18:37:28 -07:00
Ellie Huxtable
ffc24c3c29
Add support template (#1267) 2023-09-28 18:35:58 -07:00
Ellie Huxtable
33f009efad Correct issue templates 2023-09-28 18:12:59 -07:00
Ellie Huxtable
26b9423049 Adjust issue templates 2023-09-28 18:07:04 -07:00
Ellie Huxtable
54dc78fc49
Create support.md
I'm testing some structuring out
2023-09-28 18:04:14 -07:00
Ellie Huxtable
b7481993e3
Update issue templates 2023-09-11 09:03:28 +01:00
Tobias Genannt
b48de9bd9d
Run test build for client-only feature set (#1167) 2023-08-14 08:27:35 +00:00
Ellie Huxtable
2a41768afa
Split integration and unit tests, use runner for unit (#1134)
* Split integration and unit tests, use runner for unit

* Probs does not need cache as network is slow
2023-07-31 09:16:29 +01:00
Ellie Huxtable
43afb2d702
Add self hosted runner (#1133) 2023-07-30 23:16:01 +01:00
Conrad Ludgate
c10ba684e0
some simple server tests (#1096)
* some simple server tests

* fmt

* logging in server test

* log server errors

* fix postgres uri

* postgres ports

* localhost again?

* Rebase fixes

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-07-27 09:34:13 +01:00
mmx
dea6898f2d
update release.yaml add RUSTFLAGS, add qemu-user, add QEMU_PREFIX before gen-completions (#872) 2023-06-13 08:54:27 +01:00
Ellie Huxtable
beadc95926
Upload tar before building deb (#898) 2023-04-19 09:04:31 +01:00
Ellie Huxtable
0feee3d189
Allow specifying tag to build for workflow_dispatch (#896) 2023-04-18 21:51:39 +01:00
Ellie Huxtable
cc5b167f92
Add package param to cargo deb (#895) 2023-04-18 21:43:17 +01:00
Ellie Huxtable
678323b543
Add workflow dispatch for release (#888) 2023-04-17 20:45:06 +01:00
Ellie Huxtable
83ed195d27
Fix release workflow (#885) 2023-04-16 12:52:06 +01:00
Patrick Jackson
3552c7e0d3
feat: add github action to test the nix builds (#833) 2023-03-31 08:59:46 +01:00
Marijan Smetko
3514ff2401
Update CI action steps (#814) 2023-03-28 21:44:23 +01:00
Marijan Smetko
b911d17800
Add musl build (#809)
Clean up

Trigger with everything but release

Remove trigger
2023-03-25 17:59:06 +00:00
Ellie Huxtable
79a2053340
Revert "Re-enable arm docker builds (#616)" (#730)
Docker builds are failing on ARM, let's see if they work on AMD.

Might be worth waiting until we have less C that needs building

This reverts commit f3894ef9c0.
2023-02-26 23:01:40 +00:00
Ellie Huxtable
1ee66b5816
Enable RUST_BACKTRACE for docker builds (#729)
They're failing on ARM atm, maybe this will help
2023-02-26 22:13:31 +00:00
Patrick Jackson
f3894ef9c0
Re-enable arm docker builds (#616) 2022-11-17 09:12:42 +00:00
Lucy
6bd82abf6c
Build ARM64 releases & update runners (#593)
Not entirely sure how to test this workflow.

Why weren't ARM64 builds being made anyways? The workflow literally has cases to handle it!

Fixes https://github.com/ellie/atuin/issues/369
2022-11-04 08:40:03 +00:00
Jerome Ducret
729f404ad0
Add dockerfile in dependabot scope (#507) 2022-08-22 21:07:24 +01:00
Ellie Huxtable
706b1aff65
Disable ARM docker builds (#438)
These are failing and need investigating
2022-06-06 09:48:28 +01:00
Daniel
301190e427
Build ARM docker image in GitHub Actions using QEMU (#400)
This PR updates the GH Action docker workflow to crossbuild the docker
image for ARM using QEMU.
This theoratically works but takes about for a clean build 2.5 hours,
which may or may not be tolerable for each commit on `main`.
A action run where the dependencies are already cached needs about 15
minutes with this PR.
2022-05-09 21:09:31 +01:00
Ellie Huxtable
172ac8db47
Create FUNDING.yml 2022-04-28 20:15:51 +01:00
Orhun Parmaksız
a050faaf32
Use --locked flag for CI builds (#337) 2022-04-23 20:29:43 +00:00
Conrad Ludgate
7436e4ff65
feature-flags (#328)
* use feature flags

* fmt

* fix features

* update ci

* fmt

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-04-22 20:14:23 +00:00
Ellie Huxtable
508d4f4761
History filter (#329)
* Add history filters, and hotkey toggle

Switch between different search modes to narrow down the history you
want - global search for all history, host for all history from your
current machine, session for the current shell session, and directory
for the current directory

The default can be configured via `filter_mode`

* Update docs

* Add context
2022-04-22 21:05:02 +01:00
Orhun Parmaksız
0abd063e01
Support generating shell completions (#235)
* Add gen-completions subcommand for generating shell completions

* Update documentation about generating shell completions

* Include the shell completions in release tarball
2021-12-10 23:59:39 +00:00
Conrad Ludgate
e89de3f760
chore: supply pre-build docker image (#199)
* feat: supply pre-built docker image

* chore: add docker run to docs
2021-11-17 11:41:55 +00:00
Ian Smith
a127408e93
run shellcheck (#97)
* run shellcheck

* Update .github/workflows/shellcheck.yml

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>

* shellcheck fixes in which i am highly confident

* shellcheck fixes in which I am less confident - not executing this is fine, right?

* SC2155

In src/shell/atuin.bash line 1:
export ATUIN_SESSION=$(atuin uuid)
       ^-----------^ SC2155: Declare and assign separately to avoid masking return values.

* shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071

* yaml fix

* gotta checkout our code, too

* yaml fix

* action spelling

* exclude .zsh

* Shellcheck doesn't support zsh, per

https://github.com/koalaman/shellcheck/wiki/SC1071, and the ignore: param
in ludeeus/action-shellcheck only supports _directories_, not _files_.
So instead, we manually add any error the shellcheck step finds in the
file to the above line ...

* comment all the ignores

* Update src/shell/atuin.bash

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>

* new zsh plugin shellcheck errors

* new zsh plugin shellcheck errors, pt 2

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2021-05-14 08:31:15 +01:00
Conrad Ludgate
fa5c94de65
feat: build individual crates (#109) 2021-05-10 21:25:42 +00:00
Ellie Huxtable
d3059af815
Release v0.7.0 (#103)
* Release v0.7.0

- Update all the crate versions
- Update the demo gif
- Write a changelog
- Adjust the title of the search screen (has the old name still)
- Adjust the colours of the quick-jump numbers (sadly invisible on some
  colour schemes as dark grey :/)

* Update README, default config file, docs

* Link usernames

* Trigger release workflow upon release creation, as well as tags
2021-05-10 21:28:07 +01:00
Conrad Ludgate
086f4cc27c
cache builds (#49)
* cache builds

* improve cache steps

* un-restrict target cache

* remove release cache
2021-05-07 20:28:16 +00:00