From 42c97b14550b836fd35aa9dc340e5b7219d9331b Mon Sep 17 00:00:00 2001 From: ChrisAdderley Date: Tue, 19 Feb 2019 16:19:31 -0800 Subject: [PATCH] Check in scripts --- .gitignore | 7 ++- .travis.yml | 50 ++++++++++++++++ Distribution/Restock/.mod_data.yml | 23 ++++++++ Distribution/Restock/changelog.txt | 4 +- Distribution/RestockPlus/.mod_data.yml | 23 ++++++++ Distribution/RestockPlus/changelog.txt | 80 +++++++++++++------------- 6 files changed, 142 insertions(+), 45 deletions(-) create mode 100644 .travis.yml create mode 100644 Distribution/Restock/.mod_data.yml create mode 100644 Distribution/RestockPlus/.mod_data.yml diff --git a/.gitignore b/.gitignore index 4b82ccd9..c639e250 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -.vs/ -bin/ -obj/ +tmp/ +deploy/ +build/ +build-deploy/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..59eb2b4e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,50 @@ +language: python +python: + - 3.6 +install: + - pip install awscli boto3 requests +branches: + only: + - prod +script: + - git clone https://github.com/post-kerbin-mining-corporation/build-deploy.git # clone this repo + - cd build-deploy + - git checkout master + - cd .. + - python build-deploy/src/package.py ".\Distribution\Restock\.mod_data.yml" + - python build-deploy/src/package.py ".\Distribution\RestockPlus\.mod_data.yml" +before_deploy: + - python build-deploy/src/stage.py # Run the staging script +deploy: + - provider: script + script: python build-deploy/src/deploy.py ".\Distribution\Restock\.mod_data.yml" + skip_cleanup: true + on: + condition: $TRAVIS_BRANCH = prod + - provider: script + script: python build-deploy/src/deploy.py ".\Distribution\Restock\.mod_data.yml" + skip_cleanup: true + on: + condition: $TRAVIS_BRANCH = prod + - provider: s3 # releases to S3 + access_key_id: $AWS_ACCESS_KEY_ID + secret_access_key: $AWS_SECRET_ACCESS_KEY + bucket: "nertea-ksp-modding-releases" + local_dir: deploy/ReStock + skip_cleanup: true + acl: public_read + region: us-east-2 + upload-dir: restock + on: + condition: $TRAVIS_BRANCH = prod + - provider: s3 # releases to S3 + access_key_id: $AWS_ACCESS_KEY_ID + secret_access_key: $AWS_SECRET_ACCESS_KEY + bucket: "nertea-ksp-modding-releases" + local_dir: deploy/ReStockPlus + skip_cleanup: true + acl: public_read + region: us-east-2 + upload-dir: restockplus + on: + condition: $TRAVIS_BRANCH = prod diff --git a/Distribution/Restock/.mod_data.yml b/Distribution/Restock/.mod_data.yml new file mode 100644 index 00000000..70277053 --- /dev/null +++ b/Distribution/Restock/.mod_data.yml @@ -0,0 +1,23 @@ +# Example annotated build data file +mod-name: ReStock +package: + include-dependencies: true # Include dependencies in the package + included-gamedata: + - ReStock + included-support: # Include these root-level files in packages + - readme.txt + - changelog.txt + - license.txt +dependencies: # Configure dependencies + ModuleManager: + version: 3.1.3 + location: s3 +deploy: + SpaceDock: + enabled: false # activate/deactivate this deployment script + mod-id: 709 # The Spacedock mod ID for deployment + CurseForge: + enabled: false # activate/deactivate this deployment script + mod-id: 230112 # The CurseForge mod ID for deployment + GitHub: + enabled: false # activate/deactivate this deployment script diff --git a/Distribution/Restock/changelog.txt b/Distribution/Restock/changelog.txt index 50efcbd4..e8413b9e 100644 --- a/Distribution/Restock/changelog.txt +++ b/Distribution/Restock/changelog.txt @@ -1,5 +1,5 @@ -0.1.0 ------ +v0.1.0 +------ - Initial release - Parts included: - Command diff --git a/Distribution/RestockPlus/.mod_data.yml b/Distribution/RestockPlus/.mod_data.yml new file mode 100644 index 00000000..8a641179 --- /dev/null +++ b/Distribution/RestockPlus/.mod_data.yml @@ -0,0 +1,23 @@ +# Example annotated build data file +mod-name: ReStockPlus +package: + include-dependencies: true # Include dependencies in the package + included-gamedata: + - ReStockPlus + included-support: # Include these root-level files in packages + - readme.txt + - changelog.txt + - license.txt +dependencies: # Configure dependencies + ModuleManager: + version: 3.1.3 + location: s3 +deploy: + SpaceDock: + enabled: false # activate/deactivate this deployment script + mod-id: 709 # The Spacedock mod ID for deployment + CurseForge: + enabled: false # activate/deactivate this deployment script + mod-id: 230112 # The CurseForge mod ID for deployment + GitHub: + enabled: false # activate/deactivate this deployment script diff --git a/Distribution/RestockPlus/changelog.txt b/Distribution/RestockPlus/changelog.txt index 450b6c34..bad3c1f3 100644 --- a/Distribution/RestockPlus/changelog.txt +++ b/Distribution/RestockPlus/changelog.txt @@ -1,53 +1,53 @@ -0.1.0 ------ +v0.1.0 +------ - Initial release - New Engine parts --- KR-1 'Boar' Liquid Fuel Engine (Nertea): A single version of the Twin Boar engine --- KR-10A 'Corgi' Liquid Fuel Engine Cluster (Nertea): A 3.75m upper stage LF/O engine --- LV-303 'Pug' Liquid Fuel Engine (Nertea/Porkjet): --- LV-T15 'Valiant' Liquid Fuel Engine (Nertea/Porkjet): --- Mk-1H 'Torch' Liquid Fuel Engine (Nertea): 0.625m lifter engine --- RT-1 'Mallet' Solid Rocket Booster (Nertea): 0.625m SRB --- RT-2 'Striker' Solid Rocket Booster (Nertea): 0.625m longer SRB --- STS-1 'Anvil' Solid Rocket Booster (Nertea): 1.875m giant shuttle SRB + - KR-1 'Boar' Liquid Fuel Engine (Nertea): A single version of the Twin Boar engine + - KR-10A 'Corgi' Liquid Fuel Engine Cluster (Nertea): A 3.75m upper stage LF/O engine + - LV-303 'Pug' Liquid Fuel Engine (Nertea/Porkjet): + - LV-T15 'Valiant' Liquid Fuel Engine (Nertea/Porkjet): + - Mk-1H 'Torch' Liquid Fuel Engine (Nertea): 0.625m lifter engine + - RT-1 'Mallet' Solid Rocket Booster (Nertea): 0.625m SRB + - RT-2 'Striker' Solid Rocket Booster (Nertea): 0.625m longer SRB + - STS-1 'Anvil' Solid Rocket Booster (Nertea): 1.875m giant shuttle SRB - New Fuel Tank parts --- Kerbodyne S3-3600 Nosecone Tank (Nertea): A 3.75m fuelled nosecone --- Kerbodyne S3-1800 Tank (Nertea): A compact size 3.75m tank --- Oscar-C Fuel Tank (Nertea): A 2x Oscar-B size tank --- Oscar-D Fuel Tank (Nertea): A 4x Oscar-B size tank --- Oscar-E Fuel Tank (Nertea): A 8x Oscar-B size tank --- Stratus-V Miniature Monopropellant Tank (Nertea): A probe-sized RCS tank. Replaces MH tiny RCS tank if installed + - Kerbodyne S3-3600 Nosecone Tank (Nertea): A 3.75m fuelled nosecone + - Kerbodyne S3-1800 Tank (Nertea): A compact size 3.75m tank + - Oscar-C Fuel Tank (Nertea): A 2x Oscar-B size tank + - Oscar-D Fuel Tank (Nertea): A 4x Oscar-B size tank + - Oscar-E Fuel Tank (Nertea): A 8x Oscar-B size tank + - Stratus-V Miniature Monopropellant Tank (Nertea): A probe-sized RCS tank. Replaces MH tiny RCS tank if installed - New Aerodynamic parts --- Protective Rocket Nose Mk18 (Nertea): 1.875m nosecone + - Protective Rocket Nose Mk18 (Nertea): 1.875m nosecone - New Command parts --- RC-XL001 Remote Guidance Unit (Nertea): 3.75m RGU + - RC-XL001 Remote Guidance Unit (Nertea): 3.75m RGU - New Coupling parts --- TD-18 Stack Decoupler (Nertea): 1.875m decoupler. Replaces MH decoupler if installed --- TS-18 Stack Separator (Nertea): 1.875m separator. Replaces MH separator if installed --- Clamp-O-Tron Docking Port 'Grande' (Nertea): 3.75m docking port + - TD-18 Stack Decoupler (Nertea): 1.875m decoupler. Replaces MH decoupler if installed + - TS-18 Stack Separator (Nertea): 1.875m separator. Replaces MH separator if installed + - Clamp-O-Tron Docking Port 'Grande' (Nertea): 3.75m docking port - New Structural parts --- Kerbodyne ADTP-2-3A (Nertea): A hollow version of the fuelled 3.75 to 2.5m adapter --- Kerbodyne SKLE-2-3 (Nertea): A skeletal 3.75 to 2.5m adapter + - Kerbodyne ADTP-2-3A (Nertea): A hollow version of the fuelled 3.75 to 2.5m adapter + - Kerbodyne SKLE-2-3 (Nertea): A skeletal 3.75 to 2.5m adapter - New Payload parts --- AE-FF0 Airstream Protective Shell (0.625m) (Nertea): a 0.625m fairing base --- AE-FF1-L Airstream Protective Shell (1.875m) (Nertea): a 1.875m fairing base. Replaces MH 1.875m fairing base if installed + - AE-FF0 Airstream Protective Shell (0.625m) (Nertea): a 0.625m fairing base + - AE-FF1-L Airstream Protective Shell (1.875m) (Nertea): a 1.875m fairing base. Replaces MH 1.875m fairing base if installed - New Science parts --- SC-9001R Radial Science Jr (Andrew Cassidy): A radial version of the materials bay --- Mystery Goo™ Inline Containment Unit (Andrew Cassidy): An inline version of the goo canister + - SC-9001R Radial Science Jr (Andrew Cassidy): A radial version of the materials bay + - Mystery Goo™ Inline Containment Unit (Andrew Cassidy): An inline version of the goo canister - New Electrical parts --- Z-10K Rechargeable Battery Bank (Nertea): 3.75m stack battery + - Z-10K Rechargeable Battery Bank (Nertea): 3.75m stack battery - New Communications parts --- HG-20 High Gain Antenna (Andrew Cassidy): A longer range version of the HG-5 that can handle either direct communications or short range relays, using 4 different dishes. + - HG-20 High Gain Antenna (Andrew Cassidy): A longer range version of the HG-5 that can handle either direct communications or short range relays, using 4 different dishes. - New RCS parts: --- RV-102 RCS Thruster Block (Nertea): Dual axis RCS block --- RV-103 RCS Thruster Block (Nertea): Triple RCS block --- RV-105-A RCS Thruster Block (Nertea): Quad angled RCS block --- RV-105-XL RCS Thruster Block (Nertea): Five way RCS block --- RC-12 RCS Thruster Block (Nertea): Dual axis RCS block, mini size --- RC-13 RCS Thruster Block (Nertea): Triple RCS block, mini size --- RC-14 RCS Thruster Block (Nertea): Quad RCS block, mini size --- RC-14-A RCS Thruster Block (Nertea): Quad angled RCS block, mini size --- RC-15 RCS Thruster Block (Nertea): Five way RCS block, mini size + - RV-102 RCS Thruster Block (Nertea): Dual axis RCS block + - RV-103 RCS Thruster Block (Nertea): Triple RCS block + - RV-105-A RCS Thruster Block (Nertea): Quad angled RCS block + - RV-105-XL RCS Thruster Block (Nertea): Five way RCS block + - RC-12 RCS Thruster Block (Nertea): Dual axis RCS block, mini size + - RC-13 RCS Thruster Block (Nertea): Triple RCS block, mini size + - RC-14 RCS Thruster Block (Nertea): Quad RCS block, mini size + - RC-14-A RCS Thruster Block (Nertea): Quad angled RCS block, mini size + - RC-15 RCS Thruster Block (Nertea): Five way RCS block, mini size - Patches and fixes --- Gimbals are enabled on stock SRBs --- Oscar-B tank volume has been fixed (was far too high at 40, is now consistent at 18) + - Gimbals are enabled on stock SRBs + - Oscar-B tank volume has been fixed (was far too high at 40, is now consistent at 18)