Skip to content

Commit

Permalink
Merge pull request #54 from post-kerbin-mining-corporation/dev
Browse files Browse the repository at this point in the history
Release 3.4.3
  • Loading branch information
ChrisAdderley authored Dec 23, 2020
2 parents 965c768 + ad1f40d commit fdf8626
Show file tree
Hide file tree
Showing 13 changed files with 105 additions and 358 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/CommunityTechTree.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"abstract" : "Community-developed tech tree extension, with support for many mods.",
"resources": {
"homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/90530-16x-community-tech-tree-january-21/",
"repository": "https://github.com/ChrisAdderley/CommunityTechTree"
"repository": "https://github.com/post-kerbin-mining-corporation/CommunityTechTree"
},
"x_netkan_epoch" : "1",
"depends" : [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"NAME":"CommunityTechTree",
"URL":"https://raw.githubusercontent.com/ChrisAdderley/CommunityTechTree/master/GameData/CommunityTechTree/Versioning/CommunityTechTree.version",
"URL":"https://raw.githubusercontent.com/post-kerbin-mining-corporation/CommunityTechTree/master/GameData/CommunityTechTree/Versioning/CommunityTechTree.version",
"DOWNLOAD":"http://forum.kerbalspaceprogram.com/index.php?/topic/90530-113-community-tech-tree-24-last-updated-180416",
"VERSION":
{
"MAJOR":3,
"MINOR":4,
"PATCH":2,
"PATCH":3,
"BUILD":0
},
"KSP_VERSION":
{
"MAJOR":1,
"MINOR":10,
"MINOR":11,
"PATCH":0
},
"KSP_VERSION_MIN":{
Expand All @@ -23,7 +23,7 @@
},
"KSP_VERSION_MAX":{
"MAJOR":1,
"MINOR":10,
"MINOR":11,
"PATCH":99
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is a community-sourced tech tree designed to support as many mods as possib

![Tree](http://i.imgur.com/XCkHCrs.png)

This mod is not a rebalance or a restructure, and does not affect the positions of items in the tree. It is the responsibility of the modder to add their parts to the appropriate part of the tree. Check out the [For Modders](https://github.com/ChrisAdderley/CommunityTechTree/blob/master/ForModders.md) file for more information.
This mod is not a rebalance or a restructure, and does not affect the positions of items in the tree. It is the responsibility of the modder to add their parts to the appropriate part of the tree. Check out the [For Modders](https://github.com/post-kerbin-mining-corporation/CommunityTechTree/blob/master/ForModders.md) file for more information.

Please see the KSP [Forums thread](https://forum.kerbalspaceprogram.com/index.php?/topic/90530-131-community-tech-tree-july-26th-new-techs/) for more information.

Expand All @@ -24,7 +24,7 @@ This mod is only a tech tree! It requires an appropriate version of ModuleManage

## Translations

For translation instructions please see [Localization Instructions](https://github.com/ChrisAdderley/CommunityTechTree/blob/master/GameData/CommunityTechTree/Localization/Localization.md)
For translation instructions please see [Localization Instructions](https://github.com/post-kerbin-mining-corporation/CommunityTechTree/blob/master/GameData/CommunityTechTree/Localization/Localization.md)

* **German**: Three_Pounds
* **Spanish:** (KSP forum user fitiales)
Expand Down
15 changes: 0 additions & 15 deletions build_scripts/build_data.json

This file was deleted.

113 changes: 0 additions & 113 deletions build_scripts/build_support/curseforge.py

This file was deleted.

Loading

0 comments on commit fdf8626

Please sign in to comment.