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

Dev backup branch #3982

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
9887254
fix: added missing jobs
beepdot Sep 26, 2022
01975c5
fix: updated schema folder name
beepdot Sep 26, 2022
1406ea0
fix: revert source folder changes
beepdot Sep 26, 2022
8c4d029
fix: renamed jobs, formatted lines, deleted unsued plays
beepdot Sep 27, 2022
95de617
fix: remove debug statements
beepdot Sep 27, 2022
4c20bc6
fix: formatting, don't remove files to make debug easy
beepdot Sep 27, 2022
16db27a
fix: added missing jobs, clean up unused files
beepdot Sep 27, 2022
ea59c10
fix: adding default offline store value
beepdot Sep 27, 2022
306923f
fix: clean up unused roles
beepdot Sep 27, 2022
6ffe542
fix: removed unused files, typos
beepdot Sep 28, 2022
e635d07
fix: remove verbosity
beepdot Sep 28, 2022
4d1b0a5
fix: adding default container name
beepdot Sep 28, 2022
19b876d
feat: adding new mongo backup jobs
beepdot Sep 28, 2022
332c7d7
fix: delegate container creation to local
beepdot Sep 28, 2022
765c15c
fix: updated pip package name
beepdot Sep 29, 2022
769de28
fix: remove unnessary all tags
beepdot Sep 29, 2022
4f1070b
Merge pull request #3510 from keshavprasadms/SB-30654
G33tha Sep 29, 2022
beeabe0
fix: renamed to cassandra backup folder (#3560)
beepdot Sep 29, 2022
29dc554
Updated post-install script (#3564)
saiakhil46 Oct 17, 2022
a1ab95b
certificates api added
VISHNUDAS-tunerlabs Oct 17, 2022
e37ca72
Issue #KN-9 feat: Content Publish API refactor.
Oct 19, 2022
cde575b
Updated the ingestion specs
raghupathiguduri Oct 20, 2022
f2dacab
project certificate schema jsons added
VISHNUDAS-tunerlabs Oct 25, 2022
d32a99d
certicificate schema filename changes and project certificate api added
VISHNUDAS-tunerlabs Oct 25, 2022
1798851
format changes
VISHNUDAS-tunerlabs Oct 25, 2022
2b7747c
project certificate download new api added
VISHNUDAS-tunerlabs Oct 28, 2022
97c0afc
Add gcloud role and related tasks (#3566)
santhosh-tg Oct 30, 2022
2bf8f18
Update project_credential_template.json
VISHNUDAS-tunerlabs Oct 31, 2022
bab9171
issuenceDate change
VISHNUDAS-tunerlabs Oct 31, 2022
0c2e454
changeMerge branch 'project-certificate-api' of https://github.com/VI…
VISHNUDAS-tunerlabs Oct 31, 2022
d8f6050
project certificate flag env
VISHNUDAS-tunerlabs Oct 31, 2022
37b7fa6
kid env of certificate issuer added
VISHNUDAS-tunerlabs Nov 2, 2022
b77ad21
Merge pull request #3565 from VISHNUDAS-tunerlabs/project-certificate…
saiakhil46 Nov 2, 2022
d78c40f
credential change
VISHNUDAS-tunerlabs Nov 2, 2022
370735b
formating change on credential file
VISHNUDAS-tunerlabs Nov 2, 2022
331e6c2
Merge pull request #3575 from VISHNUDAS-tunerlabs/project-certificate…
saiakhil46 Nov 2, 2022
ab68525
kid env variable change
VISHNUDAS-tunerlabs Nov 2, 2022
30f4de1
Merge pull request #3577 from VISHNUDAS-tunerlabs/project-certificate…
saiakhil46 Nov 2, 2022
8f5f0da
Release 5.1.0 - gcp related changes (#3578)
santhosh-tg Nov 4, 2022
4174d6c
Release 5.1.0 gcp related changes (#3580)
santhosh-tg Nov 6, 2022
41445d9
Add GCP related vars for KP and DP (#3586)
santhosh-tg Nov 14, 2022
e9bf2a0
fix: resolved conflicts
beepdot Nov 14, 2022
f9c9ffa
Merge pull request #3590 from keshavprasadms/release-5.1.0
amorphous-1 Nov 14, 2022
1fbc256
fix: SB-31155 updated references for upstream_url
beepdot Nov 14, 2022
32d2c59
fix: adding https in url
beepdot Nov 14, 2022
079c554
fix: updated sunbird_cloud_storage_urls var to use upstream_url
beepdot Nov 14, 2022
6acc89f
Merge pull request #3592 from keshavprasadms/release-5.1.0
G33tha Nov 14, 2022
6664891
fix: use cloud_storage_url var as a base for upstream_url
beepdot Nov 14, 2022
edc608e
fix: generalizing dial_service_schema_base_path var
beepdot Nov 14, 2022
2e9403e
fix: generalized ml_analytics_evidence_base_url var
beepdot Nov 14, 2022
8072b86
fix: removed unnessary vars and redefine in all.yml
beepdot Nov 14, 2022
52539a4
fix: updated desktop_app_storage_url var reference
beepdot Nov 14, 2022
c40dc02
fix: generalized h5p_library_path var
beepdot Nov 14, 2022
f6fa71b
fix: updated player.env to use generalized var
beepdot Nov 14, 2022
cdb0b41
fix: generalized discussion_upstream_url
beepdot Nov 14, 2022
f409d6f
fix: generalizing CACHE_CONTEXT_URLS
beepdot Nov 14, 2022
ebaa177
fix: generalizing credentialTemplate param
beepdot Nov 14, 2022
6811148
fix: generalizing kp_schema_base_path and updating reference to upstr…
beepdot Nov 14, 2022
511382e
fix: updated references of templates to upstream_url
beepdot Nov 14, 2022
dec5289
sunbird cdn configuration
surabhi-mahawar Nov 14, 2022
0dbae85
fix: remove unnessary vars
beepdot Nov 14, 2022
5200415
fix: reordered comments
beepdot Nov 14, 2022
d94747a
fix: typo fix
beepdot Nov 14, 2022
0a7856c
fix: remove duplicate vars
beepdot Nov 14, 2022
4867b29
fix: moving few vars to default
beepdot Nov 14, 2022
b083091
Merge pull request #3593 from keshavprasadms/release-5.1.0
G33tha Nov 15, 2022
996c091
fix: moved var to all.yml of LP repo
beepdot Nov 15, 2022
568f7ea
Merge pull request #3596 from keshavprasadms/release-5.1.0
G33tha Nov 15, 2022
005bc8c
Merge branch 'project-sunbird:release-5.0.2' into release-5.0.2
Ashwiniev95 Nov 16, 2022
f55ab75
Add few new variables
Ashwiniev95 Nov 16, 2022
e4628c7
Update key
Ashwiniev95 Nov 16, 2022
0d6f61e
Merge remote-tracking branch 'sunbird/release-5.1.0' into release-5.1.0
Nov 16, 2022
f870b05
removed unused variables
surabhi-mahawar Nov 16, 2022
3a25d5b
feat: SB-30654 generalizing plugins upload
beepdot Nov 16, 2022
be05234
feat: upload plugins using existing roles
beepdot Nov 16, 2022
f436573
grouping aws specific tasks into a single role (#3573)
G33tha Nov 16, 2022
ab8a0b1
fix: remove polling to save time
beepdot Nov 16, 2022
949f1da
fix: updated comments
beepdot Nov 16, 2022
931cd05
fix: added a var to control container creation
beepdot Nov 16, 2022
8158077
Merge remote-tracking branch 'upstream/release-5.1.0' into release-5.1.0
beepdot Nov 16, 2022
2d9eb95
env changes for project certificate story (#3599)
VISHNUDAS-tunerlabs Nov 17, 2022
4b41e72
fix: remove unnecessary become
beepdot Nov 17, 2022
bf568d3
Merge pull request #3598 from keshavprasadms/release-5.1.0
G33tha Nov 17, 2022
25c6f71
fix: poll incorrectly set to 0
beepdot Nov 17, 2022
faac180
Merge pull request #3600 from keshavprasadms/release-5.1.0
G33tha Nov 17, 2022
3dc90f9
fix: renamed task (#3601)
beepdot Nov 17, 2022
bdbea1b
Certificate env changes- RC- internal call used instead env variable …
VISHNUDAS-tunerlabs Nov 21, 2022
df34ccf
Merge branch 'project-sunbird:release-5.1.0' into release-5.1.0
raghupathiguduri Nov 21, 2022
daf4b7c
Update config.j2
raghupathiguduri Nov 21, 2022
6bc03f6
Update main.yml
raghupathiguduri Nov 21, 2022
38e6fd5
Update config.j2
raghupathiguduri Nov 21, 2022
eb8eb6a
Update main.yml
raghupathiguduri Nov 21, 2022
c40915d
Merge remote-tracking branch 'sunbird/release-5.1.0' into release-5.1.0
Nov 23, 2022
7c02eb4
Issue #KN-427 feat: Knowledge service cloud-agnostic
Nov 23, 2022
f804103
Revert "Issue #KN-9 feat: Content Publish API refactor."
Nov 23, 2022
267f338
Update config.j2
raghupathiguduri Nov 24, 2022
d22223a
Update main.yml
raghupathiguduri Nov 24, 2022
6924936
Update main.yml
raghupathiguduri Nov 24, 2022
bcdb073
Update main.yml
raghupathiguduri Nov 24, 2022
1932c83
Update main.yml
raghupathiguduri Nov 24, 2022
d13d58a
Update main.yml
raghupathiguduri Nov 24, 2022
dfd09a6
Update main.yml
raghupathiguduri Nov 24, 2022
99e820e
Update main.yml
raghupathiguduri Nov 24, 2022
618045e
Update main.yml
raghupathiguduri Nov 24, 2022
d71e3cc
Merge pull request #3567 from Jayaprakash8887/release-5.1.0
santhosh-tg Nov 24, 2022
7dc044d
Merge pull request #3604 from shikshalokam/release-5.1.0
santhosh-tg Nov 24, 2022
abab73d
Issue #ED-521 fix: Updated CSP variables with Finalized vars
rajeshkumaravel Nov 25, 2022
c72fa43
Issue #ED-521 fix: Updated CSP variables with Finalized vars
rajeshkumaravel Nov 25, 2022
1a3073d
Issue #ED-521 fix: Updated CSP variables with Finalized vars
rajeshkumaravel Nov 25, 2022
4778198
Merge pull request #3611 from rajeshkumaravel/release-5.1.0
santhosh-tg Nov 25, 2022
aaa3644
variables changes for sunbird cloud agnostic tool
surabhi-mahawar Nov 25, 2022
b26fbbc
variables changes - private vars
surabhi-mahawar Nov 25, 2022
2bc7760
Merge pull request #3594 from surabhi-mahawar/release-5.1.0
santhosh-tg Nov 25, 2022
4c14f86
Make roles as anonymous for project certificate
aks30 Nov 28, 2022
944d13c
Merge pull request #3615 from aks30/patch-1
saiakhil46 Nov 28, 2022
1f4f735
Fix syntax (#3621)
santhosh-tg Nov 29, 2022
a5f8533
Change condition to match boolean (#3623)
santhosh-tg Nov 29, 2022
20955da
Update main.yml
raghupathiguduri Nov 29, 2022
fa4e242
Merge pull request #3624 from raghupathiguduri/patch-14
santhosh-tg Nov 29, 2022
d002f1e
updated CACHE_CONTEXT_URLS var (#3625)
saiakhil46 Nov 29, 2022
b8b4fc4
csp migration variables update
SadanandGowda Nov 29, 2022
daef177
added config.json file in certificatesign and updated templates
saiakhil46 Nov 30, 2022
2a6ebf8
Merge pull request #3630 from saiakhil46/release-5.1.0
G33tha Nov 30, 2022
6f9ffe1
updated certificatesign helm_chart
saiakhil46 Dec 1, 2022
6317dde
Merge pull request #3631 from saiakhil46/release-5.1.0
G33tha Dec 1, 2022
5326821
fix: adding verbosity for desktop deploy (#3633)
beepdot Dec 1, 2022
8648a61
Set authentication_enabled as false by default
aks30 Dec 2, 2022
9a7d4af
Merge pull request #3636 from aks30/patch-2
santhosh-tg Dec 2, 2022
4b370d0
Release 5.1.0 (#3637)
santhosh-tg Dec 3, 2022
b8bffc2
LR-262 CSP related variable - Cloud storage base path added (#3641)
reshmi-nair Dec 6, 2022
4e4cd89
Add environment keys to enable async certificate
aks30 Dec 6, 2022
a6151bd
Merge pull request #3642 from aks30/patch-3
G33tha Dec 6, 2022
5dc030b
Update config.j2 (#3644)
raghupathiguduri Dec 6, 2022
e942e5d
Add kafka_bootstrap_address env key
aks30 Dec 6, 2022
7a4e9a7
Merge pull request #3646 from aks30/patch-4
G33tha Dec 6, 2022
e7f3b0f
Issue #ED-536 feat: Added fetch all API for form
rajeshkumaravel Dec 6, 2022
4a11327
Merge branch 'release-5.1.0' of https://github.com/project-sunbird/su…
rajeshkumaravel Dec 6, 2022
5febda8
Merge pull request #3647 from rajeshkumaravel/release-5.1.0
G33tha Dec 6, 2022
6930cd7
Issue #ED-536 fix: fetch all api added
rajeshkumaravel Dec 6, 2022
f49f3a4
Merge branch 'release-5.1.0' of https://github.com/project-sunbird/su…
rajeshkumaravel Dec 6, 2022
bcf059d
Merge pull request #3648 from rajeshkumaravel/release-5.1.0
G33tha Dec 6, 2022
9aef1be
Update main.yml (#3649)
raghupathiguduri Dec 7, 2022
2bbfe4e
Release 5.1.0 vars change (#3650)
santhosh-tg Dec 7, 2022
146c793
updated knowlgbb service changes
Dec 8, 2022
012961f
updated knowlgbb service changes
Dec 8, 2022
5db7065
Issue #KN-439 chore: Mering the changes from release-5.2.0-knowlg to …
AmiableAnil Dec 8, 2022
6fededc
Merge pull request #3655 from AmiableAnil/rel-5.1.0-copy
G33tha Dec 8, 2022
e2b1291
Merge pull request #3656 from project-sunbird/rel-5.1.0-copy
saiakhil46 Dec 8, 2022
484731b
Issue #ED-354 chore: Update aab firebase upload logic.
swayangjit Dec 8, 2022
d9f0bd9
Merge pull request #3657 from swayangjit/release-5.1.0
G33tha Dec 8, 2022
b14d6de
Release 5.1.0 vars change (#3658)
santhosh-tg Dec 8, 2022
8f5efcd
Issue #IQ-193 feat: updated config of assessment
krgauraw Dec 12, 2022
08abafc
Add a new variable (#3661)
Ashwiniev95 Dec 12, 2022
49bf92d
Merge pull request #3660 from krgauraw/release-5.1.0
G33tha Dec 13, 2022
0c14ae9
Update main.yml
raghupathiguduri Dec 13, 2022
f4f545d
Update shell_script_config.j2
raghupathiguduri Dec 13, 2022
44af6ff
Merge pull request #3662 from raghupathiguduri/patch-20
santhosh-tg Dec 13, 2022
ddeeff6
Update Ingestion Spec
raghupathiguduri Dec 13, 2022
8b2fba0
Merge pull request #3663 from raghupathiguduri/patch-21
santhosh-tg Dec 13, 2022
fb32016
Remove SAS token
raghupathiguduri Dec 14, 2022
2cd7a75
Merge pull request #3664 from raghupathiguduri/patch-22
santhosh-tg Dec 14, 2022
c0873da
Missing vars update (#3666)
raghupathiguduri Dec 14, 2022
c8dd939
LR-110 removed un-necessary prefix
prasadmoka Dec 14, 2022
664eac2
Merge pull request #3668 from prasadmoka/local-5.1.0
santhosh-tg Dec 14, 2022
9c6b12f
Release 5.1.0 - csp changes (#3667)
santhosh-tg Dec 14, 2022
061a993
Add logging level configuration for registry service (#3669)
VISHNUDAS-tunerlabs Dec 14, 2022
fadcdc0
LR-110 added default context
prasadmoka Dec 14, 2022
1b8d338
Merge pull request #3670 from prasadmoka/local-5.1.0
santhosh-tg Dec 14, 2022
95a83a1
Update config.j2 (#3673)
raghupathiguduri Dec 15, 2022
a807916
fix: ED-573 jenkins job to kill spark jobs
beepdot Dec 15, 2022
62e8c40
Merge pull request #3676 from keshavprasadms/release-5.1.0
G33tha Dec 15, 2022
ece7ed3
Update ingestion specs (#3677)
raghupathiguduri Dec 16, 2022
6b868b4
updated jenkins version and plugins (#3679)
saiakhil46 Dec 20, 2022
b61a35f
Issue #ED-592 fix: Pdata version updated (#3678)
rajeshkumaravel Dec 20, 2022
3e1b320
csp migration variables update
SadanandGowda Dec 22, 2022
56ea8f9
csp migration variables update
SadanandGowda Dec 22, 2022
94ec163
Updated template value for dial ansible group (#3681)
gandham-santhosh Dec 22, 2022
6c6eebf
csp migration variables update
SadanandGowda Dec 22, 2022
afe31e6
csp migration variables update
SadanandGowda Dec 22, 2022
c7db90c
csp migration variables update (#3671)
SadanandGowda Dec 22, 2022
1195db5
csp migration variables update
SadanandGowda Dec 22, 2022
90c7e70
Merge branch 'release-5.1.0' into csp_changes
santhosh-tg Dec 22, 2022
ae19cd9
Merge pull request #3682 from SadanandGowda/csp_changes
santhosh-tg Dec 22, 2022
35e9dea
Ansible-postgres-patroni cluster (#3684)
nikhilvarma940 Dec 23, 2022
ba01495
Prashnavali reminder query added
Dec 26, 2022
8a73f68
added new jenkins adhoc job for ml-analytics #ED-569 (#3675)
raghupathiguduri Dec 27, 2022
b2c7600
fix: https:// already part of another url
beepdot Dec 27, 2022
e6110a6
Merge pull request #3686 from keshavprasadms/release-5.1.0
G33tha Dec 27, 2022
3da4be4
fix: updated split logic based on url value
beepdot Dec 27, 2022
d3e9c94
fix: removed https:// url string
beepdot Dec 27, 2022
854398a
fix: update url array index
beepdot Dec 27, 2022
b0333ba
Merge pull request #3687 from keshavprasadms/release-5.1.0
G33tha Dec 27, 2022
045d158
fix: remove hardcoded https from proxy_pass value (#3688)
beepdot Dec 27, 2022
b87d0d3
fix: remove https as its included in the var
beepdot Dec 28, 2022
33d0228
Merge pull request #3690 from keshavprasadms/release-5.1.0
G33tha Dec 28, 2022
15394c4
Project certificate download uris edited (#3691)
VISHNUDAS-tunerlabs Dec 28, 2022
e9978e7
Release 5.1.0 - CSP changes (#3692)
santhosh-tg Dec 29, 2022
13dfc47
ED-621: added placeholder variable
prasadmoka Dec 29, 2022
bf68b0d
removed variable
prasadmoka Dec 29, 2022
fd9a8f4
ED-621: added placeholder variable
prasadmoka Dec 29, 2022
7ea9376
Merge pull request #3694 from prasadmoka/local-5.1.0
saiakhil46 Dec 29, 2022
891b73c
Issue #KN-439 chore: Added the transcripts in cloudstorage_metadata_l…
AmiableAnil Dec 29, 2022
0f8f411
Merge pull request #3695 from AmiableAnil/release-5.1.0
santhosh-tg Dec 29, 2022
389013a
Add gcp vars for service accounts (#3696)
santhosh-tg Dec 30, 2022
fe6b336
Fix the command to get deployed image (#3698)
santhosh-tg Jan 2, 2023
084eb4f
Fix gcp deploy issues (#3699)
santhosh-tg Jan 2, 2023
16e0cd7
Added new variables (#3701)
raghupathiguduri Jan 3, 2023
ea44249
ED-621:updated configurations for release-5.1.0
prasadmoka Jan 5, 2023
1b8fe73
Updated private_repo template with CSP changes (#3689)
saiakhil46 Jan 5, 2023
51fa2e4
Merge pull request #3702 from prasadmoka/local-5.1.0
santhosh-tg Jan 5, 2023
664f931
fix: adding graylog related changes
beepdot Jan 10, 2023
a23919d
Release 5.1.0 (#3697)
santhosh-tg Jan 10, 2023
aab41ed
Merge pull request #3705 from keshavprasadms/release-5.1.0
santhosh-tg Jan 10, 2023
f94a83f
feat: ED-699 adding data to enable opa
beepdot Jan 10, 2023
c9297de
fear: adding required consumers for sessions
beepdot Jan 10, 2023
c4ac371
fix: adding additional set of vars for sessions and graylog
beepdot Jan 10, 2023
ecc5d0c
LR-278 added lern specific variables
prasadmoka Jan 11, 2023
08d628c
LR-278 added placeholder as configurable value
prasadmoka Jan 11, 2023
0776ab7
Merge pull request #3707 from prasadmoka/local-5.1.0
G33tha Jan 11, 2023
72d029c
Merge pull request #3685 from rekhaLuezoid/rekhaDevRelease5.1.0
santhosh-tg Jan 11, 2023
cd47df6
Merge pull request #3706 from keshavprasadms/release-5.1.0
santhosh-tg Jan 12, 2023
3937d5a
#000 | LERN and ED Dataproducts jenkins changes added
kumarks1122 Jan 12, 2023
1ed421f
#000 | LERN and ED Dataproducts jenkins changes added
kumarks1122 Jan 12, 2023
ee7e0a9
Merge pull request #3709 from kumarks1122/release-5.1.0-lern-jenkins-…
santhosh-tg Jan 12, 2023
f6227f3
fix: adding adminutil_learner_api_key consumer
beepdot Jan 13, 2023
eb77fcf
fix: adding adminutls to learner api token
beepdot Jan 13, 2023
1169032
Merge pull request #3710 from keshavprasadms/release-5.1.0
santhosh-tg Jan 13, 2023
6ab6862
Update youtube api key for content service (#3714)
G33tha Jan 17, 2023
07dad19
fix: ED-1164 adding missing UCI job
beepdot Jan 30, 2023
5f95fed
Merge pull request #3718 from keshavprasadms/release-5.1.0
santhosh-tg Jan 30, 2023
0fd5d9a
adding oci-cli in bootstrap and Jenkins job template (#3715)
heungheung Jan 30, 2023
612fbfa
ED-1173 OfflineInstaller deploy job fix (#3721)
saiakhil46 Feb 3, 2023
bef49da
Update config.j2
raghupathiguduri Feb 7, 2023
c603f1e
ED-700: Update Monitoring Stack Helm Chart (#3723)
santhosh-tg Feb 8, 2023
1684dd0
Merge pull request #3726 from raghupathiguduri/patch-28
santhosh-tg Feb 8, 2023
65e333d
added UCI vars in private_repo template
saiakhil46 Feb 9, 2023
98ebbae
added UCI vars in private_repo template
saiakhil46 Feb 9, 2023
da2222b
Merge pull request #3728 from saiakhil46/release-5.1.0
santhosh-tg Feb 9, 2023
94fd7ba
Correcting the Spelling Mistake (#3730)
raghupathiguduri Feb 10, 2023
ad32ded
Updated the spark_venv permissions
raghupathiguduri Feb 10, 2023
f94d471
Merge pull request #3731 from raghupathiguduri/patch-30
santhosh-tg Feb 10, 2023
eb48441
Changing the steps (#3732)
raghupathiguduri Feb 10, 2023
b825539
Issue #KN-828 chore: Added gcp related config
AmiableAnil Feb 13, 2023
302880a
Issue #KN-828 chore: Added gcp related config
AmiableAnil Feb 13, 2023
ae4fadc
Merge pull request #3733 from AmiableAnil/release-5.1.0
santhosh-tg Feb 13, 2023
f4fac28
added jenkins-mobile-slave-setup.sh (#3734)
saiakhil46 Feb 15, 2023
af57795
Fix: Release-5.1.0 installation issues (#3747)
santhosh-tg Feb 27, 2023
ef1f7d6
Sunbird installation issue fixes (#3746)
saiakhil46 Feb 28, 2023
91126ef
UCI-2 - env variables for doubtnut integration (#3754)
surabhi-mahawar Mar 3, 2023
54cf71c
Fix typo (#3755)
santhosh-tg Mar 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.DS_Store
*.retry
*.pyc
.idea
.idea
42 changes: 37 additions & 5 deletions ansible/artifacts-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,40 @@
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
environment:
AZURE_STORAGE_ACCOUNT: "{{ sunbird_artifact_storage_account_name }}"
AZURE_STORAGE_SAS_TOKEN: "{{ sunbird_artifact_storage_account_sas }}"
roles:
- artifacts-download-azure
tasks:
- name: download artifact from azure storage
include_role:
name: azure-cloud-storage
tasks_from: blob-download.yml
vars:
blob_container_name: "{{ cloud_storage_artifacts_bucketname }}"
blob_file_name: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
storage_account_name: "{{ cloud_artifact_storage_accountname }}"
storage_account_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "azure"

- name: download artifact from gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: download.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
when: cloud_service_provider == "gcloud"

- name: download artifact from aws s3
include_role:
name: aws-cloud-storage
tasks_from: download.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
s3_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
s3_path: "{{ artifact }}"
aws_default_region: "{{ cloud_public_storage_region }}"
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"
43 changes: 38 additions & 5 deletions ansible/artifacts-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,41 @@
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
environment:
AZURE_STORAGE_ACCOUNT: "{{ sunbird_artifact_storage_account_name }}"
AZURE_STORAGE_SAS_TOKEN: "{{ sunbird_artifact_storage_account_sas }}"
roles:
- artifacts-upload-azure
tasks:
- name: upload artifact to azure storage
include_role:
name: azure-cloud-storage
tasks_from: blob-upload.yml
vars:
blob_container_name: "{{ cloud_storage_artifacts_bucketname }}"
container_public_access: "off"
blob_file_name: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
storage_account_name: "{{ cloud_artifact_storage_accountname }}"
storage_account_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "azure"

- name: upload artifact to gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: upload.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
when: cloud_service_provider == "gcloud"

- name: upload artifact to aws s3
include_role:
name: aws-cloud-storage
tasks_from: upload.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
s3_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
s3_path: "{{ artifact }}"
aws_default_region: "{{ cloud_public_storage_region }}"
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"
Original file line number Diff line number Diff line change
Expand Up @@ -2506,7 +2506,7 @@ if(client_id.toLowerCase() === 'android'){
"telemetry": {
"pdata": {
"id": pdataId,
"ver": "5.0.0",
"ver": "5.1.0",
"pid": "sunbird-portal"
}
}
Expand Down Expand Up @@ -2687,7 +2687,6 @@ if(client_id.toLowerCase() === 'android'){
function stringToHTML(str) {
let parser = new DOMParser();
let doc = parser.parseFromString(str, 'text/html');
console.log('Doc parse => ', doc); // TODO: log!
return doc?.body?.innerText || document.createElement('body');
}

Expand Down
77 changes: 73 additions & 4 deletions ansible/assets-upload.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,77 @@
---
- hosts: localhost
vars:
ansible_connection: local
vars_files:
- ['{{inventory_dir}}/secrets.yml', 'secrets/{{env}}.yml']
roles:
- assets-upload-azure
# Azure
tasks:
- name: this block consists of tasks related to azure storage
block:
- name: set common azure variables
set_fact:
blob_container_name: "{{ cloud_storage_playercdn_bucketname }}"
container_public_access: "container"
blob_container_folder_path: ""
storage_account_name: "{{ cloud_public_storage_accountname }}"
storage_account_key: "{{ cloud_public_storage_secret }}"

- name: delete files and folders from azure storage using azcopy
include_role:
name: azure-cloud-storage
tasks_from: delete-using-azcopy.yml

- name: upload batch of files to azure storage
include_role:
name: azure-cloud-storage
tasks_from: blob-upload-batch.yml
vars:
local_file_or_folder_path: "{{ assets }}"
when: cloud_service_provider == "azure"

##### AWS
- name: this block consists of tasks related to aws storage
block:
- name: set common aws variables
set_fact:
s3_bucket_name: "{{ cloud_storage_playercdn_bucketname }}"
s3_path: ""
aws_default_region: "{{ cloud_public_storage_region }}"
aws_access_key_id: "{{ cloud_public_storage_accountname }}"
aws_secret_access_key: "{{ cloud_public_storage_secret }}"

- name: delete files and folders from s3
include_role:
name: aws-cloud-storage
tasks_from: delete-folder.yml

- name: upload batch of files to s3
include_role:
name: aws-cloud-storage
tasks_from: upload-folder.yml
vars:
local_file_or_folder_path: "{{ assets }}"
when: cloud_service_provider == "aws"

#GCP
- name: this block consists of tasks related to azure storage
block:
- name: set common gcloud variables
set_fact:
gcp_storage_service_account_name: "{{ cloud_public_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_public_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_playercdn_bucketname }}"
gcp_path: ""
file_delete_pattern: ""


- name: delete files and folders from gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: delete-batch.yml

- name: upload batch of files to gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: upload-batch.yml
vars:
local_file_or_folder_path: "{{ assets }}/*"
when: cloud_service_provider == "gcloud"
37 changes: 32 additions & 5 deletions ansible/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- name: Installing other packages
apt:
state: present
name: ['python-pkg-resources', 'python2-pip']
name: ['python-pkg-resources', 'python-pip']
when: ansible_distribution_version | float < 18
- name: Installing other packages
apt:
Expand All @@ -19,10 +19,8 @@
- bootstrap_any
tags:
- bootstrap_any
- all

- hosts: "{{hosts}}"
gather_facts: no
- hosts: "{{ hosts }}"
become: yes
ignore_unreachable: yes
vars_files:
Expand All @@ -32,6 +30,36 @@
tags:
- azure_cli

- hosts: "{{ hosts }}"
become: yes
ignore_unreachable: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- role: gcloud-cli
tags:
- gcloud_cli

- hosts: "{{ hosts }}"
become: yes
ignore_unreachable: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- role: aws-cli
tags:
- aws_cli

- hosts: "{{ hosts }}"
become: yes
ignore_unreachable: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- role: oci-cli
tags:
- oci_cli

- hosts: "{{ hosts| default('all') }}"
become: yes
gather_facts: no
Expand All @@ -42,4 +70,3 @@
- vm-agents-nodeexporter
tags:
- node_exporter
- all
10 changes: 0 additions & 10 deletions ansible/cert-file-upload.yml

This file was deleted.

Loading
Loading