Skip to content

Commit

Permalink
attempt enc-cosign-sig
Browse files Browse the repository at this point in the history
  • Loading branch information
portersrc committed Oct 4, 2024
1 parent a4922d9 commit 4d17a32
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/porter-gha-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,31 @@ jobs:
# env:
# COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
# run: make cosign-sig
## 3. simple-sig
## 3. simple-sig (works)
#- name: Make simple-sig
# working-directory: container-images
# run: make simple-sig
# 4. enc-unsig
- name: Launch coco-keyprovider and make enc-unsig
# 4. enc-unsig (works)
#- name: Launch coco-keyprovider and make enc-unsig
# run: |
# cd guest-components/attestation-agent/coco_keyprovider
# cargo build --release
# RUST_LOG=coco_keyprovider cargo run --release -- --socket 127.0.0.1:50000 &
# cd ../../../container-images
# echo "Waiting for coco-keyprovider on localhost:50000"
# timeout_count=1
# while ! nc -z localhost 50000; do
# timeout_count=$((timeout_count+1))
# sleep 1
# if [ $timeout_count == 5 ]; then
# echo "ERROR: Timed out. Exiting."
# exit 1
# fi
# done
# echo "coco-keyprovider is ready"
# make enc-unsig
# 5. enc-cosign-sig
- name: Launch coco-keyprovider and make enc-cosign-sig
run: |
cd guest-components/attestation-agent/coco_keyprovider
cargo build --release
Expand All @@ -67,7 +86,7 @@ jobs:
fi
done
echo "coco-keyprovider is ready"
make enc-unsig
make enc-cosign-sig
#
#
#
Expand Down

0 comments on commit 4d17a32

Please sign in to comment.