Skip to content

Commit

Permalink
Bugfix/add missing env variables for build process (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschadoemer authored Oct 25, 2023
1 parent 69ef16f commit 3b5883f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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. |
Expand Down

0 comments on commit 3b5883f

Please sign in to comment.