ConfigValidator

Config Validator validates & uploads your configuration files and cache clears your CDN as part of your CI process.

MIT License

Stars
7

Config Validator validates & uploads your configuration files and clears CDN cache as part of your CI process.

For more information on Config Validator, take a look at the keynote presentation.

Features

  • Validates JSON or Property List (.plist) files.
  • Uploads only valid files modified in latest Git commit to Amazon S3 (AWS).
  • Sets uploaded files public readable.
  • Invalidates CloudFront cache for uploaded files.
  • Supports integration with Slack.
  • Written in Swift.

Installation

Homebrew

To install using Homebrew, run the following command:

brew install rwbutler/tools/config-validator

Mint

To install using Mint run the following command:

mint install rwbutler/configvalidator 

Swift Package Manager

To build using Swift Package Manager, run the following command:

swift build -c release --disable-sandbox

Usage

In order to view options, execute config-validator with no arguments:

--cloudfront-distribution-id: Set to invalidate CloudFront distribution with the specified identifier.

--force-upload: Uploads all validated files even where not modified in the latest commit.

--files: Specifies files to be validated.

--plist-validator: (-p) Specifies the Property List validator to use.

--silent: (-s) Prevents output being emitted.

--slack-url: Set to output to a Slack hook URL.

--upload-method: Specifies the method of upload.

--upload-urls: Specifies URLs to upload validated files to. Must contain same number of URLs as number of files to validate.

--verbose: (-v) Emits verbose output.

Author

Ross Butler

License

Config Validator is available under the MIT license. See the LICENSE file for more info.

Additional Software

Controls

AnimatedGradientView
AnimatedGradientView

Frameworks

  • Cheats - Retro cheat codes for modern iOS apps.
  • Connectivity - Improves on Reachability for determining Internet connectivity in your iOS application.
  • FeatureFlags - Allows developers to configure feature flags, run multiple A/B or MVT tests using a bundled / remotely-hosted JSON configuration file.
  • Hash - Lightweight means of generating message digests and HMACs using popular hash functions including MD5, SHA-1, SHA-256.
  • Skylark - Fully Swift BDD testing framework for writing Cucumber scenarios using Gherkin syntax.
  • TailorSwift - A collection of useful Swift Core Library / Foundation framework extensions.
  • TypographyKit - Consistent & accessible visual styling on iOS with Dynamic Type support.
  • Updates - Automatically detects app updates and gently prompts users to update.
Cheats Connectivity FeatureFlags Skylark TypographyKit Updates
Cheats Connectivity FeatureFlags Skylark TypographyKit Updates

Tools

  • Clear DerivedData - Utility to quickly clear your DerivedData directory simply by typing cdd from the Terminal.
  • Config Validator - Config Validator validates & uploads your configuration files and cache clears your CDN as part of your CI process.
  • IPA Uploader - Uploads your apps to TestFlight & App Store.
  • Palette - Makes your TypographyKit color palette available in Xcode Interface Builder.
Config Validator IPA Uploader Palette
Config Validator IPA Uploader Palette
Badges
Extracted from project README
CI Status License Swift 5.0 Reviewed by Hound AnimatedGradientView Cheats Connectivity FeatureFlags Skylark TypographyKit Updates Config Validator IPA Uploader Palette
Related Projects