outpost: only build in docker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
90a5c84ac8
commit
552d26eb98
|
@ -54,42 +54,6 @@ stages:
|
||||||
golangci/golangci-lint:v1.39.0 \
|
golangci/golangci-lint:v1.39.0 \
|
||||||
golangci-lint run -v --timeout 200s
|
golangci-lint run -v --timeout 200s
|
||||||
workingDirectory: 'outpost/'
|
workingDirectory: 'outpost/'
|
||||||
- stage: build_go
|
|
||||||
jobs:
|
|
||||||
- job: proxy_build_go
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-latest'
|
|
||||||
steps:
|
|
||||||
- task: GoTool@0
|
|
||||||
inputs:
|
|
||||||
version: '1.16.3'
|
|
||||||
- task: DownloadPipelineArtifact@2
|
|
||||||
inputs:
|
|
||||||
buildType: 'current'
|
|
||||||
artifactName: 'go_api_client'
|
|
||||||
path: "outpost/api/"
|
|
||||||
- task: Go@0
|
|
||||||
inputs:
|
|
||||||
command: 'build'
|
|
||||||
arguments: './cmd/proxy'
|
|
||||||
workingDirectory: 'outpost/'
|
|
||||||
- job: ldap_build_go
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-latest'
|
|
||||||
steps:
|
|
||||||
- task: GoTool@0
|
|
||||||
inputs:
|
|
||||||
version: '1.16.3'
|
|
||||||
- task: DownloadPipelineArtifact@2
|
|
||||||
inputs:
|
|
||||||
buildType: 'current'
|
|
||||||
artifactName: 'go_api_client'
|
|
||||||
path: "outpost/api/"
|
|
||||||
- task: Go@0
|
|
||||||
inputs:
|
|
||||||
command: 'build'
|
|
||||||
arguments: './cmd/ldap'
|
|
||||||
workingDirectory: 'outpost/'
|
|
||||||
- stage: build_docker
|
- stage: build_docker
|
||||||
jobs:
|
jobs:
|
||||||
- job: proxy_build_docker
|
- job: proxy_build_docker
|
||||||
|
|
Reference in New Issue