{"_id":"@base-cms/travis-rancher-deployer","_rev":"4-c6e3b7b46587892923cb352527902c1c","name":"@base-cms/travis-rancher-deployer","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@base-cms/travis-rancher-deployer","version":"1.0.0","description":"A project to automate deployments to a Rancher 1.6 private cloud via TravisCI","main":"src/index.js","repository":{"type":"git","url":"https://github.com/base-cms/travis-rancher-deployer"},"author":{"name":"Josh Worden","email":"josh@limit0.io"},"license":"MIT","dependencies":{"envalid":"^4.1.4","node-fetch":"^2.3.0","object-path":"^0.11.4","retry":"^0.12.0","validator":"^10.9.0"},"scripts":{"start":"node src/index.js"},"licenseText":"MIT License\n\nCopyright (c) 2019 BaseCMS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@base-cms/travis-rancher-deployer@1.0.0","dist":{"shasum":"e8a95b5755ed1742b6e32290bc92e95efa183ff4","integrity":"sha512-CXZWx5iWctGqTPYgJwfZFxeYgjKsLlriHtWvfndzRMA6tAyI0daDzYvNkWeel1Jz3vFXi+pt86f3CrrQz5u9Nw==","tarball":"https://registry.npmjs.org/@base-cms/travis-rancher-deployer/-/travis-rancher-deployer-1.0.0.tgz","fileCount":8,"unpackedSize":7777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPMHHCRA9TVsSAnZWagAAyd8P/1lnhF10PfAwdscgCVxJ\nUDozQEDpywdsYFSt4psx2QhKtiKlsERr9b9UESGQXssV4nvIa65EXB7Ps9nA\nIZ5qahcpa8vujkWG2X05B11qcG4P3lhdJX9GwT+oKSzVO4Zd1K+itm+lFnnR\n54BcWKBGE1RB1Hu0MWEZ7slpfsv5u+BDLF7wzhDauJsu4Xvft5SISY1ATENi\nlbnh3b821PcTgMVnhSl1UnEQy+o/04Bq4SaQXS/1JyO782xfC8RJiNb9P4il\nehwsrXZ6O6ulGlHNPWVkPdDSyl2Qicw2E8mcMWsIy7EChlkqcA1JtNuCVP4Z\nydF8hqpQQnOlp7Qbnc2TASb8EBFBBjEut3znuU5/jbabpPChGqKuGjNc30p7\nEcfoqKw1TbnX2VKYGIXnUuex/9o4p6Ku9ZzDaUWcZhWnt6s4EVlL/LohXfwS\nDqjy5G0shYntBnYh/qfA3mW4yC+gGAS+E1MCPU+sBCw3FZC8LRwu5GNvHKzl\n3G2mIHUJ5w3NTRoaCJPm7srTydxu1U+xgPf/l3UfsyRVldMAyD8nz71b+VGU\nRrtQaD/rEADqhUcBtXJ7JS+gQfePpKM8VNk0Ki073D/eKJjIi3j6835MzumD\nOFLewHiUfCwBJURzseVdzAt5EoS44UeGD2/83C9h43R+iGwLSowXh0apVkRy\nGePK\r\n=Bg9V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDys/Tg3JqcJEgk+wnOCNC4qTCkGXIqfz7n9URnJ0Q8rwIgYoPWUa+eFi6BFPDKGbQ+SkdjfWBRkw+T0ux3GuYwUKE="}]},"maintainers":[{"name":"solocommand","email":"solocommand@gmail.com"},{"name":"zarathustra323","email":"jacob@limit0.io"}],"_npmUser":{"name":"solocommand","email":"solocommand@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-rancher-deployer_1.0.0_1547485639152_0.8756440666021132"},"_hasShrinkwrap":false},"1.0.1":{"name":"@base-cms/travis-rancher-deployer","version":"1.0.1","description":"A project to automate deployments to a Rancher 1.6 private cloud via TravisCI","main":"src/index.js","repository":{"type":"git","url":"https://github.com/base-cms/travis-rancher-deployer"},"author":{"name":"Josh Worden","email":"josh@limit0.io"},"license":"MIT","dependencies":{"envalid":"^4.1.4","node-fetch":"^2.3.0","object-path":"^0.11.4","retry":"^0.12.0","validator":"^10.9.0"},"scripts":{"start":"node src/index.js"},"licenseText":"MIT License\n\nCopyright (c) 2019 BaseCMS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@base-cms/travis-rancher-deployer@1.0.1","dist":{"shasum":"7902974d7c3ae8ea0a91d63410f693a767f6c86d","integrity":"sha512-qbZdHZqAZzYag4QAOcDvD0sx3hVc7aHWz7kdbA7unW6pYke+ja7UQnoFM6k+zPNg1YxnOlyStKupfeQyDYXsnQ==","tarball":"https://registry.npmjs.org/@base-cms/travis-rancher-deployer/-/travis-rancher-deployer-1.0.1.tgz","fileCount":8,"unpackedSize":7777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPMJBCRA9TVsSAnZWagAAy3QP/0+dKL1ACV7JBhYpTHS5\n1FGiRdcBAvCCGAvkpLlpfoQGl5D+fT6zmah0/VYqylRZRGczzDThBzJuIXa7\nmf5Y3oyvUUz5qBpeBdeQi9EtKpTKX5V7JAWQdEjpIKU5X404/zAAVHMvLVml\nIUGjPsr/59hpSc+8JH7g3rnoyI0/SS6e1guVZqar6MQdWUVbo6q50J1pvTjk\nk71KsXoxGAKYbaJpzsUg+RNnZ08qQbS2muYMvSdudJfU55Yf6+9olE6M6Us/\nUJ4LLwCmGHSulZDcMpNiNHHVRIP9s14FTzwtt7rSM7L6Lm5341u3vUqjoYe1\nGjF0nwWxEvXhJA0n75FT3qqXgTkaDBUbemGsfWPxNVu4w5oKwdffvbHYGPwb\n1PVHpZDX+sOMBlTBKxLZR1qA3xLMboBOMOynbaNRlnRmR0nIt3MU9QFQd0cm\nrSaFOnAlI+BOAlIs8pOKqbmaGLj+eMVftCUY3SZoSS3McYZZaZmRRSYCF2JN\niyzZvcpa3v3BNbKZLa2bvOfGSD8qiEnD67TUUVsYwF0dzRq8LLTtyf6uPwyx\nvlz6bkdaNiyMbGBv+LEHE7V5cB4TOxzi16FxYvxdk7ljDQicIU+Ci9OXV8gF\nCVD0vsmGyL3zofdnjBOnG7OHLPJzzK7sivMoVCWSfp3grq1ATc4RoUxbWB2x\nMzGE\r\n=WFnW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxJNMD1YarOvsN0exOnM5zRt3dcV1WFYn8bPuqY5gQ4gIgNR9nRTJKCVXCRITvY8K7ssDqRc7cr3N9X33WndATJnQ="}]},"maintainers":[{"name":"solocommand","email":"solocommand@gmail.com"},{"name":"zarathustra323","email":"jacob@limit0.io"}],"_npmUser":{"name":"solocommand","email":"solocommand@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-rancher-deployer_1.0.1_1547485760496_0.11030535511214579"},"_hasShrinkwrap":false},"1.0.2":{"name":"@base-cms/travis-rancher-deployer","version":"1.0.2","description":"A project to automate deployments to a Rancher 1.6 private cloud via TravisCI","main":"src/index.js","repository":{"type":"git","url":"https://github.com/base-cms/travis-rancher-deployer"},"author":{"name":"Josh Worden","email":"josh@limit0.io"},"license":"MIT","dependencies":{"envalid":"^4.1.4","node-fetch":"^2.3.0","object-path":"^0.11.4","retry":"^0.12.0","validator":"^10.9.0","yargs":"^12.0.5"},"bin":{"deploy-to-rancher":"./src/index.js"},"licenseText":"MIT License\n\nCopyright (c) 2019 BaseCMS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@base-cms/travis-rancher-deployer@1.0.2","dist":{"shasum":"a257ae7d7b55e22e01ae6f6051706d30d3c9dafc","integrity":"sha512-BGLAFQlzlDTei4j957ErkO1KowOpTHDKCZRGNSBrrZucX4aiWO6j2DTLKFfHj80tFT6x7jDIB8qWtBMQoHzyWg==","tarball":"https://registry.npmjs.org/@base-cms/travis-rancher-deployer/-/travis-rancher-deployer-1.0.2.tgz","fileCount":8,"unpackedSize":8391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPOvKCRA9TVsSAnZWagAAKYgQAJnDSvwynKPYQaWSBEGB\nKLAGYz+sFgE403mwvSrKPv5ierxtushzZLxhaX03LOJAtP5rs0ezkra1X08H\nTu6BWtYBdSSNo1+Vp/5UrHjgXpHrU5quKjxAKq7NQhSmijJsS/4pVTlcg1vu\n7aqv1F2l2/tJHA5O2OZtKSZ1Nt1OQaV6Mr0qIvOFEzKnJcgNnGagPA415WCA\njYmQfPlSP9zrt3xO6rovhZFnrJDCsYRicg8iRBz/h5ejn8xjG448qURDHeQ4\nV19wvuGPihsCzIORThjzyIn2j5ppOYDuOB36pKqi09rdx8Zpcsg9bVWu/WZJ\nhBhDjs26KGX+hHWcIdG+7uR2PvVJtfJQJ7bdA7uDLFM3A0w7kssq8i52FhWe\n63CqU/8XPp6zbLl1SS6Lq2xMg11z3F+AmyaybEetMhevIdYgKlY0Zxi2150F\nU9N8mgrypfy8uqRA2jC3udcftPOU2GXV1wqKLTvZNxRBNqmqRiCQ265QoTt8\nlvq2OmULFv1QGYrecPXr0jNUGXohA5x8l+sjTNFTmAJA1qieIJPdZx2dcyDD\nczQ8NWrnCC9pqSGVj+ZLiFutK6Xeoudc/wzYDTxUtoJKOaer1Sg8MZQlIw1h\nfm3OjsqAtZAsYZAmVyVwsbzQmqrDesm8OjyWzHMO7BOSOousamOVghW0v/ZS\nf8D8\r\n=Tj94\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEvt9dCOzzHjeff4IqsqGJ5x6EmDULtVIFEwOoNaQDGAiBhkdg3McCfEU6K8iSFY1c5Zm4Qfwk7IH5PvziiQCdSqg=="}]},"maintainers":[{"name":"solocommand","email":"solocommand@gmail.com"},{"name":"zarathustra323","email":"jacob@limit0.io"}],"_npmUser":{"name":"solocommand","email":"solocommand@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-rancher-deployer_1.0.2_1547496394196_0.3533019661666357"},"_hasShrinkwrap":false},"1.0.3":{"name":"@base-cms/travis-rancher-deployer","version":"1.0.3","description":"A project to automate deployments to a Rancher 1.6 private cloud via TravisCI","main":"src/index.js","repository":{"type":"git","url":"https://github.com/base-cms/travis-rancher-deployer"},"author":{"name":"Josh Worden","email":"josh@limit0.io"},"license":"MIT","dependencies":{"envalid":"^4.1.4","node-fetch":"^2.3.0","object-path":"^0.11.4","retry":"^0.12.0","validator":"^10.9.0","yargs":"^12.0.5"},"bin":{"deploy-to-rancher":"./src/index.js"},"licenseText":"MIT License\n\nCopyright (c) 2019 BaseCMS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@base-cms/travis-rancher-deployer@1.0.3","dist":{"shasum":"fdd53e0d6d683589e6304a923d507008c697b4df","integrity":"sha512-FWOV2VmC10T3JPVWv3rMN5iq9bhjqQcmKWHUmrzOl7RS8ESXtnQoxWUV7YQ6D/t14Acpknm9z+151HmBd0YM5A==","tarball":"https://registry.npmjs.org/@base-cms/travis-rancher-deployer/-/travis-rancher-deployer-1.0.3.tgz","fileCount":8,"unpackedSize":8624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXcB/CRA9TVsSAnZWagAA+goP/2x/DlipuGwg5wvSXxVl\nVg/E1Tq0wfrKnpH8QC2QJSW15e+LqgGXL0p4/mmkBcGs8Aa7g1PkUZxqaDz1\ntzCqPe2L1s8XjhModB51Gslik82niLgmlzD5A43CeCqH5whQY13L2A+zGQJc\nL5KZgxAvSX+vLgTrycpdbFHsRwG6ilaC5Y18tlLJJnMKP/F/zBKF6D7/CukI\nI4Z8zWXVS/Gqey99XvIHRDIwiTzggGKxbXTmTyOOXRWE7kfDfhgrdNPBePg4\nvrO3ODSY2xxpz/31WxyLwQKbKYVr3OSY6DgGsT/jhzTmGOYSn+gVUWukFPxo\nwoHfBGCGur8wCmswjA6x6pJyROwFqwUN9jxtOkEx6jzBRqiD9Isls+Tp+NtE\n5LPJLr4cpPn/IYxe+wDcrvpnl7I7UPPzkbiMj9/nYWTVJrb5edmYwv24AMrM\n8Nfw6ZG1B+zxUJYkPGOS8vh1RPtlRx8hy4vByqAGHvrke2iAvoVffjtyRmqQ\nYnoG31GiG86ffAwEjut22RLhrO1HiPxIdaaQf2Q0Dd/vEXF7cGMrD7zAa33v\nBp7YRLWse9qiAUZZ8xpM63cPe7NXz+BAOAro7mnukwAT85PcaHbsNykRCyPK\na5jmYPNvIHdorwaLgYdBt2hvFQDt/UdLtho/Yvc9IlaYRte4L+OrNqnjOfa8\nSRLi\r\n=ne7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB17dUqiW4p5VZ11pHuPqMEVIiPy/pN1sS7Jay8qrTagIhANFl9Mw47yHFZKgJis+Z58+e0NSopgEKltv7f/o6gtCe"}]},"maintainers":[{"name":"solocommand","email":"solocommand@gmail.com"},{"name":"zarathustra323","email":"jacob@limit0.io"}],"_npmUser":{"name":"solocommand","email":"solocommand@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-rancher-deployer_1.0.3_1549647998461_0.32596948184128527"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-14T17:07:18.978Z","1.0.0":"2019-01-14T17:07:19.363Z","modified":"2022-04-04T17:45:43.176Z","1.0.1":"2019-01-14T17:09:20.614Z","1.0.2":"2019-01-14T20:06:34.333Z","1.0.3":"2019-02-08T17:46:38.591Z"},"maintainers":[{"name":"solocommand","email":"solocommand@gmail.com"},{"name":"zarathustra323","email":"jacob@limit0.io"}],"description":"A project to automate deployments to a Rancher 1.6 private cloud via TravisCI","repository":{"type":"git","url":"https://github.com/base-cms/travis-rancher-deployer"},"author":{"name":"Josh Worden","email":"josh@limit0.io"},"license":"MIT","readme":"# travis-rancher-deployer\nA project to automate deployments to a Rancher 1.6 private cloud via TravisCI\n\n## Usage\n\nTo use this project, you should install it as part of your build process. For example under yarn: `yarn global add @base-cms/travis-rancher-deployer`.\n\nYou can then use the `deploy-to-rancher` command from the CLI. The command expects the following arguments:\n\n- image: The docker image to deploy, e.g; `base-cms/parcel-plug:v1`\n- service: The Rancher service label value to target.\n\n```yaml\n# travis.yml\ndeploy:\n  -\n    provider: script\n    script: cd scripts/deploy.sh\n    on:\n      tags: true\n      condition: \"$TRAVIS_TAG =~ ^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+$\"\n```\n\n```sh\n# scripts/deploy.sh\n#!/bin/sh\nyarn global add @base-cms/travis-rancher-deployer\ndeploy-to-rancher \"myorg/my-image:${TRAVIS_TAG}\" \"what-to-upgrade\"\n```\n\nThis project uses `envalid` to ensure that the following required deployment parameters have been specified. You can set these in your Travis env matrix, or via the TravisCI repository settings.\n\n```bash\nRANCHER_URI=https://my_rancher_url/v2-beta/projects/my_project_id\nRANCHER_ACCESS_KEY=my_access_key\nRANCHER_SECRET_KEY=my_secret_key\n```\n\nUsing the configuration above will search for services using a label of `service=what-to-upgrade` and upgrade them to `myorg/my-image:${TRAVIS_TAG}`.\n","readmeFilename":"README.md"}