UNPKG

deliverybot

Version:

Controls and configures deployments using the GitHub API.

405 lines (221 loc) 18.1 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [0.5.3-6](https://github.com/deliverybot/deliverybot/compare/v0.5.3-5...v0.5.3-6) (2019-11-24) ### Features * Match refs with glob ([2ede53a](https://github.com/deliverybot/deliverybot/commit/2ede53a)) ### [0.5.3-5](https://github.com/deliverybot/deliverybot/compare/v0.5.3-4...v0.5.3-5) (2019-11-19) ### Bug Fixes * Watch uses its own id ([7b58117](https://github.com/deliverybot/deliverybot/commit/7b58117)) ### [0.5.3-4](https://github.com/deliverybot/deliverybot/compare/v0.5.3-3...v0.5.3-4) (2019-11-18) ### Bug Fixes * Remove old watches. ([2eeed14](https://github.com/deliverybot/deliverybot/commit/2eeed14)) ### [0.5.3-3](https://github.com/deliverybot/deliverybot/compare/v0.5.3-2...v0.5.3-3) (2019-11-18) ### Bug Fixes * Log statement style ([bce7e5b](https://github.com/deliverybot/deliverybot/commit/bce7e5b)) ### [0.5.3-2](https://github.com/deliverybot/deliverybot/compare/v0.5.3-1...v0.5.3-2) (2019-11-18) ### Bug Fixes * Push watch execute with install ([65b1fbc](https://github.com/deliverybot/deliverybot/commit/65b1fbc)) ### [0.5.3-1](https://github.com/deliverybot/deliverybot/compare/v0.5.3-0...v0.5.3-1) (2019-11-18) ### [0.5.3-0](https://github.com/deliverybot/deliverybot/compare/v0.5.2...v0.5.3-0) (2019-11-18) ### Features * Add auto deploy using watches ([cdf5719](https://github.com/deliverybot/deliverybot/commit/cdf5719)) ### [0.5.2](https://github.com/deliverybot/deliverybot/compare/v0.5.1...v0.5.2) (2019-11-07) ### Bug Fixes * Ensure config errors are logged correctly ([e300a93](https://github.com/deliverybot/deliverybot/commit/e300a93)) ### Features * Change repo locking to use repoId ([0342998](https://github.com/deliverybot/deliverybot/commit/0342998)) * Implement locking store ([ee338da](https://github.com/deliverybot/deliverybot/commit/ee338da)) ### [0.5.1](https://github.com/deliverybot/deliverybot/compare/v0.5.0...v0.5.1) (2019-10-26) ### Features * Remove undeploy deployments ([fd6d7fb](https://github.com/deliverybot/deliverybot/commit/fd6d7fb)) ## [0.5.0](https://github.com/deliverybot/deliverybot/compare/v0.4.3...v0.5.0) (2019-10-24) ### Features * Remove UI from core deliverybot ([4770073](https://github.com/deliverybot/deliverybot/commit/4770073)) ### [0.4.3](https://github.com/deliverybot/deliverybot/compare/v0.4.2...v0.4.3) (2019-10-19) ### Bug Fixes * Make csrf optional ([bdac9f8](https://github.com/deliverybot/deliverybot/commit/bdac9f8)) ### [0.4.2](https://github.com/deliverybot/deliverybot/compare/v0.4.1...v0.4.2) (2019-10-18) ### Features * Implement an app config endpoint ([902b1e4](https://github.com/deliverybot/deliverybot/commit/902b1e4)) ### [0.4.1](https://github.com/deliverybot/deliverybot/compare/v0.4.0...v0.4.1) (2019-10-18) ### Bug Fixes * Use node-fetch for auth ([443680c](https://github.com/deliverybot/deliverybot/commit/443680c)) ## [0.4.0](https://github.com/deliverybot/deliverybot/compare/v0.3.5...v0.4.0) (2019-10-18) ### Features * Create a timeAgo helper ([cebb909](https://github.com/deliverybot/deliverybot/commit/cebb909)) * Remove probot dependency ([1814c3c](https://github.com/deliverybot/deliverybot/commit/1814c3c)) ### [0.3.5](https://github.com/deliverybot/deliverybot/compare/v0.3.4...v0.3.5) (2019-10-12) ### Bug Fixes * Mobile view fixes ([75f850c](https://github.com/deliverybot/deliverybot/commit/75f850c)), closes [#22](https://github.com/deliverybot/deliverybot/issues/22) * Undefined errors in commit queries ([34f7e03](https://github.com/deliverybot/deliverybot/commit/34f7e03)), closes [#23](https://github.com/deliverybot/deliverybot/issues/23) ### Features * Add message on commit page ([a502e35](https://github.com/deliverybot/deliverybot/commit/a502e35)), closes [#20](https://github.com/deliverybot/deliverybot/issues/20) ### [0.3.4](https://github.com/deliverybot/deliverybot/compare/v0.3.3...v0.3.4) (2019-10-10) ### Bug Fixes * Throw errors on auto deploy fail ([978ebf3](https://github.com/deliverybot/deliverybot/commit/978ebf3)) ### [0.3.3](https://github.com/deliverybot/deliverybot/compare/v0.3.2...v0.3.3) (2019-10-09) ### Bug Fixes * Correct deploy error reporting for conflicts ([1820fdb](https://github.com/deliverybot/deliverybot/commit/1820fdb)) ### Features * Log in automatically on home ([1d74316](https://github.com/deliverybot/deliverybot/commit/1d74316)) ### [0.3.2](https://github.com/deliverybot/deliverybot/compare/v0.3.1...v0.3.2) (2019-10-07) ### Bug Fixes * Fix failed get config ([4962826](https://github.com/deliverybot/deliverybot/commit/4962826)) ### [0.3.1](https://github.com/deliverybot/deliverybot/compare/v0.3.0...v0.3.1) (2019-10-06) ### Bug Fixes * Add ref to auto deploy contents ([7a01621](https://github.com/deliverybot/deliverybot/commit/7a01621)) ## [0.3.0](https://github.com/deliverybot/deliverybot/compare/v0.2.0...v0.3.0) (2019-10-06) ### Features * Move to a single deployment per target ([80956bf](https://github.com/deliverybot/deliverybot/commit/80956bf)), closes [#19](https://github.com/deliverybot/deliverybot/issues/19) ## [0.2.0](https://github.com/deliverybot/deliverybot/compare/v0.1.9...v0.2.0) (2019-10-05) ### Features * Implement locking of auto deployments ([65aeaba](https://github.com/deliverybot/deliverybot/commit/65aeaba)) ### [0.1.9](https://github.com/deliverybot/deliverybot/compare/v0.1.8...v0.1.9) (2019-10-04) ### Features * Inject store interface into load ([709e4ef](https://github.com/deliverybot/deliverybot/commit/709e4ef)) ### [0.1.8](https://github.com/deliverybot/deliverybot/compare/v0.1.7...v0.1.8) (2019-10-02) ### Bug Fixes * Change name of deployment list ([c07c4c5](https://github.com/deliverybot/deliverybot/commit/c07c4c5)) * Fix failure if dom element removed ([de3fd69](https://github.com/deliverybot/deliverybot/commit/de3fd69)) ### Features * Add link to spectrum ([83aa6ba](https://github.com/deliverybot/deliverybot/commit/83aa6ba)) ### [0.1.7](https://github.com/deliverybot/deliverybot/compare/v0.1.6...v0.1.7) (2019-09-30) ### Bug Fixes * Use last deployment status not first ([915e220](https://github.com/deliverybot/deliverybot/commit/915e220)) ### [0.1.6](https://github.com/deliverybot/deliverybot/compare/v0.1.5...v0.1.6) (2019-09-30) ### Bug Fixes * Ensure repo is correct on watch ([22fc544](https://github.com/deliverybot/deliverybot/commit/22fc544)) ### Features * Use latest status as deployment state ([b50e494](https://github.com/deliverybot/deliverybot/commit/b50e494)) ### [0.1.5](https://github.com/deliverybot/deliverybot/compare/v0.1.4...v0.1.5) (2019-09-29) ### Bug Fixes * Deployment can have undefined sha ([2261c7e](https://github.com/deliverybot/deliverybot/commit/2261c7e)) ### [0.1.4](https://github.com/deliverybot/deliverybot/compare/v0.1.3...v0.1.4) (2019-09-29) ### Bug Fixes * Removal deploy use sha ([3cfef95](https://github.com/deliverybot/deliverybot/commit/3cfef95)) ### [0.1.3](https://github.com/deliverybot/deliverybot/compare/v0.1.2...v0.1.3) (2019-09-26) ### Bug Fixes * Clean up logging parameters ([fb895cf](https://github.com/deliverybot/deliverybot/commit/fb895cf)) * Remove next if used ([c93443c](https://github.com/deliverybot/deliverybot/commit/c93443c)) ### Features * Add turbolinks for speed ([2db0a75](https://github.com/deliverybot/deliverybot/commit/2db0a75)) * Add user scope for email ([a275239](https://github.com/deliverybot/deliverybot/commit/a275239)) * Dynamically load in deployments and checks ([5c03a07](https://github.com/deliverybot/deliverybot/commit/5c03a07)) ### [0.1.2](https://github.com/deliverybot/deliverybot/compare/v0.1.1...v0.1.2) (2019-09-18) ### Bug Fixes * Redirect to original after login ([a3b1398](https://github.com/deliverybot/deliverybot/commit/a3b1398)) ### [0.1.1](https://github.com/deliverybot/deliverybot/compare/v0.1.0...v0.1.1) (2019-09-17) ### Features * Direct install link ([bbdb0f3](https://github.com/deliverybot/deliverybot/commit/bbdb0f3)) ## [0.1.0](https://github.com/deliverybot/deliverybot/compare/v0.0.7...v0.1.0) (2019-09-12) ### ⚠ BREAKING CHANGES * Match GitHub actions template syntax using the ${{ }} style parameters. Additionally adds more parameters into the template logic: * pull_request with full PR data. * commit with full commit information. * owner, target, repo parameters. * Keeps pr and short_sha parameters for compatibility. ### Bug Fixes * Fix commit status ids ([265a888](https://github.com/deliverybot/deliverybot/commit/265a888)) * Larger commit status popover ([3f2e4c6](https://github.com/deliverybot/deliverybot/commit/3f2e4c6)) * Use popover instead of detail ([efd4ba8](https://github.com/deliverybot/deliverybot/commit/efd4ba8)) ### Features * Add a nothing status to deploys and commits ([0336bc8](https://github.com/deliverybot/deliverybot/commit/0336bc8)) * Add back link to repo header ([a367e92](https://github.com/deliverybot/deliverybot/commit/a367e92)) * Add last deployed along with latest marker ([690c86f](https://github.com/deliverybot/deliverybot/commit/690c86f)) * Add repositories link to header ([67d979d](https://github.com/deliverybot/deliverybot/commit/67d979d)) * Add timing to individual deployments ([2648a5e](https://github.com/deliverybot/deliverybot/commit/2648a5e)) * Clean up empty states and links ([cfb4e2f](https://github.com/deliverybot/deliverybot/commit/cfb4e2f)) * Match actions template syntax ([adc387f](https://github.com/deliverybot/deliverybot/commit/adc387f)) * Move location of required contexts ([87d8f37](https://github.com/deliverybot/deliverybot/commit/87d8f37)) * Provide a rollback button ([078cb45](https://github.com/deliverybot/deliverybot/commit/078cb45)) ### [0.0.7](https://github.com/deliverybot/deliverybot/compare/v0.0.6...v0.0.7) (2019-09-10) ### Bug Fixes * Cleanup page naming ([6aff4a9](https://github.com/deliverybot/deliverybot/commit/6aff4a9)) * Development 404 with app init ([b5d9da0](https://github.com/deliverybot/deliverybot/commit/b5d9da0)) * Refactor js to a file ([88cde4d](https://github.com/deliverybot/deliverybot/commit/88cde4d)) ### Features * Add logout ([0f0fc8c](https://github.com/deliverybot/deliverybot/commit/0f0fc8c)) * Change routes ([c99f6da](https://github.com/deliverybot/deliverybot/commit/c99f6da)) * Move to static path ([7c7aee7](https://github.com/deliverybot/deliverybot/commit/7c7aee7)) * Smarter redirect ([4e63d61](https://github.com/deliverybot/deliverybot/commit/4e63d61)) ### [0.0.6](https://github.com/deliverybot/deliverybot/compare/v0.0.5...v0.0.6) (2019-09-01) ### Bug Fixes * Commit page ok not defined ([3a2d98f](https://github.com/deliverybot/deliverybot/commit/3a2d98f)) * Deploy current commit not branch ([2e38822](https://github.com/deliverybot/deliverybot/commit/2e38822)) ### [0.0.5](https://github.com/deliverybot/deliverybot/compare/v0.0.4...v0.0.5) (2019-09-01) ### Bug Fixes * Allow deployments to set task ([83f82e5](https://github.com/deliverybot/deliverybot/commit/83f82e5)) * Bind toggles on page refresh ([fff6b0e](https://github.com/deliverybot/deliverybot/commit/fff6b0e)) * Empty state when no repos ([51f9eba](https://github.com/deliverybot/deliverybot/commit/51f9eba)) * Home should link to deploys ([2496fb9](https://github.com/deliverybot/deliverybot/commit/2496fb9)) * Log entire error message ([a0a8165](https://github.com/deliverybot/deliverybot/commit/a0a8165)) * Redirect after commit ([e661bbe](https://github.com/deliverybot/deliverybot/commit/e661bbe)) * Remove base owner/repo route ([5d3a7e7](https://github.com/deliverybot/deliverybot/commit/5d3a7e7)) * Schema property invalid ([2e5010a](https://github.com/deliverybot/deliverybot/commit/2e5010a)) ### Features * Add commit status to commit page ([c606498](https://github.com/deliverybot/deliverybot/commit/c606498)) * Add csrf protection for deployment forms ([ae93492](https://github.com/deliverybot/deliverybot/commit/ae93492)) * Add deployment descriptions ([e48b4f0](https://github.com/deliverybot/deliverybot/commit/e48b4f0)) * Add target selector to commit page ([9e716f0](https://github.com/deliverybot/deliverybot/commit/9e716f0)) * Ensure correct permission on pr deploy ([8bd07f3](https://github.com/deliverybot/deliverybot/commit/8bd07f3)) * Success status wins over waiting ([7e781da](https://github.com/deliverybot/deliverybot/commit/7e781da)) ### [0.0.4](https://github.com/deliverybot/deliverybot/compare/v0.0.3...v0.0.4) (2019-08-23) ### Bug Fixes * Remove dotenv don't need this ([63710f6](https://github.com/deliverybot/deliverybot/commit/63710f6)) * Remove pubsub app ([16f57cc](https://github.com/deliverybot/deliverybot/commit/16f57cc)) ### [0.0.3](https://github.com/deliverybot/deliverybot/compare/v0.0.2...v0.0.3) (2019-08-23) ### Bug Fixes * Fixes for running as a library ([5c24016](https://github.com/deliverybot/deliverybot/commit/5c24016)) ### [0.0.2](https://github.com/deliverybot/deliverybot/compare/v0.0.1...v0.0.2) (2019-08-22) ### Features * Dynamic loading on commits page ([55aefa8](https://github.com/deliverybot/deliverybot/commit/55aefa8)) * Move to library distribution ([86ef59f](https://github.com/deliverybot/deliverybot/commit/86ef59f)) * Realtime capabilities using external source ([08424b0](https://github.com/deliverybot/deliverybot/commit/08424b0)) ### 0.0.1 (2019-08-19) ### Bug Fixes * Always deploy by branch ref instead of commit ([fed4200](https://github.com/deliverybot/deliverybot/commit/fed4200)) * Clean up usage of fetching deploy config() ([ca9df59](https://github.com/deliverybot/deliverybot/commit/ca9df59)) * Ensure that helm initializes client only ([2977162](https://github.com/deliverybot/deliverybot/commit/2977162)) * Ensure that the correct preview headers set ([b975691](https://github.com/deliverybot/deliverybot/commit/b975691)) * Go back to using the unpkg version of css ([95f331f](https://github.com/deliverybot/deliverybot/commit/95f331f)) * Improve deploy button look ([0e7fd18](https://github.com/deliverybot/deliverybot/commit/0e7fd18)) * Next in middleware. ([40aebcb](https://github.com/deliverybot/deliverybot/commit/40aebcb)) * Remove executor build config ([3a1cddf](https://github.com/deliverybot/deliverybot/commit/3a1cddf)) * Remove testing code ([889ecd2](https://github.com/deliverybot/deliverybot/commit/889ecd2)) * Remove zip from package step ([dc22245](https://github.com/deliverybot/deliverybot/commit/dc22245)) * Set correct default chart ([8e76616](https://github.com/deliverybot/deliverybot/commit/8e76616)) * Set correct session name for firebase ([7328ac0](https://github.com/deliverybot/deliverybot/commit/7328ac0)) * Set steps for deliverying to gcloud ([109d147](https://github.com/deliverybot/deliverybot/commit/109d147)) * Set variable default correctly ([fb6f8c6](https://github.com/deliverybot/deliverybot/commit/fb6f8c6)) * Update app css to latest ([e9b2af6](https://github.com/deliverybot/deliverybot/commit/e9b2af6)) * Use oidShort in templates ([c10e3a9](https://github.com/deliverybot/deliverybot/commit/c10e3a9)) * Use the correct repository for deployments ([9c27031](https://github.com/deliverybot/deliverybot/commit/9c27031)) * Vary on accept header ([fb1dbd2](https://github.com/deliverybot/deliverybot/commit/fb1dbd2)) * Verify at least one deployment ([36d5d4f](https://github.com/deliverybot/deliverybot/commit/36d5d4f)) * Waiting status overruled by success ([d88b43b](https://github.com/deliverybot/deliverybot/commit/d88b43b)) * Whitelist cloud-functions image ([2fd751a](https://github.com/deliverybot/deliverybot/commit/2fd751a)) ### Features * Add error handling pages. ([9832dc6](https://github.com/deliverybot/deliverybot/commit/9832dc6)) * **executor:** Add executor framework. ([c978007](https://github.com/deliverybot/deliverybot/commit/c978007)) * Add commit page with deployment status ([967fef3](https://github.com/deliverybot/deliverybot/commit/967fef3)) * **executors/helm:** Move executor to use gitlab base ([860d20b](https://github.com/deliverybot/deliverybot/commit/860d20b)) * Add dynamic deploy commit page ([92a932e](https://github.com/deliverybot/deliverybot/commit/92a932e)) * Add executor package. ([7e65ce1](https://github.com/deliverybot/deliverybot/commit/7e65ce1)) * Add log display ([418f5de](https://github.com/deliverybot/deliverybot/commit/418f5de)) * Add main deliverybot github handling ([c346409](https://github.com/deliverybot/deliverybot/commit/c346409)) * Add repo listing and configuration ([e6e4b76](https://github.com/deliverybot/deliverybot/commit/e6e4b76)) * Cleaner deploy list style ([7dc3dd1](https://github.com/deliverybot/deliverybot/commit/7dc3dd1)) * Deploy master branch commits ([c7527cb](https://github.com/deliverybot/deliverybot/commit/c7527cb)) * Implement deployment to cloud functions ([6fe2dd4](https://github.com/deliverybot/deliverybot/commit/6fe2dd4)) * Improve deployments view page ([4155196](https://github.com/deliverybot/deliverybot/commit/4155196)) * Improve log page polling with status markers ([231e8c9](https://github.com/deliverybot/deliverybot/commit/231e8c9)) * Multiple deployments for a single target ([ec6ad9b](https://github.com/deliverybot/deliverybot/commit/ec6ad9b)) * Provide google cloud functions interop ([275ecb3](https://github.com/deliverybot/deliverybot/commit/275ecb3)) * **executors/helm:** Add helm executor ([7a54c3a](https://github.com/deliverybot/deliverybot/commit/7a54c3a)) * Remove deploy handler ([a5d8367](https://github.com/deliverybot/deliverybot/commit/a5d8367)) * Remove execution component ([b1ac741](https://github.com/deliverybot/deliverybot/commit/b1ac741)) * Secret management. ([11fe879](https://github.com/deliverybot/deliverybot/commit/11fe879)) * Setup probot app ([4c439c6](https://github.com/deliverybot/deliverybot/commit/4c439c6)) * Undeploy instead of inactive status ([29b195a](https://github.com/deliverybot/deliverybot/commit/29b195a))