Skip to content
Draft
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
23 changes: 23 additions & 0 deletions .github/workflows/test_charmedhpc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test charmedhpc runner
on: [push]

jobs:
ssdlc-scan:
name: Run SBOM Scan
runs-on: [self-hosted, linux, xlarge, amd64, self-hosted-linux-amd64-noble-xlarge]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Test SBOM Service Connectivity
run: |
for i in {1..5}; do
echo "Attempt $i..."
# Get the proxy address from the aproxy snap and use it for the curl request
PROXY_URL=$(sudo snap get aproxy proxy)
curl -x "http://$PROXY_URL" \
-Iv --max-time 10 \
https://sbom-request.canonical.com
sleep 1
done
Loading