Merge branch 'master' into Lazy-Loading

This commit is contained in:
Shahana Farooqui 2019-08-16 03:37:35 -04:00
commit c4c3c07120
10 changed files with 75 additions and 9 deletions

View File

@ -31,6 +31,21 @@ jobs:
sudo docker build --pull -t "$DOCKERHUB_DESTINATION" -f "$DOCKERHUB_DOCKERFILE" .
sudo docker push "$DOCKERHUB_DESTINATION"
publish_docker_linuxarm64v8:
machine:
docker_layer_caching: true
steps:
- checkout
- run:
command: |
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
LATEST_TAG="${CIRCLE_TAG:1}"
DOCKERHUB_DESTINATION="$DOCKERHUB_REPO:$LATEST_TAG-arm64v8"
DOCKERHUB_DOCKERFILE="Dockerfile.arm64v8"
sudo docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS
sudo docker build --pull -t "$DOCKERHUB_DESTINATION" -f "$DOCKERHUB_DOCKERFILE" .
sudo docker push "$DOCKERHUB_DESTINATION"
publish_docker_multiarch:
machine:
enabled: true
@ -45,9 +60,10 @@ jobs:
#
sudo docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS
#
sudo docker manifest create --amend "$DOCKERHUB_REPO:$LATEST_TAG" "$DOCKERHUB_REPO:$LATEST_TAG-amd64" "$DOCKERHUB_REPO:$LATEST_TAG-arm32v7"
sudo docker manifest create --amend "$DOCKERHUB_REPO:$LATEST_TAG" "$DOCKERHUB_REPO:$LATEST_TAG-amd64" "$DOCKERHUB_REPO:$LATEST_TAG-arm32v7" "$DOCKERHUB_REPO:$LATEST_TAG-arm64v8"
sudo docker manifest annotate "$DOCKERHUB_REPO:$LATEST_TAG" "$DOCKERHUB_REPO:$LATEST_TAG-amd64" --os linux --arch amd64
sudo docker manifest annotate "$DOCKERHUB_REPO:$LATEST_TAG" "$DOCKERHUB_REPO:$LATEST_TAG-arm32v7" --os linux --arch arm --variant v7
sudo docker manifest annotate "$DOCKERHUB_REPO:$LATEST_TAG" "$DOCKERHUB_REPO:$LATEST_TAG-arm64v8" --os linux --arch arm64 --variant v8
sudo docker manifest push "$DOCKERHUB_REPO:$LATEST_TAG" -p
workflows:
@ -66,10 +82,17 @@ workflows:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/
- publish_docker_linuxarm64v8:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/
- publish_docker_multiarch:
requires:
- publish_docker_linuxamd64
- publish_docker_linuxarm32v7
- publish_docker_linuxarm64v8
filters:
branches:
ignore: /.*/

33
Dockerfile.arm64v8 Normal file
View File

@ -0,0 +1,33 @@
FROM node:10-stretch-slim AS builder
ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-armel /tini
ADD https://github.com/krallin/tini/releases/download/v0.18.0/tini-static-armel.asc /tini.asc
RUN apt-get install gnupg
RUN gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
&& gpg --batch --verify /tini.asc /tini
RUN chmod +x /tini
WORKDIR /RTL
COPY . /RTL
COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
RUN npm install
COPY . /RTL
FROM arm64v8/node:10-stretch-slim
WORKDIR /RTL
COPY --from=builder "/RTL" .
COPY --from=builder "/tini" /sbin/tini
EXPOSE 3000
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["node", "rtl"]

View File

@ -3,7 +3,7 @@
<a href="https://snyk.io/test/github/ShahanaFarooqui/RTL"><img src="https://snyk.io/test/github/ShahanaFarooqui/RTL/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/ShahanaFarooqui/RTL" style="max-width:100%;"></a>
[![license](https://img.shields.io/github/license/DAVFoundation/captain-n3m0.svg?style=flat-square)](https://github.com/DAVFoundation/captain-n3m0/blob/master/LICENSE)
### Stable Release: v0.4.2
### Stable Release: v0.4.6
**Intro** -- [Application Features](docs/Application_features.md) -- [Road Map](docs/Roadmap.md) -- [LND API Coverage](docs/LNDAPICoverage.md) -- [Application Configurations](docs/Application_configurations)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -47,13 +47,18 @@
- Waiting Close
#### Closed
- List of Closed Channels
#### Backup
- All channel backup and verify
- Individual channel backup and verify
- Folder location of the backup files
### Payments
#### List Payments
- List of payments made via node
#### Send Payment
#### Send
- Verify and Send Payments
- List of payments made via node
- Pay empty invoice with custom amount
#### Query Routes
- Query the path to the node with the pubkey and amount to be sent
### Invoices
- Add Invoice with Optional Memo and Amount and Generate payment request (with QR Code)
@ -62,6 +67,9 @@
### Forwarding History
- View all the forwarded HTLCs within a date range (default view is past 24 hours)
### Routing Peers
- Show routing events group by incoming and outgoing events group by peer alias, channel id and amount routed
### Lookups
- Lookup a node details with pubkey
- Lookup a channel details with Channel ID

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "rtl",
"version": "0.4.5-beta",
"version": "0.4.7-beta",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "rtl",
"version": "0.4.5-beta",
"version": "0.4.7-beta",
"license": "MIT",
"scripts": {
"ng": "ng",

View File

@ -19,7 +19,7 @@ import * as fromRTLReducer from './store/rtl.reducers';
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild('sideNavigation', { static: true }) sideNavigation: any;
@ViewChild('sideNavigation', { static: false }) sideNavigation: any;
@ViewChild('settingSidenav', { static: true }) settingSidenav: any;
public selNode: Node;
public settings: Settings;

View File

@ -1 +1 @@
export const VERSION = '0.4.5-beta';
export const VERSION = '0.4.7-beta';