Files
containers/.github/workflows/vib-action-test.yml
dependabot[bot] 5d09b81f66 Bump actions/checkout from 4.2.1 to 4.2.2 (#74722)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.1...11bd71901bbe5b1630ceea73d27597364c9af683)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 16:28:32 +01:00

48 lines
1.4 KiB
YAML

name: '[TEST] Check vmware-image-builder-action@v0.10'
on: # rebuild any PRs and main branch changes
workflow_dispatch:
permissions: {}
jobs:
vib-verify:
runs-on: ubuntu-latest
name: VIB Verify
permissions:
contents: read
env:
CSP_API_URL: https://console.tanzu.broadcom.com
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
name: Checkout Repository
with:
# Full history is not required anymore
fetch-depth: 1
- uses: vmware-labs/vmware-image-builder-action@artifact-actions-v4
name: Verify
with:
pipeline: pgpool/vib-verify.json
env:
# Path with docker resources
VIB_ENV_PATH: bitnami/pgpool/4/debian-12
# Container name
VIB_ENV_CONTAINER: pgpool
VIB_ENV_TAG: 4-rc.69158
check-artifacts:
# Ensure all containers passed the verification
runs-on: ubuntu-latest
name: Check VIB report
needs:
- vib-verify
steps:
- id: download
name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ~/artifacts
- id: get-report
name: Get report
run: |
vib_report_file=$(find ~/artifacts -name "report.json" -print -quit)
cat "$vib_report_file"