Browse Source

Fix resizer url (#868)

* Fix resizer url.

* Fix port.

* Update resizer.
pull/870/head
Sebastian Stehle 4 years ago
committed by GitHub
parent
commit
313526367f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/dev.yml
  2. 7
      .github/workflows/release.yml
  3. 4
      backend/tests/docker-compose.yml

2
.github/workflows/dev.yml

@ -115,7 +115,7 @@ jobs:
if: failure() if: failure()
uses: jwalton/gh-docker-logs@v1 uses: jwalton/gh-docker-logs@v1
with: with:
images: 'squidex-tmp' images: 'squidex-tmp,squidex/resizer'
tail: '100' tail: '100'
- name: Cleanup Test - name: Cleanup Test

7
.github/workflows/release.yml

@ -93,6 +93,13 @@ jobs:
options: --name test options: --name test
volumes: ${{ github.workspace }}:/src volumes: ${{ github.workspace }}:/src
run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated run: dotnet test /src/backend/tools/TestSuite/TestSuite.ApiTests/TestSuite.ApiTests.csproj --filter Category!=NotAutomated
- name: Dump docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v1
with:
images: 'squidex-tmp,squidex/resizer'
tail: '100'
- name: Cleanup Test - name: Cleanup Test
if: always() if: always()

4
backend/tests/docker-compose.yml

@ -13,7 +13,7 @@ services:
- "8080:80" - "8080:80"
environment: environment:
- URLS__BASEURL=http://localhost:8080 - URLS__BASEURL=http://localhost:8080
- ASSETS_RESIZERURL=http://resizer:8081 - ASSETS__RESIZERURL=http://resizer
- EVENTSTORE__MONGODB__CONFIGURATION=mongodb://mongo - EVENTSTORE__MONGODB__CONFIGURATION=mongodb://mongo
- GRAPHQL__CACHEDURATION=0 - GRAPHQL__CACHEDURATION=0
- IDENTITY__ADMINCLIENTID=root - IDENTITY__ADMINCLIENTID=root
@ -30,7 +30,7 @@ services:
- mongo - mongo
resizer: resizer:
image: squidex/resizer:dev-2 image: squidex/resizer:dev-40
ports: ports:
- "8081:80" - "8081:80"
networks: networks:

Loading…
Cancel
Save