1.11 Light updates
parent
d345e4e0e9
commit
135a775aab
@ -1,51 +0,0 @@
|
||||
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, it contains the stuff that does the heavy lifting
|
||||
- cd build-deploy
|
||||
- git checkout master
|
||||
- cd ..
|
||||
- pytest -s --testpath "Distribution/" build-deploy/src/tests/ # run the deploy tests
|
||||
- python build-deploy/src/package.py --f "Distribution/Restock/.mod_data.yml" # Build RS package
|
||||
- python build-deploy/src/package.py --f "Distribution/RestockPlus/.mod_data.yml" # Build RS+ package
|
||||
before_deploy:
|
||||
- python build-deploy/src/stage.py --f "Distribution/Restock/.mod_data.yml" # Run the staging script. Note that tags will come off restock base always
|
||||
deploy:
|
||||
- provider: script
|
||||
script: python build-deploy/src/deploy.py --f "Distribution/Restock/.mod_data.yml" # Deploy RS package to spacedock, curse, github
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: prod
|
||||
- provider: script
|
||||
script: python build-deploy/src/deploy.py --f "Distribution/RestockPlus/.mod_data.yml" # Deploy RS+ package to spacedock, curse, github
|
||||
skip_cleanup: true
|
||||
on:
|
||||
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:
|
||||
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:
|
||||
branch: prod
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,35 +0,0 @@
|
||||
// Allows rotation of lights via a tweakable
|
||||
|
||||
// Illuminator Mk1
|
||||
@PART[spotLight1]
|
||||
{
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnimateGeneric
|
||||
animationName = RestockSpotLight_Rotate
|
||||
startEventGUIName = #LOC_RestockPlus_light_rotate_on
|
||||
endEventGUIName = #LOC_RestockPlus_light_rotate_off
|
||||
actionGUIName = #LOC_RestockPlus_light_rotate_toggle
|
||||
allowDeployLimit = true
|
||||
revClampDirection = true
|
||||
revClampSpeed = false
|
||||
revClampPercent = false
|
||||
}
|
||||
}
|
||||
|
||||
// Illuminator Mk2
|
||||
@PART[spotLight2]
|
||||
{
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnimateGeneric
|
||||
animationName = RestockFloodLightRotate
|
||||
startEventGUIName = #LOC_RestockPlus_light_rotate_on
|
||||
endEventGUIName = #LOC_RestockPlus_light_rotate_off
|
||||
actionGUIName = #LOC_RestockPlus_light_rotate_toggle
|
||||
allowDeployLimit = true
|
||||
revClampDirection = true
|
||||
revClampSpeed = false
|
||||
revClampPercent = false
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue