Skip to content

Commit

Permalink
chore: remove examples-tests (#2187)
Browse files Browse the repository at this point in the history
For context, the team decided to remove the example tests because they are relatively costly to run (they create IaaS resources), and have a lot of overlap with the acceptance tests also in this repo, and it was thought that the benefit was not worth the ongoing cost.
  • Loading branch information
ifindlay-cci authored Oct 30, 2024
1 parent 16c0b46 commit cb2ccf4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 76 deletions.
1 change: 0 additions & 1 deletion aws-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,3 @@ bind:
- field_name: port
type: integer
details: The port number of the exposed MSSQL instance.
examples: []
16 changes: 0 additions & 16 deletions aws-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,19 +390,3 @@ bind:
- field_name: port
type: integer
details: The port number of the exposed mysql instance.
examples:
- name: example
description: Create an example-plan MySQL instance
plan_id: 0f3522b2-f040-443b-bc53-4aed25284840
provision_params: {"publicly_accessible": true}
bind_params: {}
- name: disable-upgrades
description: Create a MySQL instance with disabled upgrades
plan_id: 0f3522b2-f040-443b-bc53-4aed25284840
provision_params: {"allow_major_version_upgrade": false, "auto_minor_version_upgrade": false, "publicly_accessible": true}
bind_params: {}
- name: with-maintenance-window
description: Create a MySQL instance with maintenance window
plan_id: 0f3522b2-f040-443b-bc53-4aed25284840
provision_params: {"maintenance_day": "Thu", "maintenance_start_hour": "15", "maintenance_start_min": "30", "maintenance_end_hour": "17", "maintenance_end_min": "00", "publicly_accessible": true}
bind_params: {}
21 changes: 1 addition & 20 deletions aws-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,23 +420,4 @@ bind:
details: The jdbc url to connect to the database instance and database.
- field_name: port
type: integer
details: The port number of the exposed postgres instance.
examples:
- name: default
description: Create a default PostgreSQL instance
plan_id: de7dbcee-1c8d-11ed-9904-5f435c1e2316
provision_params: {"publicly_accessible": true, "provider_verify_certificate": false}
bind_params: {}
bind_can_fail: true
- name: default-with-features
description: Create a medium multiaz PostgreSQL instance
plan_id: de7dbcee-1c8d-11ed-9904-5f435c1e2316
provision_params: {"publicly_accessible": true, "multi_az": true, "storage_encrypted": true, "provider_verify_certificate": false}
bind_params: {}
bind_can_fail: true
- name: default-with-maintenance-window
description: Create a small PostgreSQL instance with encrypted storage
plan_id: de7dbcee-1c8d-11ed-9904-5f435c1e2316
provision_params: {"maintenance_day": "Thu", "maintenance_start_hour": "15", "maintenance_start_min": "30", "maintenance_end_hour": "17", "maintenance_end_min": "00", "publicly_accessible": true, "provider_verify_certificate": false}
bind_params: {}
bind_can_fail: true
details: The port number of the exposed postgres instance.
16 changes: 0 additions & 16 deletions aws-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,19 +324,3 @@ bind:
template_refs:
noop: terraform/redis/cluster/binding/noop.tf
outputs: []
examples:
- name: example
description: Create an example-plan Redis instance
plan_id: c7f64994-a1d9-4e1f-9491-9d8e56bbf146
provision_params: {"multi_az_enabled": false}
bind_params: {}
- name: with-custom-region
description: Create a Redis instance with a custom region
plan_id: c7f64994-a1d9-4e1f-9491-9d8e56bbf146
provision_params: {"region": "us-east-1", "multi_az_enabled": false}
bind_params: {}
- name: with-custom-node_type
description: Create a Redis instance with a custom node_type and slow logs enabled
plan_id: 2deb6c13-7ea1-4bad-a519-0ac9600e9a29
provision_params: {"node_type": "cache.t2.micro", "multi_az_enabled": false, "logs_slow_log_enabled": true}
bind_params: {}
13 changes: 1 addition & 12 deletions aws-s3-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,4 @@ bind:
details: AWS access key
- field_name: secret_access_key
type: string
details: AWS secret access key
examples:
- name: s3-default
description: Default S3 Bucket
plan_id: f64891b4-5021-4742-9871-dfe1a9051302
provision_params: {}
bind_params: {}
- name: s3-authenticated-read
description: S3 Bucket with ACL authenticated-read
plan_id: f64891b4-5021-4742-9871-dfe1a9051302
provision_params: {"acl": "authenticated-read", "boc_object_ownership": "BucketOwnerPreferred"}
bind_params: {}
details: AWS secret access key
11 changes: 0 additions & 11 deletions aws-sqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,3 @@ bind:
- field_name: secret_access_key
type: string
details: AWS secret access key
examples:
- name: standard
description: Standard Queue
plan_id: c2fdfc84-bf86-11ee-a4f5-8b0d531ce7e2
provision_params: {}
bind_params: {}
- name: fifo
description: FIFO queue
plan_id: 093c1060-c1c0-11ee-8b97-ff07a1127dae
provision_params: {"fifo_throughput_limit": "perMessageGroupId", "deduplication_scope": "messageGroup"}
bind_params: {}

0 comments on commit cb2ccf4

Please sign in to comment.