fix: empty search query with no additional parameter returns HTTP 500… #282
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deploys the feeds API to MobilityData QA environment. | |
name: Deploy Feeds API - QA | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: # Supports manual deployment | |
jobs: | |
api-build-deployment: | |
uses: ./.github/workflows/api-deployer.yml | |
with: | |
ENVIRONMENT: ${{ vars.QA_MOBILITY_FEEDS_ENVIRONMENT }} | |
BUCKET_NAME: ${{ vars.QA_MOBILITY_FEEDS_TF_STATE_BUCKET }} | |
OBJECT_PREFIX: ${{ vars.QA_MOBILITY_FEEDS_TF_STATE_OBJECT_PREFIX }} | |
PROJECT_ID: ${{ vars.QA_MOBILITY_FEEDS_PROJECT_ID }} | |
REGION: ${{ vars.MOBILITY_FEEDS_REGION }} | |
DEPLOYER_SERVICE_ACCOUNT: ${{ vars.QA_MOBILITY_FEEDS_DEPLOYER_SERVICE_ACCOUNT }} | |
FEED_API_IMAGE_VERSION: ${{ github.sha }} | |
TF_APPLY: true | |
GLOBAL_RATE_LIMIT_REQ_PER_MINUTE: ${{ vars.GLOBAL_RATE_LIMIT_REQ_PER_MINUTE }} | |
VALIDATOR_ENDPOINT: https://stg-gtfs-validator-web-mbzoxaljzq-ue.a.run.app | |
secrets: | |
GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.QA_GCP_MOBILITY_FEEDS_SA_KEY }} | |
OAUTH2_CLIENT_ID: ${{ secrets.DEV_MOBILITY_FEEDS_OAUTH2_CLIENT_ID}} | |
OAUTH2_CLIENT_SECRET: ${{ secrets.DEV_MOBILITY_FEEDS_OAUTH2_CLIENT_SECRET}} | |
integration-tests: | |
uses: ./.github/workflows/integration-tests.yml | |
needs: | |
- api-build-deployment | |
with: | |
API_URL: 'https://api-qa.mobilitydatabase.org' | |
secrets: | |
REFRESH_TOKEN: ${{ secrets.QA_API_TEST_REFRESH_TOKEN }} | |