fix: changed target path for builds (#1544)
* changed target path for builds * removing specified dirs / files from build * added .artifactignore * correct ignore cond * slash direction --------- Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
This commit is contained in:
Родитель
ee72ae417e
Коммит
cdc01ec56b
|
@ -0,0 +1,7 @@
|
|||
_manifest\**
|
||||
bcde-output\**
|
||||
Experiment_PipReport_**
|
||||
GovCompDisc_Log_**
|
||||
GovCompDisc_Manifest_**
|
||||
GovCompDisc_Metadata_**
|
||||
ScanTelemetry_**
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
outputParentDirectory: $(Build.ArtifactStagingDirectory)
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
targetPath: $(Build.SourcesDirectory)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: "$(pythonVersion)_WINDOWS_X64"
|
||||
steps:
|
||||
- template: ../../../../pack/templates/win_env_gen.yml
|
||||
|
@ -66,7 +66,7 @@ jobs:
|
|||
outputParentDirectory: $(Build.ArtifactStagingDirectory)
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
targetPath: $(Build.SourcesDirectory)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: "$(pythonVersion)_WINDOWS_X86"
|
||||
steps:
|
||||
- template: ../../../../pack/templates/win_env_gen.yml
|
||||
|
@ -104,7 +104,7 @@ jobs:
|
|||
outputParentDirectory: $(Build.ArtifactStagingDirectory)
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
targetPath: $(Build.SourcesDirectory)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: "$(pythonVersion)_LINUX_X64"
|
||||
steps:
|
||||
- template: ../../../../pack/templates/nix_env_gen.yml
|
||||
|
@ -141,7 +141,7 @@ jobs:
|
|||
outputParentDirectory: $(Build.ArtifactStagingDirectory)
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
targetPath: $(Build.SourcesDirectory)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: "$(pythonVersion)_OSX_X64"
|
||||
steps:
|
||||
- template: ../../../../pack/templates/nix_env_gen.yml
|
||||
|
@ -172,7 +172,7 @@ jobs:
|
|||
outputParentDirectory: $(Build.ArtifactStagingDirectory)
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
targetPath: $(Build.SourcesDirectory)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
artifactName: "$(pythonVersion)_OSX_ARM4"
|
||||
steps:
|
||||
- template: ../../../../pack/templates/macos_64_env_gen.yml
|
||||
|
|
|
@ -7,3 +7,4 @@ python -m pip install --upgrade pip
|
|||
python -m pip install .
|
||||
|
||||
python -m pip install . --no-compile --target "$BUILD_SOURCESDIRECTORY/deps"
|
||||
cp .artifactignore "$BUILD_SOURCESDIRECTORY/deps"
|
|
@ -7,3 +7,4 @@ python -m pip install --upgrade pip
|
|||
python -m pip install .
|
||||
|
||||
python -m pip install . --no-compile --target "$BUILD_SOURCESDIRECTORY/deps"
|
||||
cp .artifactignore "$BUILD_SOURCESDIRECTORY/deps"
|
|
@ -7,3 +7,4 @@ python -m pip install .
|
|||
$depsPath = Join-Path -Path $env:BUILD_SOURCESDIRECTORY -ChildPath "deps"
|
||||
|
||||
python -m pip install . azure-functions --no-compile --target $depsPath.ToString()
|
||||
Copy-Item -Path ".artifactignore" -Destination $depsPath.ToString()
|
||||
|
|
|
@ -25,4 +25,9 @@ steps:
|
|||
**
|
||||
!grpc_tools/**/*
|
||||
!grpcio_tools*/*
|
||||
!build/**
|
||||
!docs/**
|
||||
!pack/**
|
||||
!python/**
|
||||
!tests/**
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
|
|
|
@ -25,4 +25,9 @@ steps:
|
|||
**
|
||||
!grpc_tools/**/*
|
||||
!grpcio_tools*/*
|
||||
!build/**
|
||||
!docs/**
|
||||
!pack/**
|
||||
!python/**
|
||||
!tests/**
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
|
|
|
@ -25,4 +25,9 @@ steps:
|
|||
**
|
||||
!grpc_tools\**\*
|
||||
!grpcio_tools*\*
|
||||
!build\**
|
||||
!docs\**
|
||||
!pack\**
|
||||
!python\**
|
||||
!tests\**
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
|
|
Загрузка…
Ссылка в новой задаче