Skip to content

Commit

Permalink
Prepare 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAdderley committed Dec 22, 2020
1 parent ba9e7cf commit bc29ba2
Show file tree
Hide file tree
Showing 71 changed files with 6,935 additions and 99 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
2 changes: 1 addition & 1 deletion .mod_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies: # Configure dependencies
version: 2.17.0
location: s3
CommunityResourcePack:
version: 1.3.0
version: 1.4.2
location: s3
deploy:
SpaceDock:
Expand Down
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CKAN/NearFuturePropulsion-XenonHETs.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/NearFuturePropulsion"
"repository": "https://github.com/post-kerbin-mining-corporation/NearFuturePropulsion"
},
"install": [
{
Expand Down
2 changes: 1 addition & 1 deletion CKAN/NearFuturePropulsion.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"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/NearFuturePropulsion"
"repository": "https://github.com/post-kerbin-mining-corporation/NearFuturePropulsion"
},
"install": [
{
Expand Down
8 changes: 4 additions & 4 deletions GameData/NearFuturePropulsion/Localization/en-us.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ Localization


// Resources
#LOC_NFPropulsion_cryoseperator-25_title = M-2 Cryogenic Gas Separator
#LOC_NFPropulsion_cryoseperator-25_description = This impressive looking collection of pipes collects local atmosphere and uses a bunch of voodoo to separate it into useful gases, like Argon and Xenon.
#LOC_NFPropulsion_cryoseperator-25_title = M-2 Cryogenic Gas Separator [Deprecated]
#LOC_NFPropulsion_cryoseperator-25_description = Don't use this.
#LOC_NFPropulsion_cryoseperator-25_tags = isru mine )mining process resource extract atmo gas fuel nearfuture
#LOC_NFPropulsion_gasspectrometer-1_title = AIReS Atmospheric Sounder
#LOC_NFPropulsion_gasspectrometer-1_description = Use this advanced spectrographic sounder to retrieve the concentrations of various gases from planetary atmospheres.
#LOC_NFPropulsion_gasspectrometer-1_title = AIReS Atmospheric Sounder [Deprecated]
#LOC_NFPropulsion_gasspectrometer-1_description = Don't use this.
#LOC_NFPropulsion_gasspectrometer-1_tags = isru mine )mining prospect resource sensor atmo gas fuel nearfuture

#LOC_NFPropulsion_cryoseperator-25_XenonLoop_name = Xenon Separator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 112000
maxAmount = 112000
}
MODULE
{
name = ModuleCargoPart
packedVolume = 500
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 56000
maxAmount =56000
}
MODULE
{
name = ModuleCargoPart
packedVolume = 250
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 28000
maxAmount = 28000
}
MODULE
{
name = ModuleCargoPart
packedVolume = 125
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 640000
maxAmount = 640000
}
MODULE
{
name = ModuleCargoPart
packedVolume = 2200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 320000
maxAmount = 320000
}
MODULE
{
name = ModuleCargoPart
packedVolume = 1100
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,10 @@ PART
amount = 14400
maxAmount = 14400
}

MODULE
{
name = ModuleCargoPart
packedVolume = 100
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,10 @@ PART
amount = 64000
maxAmount = 64000
}

MODULE
{
name = ModuleCargoPart
packedVolume = 600
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,10 @@ PART
body = _NotSun
}
}

MODULE
{
name = ModuleCargoPart
packedVolume = 130
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 140
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 130
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 130
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 160
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 160
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 400
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ PART
responseSpeed = 0.5
layer = 1
}

MODULE
{
name = ModuleCargoPart
packedVolume = 1700
}
MODULE
{
name = ModuleAnimateHeat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 1300
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -451,4 +451,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 800
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,9 @@ PART
body = _NotSun
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 1600
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 385
maxAmount = 385
}
MODULE
{
name = ModuleCargoPart
packedVolume = 500
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ PART
amount = 192
maxAmount = 192
}
MODULE
{
name = ModuleCargoPart
packedVolume = 250
}
}
Loading

0 comments on commit bc29ba2

Please sign in to comment.