Skip to content

Commit

Permalink
Merge pull request #148 from post-kerbin-mining-corporation/dev
Browse files Browse the repository at this point in the history
Release 1.4.0
  • Loading branch information
ChrisAdderley authored Dec 23, 2020
2 parents ff72ddd + 0327791 commit 11ec634
Show file tree
Hide file tree
Showing 54 changed files with 3,598 additions and 86 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-package:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }}
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checkout this repo
- uses: actions/checkout@v2
# Checkout another repo
- uses: actions/checkout@v2
with:
# Repository name with owner.
repository: 'post-kerbin-mining-corporation/build-deploy'
# branch
ref: 'actions'
path: 'build-deploy'
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- name: Installing dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest awscli boto3 requests
#- name: Running deploy tests
# run: pytest -s --testpath "GameData/" build-deploy/src/tests/ # run the deploy tests
- name: Building package
run: python build-deploy/src/package.py --f ".mod_data.yml"
47 changes: 47 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: deploy

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
deploy-package:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }}
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checkout this repo
- uses: actions/checkout@v2
# Checkout another repo
- uses: actions/checkout@v2
with:
# Repository name with owner.
repository: 'post-kerbin-mining-corporation/build-deploy'
# branch
ref: 'actions'
path: 'build-deploy'
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- name: Installing dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest awscli boto3 requests
#- name: Running deploy tests
# run: pytest -s --testpath "GameData/" build-deploy/src/tests/ # run the deploy tests
- name: Building package
run: python build-deploy/src/package.py --f ".mod_data.yml"
- name: Staging package
run: python build-deploy/src/stage.py --f ".mod_data.yml" # Run the staging script
- name: Deploying package
run: python build-deploy/src/deploy.py --f ".mod_data.yml" # Deploy package to spacedock, curse, github
3 changes: 3 additions & 0 deletions .ksp_deploy_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OAUTH_TOKEN_SSM_KEY: pkmc-bot-github-oauth-token
GITHUB_USER_SSM_KEY: pkmc-bot-github-user
GITHUB_USER_EMAIL_SSM_KEY: pkmc-bot-github-user-email
4 changes: 2 additions & 2 deletions .mod_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ dependencies: # Configure dependencies
version: 2.17.0
location: s3
NearFutureProps:
tag: 0.6.3
tag: 0.6.4
location: github
repository: ChrisAdderley/NearFutureProps
repository: post-kerbin-mining-corporation/NearFutureProps
deploy:
SpaceDock:
enabled: true # activate/deactivate this deployment script
Expand Down
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CKAN/NearFutureSpacecraft-OrbitalLFOEngines.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "MIT",
"resources": {
"homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/155465-16x-near-future-technologies-16x-fixes-jan-21/",
"repository": "https://github.com/ChrisAdderley/NearFutureSpacecraft"
"repository": "https://github.com/post-kerbin-mining-corporation/NearFutureSpacecraft"
},
"depends": [
{ "name" : "NearFutureSpacecraft" }
Expand Down
5 changes: 4 additions & 1 deletion CKAN/NearFutureSpacecraft.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
"license": "restricted",
"resources": {
"homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/155465-16x-near-future-technologies-16x-fixes-jan-21/",
"repository": "https://github.com/ChrisAdderley/NearFutureSpacecraft"
"repository": "https://github.com/post-kerbin-mining-corporation/NearFutureSpacecraft"
},
"depends": [
{ "name" : "NearFutureProps" },
{ "name" : "B9PartSwitch" },
{ "name" : "ModuleManager" }
],
"recommends": [
{ "name" : "Waterfall" }
],
"suggests" : [
{ "name" : "CommunityTechTree" },
{ "name" : "NearFutureConstruction" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.4
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -269,4 +269,10 @@ PART
nodeEnabled = True
attachNodeName = bottom
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 2
packedVolumeLimit = 50
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.4
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -313,4 +313,10 @@ PART
nodeEnabled = True
attachNodeName = bottom
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 2
packedVolumeLimit = 50
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.4
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand All @@ -241,4 +241,10 @@ PART
key = 1 100
}
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 3
packedVolumeLimit = 60
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,28 @@ PART
amount = 60
maxAmount = 60
}

MODULE
{
name = ModuleLight
moduleID = lightEmissive
lightName = Spotlight
lightBrightenSpeed = 2.5
lightDimSpeed = 2.5
resourceAmount = 0.005
lightMeshRendererName = PodDockingLight
useResources = true
useAnimationDim = true
}
MODULE
{
name = ModuleColorChanger
name = ModuleAdvancedColorChanger
moduleID = windowEmissive
shaderProperty = _EmissiveColor
excludedRenderer = PodDockingLight
includedTransformList = 25mPodAdvanced
animRate = 0.8
animState = false
useRate = true

toggleInEditor = true
toggleInFlight = true
unfocusedRange = 5
Expand Down Expand Up @@ -167,18 +180,6 @@ PART
}
}

MODULE
{
name = ModuleLight
moduleID = lightEmissive
lightName = Spotlight
lightBrightenSpeed = 2.5
lightDimSpeed = 2.5
resourceAmount = 0.005
animationName = PandoraDockingLight
useResources = true
useAnimationDim = true
}
MODULE
{
name = FlagDecal
Expand Down Expand Up @@ -252,7 +253,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.8
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -283,4 +284,10 @@ PART
nodeEnabled = True
attachNodeName = bottom
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 6
packedVolumeLimit = 400
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.8
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -297,4 +297,10 @@ PART
nodeEnabled = True
attachNodeName = bottom
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 3
packedVolumeLimit = 180
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,10 @@ PART
transformDir = Z
transformSign = -1
}

MODULE
{
name = ModuleInventoryPart
InventorySlots = 6
packedVolumeLimit = 1200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 0.8
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -275,4 +275,10 @@ PART
nodeEnabled = True
attachNodeName = bottom
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 4
packedVolumeLimit = 200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 1
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand Down Expand Up @@ -350,4 +350,10 @@ PART
nodeEnabled = True
attachNodeName = bottom02
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 8
packedVolumeLimit = 1000
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ PART
name = ModuleRCSFX
thrusterTransformName = thrustVector
thrusterPower = 1
tagingEnabled = False
stagingEnabled = False
resourceFlowMode = STAGE_PRIORITY_FLOW
resourceName = MonoPropellant
runningEffectName = running
Expand All @@ -236,4 +236,10 @@ PART
key = 1 100
}
}
MODULE
{
name = ModuleInventoryPart
InventorySlots = 5
packedVolumeLimit = 500
}
}
Loading

0 comments on commit 11ec634

Please sign in to comment.