Skip to content

Commit fdc2e2f

Browse files
committedFeb 22, 2024··
Add updated local build instructions
- Add dependencies required like xq - Update and simplify the example `make build` command
1 parent 864b58a commit fdc2e2f

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed
 

‎README.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -225,21 +225,25 @@ dep sync
225225
The output should be nothing if there are no out-of-sync dependencies.
226226

227227

228-
## Compile stembuild for macOS
228+
## Compile stembuild locally
229229

230-
You can use stembuild on macOS by following the below steps:
230+
Some of the make targets require the use of curl and [xq](https://github.com/sibprogrammer/xq?tab=readme-ov-file#installation)
231+
to download the latest dependencies from S3 to create the embedded StemcellAutomation.zip resource. The dependencies
232+
downloaded from s3 are the same ones used by [stembuild CI](https://github.com/cloudfoundry/greenhouse-ci/).
231233

232-
- Download or clone the bosh-agent repository
234+
Download or clone the bosh-agent repository
233235
```
234236
git clone https://github.com/cloudfoundry/bosh-agent.git
235237
```
236-
- Download or clone the stembuild repository and navigate to it
238+
239+
Download or clone the stembuild repository and navigate to it
237240
```
238241
git clone https://github.com/cloudfoundry/stembuild.git
239242
cd stembuild
240243
```
241-
- Download the latest released artifact from [Stemcell Automation GitHub Repo](https://github.com/cloudfoundry-incubator/bosh-windows-stemcell-automation/releases)
242-
- Use `make build` to build stembuild for macOS, providing the corresponding values for the bosh-agent path, Stemcell Version you would like to build, and the Stemcell Automation package you downloaded
244+
245+
Use `make build` to build stembuild, providing the corresponding values for the bosh-agent path and stemcell version you
246+
would like to build, for example:
243247
```
244-
BOSH_AGENT_REPO=PathToBoshAgentRepo make STEMCELL_VERSION=StemcellVersion AUTOMATION_PATH=PathToStemcellAutomationZip build
248+
BOSH_AGENT_REPO=../bosh-agent STEMCELL_VERSION=2019.70 make build
245249
```

0 commit comments

Comments
 (0)
Please sign in to comment.