# SPDX-FileCopyrightText: 2024-2025 Sarah Vaupel # # SPDX-License-Identifier: AGPL-3.0-or-later parameters: - name: services type: object default: - name: frontend baseImage: devfra.azurecr.io/de.fraport.build/npm baseImageTag: node-20 # extraBuildOptions: | # --build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ buildArtifacts: | assets/icons assets/favicons static/ well-known/ frontend/src/env.sass config/manifest.json - name: backend baseImage: devfra.azurecr.io/de.fraport.build/haskell baseImageTag: 8.10.4 pool: 'Prod Private Agent Pool DS2' buildArtifacts: | .stack/ .stack-work/ variables: imageUpstream: devfra.azurecr.io/de.fraport.fradrive.build onMasterBranch: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')] onUpdateBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/update')] pool: 'Prod Private Agent Pool' jobs: - ${{ each service in parameters.services }}: - template: .azure-pipelines/templates/service.yaml parameters: service: ${{ service }}