-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into decay_param
- Loading branch information
Showing
125 changed files
with
6,507 additions
and
1,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/fermium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.