Skip to content

Commit

Permalink
remove unused spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
joejstuart committed Jul 19, 2024
1 parent fc699e4 commit f3cdacb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 126 deletions.
54 changes: 0 additions & 54 deletions spec/hack/build-acceptable-bundles_spec.sh

This file was deleted.

46 changes: 0 additions & 46 deletions spec/hack/build-and-push_spec.sh

This file was deleted.

4 changes: 4 additions & 0 deletions spec/hack/bundles_spec.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# this spec file tests creating Tekton bundles and the acceptable bundles list

set -o errexit
set -o pipefail
Expand Down Expand Up @@ -62,11 +63,13 @@ Describe "Creating new acceptable bundles"
export SKIP_BUILD=true

When call "hack/build-and-push.sh"
The status should be success
# each task and pipeline bundle ends with file checksum @ digest
The output should satisfy check_tkn_push_url
End

It 'processes the bundles and generates the correct output file'
# this is only used for the task_records var which is unused in this test
Mock git
echo "task/task1/task1.yaml\ntask/task2/task2.yaml"
End
Expand All @@ -89,6 +92,7 @@ quay.io/konflux-ci/task-task2:0.1-1234@sha256:5678,quay.io/konflux-ci/task-task2
It "copies to the right image locations"
export OUTPUT_TASK_BUNDLE_LIST="test-task-bundle-list.csv"
When call "hack/push-and-tag.sh"
The status should be success
The output should include "Copying from quay.io/konflux-ci/task-task1:0.1-1234@sha256:5678 to quay.io/konflux-ci/task-task1:0.1"
The output should include "Copying from quay.io/konflux-ci/task-task2:0.1-1234@sha256:5678 to quay.io/konflux-ci/task-task2:0.1"
End
Expand Down
26 changes: 0 additions & 26 deletions spec/hack/push-and-tag_spec.sh

This file was deleted.

0 comments on commit f3cdacb

Please sign in to comment.