mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
cfb17cac16
See microsoft/azure-pipelines-image-generation#1317 Fixes #4775, Fixes #4657
77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- 'master'
|
|
pr:
|
|
autoCancel: true
|
|
branches:
|
|
include:
|
|
- '*'
|
|
|
|
variables:
|
|
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
|
|
CI: true
|
|
Agent.Source.Git.ShallowFetchDepth: 1
|
|
|
|
jobs:
|
|
- job: 'Windows'
|
|
strategy:
|
|
matrix:
|
|
Node10 Py3.8:
|
|
nodeVersion: '10.x'
|
|
pythonVersion: '3.8'
|
|
Node12 Py3.8:
|
|
nodeVersion: '12.x'
|
|
pythonVersion: '3.8'
|
|
pool:
|
|
vmImage: windows-2019
|
|
steps:
|
|
- bash: |
|
|
set -e
|
|
git config --global core.autocrlf false
|
|
git config --global core.symlinks true
|
|
displayName: 'Preserve LF endings and symbolic links on check out'
|
|
|
|
- template: .azure/steps.yml
|
|
|
|
- job: 'Linux'
|
|
strategy:
|
|
matrix:
|
|
Node10 Py3.8:
|
|
nodeVersion: '10.x'
|
|
pythonVersion: '3.8'
|
|
pool:
|
|
vmImage: ubuntu-18.04
|
|
steps:
|
|
- template: .azure/steps.yml
|
|
|
|
- job: 'MacOS'
|
|
strategy:
|
|
matrix:
|
|
Node10 Py3.8:
|
|
nodeVersion: '10.x'
|
|
pythonVersion: '3.8'
|
|
pool:
|
|
vmImage: macOS-10.13
|
|
|
|
steps:
|
|
- template: .azure/steps.yml
|
|
|
|
- job: 'DockerSlim'
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
|
- bash: |
|
|
docker pull renovate/renovate:slim
|
|
displayName: Pull old slim renovate image as cache
|
|
|
|
- bash: |
|
|
export DOCKER_BUILDKIT=1
|
|
docker build --cache-from renovate/renovate:slim -t renovate-test -f Dockerfile.slim .
|
|
displayName: Build slim renovate image
|
|
|
|
- bash: |
|
|
docker run --rm -t renovate-test --version
|
|
displayName: Test slim renovate image
|