Do not expose --copy-to (#154)

* Do not expose --copy-to

* Bump version

* set build context

* Fix device is not a tty in test run

* Push test to local registry

* Try 0.0.0.0

* Add registry
pull/155/head
Piero Toffanin 2021-06-03 14:34:17 -04:00 zatwierdzone przez GitHub
rodzic 1d911a73fc
commit d80ec213c6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 13 dodań i 5 usunięć

Wyświetl plik

@ -6,6 +6,11 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Checkout
uses: actions/checkout@v2
@ -13,12 +18,15 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver-opts: network=host
- name: Build
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64
push: false
tags: opendronemap/nodeodm:test
push: true
tags: localhost:5000/opendronemap/nodeodm:test
- name: Test Powercycle
run: |
docker run -ti --rm opendronemap/nodeodm:test --powercycle
docker run --rm localhost:5000/opendronemap/nodeodm:test --powercycle

Wyświetl plik

@ -83,7 +83,7 @@ module.exports = {
if (["-h", "--project-path", "--cmvs-maxImages", "--time",
"--zip-results", "--pmvs-num-cores",
"--start-with", "--gcp", "--images", "--geo",
"--split-image-groups",
"--split-image-groups", "--copy-to",
"--rerun-all", "--rerun",
"--slam-config", "--video", "--version", "name"].indexOf(option) !== -1) continue;

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "NodeODM",
"version": "2.1.5",
"version": "2.1.6",
"description": "REST API to access ODM",
"main": "index.js",
"scripts": {