Thomas Eizinger
3b9faa6f6b
Add linter to avoid future usage of devDependencies
3 years ago
Thomas Eizinger
14e064cfe7
Add bumping of changelog to release action
3 years ago
Thomas Eizinger
876349f92a
Introduce cargo aliases for running maker and taker in dev mode
These can be used as:
`cargo dev-taker`
`cargo dev-maker`
3 years ago
Thomas Eizinger
5eee7ff2f9
Move testnet seeds to `testnet` directory
This makes it easier to run the application with default arguments.
3 years ago
Thomas Eizinger
e8527c2180
Pin clippy version to version from rust-toolchain file
3 years ago
dependabot[bot]
2911017801
Bump actions/setup-python from 2.3.0 to 2.3.1
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
fa07b1029b
Workaround tags not being fetched correctly
This results in the version within the container being displayed
incorrectly (always 0.1.1).
Fixes https://github.com/itchysats/itchysats/issues/537 .
3 years ago
bonomat
6050be6b88
Armv7 is totally outdated
Our assumption was that we need armv7 for running on an RPi. It turns out that Armv7 is totally outdated and only used on the old RPi 2 model B. The newer model RPi 2 model B v1.2 already uses Armv8
3 years ago
bonomat
14f9d33882
Remove windows build from CI
3 years ago
Mariusz Klochowicz
e8d06f3baf
Ensure CI always runs ignored tests
3 years ago
Thomas Eizinger
495f846d5d
Allow more open pull requests
Sometimes, we don't straight away fix a broken build of a dependency.
This can prevent other dependencies from being updated.
3 years ago
Thomas Eizinger
024ce701dd
Remove maker frontend from dependabot
This is basically unmaintained and only used internally, no need to
bother with dependency updates.
3 years ago
dependabot[bot]
ab67207551
Bump actions/setup-python from 2.2.2 to 2.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
03c2c3067f
Update dependabot.yml
3 years ago
Thomas Eizinger
b118ffece5
Remove maker default address
This made only sense during local testing.
3 years ago
Thomas Eizinger
d2217d3f91
Make number of payouts configurable
This allows us to use less payouts in the tests which makes them
faster.
3 years ago
itchymax
626435e907
Matrixify the docker image build
3 years ago
itchymax
7180890c26
Rename BOTTY to ITCHY because we are Itchy Sats :)
3 years ago
itchymax
1c422e359f
Try PAT token instead of github_token
3 years ago
itchymax
6074bf6bea
Replace preview tag with latest to be conform with docker best practice
3 years ago
itchymax
87b37f5aa7
Checkout a particular tag when releasing docker containers by tag
3 years ago
itchymax
16a98328e3
Fix typo
3 years ago
Mariusz Klochowicz
9c5122fc45
Simplify the build release binary workflow
Two separate frontend builds were not needed
3 years ago
Mariusz Klochowicz
40cbc7cdb6
Remove support for building old taker frontend
`maker-frontend` vite config supports only maker now.
3 years ago
Mariusz Klochowicz
78945d5545
Generate seed automatically if no seed is present
Smooth out user experience by automatically generating a new seed if there
is none present (and by writing that fact in the log file).
3 years ago
itchymax
3a8e09eacc
Add permissions to steps
3 years ago
itchymax
05c7a80475
Split up steps of building docker images to get better feedback
3 years ago
itchymax
3544f7bb30
Add permissions to steps
3 years ago
itchymax
e08ae01f34
Split up docker building into separate steps
3 years ago
itchymax
6bc4f7306e
Fix manual action
3 years ago
itchymax
fa3eb161ff
Manually trigger creation of docker container from release
3 years ago
itchymax
28b33c4eb6
use wildcard for yarn cache instead
3 years ago
itchymax
1896b17f5f
Fix yarn cache dependency
3 years ago
itchymax
088bf45112
Add new taker-frontend and rename old to maker-frontend
3 years ago
Daniel Karzel
474863e8ba
Initialise the `RELEASE_BRANCH` envvar to ensure releasing works
Thanks to @scratchscratchscratchy for pointing this out!
3 years ago
dependabot[bot]
3118143124
Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [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.3.5...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
rishflab
b7a8370b0b
Authenticate connection with maker
Use the IK noise handshake pattern to authenticate the maker
given knowledge of the maker's static public key.
https://noiseexplorer.com/patterns/IK/
3 years ago
Mariusz Klochowicz
45014e5738
Add a feature flag to opt-in for long-running integration tests
This allows opting-in for longer-running tests by enabling "expensive_tests"
feature, instead of waiting for a few minutes after starting `cargo test`.
Amend the CI to run all the tests (including expensive ones) on every run.
3 years ago
dependabot[bot]
1c47b6c7cd
Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [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.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Hoenisch
362197fc77
Sleep between actions
3 years ago
Philipp Hoenisch
d61a7616db
Login as the repository
This allows us to publis to {orgname}/{reponame} i.e. comit-network/hermes/packages
3 years ago
Philipp Hoenisch
ae97873359
Fix docker image build
The new task does a few things:
1. Having an extra build target makes the workflow file cleaner
2. it downloads the release targets which we want to build docker images for
3. it extracts the tar files into sub folders. We need to extract into sub folders to so that our image can fine the binaries. By providing `platform` to `docker buildx` the variable `TARGETPLATFORM` will be available when building the image. This variable is either `linux/amd64/`, `linux/arm64/` or `linux/arm/v7`. Hence we need to extract into subfolders.
4. We create 2 images, one for the maker and one for the taker. The images are then pushed to our organisation's docker registry.
3 years ago
Thomas Eizinger
a45bc5e7a1
Delete tag in addition to release
3 years ago
Philipp Hoenisch
d416c6962a
Provide dockerfile and build during release
Dockerfile are generally useful but are especially needed in our case because we depend on a glibc2.29 which is not available on older distros
3 years ago
Philipp Hoenisch
34463dbc30
Build for aarch64 which is needed for RPi4
3 years ago
Thomas Eizinger
04906a938b
Allow application to run on mainnet or testnet
I decided to use a sub-command because it allows me to keep the
default values for the electrum client within clap.
3 years ago
Thomas Eizinger
8a0695c0b6
Increase sleep time for starting up maker & taker
3 years ago
Thomas Eizinger
e296e500f5
Run CI on windows
3 years ago
Thomas Eizinger
8d52cfbec7
Make cache to be per target
Otherwise the armv7 build uses the x64 cache which is no good.
3 years ago
Thomas Eizinger
9e0504b409
Split cargo CI job into x64 and arm
There is so much conditional logic on compiling for x64 and armv7
that we are better off with just defining two separate jobs without
any conditional logic.
3 years ago