diff options
Diffstat (limited to 'spec/frontend/editor/schema/ci/json_tests')
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/default_no_additional_properties.json | 2 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/inherit_default_no_additional_properties.json | 6 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/job_variables_must_not_contain_objects.json | 6 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links.json (renamed from spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_invalid_link_type.json) | 22 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_empty.json | 13 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_missing.json | 11 | ||||
-rw-r--r-- | spec/frontend/editor/schema/ci/json_tests/negative_tests/retry_unknown_when.json | 2 |
7 files changed, 31 insertions, 31 deletions
diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/default_no_additional_properties.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/default_no_additional_properties.json index 955c19ef1ab..d30bc4649ab 100644 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/default_no_additional_properties.json +++ b/spec/frontend/editor/schema/ci/json_tests/negative_tests/default_no_additional_properties.json @@ -9,4 +9,4 @@ "name": "test" } } -} +}
\ No newline at end of file diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/inherit_default_no_additional_properties.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/inherit_default_no_additional_properties.json index 7411e4c2434..1a31467f9ae 100644 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/inherit_default_no_additional_properties.json +++ b/spec/frontend/editor/schema/ci/json_tests/negative_tests/inherit_default_no_additional_properties.json @@ -1,8 +1,10 @@ { "karma": { "inherit": { - "default": ["secrets"] + "default": [ + "secrets" + ] }, "script": "karma" } -} +}
\ No newline at end of file diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/job_variables_must_not_contain_objects.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/job_variables_must_not_contain_objects.json index bfdbf26ee70..68dd57824ab 100644 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/job_variables_must_not_contain_objects.json +++ b/spec/frontend/editor/schema/ci/json_tests/negative_tests/job_variables_must_not_contain_objects.json @@ -1,7 +1,9 @@ { "gitlab-ci-variables-object": { "stage": "test", - "script": ["true"], + "script": [ + "true" + ], "variables": { "DEPLOY_ENVIRONMENT": { "value": "staging", @@ -9,4 +11,4 @@ } } } -} +}
\ No newline at end of file diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_invalid_link_type.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links.json index 048911aefa3..00b5b54c7e2 100644 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_invalid_link_type.json +++ b/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links.json @@ -1,4 +1,24 @@ { + "gitlab-ci-release-assets-links-missing": { + "script": "dostuff", + "stage": "deploy", + "release": { + "description": "Created using the release-cli $EXTRA_DESCRIPTION", + "tag_name": "$CI_COMMIT_TAG", + "assets": {} + } + }, + "gitlab-ci-release-assets-links-empty": { + "script": "dostuff", + "stage": "deploy", + "release": { + "description": "Created using the release-cli $EXTRA_DESCRIPTION", + "tag_name": "$CI_COMMIT_TAG", + "assets": { + "links": [] + } + } + }, "gitlab-ci-release-assets-links-invalid-link-type": { "script": "dostuff", "stage": "deploy", @@ -21,4 +41,4 @@ } } } -} +}
\ No newline at end of file diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_empty.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_empty.json deleted file mode 100644 index 84a1aa14698..00000000000 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_empty.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "gitlab-ci-release-assets-links-empty": { - "script": "dostuff", - "stage": "deploy", - "release": { - "description": "Created using the release-cli $EXTRA_DESCRIPTION", - "tag_name": "$CI_COMMIT_TAG", - "assets": { - "links": [] - } - } - } -} diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_missing.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_missing.json deleted file mode 100644 index 6f0b5a3bff8..00000000000 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/release_assets_links_missing.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "gitlab-ci-release-assets-links-missing": { - "script": "dostuff", - "stage": "deploy", - "release": { - "description": "Created using the release-cli $EXTRA_DESCRIPTION", - "tag_name": "$CI_COMMIT_TAG", - "assets": {} - } - } -} diff --git a/spec/frontend/editor/schema/ci/json_tests/negative_tests/retry_unknown_when.json b/spec/frontend/editor/schema/ci/json_tests/negative_tests/retry_unknown_when.json index 433504f52c6..2c53ce07109 100644 --- a/spec/frontend/editor/schema/ci/json_tests/negative_tests/retry_unknown_when.json +++ b/spec/frontend/editor/schema/ci/json_tests/negative_tests/retry_unknown_when.json @@ -6,4 +6,4 @@ "when": "gitlab-ci-retry-object-unknown-when" } } -} +}
\ No newline at end of file |