Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix directly testing packages; freeze more meta.yaml data #1538

Merged
merged 4 commits into from Nov 21, 2016

Conversation

msarahan
Copy link
Contributor

@msarahan msarahan commented Nov 16, 2016

This fixes conda build --test so that the actual package provided is the one that gets installed for the test. It no longer tries to go download it from somewhere, based on metadata provided by rendering the recipe in the package.

This hard-codes important information in the rendered meta.yaml file:

  • exact pins for build dependencies (even those not explicitly listed - it is whatever is present in the build env)
  • absolute path substituted for relative source/path or source/git_url entries (necessary for testing)
  • the build string, so that no further rendering is necessary to come up with a similar package spec.

Finally, this adds one option to conda build, --output-folder, which dumps the output package to some folder. This is useful for CI (particularly concourse CI), where output folder affects how artifacts are carried to the next stage.

closes #1534

@msarahan
Copy link
Contributor Author

CC @groutr - I used some of your code from conda-tools here. Please speak up if any part of that is not OK.

@msarahan msarahan merged commit 31c4e23 into conda:master Nov 21, 2016
@msarahan msarahan deleted the support_output_folder branch November 21, 2016 23:26
@github-actions
Copy link

github-actions bot commented May 9, 2022

Hi there, thank you for your contribution!

This pull request has been automatically locked because it has not had recent activity after being closed.

Please open a new issue or pull request if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label May 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

list of used dependency versions for each build..
1 participant