From b8bff8d9ddebecc701014b6e3f2c61c5b3611bc3 Mon Sep 17 00:00:00 2001 From: Sampo Tawast Date: Mon, 16 Oct 2023 14:10:10 +0300 Subject: [PATCH] fix: use LOAD_FIXTURES and LOAD_DEFAULT_TERMS on review env's --- azure-pipelines/helsinkilisa-review.yml | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/azure-pipelines/helsinkilisa-review.yml b/azure-pipelines/helsinkilisa-review.yml index 716df792b6..564e794abd 100644 --- a/azure-pipelines/helsinkilisa-review.yml +++ b/azure-pipelines/helsinkilisa-review.yml @@ -8,19 +8,19 @@ trigger: none # Pull request (PR) triggers cause a pipeline to run whenever a pull request is -# opened with one of the specified target branches, or when updates are made to +# opened with one of the specified target branches, or when updates are made to # such a pull request. # -# GitHub creates a new ref when a pull request is created. The ref points to a -# merge commit, which is the merged code between the source and target branches +# GitHub creates a new ref when a pull request is created. The ref points to a +# merge commit, which is the merged code between the source and target branches # of the pull request. # -# Opt out of pull request validation +# Opt out of pull request validation pr: # PR target branch branches: include: - - main + - main paths: include: - azure-pipelines/helsinkilisa-review.yml @@ -44,22 +44,24 @@ pool: Default resources: repositories: - # Azure DevOps repository - - repository: yjdh-helsinkilisa-pipelines - type: git - # Azure DevOps project/repository - name: yjdh-helsinkilisa/yjdh-helsinkilisa-pipelines + # Azure DevOps repository + - repository: yjdh-helsinkilisa-pipelines + type: git + # Azure DevOps project/repository + name: yjdh-helsinkilisa/yjdh-helsinkilisa-pipelines extends: # Filename in Azure DevOps Repository (note possible -ui or -api) # Django example: azure-pipelines-PROJECTNAME-api-release.yml # Drupal example: azure-pipelines-drupal-release.yml - template: azure-pipelines-helsinkilisa-review.yml@yjdh-helsinkilisa-pipelines + template: + azure-pipelines-helsinkilisa-review.yml@yjdh-helsinkilisa-pipelines # Application build arguments and config map values as key value pairs. # The values here will override the values defined in the yjdh-benefit-pipelines repository. # for example -# parameters: + parameters: + configMap: # pod environment variables + LOAD_DEFAULT_TERMS: 1 + LOAD_FIXTURES: 1 # buildArgs: # NEXT_PUBLIC_DEBUG: 0 -# configMap: # pod environment variables -# DEBUG: 0