Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #39 from GeoFS-Autoland/3.1.0
Browse files Browse the repository at this point in the history
Update to 3.1.0
  • Loading branch information
nicolas377 authored Aug 30, 2021
2 parents 559c824 + 2d69c64 commit ee3ff15
Show file tree
Hide file tree
Showing 82 changed files with 8,253 additions and 15,860 deletions.
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ignore the massive files

**/ap++.js
**/fmc.js
**/scripts/
**/node_modules/

# Ignore the generated docs
docs/
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* linguist-vendored
*.ts !linguist-vendored
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Documentation belongs to slappy
.github @slap-py
*.md @slap-py

# exception being renovate.json
.github/renovate.json @nicolas377 @Guy-Adler

Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build documentation

on:
schedule:
- cron: "0 0 * * *"

jobs:
job_1:
name: Build docs
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: main

- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.x"

- name: Build docs
run: |
npm i
npm run docs
- name: Upload docs as artifact
uses: actions/upload-artifact@v2
with:
name: docs
path: docs/

job_2:
name: Commit docs
runs-on: ubuntu-latest
needs: job_1

steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: docs

- name: Download docs artifact
uses: actions/download-artifact@v2
with:
name: docs

- name: Commit docs
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Build docs
branch: docs
128 changes: 128 additions & 0 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: Update Scripts

on:
workflow_dispatch:

schedule:
- cron: "0 2 * * *"

jobs:
job_1:
name: Build (AP++)
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: GeoFS-Autoland/autopilot-pp

- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.x"

- name: Build
run: |
npm i
npm run build
- name: Upload as artifact
uses: actions/upload-artifact@v2
with:
name: autopilot_pp
path: dist/autopilot_pp.js

job_2:
name: Build (FMC)
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: GeoFS-Autoland/fmc-requirejs

- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.x"

- name: Build
run: |
npm i
npm run build
- name: Upload as artifact
uses: actions/upload-artifact@v2
with:
name: fmc
path: dist/fmc.js

job_3:
name: Build (Spoilers Arming)
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: GeoFS-Autoland/spoilers-arming

- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.x"

- name: Build
run: |
npm i
npm run build
- name: Upload as artifact
uses: actions/upload-artifact@v2
with:
name: spoilers_arming
path: dist/spoilers_arming.js

job_5:
name: Commit to main repository
needs: [job_1, job_2, job_3, job_4]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.x"

- name: Download AP++
uses: actions/download-artifact@v2
with:
name: autopilot_pp
path: source/scripts

- name: Download FMC
uses: actions/download-artifact@v2
with:
name: fmc
path: source/scripts

- name: Download Spoilers Arming
uses: actions/download-artifact@v2
with:
name: spoilers_arming
path: source/scripts

- name: Build extension
run: |
npm i
npm run build
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "🤖: Update scripts"
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.6.2"
node-version: "16.x"

- name: Install packages
run: npm i
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.6.2"
node-version: "16.x"

- name: Install packages
run: npm i
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Setup node v16
uses: actions/setup-node@v2
with:
node-version: "16.6.2"
node-version: "16.x"

- name: Install packages
run: npm i
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
extension/scripts/
build/scripts/
**/scripts/
1 change: 0 additions & 1 deletion .prettierrc.json

This file was deleted.

Loading

0 comments on commit ee3ff15

Please sign in to comment.