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

All 1.3 tn dev #202

Merged
merged 43 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
aede8c2
#0000 audio detection feature enabled
ajinkyapandetekdi Oct 21, 2024
ec2ae74
#0000 audio detection feature enabled
ajinkyapandetekdi Oct 21, 2024
ccef7a6
Merge pull request #180 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 21, 2024
e508640
Issue #0000 fix: config update for level 5
gouravmore Oct 21, 2024
8a3e321
Merge remote-tracking branch 'origin/all-1.2-tn-dev' into all-1.2-tn-dev
gouravmore Oct 21, 2024
765b3fa
Issue #0000 fix: form a sentence mechanics not loading
gouravmore Oct 22, 2024
89c778a
Revert "#0000 audio detection feature enabled"
gouravmore Oct 22, 2024
0732a28
Merge pull request #181 from Sunbird-ALL/revert-180-fillintheblanks-a…
gouravmore Oct 22, 2024
c3caf08
Issueid #229332 fix: audio is mismatching in jumble the word mechanics
ajinkyapandetekdi Oct 23, 2024
1a7b0ee
Merge pull request #182 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 23, 2024
58211d1
Issueid #229352 fix: In Jumble the Sentence Option are going out of s…
ajinkyapandetekdi Oct 23, 2024
3041c0c
Merge pull request #183 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 23, 2024
bbddb57
Issueid #229207 fix: Even after clicking on stop button,audio keeps p…
ajinkyapandetekdi Oct 23, 2024
19df211
Merge pull request #184 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 24, 2024
072b332
Issue #229206 feat: For fill in the blanks mechanic,answer option sho…
ajinkyapandetekdi Oct 24, 2024
170a168
Issue #0000 fix: config issue fixes
gouravmore Oct 24, 2024
588fca2
git issue #resolved conflicts
gouravmore Oct 24, 2024
2617f1a
Issue #new env for tn
gouravmore Oct 25, 2024
7b2d0cb
Merge pull request #187 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 25, 2024
30fd40d
Issue #229206 feat: For fill in the blanks mechanic,answer option sho…
ajinkyapandetekdi Oct 25, 2024
7d55794
Issue #229206 feat: For fill in the blanks mechanic,answer option sho…
ajinkyapandetekdi Oct 25, 2024
62a01fa
Issueid #0000 iframe height for fill in the blanks
ajinkyapandetekdi Oct 25, 2024
5ef2315
Issueid #0000 iframe height for fill in the blanks
ajinkyapandetekdi Oct 25, 2024
df96e22
Merge pull request #188 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 25, 2024
dfacc01
Merge pull request #189 from Sunbird-ALL/all-1.2-tn-dev
gouravmore Oct 25, 2024
d1d20d3
Issueid #0000 iframe height for fill in the blanks
ajinkyapandetekdi Oct 28, 2024
86c9516
Merge pull request #191 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 28, 2024
ef82f92
Issueid #229204 fix: Even after speaking correct word,showing wrong a…
ajinkyapandetekdi Oct 28, 2024
cc3d78e
Issueid #229204 fix: Even after speaking correct word,showing wrong a…
ajinkyapandetekdi Oct 28, 2024
24f489f
Issueid #229204 fix: Even after speaking correct word,showing wrong a…
ajinkyapandetekdi Oct 28, 2024
ef5306f
Merge pull request #192 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Oct 29, 2024
bc7c8eb
Issueid #0000 iframe height for fill in the blanks
ajinkyapandetekdi Oct 29, 2024
bd17773
Issue #zoomicon changes for images
gouravmore Oct 30, 2024
7768ad4
Merge remote-tracking branch 'origin/all-1.3-tn-dev' into all-1.3-tn-dev
gouravmore Oct 30, 2024
9383e69
Issueid #0000 feat: zoom in and out feature enable for fillintheblanks
ajinkyapandetekdi Nov 4, 2024
5f83137
Merge pull request #196 from ajinkyapandetekdi/all-1.3-tn-dev
gouravmore Nov 4, 2024
06b12f8
Issueid #0000 feat: zoom in and out feature enable for fillintheblanks
ajinkyapandetekdi Nov 4, 2024
3ac74e5
Merge pull request #197 from ajinkyapandetekdi/all-1.3-tn-dev
gouravmore Nov 4, 2024
2290938
Merge pull request #193 from ajinkyapandetekdi/fillintheblanks-all-de…
gouravmore Nov 4, 2024
bc463cd
Issueid #0000 feat: zoom in and out feature enable for fillintheblanks
ajinkyapandetekdi Nov 4, 2024
92e92e0
Merge pull request #199 from ajinkyapandetekdi/all-1.3-tn-dev
gouravmore Nov 4, 2024
13d2798
Merge branch 'all-1.3-tn-dev' into all-1.2-tn-dev-config
gouravmore Nov 5, 2024
9cb6485
Merge pull request #201 from Sunbird-ALL/all-1.2-tn-dev-config
gouravmore Nov 5, 2024
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
95 changes: 95 additions & 0 deletions .github/workflows/all-dev-tn-new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: ALL tn new dev Deployment

on:
push:
branches:
- all-1.3-tn-dev

jobs:
deploy:
runs-on: ubuntu-latest
environment: all-dev-tn

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

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

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

- name: Clean up node_modules and package-lock.json
run: |
rm -rf node_modules
rm -f package-lock.json

- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Run Husky Install
run: npm run prepare

- name: Build and Package Application
env:
SKIP_PREFLIGHT_CHECK: ${{ vars.SKIP_PREFLIGHT_CHECK }}
REACT_APP_MODE: ${{ vars.REACT_APP_MODE }}
REACT_APP_authToken: ${{ vars.REACT_APP_authToken }}
REACT_APP_PID: ${{ vars.REACT_APP_PID }}
REACT_APP_UID: ${{ vars.REACT_APP_UID }}
REACT_APP_ID: ${{ vars.REACT_APP_ID }}
REACT_APP_VER: ${{ vars.REACT_APP_VER }}
REACT_APP_TIMEDIFF: ${{ vars.REACT_APP_TIMEDIFF }}
REACT_APP_HOST: ${{ vars.REACT_APP_HOST }}
REACT_APP_ENDPOINT: ${{ vars.REACT_APP_ENDPOINT }}
REACT_APP_APISLUG: ${{ vars.REACT_APP_APISLUG }}
REACT_APP_CHANNEL: ${{ vars.REACT_APP_CHANNEL }}
REACT_APP_ENV: ${{ vars.REACT_APP_ENV }}
REACT_APP_BATCHSIZE: ${{ vars.REACT_APP_BATCHSIZE }}
REACT_APP_CONTENT_SIZE: ${{ vars.REACT_APP_CONTENT_SIZE }}
REACT_APP_LANGUAGE: ${{ vars.REACT_APP_LANGUAGE }}
REACT_APP_TELEMETRY_MODE: ${{ vars.REACT_APP_TELEMETRY_MODE }}
REACT_APP_VIRTUAL_ID_HOST: ${{ vars.REACT_APP_VIRTUAL_ID_HOST }}
REACT_APP_LEARNER_AI_ORCHESTRATION_HOST: ${{ vars.REACT_APP_LEARNER_AI_ORCHESTRATION_HOST }}
REACT_APP_LEARNER_AI_APP_HOST: ${{ vars.REACT_APP_LEARNER_AI_APP_HOST }}
REACT_APP_CONTENT_SERVICE_APP_HOST: ${{ vars.REACT_APP_CONTENT_SERVICE_APP_HOST }}
REACT_APP_CAPTURE_AUDIO: ${{ vars.REACT_APP_CAPTURE_AUDIO }}
REACT_APP_AWS_S3_BUCKET_NAME: ${{ vars.REACT_APP_AWS_S3_BUCKET_NAME }}
REACT_APP_AWS_S3_BUCKET_URL: ${{ vars.REACT_APP_AWS_S3_BUCKET_URL }}
REACT_APP_AWS_S3_REGION: ${{ vars.REACT_APP_AWS_S3_REGION }}
REACT_APP_AWS_S3_BUCKET_CONTENT_URL: ${{ vars.REACT_APP_AWS_S3_BUCKET_CONTENT_URL }}
REACT_APP_MIN_DECIBELS: ${{ vars.REACT_APP_MIN_DECIBELS }}
REACT_APP_IS_AUDIOPREPROCESSING: ${{ vars.REACT_APP_IS_AUDIOPREPROCESSING }}
REACT_APP_POST_LEARNER_PROGRESS: ${{ vars.REACT_APP_POST_LEARNER_PROGRESS }}
REACT_APP_IS_APP_IFRAME: ${{ vars.REACT_APP_IS_APP_IFRAME }}
REACT_APP_IS_IN_APP_AUTHORISATION: ${{ vars.REACT_APP_IS_IN_APP_AUTHORISATION }}
REACT_APP_LANGUAGES: ${{ vars.REACT_APP_LANGUAGES }}
REACT_APP_AWS_ACCESS_KEY_ID: ${{ secrets.REACT_APP_AWS_ACCESS_KEY_ID }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.REACT_APP_AWS_SECRET_ACCESS_KEY }}
CI: false # Disabling CI to not treat warnings as errors
run: npm run build

- name: Deploy to S3 Bucket
run: aws s3 sync ./build s3://all-tn-app-dev/assets/test-rig/

- name: Debug Environment Variables
run: |
echo "REACT_APP_AWS_S3_BUCKET_NAME: $REACT_APP_AWS_S3_BUCKET_NAME"
echo "AWS_REGION: $AWS_REGION"
echo "secrate": ${{ vars.REACT_APP_AWS_S3_BUCKET_NAME }}

- name: Cloudfront Invalidation
uses: chetan/invalidate-cloudfront-action@master
env:
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION_NEW }}
PATHS: "/*"
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Loading
Loading