Skip to content

Fix broken Tanzu doc links #19

Fix broken Tanzu doc links

Fix broken Tanzu doc links #19

name: Cloud Foundry Buildpack
# The workflow triggered by any change in deployments/cloudfoundry/buildpack/.
# 1. Run buildpack test.
on:
pull_request:
paths:
- 'deployments/cloudfoundry/buildpack/**'
permissions:
contents: write
defaults:
run:
working-directory: 'deployments/cloudfoundry/buildpack'
jobs:
test:
name: Test buildpack supplies required dependencies
# 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: Setup script's input argument directories
shell: bash
run: |
sudo mkdir /tmp/cf_build_dir
sudo mkdir /tmp/cf_cache_dir
sudo mkdir /tmp/cf_deps_dir
- name: Run buildpack supply script
shell: bash
run: |
sudo ./bin/supply /tmp/cf_build_dir /tmp/cf_cache_dir /tmp/cf_deps_dir 0
- name: Delete created files
shell: bash
run: |
sudo rm -rf /tmp/cf_build_dir
sudo rm -rf /tmp/cf_cache_dir
sudo rm -rf /tmp/deps_dir