Skip to content

Commit 158019c

Browse files
[skip-release] Match generated lock YAML
1 parent 53c9156 commit 158019c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/test-create.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ assert_template_lock() {
5757
test "$(stat -c '%a' "${lock}")" = "644"
5858
grep -Fxq 'apiVersion: sitectl.libops.io/v1alpha1' "${lock}"
5959
grep -Fxq 'kind: TemplateLock' "${lock}"
60-
grep -Eq '^ commit: [0-9a-f]{40}([0-9a-f]{24})?$' "${lock}"
61-
grep -Fxq " repository: https://github.com/libops/${PLUGIN_NAME}" "${lock}"
62-
grep -Eq '^ digest: sha256:[0-9a-f]{64}$' "${lock}"
63-
grep -Fxq ' revision: v1.0.0' "${lock}"
60+
grep -Eq '^ commit: [0-9a-f]{40}([0-9a-f]{24})?$' "${lock}"
61+
grep -Fxq " repository: https://github.com/libops/${PLUGIN_NAME}" "${lock}"
62+
grep -Eq '^ digest: sha256:[0-9a-f]{64}$' "${lock}"
63+
grep -Fxq ' revision: v1.0.0' "${lock}"
6464
}
6565

6666
create_site() {

0 commit comments

Comments
 (0)