Molly Struve
|
6eed518404
|
[deploy] Feature:Add ENV to Skip Fastly Config Update (#10251)
|
2020-09-08 13:11:12 -05:00 |
|
rhymes
|
b5ebf8f3dc
|
Routine rubocop fixes (#7743)
* Rubocop auto fixes
* Fix Capybara/VisibilityMatcher
* Regenerate todo
|
2020-05-08 19:38:06 +02:00 |
|
Alex
|
7149070bca
|
[deploy] Create FastlyConfig & refactor params safe list (#7630)
* Fastly refactor
- Create FastlyConfig
- Create FastlyConfig::Base
- Create FastlyConfig::Snippets
- Move safe_params to its own VCL file
- Rescue unauthorized errors in development
- Add FastlyConfig errors
* Move active version to method
* Update naming option --> config
* Refactor InvalidConfigsFormat msg to Error class
* Refactor active version logic
* Fix log_to_datadog call
* Move get_active_version logic back into method
* Add some specs ¯\_(ツ)_/¯
* Update Fastly rake task
* Remove old Fastly way
* Update docs for Fastly
* Move snippets to config/ & remove old config
* Change update_config to upsert_config
* Change error type to SubclassResponsibility
* Refactor get_updated_files with filter_map
* Refactor update
* Cleanup update_config --> upsert_config
* Fix updater specs
|
2020-05-01 11:23:48 -04:00 |
|
rhymes
|
2d26318cf9
|
[deploy] Replace (black|white)list with more inclusive language (#7459)
* Replace isBlacklisted
* Update fastly.rake task
* More renames
* Rename Faslty config file
* More changes
* Replace isForbiddenFromPreloading with isNotPreloadable
* Skip problematic test
* Re-enable
|
2020-04-27 18:00:12 +02:00 |
|
Alex
|
8b51d8e4b8
|
[deploy] Fix Fastly rake task spec and Travis CI (#7487)
* Try changing exit to next
* Add breaking test
* Fix search.rake
* Remove test failure
|
2020-04-23 16:06:57 -04:00 |
|
Alex
|
397734b29c
|
Generalize Fastly rake task (#7349)
* Generalize Fastly rake task
- Update Rubocop to disable DescribeClass on rake task specs
* Change default Fastly ENV vars to ""
* Move snippet name to ENV
* Update ENV to FASTLY_WHITELIST_PARAMS_SNIPPET_NAME
* Add FASTLY_WHITELIST_PARAMS_SNIPPET_NAME to the docs
* Update docs
* Quick refactor
|
2020-04-22 11:49:54 -04:00 |
|
Alex
|
cc6249beff
|
[deploy] Update whitelisted params on Fastly on deployments (#7279)
* Add Fastly whitelisted params
* Create FastlyVCL::WhitelistedParams.update service
* Add specs
* Create rake task to call new service
* Add rake task to setup script
* Add documentatoin
* Move sort inside params_to_array method
* Rename VCL_REGEX to VCL_DELIMITER
* Add PR URL to docs
* Move snippet name to SNIPPET_NAME constant
* Refactor setting content
* Rename params_to_array to params_to_sorted_array
* Change guard and log success on update
- Return early if params are equal
- Log success message to Rails.logger on update
- Log params diff to Datadog
* Return true explicitly
* Move rake task execution from to release-tasks
* Remove unnecessary environment guard in task
* Remove duplicate code param
* Refactor string from build_content
* Remove reliance on sort
* Reorder logging to implicitly return true
* Update docs to reference release-script.sh
* Update docs
* Update whitelisted params
* Fix params_updated? bug and add more specs
* Remove duplicate param...oopsie!
|
2020-04-16 15:11:57 -04:00 |
|