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 Makefile build target #26

Merged
merged 7 commits into from
Mar 15, 2024
Merged

Conversation

sneal
Copy link
Contributor

@sneal sneal commented Feb 20, 2024

Add targets that download StemcellAutomation.zip dependencies from s3 to unblock local development of stembuild.

Since tar.exe, bosh-blobstore-s3.exe, bosh-blobstore-dav.exe were removed from the BOSH agent repository this had the unfortunate side effect of breaking the stembuild make build target. The latest dependencies to build StemcellAutomation.zip are now downloaded from their respective s3 buckets that the official stembuild CI system uses.

The targets do require the use of xq (wrapper around jq that handles xml) to select the latest version of each dependencies in each s3 bucket.

Since tar.exe, bosh-blobstore-s3.exe, bosh-blobstore-dav.exe were (correctly) removed from the BOSH agent repository this had the unfortunate side effect of breaking the stembuild make build target. The latest dependencies to build StemcellAutomation.zip are now downloaded from their respective s3 buckets that the official stembuild CI system uses.
Copy link
Contributor

@rkoster rkoster left a comment

Choose a reason for hiding this comment

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

Could you also add a link to installation instructions for xq to the README somewhere around here: https://github.com/cloudfoundry/stembuild/blob/master/README.md#testing

@rkoster rkoster requested review from a team, bgandon, danielfor and jpalermo and removed request for a team February 22, 2024 16:02
@aramprice
Copy link
Member

Lint errors fixed on primary branch bbb4bb1

@sneal
Copy link
Contributor Author

sneal commented Feb 22, 2024

@rkoster I updated the local build instructions to mention xq and point to it's install docs. I also simplified the local build instructions (should be the same on Mac and Linux).

README.md Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
sneal added 2 commits March 12, 2024 13:13
- Fix sorting and tool selection to use latest versions
@sneal
Copy link
Contributor Author

sneal commented Mar 12, 2024

@ystros I fixed the couple of issues you noted. I also fixed one I noticed where xq wasn't returning the latest s3 key.

Copy link
Contributor

@ystros ystros left a comment

Choose a reason for hiding this comment

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

Changes look good, and instructions work at the very least on my Mac.

@rkoster rkoster merged commit 4f8ccbe into cloudfoundry:master Mar 15, 2024
2 checks passed
@rkoster
Copy link
Contributor

rkoster commented Mar 15, 2024

Thanks! @sneal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants