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

Deployment with tracking #112

Merged
merged 68 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
d71994b
🔀 merge - 💬 Update tutorial description (#97)
P3nny Sep 29, 2021
bc7f10e
Merge branch 'production' into develop
P3nny Sep 29, 2021
47f7493
Piano Analytics Implementation (#102)
cami-espinozaq May 31, 2023
7e9fc6d
added missing piano events
cami-espinozaq Jun 5, 2023
bf90d49
Create develop.yml
cami-espinozaq Jun 18, 2023
d60b8fd
Update develop.yml
cami-espinozaq Jun 18, 2023
033e1d0
Update develop.yml
cami-espinozaq Jun 18, 2023
f08769a
Update develop.yml
cami-espinozaq Jun 20, 2023
721691b
Update develop.yml
cami-espinozaq Jun 20, 2023
7965986
Update develop.yml
cami-espinozaq Jun 20, 2023
91bb3d2
Update develop.yml
cami-espinozaq Jun 20, 2023
5d1a38c
Update develop.yml
cami-espinozaq Jun 20, 2023
6a9c0ec
Update develop.yml
cami-espinozaq Jun 20, 2023
384fcf5
Update develop.yml
cami-espinozaq Jun 20, 2023
2d84172
Merge pull request #103 from cami-espinozaq/piano-analytics-events-added
cami-espinozaq Jul 13, 2023
7656802
added requirement for awscli
cami-espinozaq Jul 13, 2023
7be1a8a
awscli without version
cami-espinozaq Jul 13, 2023
53d7a39
fixed requirement name
cami-espinozaq Jul 13, 2023
3180465
add cors policy for piano
cami-espinozaq Jul 13, 2023
76747d1
paEvents improvements
cami-espinozaq Aug 10, 2023
eb4e068
ok
cami-espinozaq Aug 28, 2023
ab3a3e5
Update develop.yml
cami-espinozaq Aug 28, 2023
bf8f228
added click action and exit events
cami-espinozaq Sep 19, 2023
0a0fe5f
Merge branch 'cami-click-events-for-piano-tracking' into develop
cami-espinozaq Sep 19, 2023
7ba8865
Merge remote-tracking branch 'upstream/develop' into click-events-for…
cami-espinozaq Sep 19, 2023
1fac7e8
changes from feedback
cami-espinozaq Oct 6, 2023
86d264b
target to next game if needed
cami-espinozaq Oct 6, 2023
3e80664
fixed typo
cami-espinozaq Oct 6, 2023
6075f1f
deleted console log
cami-espinozaq Oct 6, 2023
1da5721
upgrade node version for serverless script
cami-espinozaq Oct 17, 2023
381b646
add branch
cami-espinozaq Oct 17, 2023
9d6f008
delete branch from workflow
cami-espinozaq Oct 17, 2023
118cb5b
Merge pull request #107 from cami-espinozaq/deployment-trial-serverless
cami-espinozaq Oct 17, 2023
97b786f
updated deploy script
cami-espinozaq Oct 19, 2023
4ff7350
Merge pull request #108 from cami-espinozaq/deployment-trial-serverless
cami-espinozaq Oct 19, 2023
24aa3ec
Update develop.yml
cami-espinozaq Oct 19, 2023
1248795
Update develop.yml
cami-espinozaq Oct 19, 2023
9abef94
Update develop.yml
cami-espinozaq Oct 23, 2023
2dc776b
Update develop.yml
cami-espinozaq Oct 23, 2023
e249a18
Update develop.yml
cami-espinozaq Oct 23, 2023
cc32e98
Update develop.yml
cami-espinozaq Oct 23, 2023
b271c03
Update develop.yml
cami-espinozaq Oct 24, 2023
7d210a4
Update develop.yml
cami-espinozaq Oct 24, 2023
4b0fabf
Update develop.yml
cami-espinozaq Oct 25, 2023
686031d
added assets to repository
cami-espinozaq Oct 26, 2023
2dc0afa
Merge branch 'develop' of github.com:cami-espinozaq/code4maus into de…
cami-espinozaq Oct 26, 2023
f6395e3
Merge branch 'develop' of github.com:wdr-data/code4maus into develop
cami-espinozaq Oct 26, 2023
74670ac
Merge branch 'develop' of github.com:wdr-data/code4maus into deployme…
cami-espinozaq Oct 26, 2023
026f03e
updated develop workflow
cami-espinozaq Oct 26, 2023
5e66c80
Merge pull request #109 from cami-espinozaq/deployment-trial-serverless
cami-espinozaq Oct 26, 2023
2e217db
Update develop.yml - camila test
cami-espinozaq Oct 26, 2023
173350e
Update develop.yml - sync test
cami-espinozaq Oct 26, 2023
e40de5e
change deploy script
cami-espinozaq Oct 26, 2023
fe60528
Update develop.yml - acl
cami-espinozaq Oct 26, 2023
ec790b9
Update develop.yml
cami-espinozaq Oct 27, 2023
5440f53
Update deploy-frontend.sh - original
cami-espinozaq Oct 27, 2023
0e22d3c
Merge branch 'develop' of github.com:wdr-data/code4maus into develop
cami-espinozaq Oct 30, 2023
ed3ec8a
run piano on test dev
cami-espinozaq Oct 30, 2023
66e5b0d
Merge pull request #110 from cami-espinozaq/deployment-trial-serverless
cami-espinozaq Oct 30, 2023
587994b
Update develop.yml - syntax fix
cami-espinozaq Oct 30, 2023
a802f39
Merge branch 'develop' of github.com:wdr-data/code4maus into develop
cami-espinozaq Nov 6, 2023
89aff3e
added workflow for production deployment
cami-espinozaq Nov 6, 2023
b77c8a6
deploy should only happen when push
cami-espinozaq Nov 6, 2023
39ca134
Merge pull request #111 from cami-espinozaq/github-workflows
cami-espinozaq Nov 8, 2023
e912226
Update production.yml - only for testing
cami-espinozaq Nov 8, 2023
53e750a
Update production.yml - full deploy command
cami-espinozaq Nov 8, 2023
e988817
Update production.yml - text change
cami-espinozaq Nov 8, 2023
0bcfc07
Merge branch 'production' into develop
cami-espinozaq Nov 8, 2023
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
48 changes: 48 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: staging deployment v1

on:
push:
branches:
- develop

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
python-version: [3.0]
env:
S3_BUCKET_PREFIX: hackingstudio-code4maus-projects
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout app
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: before install dep
run: |
sudo apt-get install -y python3-pip python3-setuptools libcups2-dev
pip3 install --user awscli
export PATH=$PATH:$HOME/.local/bin
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: Install dependencies
run: |
yarn install
- name: build app
run: NODE_ENV=production yarn build
- name: serverless deploy
run: SLS_STAGE=staging BRANCH=develop yarn deploy
47 changes: 47 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: production deployment v1

on:
push:
branches:
- production
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
python-version: [3.0]
env:
S3_BUCKET_PREFIX: hackingstudio-code4maus-projects
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout app
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: before install dep
run: |
sudo apt-get install -y python3-pip python3-setuptools libcups2-dev
pip3 install --user awscli
export PATH=$PATH:$HOME/.local/bin
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: Install dependencies
run: |
yarn install
- name: build app
run: NODE_ENV=production yarn build
- name: serverless deploy
run: SLS_STAGE=prod BRANCH=production yarn deploy
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ npm-*
.env
.env.backend

# External assets
/assets/

# Cache
/.cache/
.webpack/
Expand All @@ -43,4 +40,4 @@ yarn-error.log
.vscode/

# Jupyter Checkpoints
.ipynb_checkpoints/
.ipynb_checkpoints/
88 changes: 88 additions & 0 deletions assets/blocks-media/green-flag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/blocks-media/zoom-in.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/blocks-media/zoom-out.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/blocks-media/zoom-reset.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/header_menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/header_open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 69 additions & 0 deletions assets/icons/header_save.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions assets/icons/icon_aussehen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading