From fa8a453477b7a3e85fc11da69925b6d596035d27 Mon Sep 17 00:00:00 2001 From: Matteo Pergolesi Date: Thu, 8 Oct 2020 15:44:47 +0200 Subject: [PATCH 1/2] Add manual trigger for unittest workflow --- .github/workflows/unittest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 8f886df..1b7b938 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -5,6 +5,7 @@ on: branches: [ master, development ] pull_request: branches: [ master, development ] + workflow_dispatch: jobs: From 0b64c955c101a0069c2ea91b7e96e63209544f2b Mon Sep 17 00:00:00 2001 From: Matteo Pergolesi Date: Thu, 8 Oct 2020 16:33:29 +0200 Subject: [PATCH 2/2] Fix test iwf-repository. --- adaptation_layer/tests/test_iwf_repository.py | 6 +++--- docker-compose.test-iwf-repository.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adaptation_layer/tests/test_iwf_repository.py b/adaptation_layer/tests/test_iwf_repository.py index 3310f14..0edaf13 100644 --- a/adaptation_layer/tests/test_iwf_repository.py +++ b/adaptation_layer/tests/test_iwf_repository.py @@ -164,13 +164,13 @@ def test_get_site_network(self): "ip_mapping": None, "_links": { "self": { - "href": "http://localhost:8087/networks/1" + "href": "http://iwf-repository-app:8087/networks/1" }, "network": { - "href": "http://localhost:8087/networks/1" + "href": "http://iwf-repository-app:8087/networks/1" }, "site": { - "href": "http://localhost:8087/networks/1/site" + "href": "http://iwf-repository-app:8087/networks/1/site" } } }, net) diff --git a/docker-compose.test-iwf-repository.yml b/docker-compose.test-iwf-repository.yml index f7c2ebb..2bb313e 100644 --- a/docker-compose.test-iwf-repository.yml +++ b/docker-compose.test-iwf-repository.yml @@ -1,7 +1,7 @@ version: '3.7' services: iwf-repository-app: - image: 5geve/iwf-repository + image: 5geve/iwf-repository:latest depends_on: - iwf-repository-db networks: