Skip to content

Commit

Permalink
repair analyze step. need to download the correct artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Jan 29, 2021
1 parent 8695385 commit 33dc627
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ steps:
- task: DownloadPipelineArtifact@0
condition: and(succeededOrFailed(), ne(variables['Skip.ApiStubGen'],'true'))
inputs:
artifactName: 'artifacts'
artifactName: 'packages'
targetPath: $(Build.ArtifactStagingDirectory)

- template: ../steps/run_apistub.yml
Expand Down
3 changes: 0 additions & 3 deletions scripts/devops_tasks/common_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import textwrap
import io
import re
import pdb

# Assumes the presence of setuptools
from pkg_resources import parse_version, parse_requirements, Requirement, WorkingSet, working_set
Expand Down Expand Up @@ -364,8 +363,6 @@ def find_whl(package_name, version, whl_directory):
)
exit(1)

# pdb.set_trace()

return whls[0]

# This method installs package from a pre-built whl
Expand Down
3 changes: 0 additions & 3 deletions scripts/devops_tasks/tox_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@ def replace_dev_reqs(file, pkg_root):
req_file_name = os.path.basename(file)
logging.info("Old {0}:{1}".format(req_file_name, adjusted_req_lines))

import pdb
#pdb.set_trace()

adjusted_req_lines = list(map(lambda x: build_whl_for_req(x, pkg_root), adjusted_req_lines))
logging.info("New {0}:{1}".format(req_file_name, adjusted_req_lines))

Expand Down

0 comments on commit 33dc627

Please sign in to comment.