Skip to content

Commit

Permalink
Merge branch 'development' into decay_param
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Oct 18, 2021
2 parents d020b2e + 401aff9 commit 0b2be18
Show file tree
Hide file tree
Showing 125 changed files with 6,507 additions and 1,354 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ commands:
- run:
name: Run cucumber scenarios
no_output_timeout: 20m
command: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --tags "not @long-running and not @broken and not @wallet-ffi" --format json:cucumber_output/tests.cucumber --exit --retry 2 --retryTagFilter "@flaky and not @broken"
command: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --profile "ci" --tags "not @long-running and not @broken and not @wallet-ffi" --format json:cucumber_output/tests.cucumber --exit --retry 2 --retryTagFilter "@flaky and not @broken"
- run:
name: Generate report
command: cd integration_tests && node ./generate_report.js
when: always
# Below step requires NodeJS v12 to run correctly, see explanation in WalletFFI.feature
- run:
name: Run FFI wallet library cucumber scenarios
command: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --tags "not @long-running and not @broken and not @flaky and @wallet-ffi" --format json:cucumber_output/tests_ffi.cucumber --exit
command: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --profile "ci" --tags "not @long-running and not @broken and not @flaky and @wallet-ffi" --format json:cucumber_output/tests_ffi.cucumber --exit
when: always
- run:
name: Generate report (ffi)
Expand Down
63 changes: 57 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions applications/dns/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TOKEN=
ZONE_ID=
DOMAIN=updates.taripulse.com
FILE=../../meta/hashes.txt
1 change: 1 addition & 0 deletions applications/dns/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/fermium
34 changes: 34 additions & 0 deletions applications/dns/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# DNS Update

A script to update DNS records from the hashes file.

## Setup your env

```
cp .env.sample .env
```

- Edit `.env` to include your cloudflare api TOKEN, your ZONE_ID, and the DOMAIN to update.
- Use FILE to set the name of the file to provide records, if not provided then the default `../../meta/hashes.txt` will be used.

## Install deps

```
npm ci
```

## Run

```
npm run update
```

Deletes existing TXT records on the domain, and creates new records from each line in FILE.

## Release process (manual)

- push tag
- build binaries
- replace hashes in file `meta/hashes.txt`
- sign `meta/hashes.txt` with maintainer gpg key and replace sig at `meta/hashes.txt.sig`
- `npm run update` in this folder to update the DNS records to match the txt file
Loading

0 comments on commit 0b2be18

Please sign in to comment.