[Tanzu Tile] Add host.name resource attribute #43
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cloud Foundry BOSH Release | |
# The workflow triggered by any change in deployments/cloudfoundry/bosh/. | |
# 1. Run buildpack test. | |
on: | |
pull_request: | |
paths: | |
- 'deployments/cloudfoundry/bosh/**' | |
permissions: | |
contents: write | |
defaults: | |
run: | |
working-directory: 'deployments/cloudfoundry/bosh' | |
jobs: | |
test: | |
name: Test Bosh Release Creation | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out the codebase. | |
uses: actions/checkout@v4 | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@251cc053a43110ce4dea3cdb6f038147c82d0257 | |
- name: Install BOSH CLI | |
shell: bash | |
run: | | |
brew install cloudfoundry/tap/bosh-cli | |
bosh -v | |
- name: Run release script | |
shell: bash | |
run: | | |
export UPLOAD_RELEASE=0 | |
export IS_DEV_RELEASE=1 | |
./release | |
export IS_DEV_RELEASE=0 | |
./release | |
FILE=./latest-release.tgz | |
if [ ! -f "$FILE" ]; then | |
echo "$FILE does not exist." | |
exit 1 | |
fi |