From 3b5883f9cb9bffd8e99eeeccc244717a1dfe1966 Mon Sep 17 00:00:00 2001 From: Sascha Doemer Date: Wed, 25 Oct 2023 08:25:40 +0200 Subject: [PATCH] Bugfix/add missing env variables for build process (#96) --- .github/workflows/release.yml | 15 +++++++++++++++ README.md | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef70862e..e07d0360 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,21 @@ jobs: - name: Build with Maven env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FARM21_API_TOKEN: ${{ secrets.FARM21_API_TOKEN }} + SOILSCOUT_USERNAME: ${{ secrets.SOILSCOUT_USERNAME }} + SOILSCOUT_PASSWORD: ${{ secrets.SOILSCOUT_PASSWORD }} + AGRANIMO_USERNAME: ${{ secrets.AGRANIMO_USERNAME }} + AGRANIMO_PASSWORD: ${{ secrets.AGRANIMO_PASSWORD }} + SENTEK_API_TOKEN: ${{ secrets.SENTEK_API_TOKEN }} + AGVOLUTION_USERNAME: ${{ secrets.AGVOLUTION_USERNAME }} + AGVOLUTION_PASSWORD: ${{ secrets.AGVOLUTION_PASSWORD }} + SENSOTERRA_USERNAME: ${{ secrets.SENSOTERRA_USERNAME }} + SENSOTERRA_PASSWORD: ${{ secrets.SENSOTERRA_PASSWORD }} + API_KEY: ${{ secrets.API_KEY }} + WEENAT_USERNAME: ${{ secrets.WEENAT_USERNAME }} + WEENAT_PASSWORD: ${{ secrets.WEENAT_PASSWORD }} + MICROSTREAM_STORAGE_DIRECTORY: ./microstream-integration-test + IMAGE_PATH_BASE_URL: localhost:8080/images run: mvn -B verify --file pom.xml --settings .github/settings.xml - name: Login to GitHub Container Registry diff --git a/README.md b/README.md index ebb55c92..21a4f604 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ following template and replace the values with your own ones: WEENAT_PASSWORD=___CHANGE_ME___; WEENAT_USERNAME=___CHANGE_ME___; API_KEY=___CHANGE_ME___; - NOTIFICATION_URL=https://localhost:5050/notify; + NOTIFICATION_URLS=https://localhost:5050/notify; SPRING_PROFILES_ACTIVE=maintenance; CORS_ALLOWED_ORIGINS=http://localhost:8080; CONTEXT_PATH=/api; @@ -56,7 +56,7 @@ The following table describes the environment variables: | WEENAT_PASSWORD | The password of the Weenat account. | | WEENAT_USERNAME | The username of the Weenat account. | | API_KEY | The API key of the application. | -| NOTIFICATION_URL | The URL of the notification service. | +| NOTIFICATION_URLS | The URL of the notification service. | | SPRING_PROFILES_ACTIVE | The active Spring profile. | | CORS_ALLOWED_ORIGINS | The allowed origins for CORS. | | CONTEXT_PATH | The context path of the application. |