skip to Main Content

Prepopulating PostGIS with OSM data works with Docker Desktop, but not with Azure pipeline

When I build the Dockerfile below by running the command manually at a Windows notebook docker build -f Dockerfile --no-cache --tag my-postgis:16-3.4 --build-arg DOWNLOAD_URLS="https://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf https://download.geofabrik.de/europe/germany/hamburg-latest.osm.pbf" --build-arg OSM_PASSWORD=osm_password --build-arg POSTGIS_TAG=16-3.4 . then it works as expected and the prefilled PostgreSQL database…

VIEW QUESTION

getting json data into azure pipeline

jobs: # Set an output variable from job A - job: A steps: - powershell: | $image_infor=Invoke-WebRequest https://raw.githubusercontent.com/Sitecore/docker-images/master/tags/sitecore-tags.json ###json data Write-Host $image_infor Write-Host "##vso[task.setvariable variable=myOutput_currentDate;isoutput=true]$image_infor" name: setvarStep # Map the variable into job B - job: B dependsOn: A variables:…

VIEW QUESTION

Ubuntu – Azure Pipeline conditional variables not working as expected

This is part of my azure pipeline yaml pool: vmImage: ubuntu-latest # Use 'windows-latest' if you have Windows native +Node modules variables: ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: brname: $[variables['System.PullRequest.targetBranchName']] isPreRelease: $[eq(variables['brname'], 'main')] ${{ if or(eq(variables['isPreRelease'], 'True'), eq(variables['isPreRelease'], True)) }}: #…

VIEW QUESTION

Azure Pipeline Yaml; file error when initiating a Powershell script

When I am invoking a yaml file in my Azure Pipeline, sample is - task: AzurePowerShell@5 displayName: 'Execute PowerShell Script on Target VMs' inputs: azureSubscription: ${{ variables.SERVICE_CONNECTION_NAME }} pwsh: true ScriptType: 'FilePath' ScriptPath: 'pipeline-scripts/Deploy-ALZDomainControllers.ps1' env: LOCATION: $(LOCATION) TOP_LEVEL_MG_PREFIX: $(TOP_LEVEL_MG_PREFIX) UPSTREAM_RELEASE_VERSION:…

VIEW QUESTION
Back To Top
Search