Skip to content

Commit

Permalink
Merge pull request #1130 from zregvart/issue/EC-29
Browse files Browse the repository at this point in the history
Use Tekton v1 API
  • Loading branch information
zregvart authored Oct 27, 2023
2 parents 7a2bb74 + cb40f95 commit 6a40245
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion acceptance/tekton/bundles.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/enterprise-contract/ec-cli/acceptance/registry"
)

const version = "v1beta1"
const version = "v1"

func createTektonBundle(ctx context.Context, name string, data *godog.Table) (context.Context, error) {
img := empty.Image
Expand Down
8 changes: 4 additions & 4 deletions features/__snapshots__/track_bundle.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ pipeline-bundles:
- digest: sha256:${REGISTRY_acceptance/bundle:tag_DIGEST}
effective_on: "${TIMESTAMP}"
tag: tag
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "2006-01-02T15:04:05Z"
tag: tag
task-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:${REGISTRY_acceptance/bundle:tag_DIGEST}
effective_on: "${TIMESTAMP}"
tag: tag
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "2006-01-02T15:04:05Z"
tag: tag

Expand All @@ -50,15 +50,15 @@ pipeline-bundles:
- digest: sha256:${REGISTRY_acceptance/bundle:tag_DIGEST}
effective_on: "${TIMESTAMP}"
tag: tag
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "2006-01-02T15:04:05Z"
tag: tag
task-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:${REGISTRY_acceptance/bundle:tag_DIGEST}
effective_on: "${TIMESTAMP}"
tag: tag
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "2006-01-02T15:04:05Z"
tag: tag

Expand Down
16 changes: 8 additions & 8 deletions features/track_bundle.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ Feature: track bundles
---
pipeline-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: tag
task-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: tag
Expand All @@ -49,18 +49,18 @@ Feature: track bundles
---
pipeline-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:210498ce79b1184ad92fadd6d658ee80e4d6d142f759d2f4c1c63d54f60bd2c6
- digest: sha256:980e69d9bbfb10d28506863fa479b361cd25b38483951a17d60932f777ac0240
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: "1.1"
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: "1.0"
task-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:210498ce79b1184ad92fadd6d658ee80e4d6d142f759d2f4c1c63d54f60bd2c6
- digest: sha256:980e69d9bbfb10d28506863fa479b361cd25b38483951a17d60932f777ac0240
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: "1.1"
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: "1.0"
Expand All @@ -76,12 +76,12 @@ Feature: track bundles
---
pipeline-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: tag
task-bundles:
${REGISTRY}/acceptance/bundle:
- digest: sha256:21040e5abd0e077b7344574473468beff02cd6cc66dc464acb3c6b4be5bb82af
- digest: sha256:96e96850c6561bdd7514d0f9849e3cdb2f3c284480663128a438537f602ff64e
effective_on: "${TODAY_PLUS_30_DAYS}"
tag: tag
Expand Down

0 comments on commit 6a40245

Please sign in to comment.