Skip to content

Commit

Permalink
feat: comment out excessive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clay-lake committed Nov 28, 2024
1 parent e8909e0 commit f291777
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/_Test-OCI-Factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,35 +96,35 @@ jobs:
run: |
find ${{ github.workspace }} -name 'test-*.bats' | xargs bats
# Test use case of reuseable workflow
build-rock:
uses: ./.github/workflows/Build-Rock.yaml
with:
# mock rock
oci-archive-name: "mock-rock"
rock-repo: canonical/rocks-toolbox
rock-repo-commit: main
rockfile-directory: mock_rock/1.2 # 1.0 - multi arch, 1.2 single arch rock

test-rock:
uses: ./.github/workflows/Test-Rock.yaml
needs: [build-rock]
with:
oci-archive-name: "mock-rock"
test-vulnerabilities: true
test-oci-compliance: true
test-efficiency: true
test_malware: true

# Test workflow used in continuous testing
test-vulnerability-scan:
name: Test vulnerability scan workflow
needs: [access-check]
uses: ./.github/workflows/Vulnerability-Scan.yaml
with:
oci-image-name: "ghcr.io/canonical/oci-factory/mock-rock:1.1-22.04_844"
oci-image-path: "oci/mock-rock"
secrets: inherit
# # Test use case of reuseable workflow
# build-rock:
# uses: ./.github/workflows/Build-Rock.yaml
# with:
# # mock rock
# oci-archive-name: "mock-rock"
# rock-repo: canonical/rocks-toolbox
# rock-repo-commit: main
# rockfile-directory: mock_rock/1.2 # 1.0 - multi arch, 1.2 single arch rock

# test-rock:
# uses: ./.github/workflows/Test-Rock.yaml
# needs: [build-rock]
# with:
# oci-archive-name: "mock-rock"
# test-vulnerabilities: true
# test-oci-compliance: true
# test-efficiency: true
# test_malware: true

# # Test workflow used in continuous testing
# test-vulnerability-scan:
# name: Test vulnerability scan workflow
# needs: [access-check]
# uses: ./.github/workflows/Vulnerability-Scan.yaml
# with:
# oci-image-name: "ghcr.io/canonical/oci-factory/mock-rock:1.1-22.04_844"
# oci-image-path: "oci/mock-rock"
# secrets: inherit

# Test full image workflow
test-workflows:
Expand Down

0 comments on commit f291777

Please sign in to comment.