Skip to content

Commit

Permalink
Merge pull request #83 from post-kerbin-mining-corporation/dev
Browse files Browse the repository at this point in the history
Prepare 1.3.0
  • Loading branch information
ChrisAdderley authored Dec 23, 2020
2 parents 2a9d133 + d4981d8 commit 444f6e8
Show file tree
Hide file tree
Showing 38 changed files with 257 additions and 44 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
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CKAN/NearFutureSolar.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"$vref" : "#/ckan/ksp-avc",
"resources": {
"homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/155465-16x-near-future-technologies-16x-fixes-jan-21/",
"repository": "https://github.com/ChrisAdderley/NearFutureSolar"
"repository": "https://github.com/post-kerbin-mining-corporation/NearFutureSolar"
},
"depends": [
{ "name" : "NearFutureSolar-Core" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 80
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,9 @@ PART
}
}
}

MODULE
{
name = ModuleCargoPart
packedVolume = 650
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 100
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 180
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 170
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 250
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 410
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 100
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 140
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 600
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 60
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 200
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume =220
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = 210
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,9 @@ PART
}
}
}
MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,10 @@ PART
}
}
}

MODULE
{
name = ModuleCargoPart
packedVolume = -1
}
}
Loading

0 comments on commit 444f6e8

Please sign in to comment.