[chore] Fix dead links in CloudFoundry deployment #37
Workflow file for this run
This file contains 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 | |
# Use 20.04.5 until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16450 is resolved | |
runs-on: ubuntu-20.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 |