Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author #14

Open
wants to merge 364 commits into
base: Robbbo-T-patch-1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
87e843b
Update README.md
Robbbo-T Dec 1, 2024
9629986
Update README.md
Robbbo-T Dec 1, 2024
deb27c0
Update README.md
Robbbo-T Dec 1, 2024
10f0e5e
Update README.md
Robbbo-T Dec 1, 2024
747ffd0
Update Index.HTML
Robbbo-T Dec 2, 2024
36d1307
Update transform.xsl
Robbbo-T Dec 2, 2024
8b96d95
Update README.md
Robbbo-T Dec 2, 2024
3da86a8
Create devcontainer.json
Robbbo-T Dec 2, 2024
395fd7f
Update aws.yml
Robbbo-T Dec 2, 2024
1b59613
validate
Robbbo-T Dec 3, 2024
210e69b
Merge pull request #4 from Robbbo-T/V&V
Robbbo-T Dec 3, 2024
2893602
Create link rel="stylesheet" href="cssstyles.cssjsjquery.min.js
Robbbo-T Dec 3, 2024
ec58f99
Create home.html
Robbbo-T Dec 3, 2024
8605d3a
Create main.js
Robbbo-T Dec 3, 2024
67424fd
Create styles.css
Robbbo-T Dec 3, 2024
05c40fc
Create html
Robbbo-T Dec 3, 2024
a499b95
Create zip.md
Robbbo-T Dec 3, 2024
2b0fa1b
Update Index.md
Robbbo-T Dec 3, 2024
f2416a3
Update README.md
Robbbo-T Dec 3, 2024
4733a09
Create GAIA-ATA-00.md
Robbbo-T Dec 4, 2024
0ef8c97
Update GAIA-ATA-00.md
Robbbo-T Dec 4, 2024
4f700ae
Update and rename GAIA-ATA-00.md to GAIA-001-ATA-00._General.md
Robbbo-T Dec 4, 2024
7c1f1c2
Rename GAIA-001-ATA-00._General.md to GAIA-001-A-ATA-00._General.md
Robbbo-T Dec 4, 2024
173bab9
Update devcontainer.json
Robbbo-T Dec 4, 2024
6820dd4
Create Dockerfile
Robbbo-T Dec 4, 2024
0150c10
Create Readme.md
Robbbo-T Dec 4, 2024
ea6fc53
Update README.md
Robbbo-T Dec 4, 2024
f635268
Update GQP_GAIA-QUANTUM-PORTAL.
Robbbo-T Dec 4, 2024
8bc74ea
Update README.md
Robbbo-T Dec 5, 2024
b8ddb17
Create codeql.yml
Robbbo-T Dec 5, 2024
5a858a5
Create DDN-PROYECTO-GAIA_AIR-00-00-01-00-A
Robbbo-T Dec 5, 2024
005e184
Rename DDN-PROYECTO-GAIA_AIR-00-00-01-00-A to DDN/PROYECTO-GAIA_AIR-0…
Robbbo-T Dec 5, 2024
de83d5e
Create PROYECTO-GAIA_AIR-00-00-02-00-A
Robbbo-T Dec 5, 2024
52b53fd
Create PROYECTO-GAIA_AIR-00-00-03-00-A
Robbbo-T Dec 5, 2024
56e7cbb
Create CentralAPII.md
Robbbo-T Dec 6, 2024
de98d61
Update LONGRANGE-A.md
Robbbo-T Dec 7, 2024
6afc171
Update README.md
Robbbo-T Dec 7, 2024
7d8a3fc
Update README.md
Robbbo-T Dec 7, 2024
847b6ac
Update README.md
Robbbo-T Dec 7, 2024
927ac3b
Add files via upload
Robbbo-T Dec 7, 2024
e81e9e9
Update and rename Readme.md to devcontainer.json
Robbbo-T Dec 7, 2024
2d74c24
Update Dockerfile
Robbbo-T Dec 7, 2024
3195edc
Create {GAIA-AIR}
Robbbo-T Dec 7, 2024
6da7f86
Update README.md
Robbbo-T Dec 11, 2024
c1db245
Create AGI-G-0-T-INDUSTRY.md
Robbbo-T Dec 11, 2024
f57d3d1
Update AGI-G-0-T-INDUSTRY.md
Robbbo-T Dec 11, 2024
2248b8c
Update AGI-G-0-T-INDUSTRY.md
Robbbo-T Dec 11, 2024
0e18a80
Update AGI-G-0-T-INDUSTRY.md
Robbbo-T Dec 11, 2024
92fe8b2
Update README.md
Robbbo-T Dec 11, 2024
cc73599
Update README.md
Robbbo-T Dec 11, 2024
13b9654
Update README.md
Robbbo-T Dec 11, 2024
61c0233
Update README.md
Robbbo-T Dec 11, 2024
3155579
Update README.md
Robbbo-T Dec 12, 2024
813d041
Update README.md
Robbbo-T Dec 12, 2024
b270dfc
Update README.md
Robbbo-T Dec 12, 2024
6de8eec
Create static.yml
Robbbo-T Dec 12, 2024
a0c1918
Update README.md
Robbbo-T Dec 12, 2024
1778b84
Update README.md
Robbbo-T Dec 13, 2024
8588cb0
Update README.md
Robbbo-T Dec 13, 2024
a9374a7
Update README.md
Robbbo-T Dec 13, 2024
d804e62
Update README.md
Robbbo-T Dec 13, 2024
21829df
Update README.md
Robbbo-T Dec 13, 2024
4347cf2
Update README.md
Robbbo-T Dec 13, 2024
61a895a
Actualizar README.md
Robbbo-T Dec 14, 2024
2509978
Actualizar README.md
Robbbo-T Dec 14, 2024
e285835
Update DMC-ATA28-0001-TEMP-REALTIME..MD
Robbbo-T Dec 14, 2024
c8acac6
Actualizar README.md
Robbbo-T Dec 15, 2024
7816d69
Actualizar README.md
Robbbo-T Dec 15, 2024
ce41077
Update README.md
Robbbo-T Dec 15, 2024
69a7028
Update README.md
Robbbo-T Dec 15, 2024
fb5addd
Update README.md
Robbbo-T Dec 15, 2024
2c595eb
Update README.md
Robbbo-T Dec 15, 2024
029d3d6
Update README.md
Robbbo-T Dec 15, 2024
c4d8bf9
Update README.md
Robbbo-T Dec 15, 2024
26590b2
Update README.md
Robbbo-T Dec 15, 2024
5e9f7ca
Update README.md
Robbbo-T Dec 15, 2024
874976f
Update README.md
Robbbo-T Dec 15, 2024
69b314b
Update README.md
Robbbo-T Dec 15, 2024
c7eee9a
Update README.md
Robbbo-T Dec 15, 2024
c00b7b9
Update README.md
Robbbo-T Dec 15, 2024
8427f25
Update README.md
Robbbo-T Dec 15, 2024
bf71650
Update README.md
Robbbo-T Dec 15, 2024
1ad4822
Update README.md
Robbbo-T Dec 15, 2024
1e540a5
Update README.md
Robbbo-T Dec 16, 2024
4efefc7
Update README.md
Robbbo-T Dec 16, 2024
1d81561
Update README.md
Robbbo-T Dec 16, 2024
2f38fbe
Update README.md
Robbbo-T Dec 16, 2024
03cea9d
Update README.md
Robbbo-T Dec 16, 2024
61e9c5c
Update README.md
Robbbo-T Dec 16, 2024
a7d0b32
Update README.md
Robbbo-T Dec 16, 2024
4fbd8d3
Update README.md
Robbbo-T Dec 16, 2024
032d586
Update README.md
Robbbo-T Dec 16, 2024
896b1c9
Update README.md
Robbbo-T Dec 16, 2024
c2dcbca
Update README.md
Robbbo-T Dec 16, 2024
9808c6a
Update README.md
Robbbo-T Dec 16, 2024
5c7c4dd
Update README.md
Robbbo-T Dec 16, 2024
222c18a
Update README.md
Robbbo-T Dec 16, 2024
f8f0a37
Update README.md
Robbbo-T Dec 16, 2024
91a6c68
Update README.md
Robbbo-T Dec 16, 2024
b8e383e
Update README.md
Robbbo-T Dec 16, 2024
687f082
Update README.md
Robbbo-T Dec 16, 2024
b4cab20
Update README.md
Robbbo-T Dec 16, 2024
e5d4487
Update README.md
Robbbo-T Dec 16, 2024
4346ad5
Update README.md
Robbbo-T Dec 16, 2024
b514522
Update README.md
Robbbo-T Dec 16, 2024
304fbbb
Update README.md
Robbbo-T Dec 17, 2024
177b0df
Update README.md
Robbbo-T Dec 17, 2024
09cd146
Update README.md
Robbbo-T Dec 17, 2024
b5a0f44
Update README.md
Robbbo-T Dec 17, 2024
fb28706
Update README.md
Robbbo-T Dec 17, 2024
90df492
Update README.md
Robbbo-T Dec 17, 2024
be917a5
Update README.md
Robbbo-T Dec 17, 2024
1eca428
Update README.md
Robbbo-T Dec 17, 2024
107e92c
Update README.md
Robbbo-T Dec 17, 2024
97440f7
Update README.md
Robbbo-T Dec 17, 2024
94c20a7
Update README.md
Robbbo-T Dec 17, 2024
7b3fd9d
Update README.md
Robbbo-T Dec 17, 2024
df8e935
Update README.md
Robbbo-T Dec 17, 2024
69dcb98
Update README.md
Robbbo-T Dec 17, 2024
803d903
Update README.md
Robbbo-T Dec 17, 2024
3d4cd96
Update README.md
Robbbo-T Dec 17, 2024
02e0dc0
Create src
Robbbo-T Dec 18, 2024
0a82272
Delete mermaid-js/mermaid.md/docs/src
Robbbo-T Dec 18, 2024
63c0590
Create mermaid.md
Robbbo-T Dec 18, 2024
76abae2
Update mermaid.md
Robbbo-T Dec 18, 2024
f35ec86
Update mermaid.md
Robbbo-T Dec 18, 2024
46e96be
Update mermaid.md
Robbbo-T Dec 18, 2024
a6bcb78
Update mermaid.md
Robbbo-T Dec 18, 2024
93bbc77
Update README.md
Robbbo-T Dec 18, 2024
7b61bfa
Update README.md
Robbbo-T Dec 19, 2024
30cccfd
Update README.md
Robbbo-T Dec 19, 2024
7a5e38e
Update README.md
Robbbo-T Dec 19, 2024
df926b6
Update README.md
Robbbo-T Dec 19, 2024
61c3314
Update README.md
Robbbo-T Dec 19, 2024
90fbc1a
Update README.md
Robbbo-T Dec 19, 2024
4ec955b
Update README.md
Robbbo-T Dec 19, 2024
ced520a
Update README.md
Robbbo-T Dec 19, 2024
4d6b587
Update README.md
Robbbo-T Dec 19, 2024
454776d
Update README.md
Robbbo-T Dec 20, 2024
2befcaf
Update README.md
Robbbo-T Dec 20, 2024
7ba7454
Update README.md
Robbbo-T Dec 20, 2024
fdbb21a
Update README.md
Robbbo-T Dec 20, 2024
2336d36
Update README.md
Robbbo-T Dec 20, 2024
074da0c
Update README.md
Robbbo-T Dec 20, 2024
64ea316
Update README.md
Robbbo-T Dec 20, 2024
a12c8a8
Update README.md
Robbbo-T Dec 21, 2024
b717914
Update README.md
Robbbo-T Dec 21, 2024
e7c12b8
Update README.md
Robbbo-T Dec 21, 2024
730f27a
Update README.md
Robbbo-T Dec 21, 2024
f524d6a
Update README.md
Robbbo-T Dec 21, 2024
1719486
Actualizar README.md
Robbbo-T Dec 21, 2024
8ed69fe
Actualizar README.md
Robbbo-T Dec 21, 2024
36768b3
Actualizar README.md
Robbbo-T Dec 21, 2024
395d6c7
Update README.md
Robbbo-T Dec 22, 2024
12b92db
Update README.JSON
Robbbo-T Dec 22, 2024
5f6cc1c
Update main.js
Robbbo-T Dec 22, 2024
4a95478
Update README.md
Robbbo-T Dec 22, 2024
4ee107e
Update README.md
Robbbo-T Dec 22, 2024
189cee7
Update README.md
Robbbo-T Dec 22, 2024
a359e81
Update README.md
Robbbo-T Dec 22, 2024
9b960be
Update README.md
Robbbo-T Dec 22, 2024
c55d362
Update README.md
Robbbo-T Dec 22, 2024
979b1f4
Update README.md
Robbbo-T Dec 22, 2024
80470e9
Update README.md
Robbbo-T Dec 22, 2024
b04af49
Update README.md
Robbbo-T Dec 22, 2024
8c73797
Update README.md
Robbbo-T Dec 22, 2024
2a34bb3
Update README.md
Robbbo-T Dec 22, 2024
07c4b80
Update README.md
Robbbo-T Dec 22, 2024
7f6d876
Update README.md
Robbbo-T Dec 22, 2024
f8e109b
Update README.md
Robbbo-T Dec 22, 2024
d2aed6f
Update README.md
Robbbo-T Dec 22, 2024
34e15d7
Update README.md
Robbbo-T Dec 24, 2024
6b0a5e3
Update README.md
Robbbo-T Dec 24, 2024
932de8e
Update README.md
Robbbo-T Dec 24, 2024
7eb35d3
Update README.md
Robbbo-T Dec 24, 2024
56a0b28
Update README.md
Robbbo-T Dec 24, 2024
0221619
Update README.md
Robbbo-T Dec 24, 2024
25d92c9
Create Tablas-Vaia.md
Robbbo-T Dec 25, 2024
702d06d
Rename Tablas-Vaia.md to Tablas-ia.md
Robbbo-T Dec 25, 2024
84363ed
Update README.md
Robbbo-T Dec 25, 2024
a9bc1fe
Update README.md
Robbbo-T Dec 25, 2024
f925bd1
Update README.md
Robbbo-T Dec 25, 2024
18bad15
Update README.md
Robbbo-T Dec 25, 2024
3d2d7df
Update README.md
Robbbo-T Dec 25, 2024
70a7573
Update README.md
Robbbo-T Dec 25, 2024
07b11d7
Update README.md
Robbbo-T Dec 25, 2024
dd64547
Update README.md
Robbbo-T Dec 25, 2024
1fe056e
Update README.md
Robbbo-T Dec 25, 2024
cd52206
Update README.md
Robbbo-T Dec 25, 2024
42d9908
Update README.md
Robbbo-T Dec 25, 2024
f4810cd
Update README.md
Robbbo-T Dec 25, 2024
a8d56ec
Update README.md
Robbbo-T Dec 25, 2024
92cc14e
Update README.md
Robbbo-T Dec 25, 2024
9d4fb6e
Update README.md
Robbbo-T Dec 25, 2024
18da6bb
Update README.md
Robbbo-T Dec 25, 2024
22361a6
Update README.md
Robbbo-T Dec 25, 2024
b23f26f
Update README.md
Robbbo-T Dec 26, 2024
5b2af78
Update README.md
Robbbo-T Dec 26, 2024
5e9ccf4
Update README.md
Robbbo-T Dec 26, 2024
ed6521e
Update README.md
Robbbo-T Dec 26, 2024
aa90cf4
Update README.md
Robbbo-T Dec 26, 2024
9c0f71f
Update README.md
Robbbo-T Dec 26, 2024
7499de8
Update README.md
Robbbo-T Dec 26, 2024
0e712a0
Update README.md
Robbbo-T Dec 26, 2024
55b7db6
Update README.md
Robbbo-T Dec 26, 2024
cad01c8
Update README.md
Robbbo-T Dec 26, 2024
885e137
Update README.md
Robbbo-T Dec 26, 2024
8bf30d9
Update README.md
Robbbo-T Dec 26, 2024
09a1f28
Update README.md
Robbbo-T Dec 26, 2024
ba6ee4a
Update README.md
Robbbo-T Dec 26, 2024
3951cae
Update README.md
Robbbo-T Dec 26, 2024
85a7a87
Create gitlab-ci.yml
Robbbo-T Dec 27, 2024
96f64e5
Create analizar_matrix.py
Robbbo-T Dec 27, 2024
911844d
Create generar_reporte.py
Robbbo-T Dec 27, 2024
4fbe54e
Add files via upload
Robbbo-T Jan 2, 2025
e0ddc9e
Create mermaid.js
Robbbo-T Jan 8, 2025
47f7e13
Create requirements.txt
Robbbo-T Jan 8, 2025
71893ff
Bump the pip group across 1 directory with 5 updates
dependabot[bot] Jan 8, 2025
4343e21
Merge pull request #7 from Robbbo-T/dependabot/pip/pip-6f927450a5
Robbbo-T Jan 15, 2025
44fc552
Update README.md
Robbbo-T Jan 17, 2025
be9ef75
Improve repository maintainability
Robbbo-T Jan 18, 2025
c31cad7
Merge pull request #9 from Robbbo-T/improve-repo-maintainability
Robbbo-T Jan 18, 2025
72af962
Create docs
Robbbo-T Jan 18, 2025
d7ae035
Rename CSDB/docs to CSDB.md
Robbbo-T Jan 18, 2025
d5f6f6b
Update README.md
Robbbo-T Jan 19, 2025
2073960
Update README.md
Robbbo-T Jan 20, 2025
92206c2
Update README.md
Robbbo-T Jan 20, 2025
d431930
Add files via upload
Robbbo-T Jan 21, 2025
3a4e982
Update OS-001 - Copy.pdf
Robbbo-T Jan 22, 2025
701f903
Update and rename OS-001 - Copy.pdf to OS-001.md
Robbbo-T Jan 22, 2025
69fa858
Create FTC_53-00-00-00-000_ATA-53_DMC-Structurefuselage-01_Requiremen…
Robbbo-T Jan 22, 2025
00777df
Update FTC_53-00-00-00-000_ATA-53_DMC-Structurefuselage-01_Requiremen…
Robbbo-T Jan 22, 2025
d8442d3
Delete docs/FTC_53-00-00-00-000_ATA-53_DMC-Structurefuselage-01_Requi…
Robbbo-T Jan 22, 2025
bc205c9
Create .yaml
Robbbo-T Jan 23, 2025
2184979
Update README.md
Robbbo-T Jan 23, 2025
501275a
Rename # **GAIA AIR CSDB**.md to GAIA_AIR_CSDB.py
Robbbo-T Jan 24, 2025
fc69a9c
Update README.md
Robbbo-T Jan 26, 2025
cecfea5
Update README.md
Robbbo-T Feb 5, 2025
43fd2c4
Update README.md
Robbbo-T Feb 5, 2025
1a7fe26
Update README.md
Robbbo-T Feb 7, 2025
ad7fc96
Update README.md
Robbbo-T Feb 7, 2025
10e4b1c
Update README.md
Robbbo-T Feb 7, 2025
36b7d05
Update README.md
Robbbo-T Feb 7, 2025
19bdfca
Update README.md
Robbbo-T Feb 7, 2025
cdde8f4
Update README.md
Robbbo-T Feb 9, 2025
da24e67
Add QPS-01 Vacuum Pump System Removal/Installation video plan
Robbbo-T Feb 12, 2025
103aab5
Merge pull request #17 from Robbbo-T/PACKAGE.JSON
Robbbo-T Feb 12, 2025
b4b989d
Add CNOT functionality to GAIA AIR website
Robbbo-T Feb 12, 2025
0fe4619
Update package.json
Robbbo-T Feb 12, 2025
2486a33
Merge pull request #18 from Robbbo-T/add-cnot
Robbbo-T Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions .devcontainer/ devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "GAIA AIR Development Container",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.formatOnSave": true,
"markdownlint.config": {
"default": true
}
},
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"yzhang.markdown-all-in-one",
"eamodio.gitlens",
"ms-azuretools.vscode-docker"
],
"forwardPorts": [],
"postCreateCommand": "npm install",
"remoteUser": "vscode"
}
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Utiliza una imagen base oficial de Node.js
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-14

# Instala herramientas adicionales si es necesario
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "GAIA AIR Development Container",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.formatOnSave": true,
"markdownlint.config": {
"default": true
},
"eslint.enable": true
},
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"yzhang.markdown-all-in-one",
"eamodio.gitlens",
"ms-azuretools.vscode-docker",
"ms-vscode.vscode-typescript-tslint-plugin"
],
"forwardPorts": [],
"postCreateCommand": "npm install",
"remoteUser": "vscode",
"env": {
"NODE_ENV": "development",
"API_URL": "http://localhost:3000/api"
}
}
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}
36 changes: 36 additions & 0 deletions .github/workflows/.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions

name: CI

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

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# 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:
# 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:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
33 changes: 33 additions & 0 deletions .github/workflows/Build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Test

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10]
node-version: [14, 16]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
npm install
- name: Run tests
run: |
pytest --cov=./
npm test
101 changes: 101 additions & 0 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# This workflow will build and push a new container image to Amazon ECR,
# and then will deploy a new task definition to Amazon ECS, when there is a push to the "main" branch.
#
# To use this workflow, you will need to complete the following set-up steps:
#
# 1. Create an ECR repository to store your images.
# For example: `aws ecr create-repository --repository-name my-ecr-repo --region us-east-2`.
# Replace the value of the `ECR_REPOSITORY` environment variable in the workflow below with your repository's name.
# Replace the value of the `AWS_REGION` environment variable in the workflow below with your repository's region.
#
# 2. Create an ECS task definition, an ECS cluster, and an ECS service.
# For example, follow the Getting Started guide on the ECS console:
# https://us-east-2.console.aws.amazon.com/ecs/home?region=us-east-2#/firstRun
# Replace the value of the `ECS_SERVICE` environment variable in the workflow below with the name you set for the Amazon ECS service.
# Replace the value of the `ECS_CLUSTER` environment variable in the workflow below with the name you set for the cluster.
#
# 3. Store your ECS task definition as a JSON file in your repository.
# The format should follow the output of `aws ecs register-task-definition --generate-cli-skeleton`.
# Replace the value of the `ECS_TASK_DEFINITION` environment variable in the workflow below with the path to the JSON file.
# Replace the value of the `CONTAINER_NAME` environment variable in the workflow below with the name of the container
# in the `containerDefinitions` section of the task definition.
#
# 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.

name: Deploy to Amazon ECS

on:
push:
branches: [ "main", "staging" ]

env:
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
ECR_REPOSITORY: MY_ECR_REPOSITORY # set this to your Amazon ECR repository name
ECS_SERVICE: MY_ECS_SERVICE # set this to your Amazon ECS service name
ECS_CLUSTER: MY_ECS_CLUSTER # set this to your Amazon ECS cluster name
ECS_TASK_DEFINITION: MY_ECS_TASK_DEFINITION # set this to the path to your Amazon ECS task definition
# file, e.g. .aws/task-definition.json
CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in the
# containerDefinitions section of your task definition

permissions:
contents: read

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: production

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

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: ${{ env.ECS_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
cluster: ${{ env.ECS_CLUSTER }}
wait-for-service-stability: true

- name: Rollback on failure
if: failure()
run: |
echo "Deployment failed. Rolling back to previous stable version."
# Add rollback logic here, e.g., redeploy the previous task definition
# aws ecs update-service --cluster ${{ env.ECS_CLUSTER }} --service ${{ env.ECS_SERVICE }} --force-new-deployment
48 changes: 48 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Lint and Code Quality

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install flake8 pylint
- name: Run flake8
run: flake8 .
- name: Run pylint
run: pylint **/*.py

eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint .

prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --check .
94 changes: 94 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '20 21 * * 3'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
Loading
Loading