Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/release-build-sign-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,14 @@ jobs:
needs:
- setup
- build-linux
strategy:
matrix:
image:
- debian:11
- debian:12
- ubuntu:20.04
- ubuntu:22.04
- ubuntu
runs-on: ubuntu-latest
steps:

Expand All @@ -913,21 +921,20 @@ jobs:
with:
name: cf-cli-linux-deb-packages

- name: Display structure of downloaded files and test compression
- name: Display structure and verify
env:
IMAGE: ${{ matrix.image }}
run: |
ls -R

for i in debian:11 debian:12 ubuntu:20.04 ubuntu:22.04 ubuntu; do docker run \
docker run \
--interactive \
--rm \
-v .:/workspace \
${i:?} <<EOC
printf "${i:?} -> "
${IMAGE} <<EOC
printf "${IMAGE} -> "
grep PRETTY_NAME /etc/os-release | cut -d= -f2-
cd workspace
ls *.deb | xargs -n1 dpkg --info
EOC
done

test-macos:
name: Test macOS Artifacts
Expand Down
27 changes: 21 additions & 6 deletions .github/workflows/release-update-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ jobs:

test-deb:
name: Test Debian Repository
strategy:
matrix:
image:
- debian:11
- debian:12
- ubuntu:20.04
- ubuntu:22.04
- ubuntu
runs-on: ubuntu-latest
needs:
- setup
Expand All @@ -316,17 +324,23 @@ jobs:
steps:

- name: Install CF CLI via apt
env:
IMAGE: ${{ matrix.image }}
run: |
docker run \
--interactive \
--rm \
${IMAGE} <<EOC
set -o pipefail -e

sudo apt update
sudo apt install -y wget gnupg
apt update
apt install -y wget gnupg

wget -q -O - ${CLAW_URL}/debian/cli.cloudfoundry.org.key | sudo apt-key add -
echo "deb ${CLAW_URL}/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
wget -q -O - ${CLAW_URL}/debian/cli.cloudfoundry.org.key | apt-key add -
echo "deb ${CLAW_URL}/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list

sudo apt update
sudo apt install -y cf${VERSION_MAJOR}-cli
apt update
apt install -y cf${VERSION_MAJOR}-cli

which cf

Expand All @@ -336,6 +350,7 @@ jobs:
cf${VERSION_MAJOR} -v

cf -v | grep "${VERSION_BUILD}"
EOC

update-rpm:
name: Update RPM Repository
Expand Down
Loading