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

Find deeply-nested manifest.yml when converting v1 to v2 #1637

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfc-gh-fcampbell
Copy link
Collaborator

@sfc-gh-fcampbell sfc-gh-fcampbell commented Sep 27, 2024

Pre-review checklist

  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • I've added or updated automated unit tests to verify correctness of my new code.
  • I've added or updated integration tests to verify correctness of my new code.
  • I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
  • I've confirmed that my changes are working by executing CLI's commands manually on Windows.
  • I've confirmed that my changes are up-to-date with the target branch.
  • I've described my changes in the release notes.
  • I've described my changes in the section below.

Changes description

Fixes the manifest not being found if it isn't explicitly mentioned as an artifact or as part of a glob when running snow helpers v1-to-v2.

Comment on lines -220 to -222
bundle_map = build_bundle(
project_root, Path(native_app.deploy_root), native_app.artifacts
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switched from build_bundle to just BundleMap since we don't actually need to copy the artifacts to find the manifest, we just need to resolve the mapping between source and destination

@sfc-gh-fcampbell sfc-gh-fcampbell marked this pull request as ready for review September 27, 2024 22:05
@sfc-gh-fcampbell sfc-gh-fcampbell requested a review from a team as a code owner September 27, 2024 22:05
@sfc-gh-fcampbell sfc-gh-fcampbell enabled auto-merge (squash) September 27, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant