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

Sivacmdiksha patch 3 #4017

Open
wants to merge 375 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
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
4193a39
added task and role for artifacts upload - oci oss
ddevadat Dec 21, 2022
d7ee161
overwrite oss file if exists
ddevadat Dec 22, 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
c37645d
added the switch for getting oci deployed image tag
ddevadat Dec 28, 2022
fff6051
added oci in the task name for getting image version
ddevadat Dec 28, 2022
7a3833a
added helm values for oci for internal lb provisioning
ddevadat Dec 28, 2022
cb96fe2
getting image tag for oci
ddevadat Dec 28, 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
30ed77a
added oci oss upload for certificate template
ddevadat Dec 28, 2022
79b1ec5
corrected typo in the role input variable
ddevadat Dec 28, 2022
79fb6d9
removed prefix flag from bulk upload
ddevadat Dec 28, 2022
5e9f0eb
added oci oss task for chatbot upload
ddevadat Dec 29, 2022
a019854
updated the prefix logic for folder upload to oss
ddevadat Dec 29, 2022
bb3812e
uploadfaq to oci oss
ddevadat Dec 29, 2022
c838333
added a temp debug
ddevadat Dec 29, 2022
5ee7051
testing bulk upload logic
ddevadat Dec 29, 2022
e2f3c3a
testing oss_path variable
ddevadat Dec 29, 2022
5598a31
testing with a defined prefix
ddevadat Dec 29, 2022
9fdf0f3
removed debug line and oss_path value
ddevadat Dec 29, 2022
7f4477e
added overwrite flag for bulk upload
ddevadat Dec 29, 2022
bfe702d
oci oss changes for uploadschema
ddevadat Dec 29, 2022
e1a49ce
typo in the csp switch
ddevadat Dec 29, 2022
1f4699b
Merge pull request #2 from ocisunbird/oci-5.1.0-nginx-private-ingress
heungheung Dec 29, 2022
154ced4
oci oss changes for plugins upload
ddevadat Dec 29, 2022
3549605
Merge branch 'oci-5.1.0' of https://github.com/ocisunbird/sunbird-dev…
ddevadat Dec 29, 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
b932f9d
testing by adding privileged: true to init container
ddevadat Dec 29, 2022
45ad9f6
removed privileged=true..as it didnt help the deployment
ddevadat 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
f8bb1c0
deployed image check for oci
ddevadat Dec 29, 2022
5ced316
added the switch for selecting api version
ddevadat Dec 30, 2022
b87026b
corrected the right task file for plugin del and upl for oci
ddevadat Dec 30, 2022
389013a
Add gcp vars for service accounts (#3696)
santhosh-tg Dec 30, 2022
e997f3e
added a temporary debug
ddevadat Dec 30, 2022
6564248
testing flow
ddevadat Dec 30, 2022
6839a4b
debug line
ddevadat Dec 30, 2022
5a7c2a5
testing
ddevadat Dec 30, 2022
3c9ab20
disable delete and repload plugin temp
ddevadat Dec 30, 2022
4b158b1
testing
ddevadat Dec 30, 2022
24bddee
adding OCI values for player environments
heungheung Jan 2, 2023
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
8163c85
updated daemonset deployed image retrieval
ddevadat Jan 2, 2023
e05aba6
Merge branch 'oci-5.1.0' of https://github.com/ocisunbird/sunbird-dev…
ddevadat 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
8399904
added role for oci-cli
ddevadat Jan 12, 2023
3540d03
test home location
ddevadat Jan 12, 2023
89dd838
updated the oci cli install location
ddevadat Jan 12, 2023
0224f25
Merge pull request #3 from ocisunbird/oci-5.1.0-oci-cli
heungheung Jan 12, 2023
cd47df6
Merge pull request #3706 from keshavprasadms/release-5.1.0
santhosh-tg Jan 12, 2023
f25512e
include option oci-cli in template
heungheung 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
22e1440
Merge pull request #4 from ocisunbird/jenkins-template-oci-patch-1
heungheung Jan 19, 2023
e47f716
Merge remote-tracking branch 'upstream/release-5.1.0' into oci-5.1.0-…
ddevadat Jan 20, 2023
93eeb2d
added the missing uploads for desktop faq upload
ddevadat Jan 20, 2023
ccb4806
added CLOUD_STORAGE_ENDPOINT env variable
ddevadat Jan 20, 2023
f64c769
updated the ansible variable for cloud_storage_endpoint
ddevadat Jan 20, 2023
13a24cb
updated env template for lms to add endpoint
ddevadat Jan 23, 2023
cdb8365
corrected the typo in the template for lms
ddevadat Jan 23, 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
e8feb09
updated desktop-faq-upload for oci
ddevadat Feb 9, 2023
7e5969a
added uploadfaq for oci rc-schema
ddevadat Feb 9, 2023
15dfad8
updated bucket name for oci upload for schema
ddevadat Feb 9, 2023
9bcf90c
updated bucket name for artifact upl and download for oci
ddevadat Feb 9, 2023
5077848
added oci oss block for asset upload
ddevadat Feb 9, 2023
b4d7294
updated oci buket name for deploy plugins
ddevadat Feb 9, 2023
be32125
added es snapshot for oci
ddevadat Feb 9, 2023
86bd891
added es repository for oci
ddevadat Feb 9, 2023
735e540
added repository changes for log-es6 for oci
ddevadat Feb 9, 2023
ea4b0a2
Merge remote-tracking branch 'upstream/release-5.1.0' into oci-5.1.0-…
ddevadat Feb 9, 2023
4097a66
removed access key and secret from es s3 repo settings
ddevadat Feb 9, 2023
f9516a7
add s3 compatible repository setting for es backup
ddevadat Feb 9, 2023
fabb504
changed the repository type to s3
ddevadat Feb 9, 2023
9b14c16
plugin repository-s3 for oci
ddevadat Feb 9, 2023
d888ba6
temporarily disabling no_log for trigage
ddevadat Feb 9, 2023
f71dc5a
used the logical or
ddevadat Feb 9, 2023
2470e09
reverted no_log
ddevadat Feb 9, 2023
96fcc38
default client name based setting
ddevadat Feb 9, 2023
630f46e
added signer override
ddevadat Feb 9, 2023
f36f174
added s3 client configuration for oci
ddevadat Feb 9, 2023
0d4ff3b
corrected elasticsearch.yml template
ddevadat Feb 9, 2023
828dbc0
corrected the variable names in elasticsearch.yml
ddevadat Feb 9, 2023
f7ad262
removed s3 compatiblity variables from elasticsearch.yaml
ddevadat Feb 9, 2023
eeb235e
tsting snapshot backup
ddevadat Feb 9, 2023
7f65c16
without path-style-acess
ddevadat Feb 9, 2023
0ae5263
testing with home region
ddevadat Feb 9, 2023
752010b
using ip of endpoint
ddevadat Feb 9, 2023
0b419a6
install repository-s3 plugin for log-es
ddevadat Feb 9, 2023
02b8e16
updated s3 settings values
ddevadat Feb 9, 2023
f333026
re arranged the order
ddevadat Feb 9, 2023
645dcca
Merge remote-tracking branch 'upstream/release-5.1.0' into oci-5.1.0
ddevadat Feb 10, 2023
331a15e
Merge pull request #7 from ocisunbird/oci-5.1.0-JAPACCOE-2845-release…
heungheung Feb 10, 2023
65ccd74
Merge branch 'oci-5.1.0' of https://github.com/ocisunbird/sunbird-dev…
ddevadat Feb 10, 2023
72690a6
corrected the default values for sunbird_player.env
ddevadat Feb 10, 2023
c4d827f
removed the redundant check to get deployed image
ddevadat Feb 10, 2023
4025cba
removed csp switch for deployed image retrival
ddevadat Feb 13, 2023
c6ba317
common login for getting deployed image
ddevadat Feb 13, 2023
247f13c
removed csp switch for getting deployed image
ddevadat Feb 13, 2023
1f2b5b7
Merge pull request #9 from ocisunbird/oci-5.1.0-JAPACCOE-2845-release…
heungheung Feb 13, 2023
4750c32
added the environment variable for instance principal for oci operation
ddevadat Feb 13, 2023
12e8e01
Merge pull request #10 from ocisunbird/oci-5.1.0-instance-principal
heungheung Feb 17, 2023
e769381
Fixed indentation error
subhashchandrab Feb 21, 2023
f0453dc
Update oss-upload-batch-no-poll.yml
heungheung Feb 27, 2023
f63bdb0
Merge pull request #14 from ocisunbird/heungheung-patch-1-batch-upload
ddevadat Feb 27, 2023
04eb5a2
Changes for postgres ssl configuration
subhashchandrab Mar 2, 2023
bc985f1
added the storage type for deployment
ddevadat Mar 16, 2023
8dba246
issue with npm version
Mar 22, 2023
26a9b47
Fix for DU-417
Mar 29, 2023
5ad9bd2
Moved the storage config to ansible variables
subhashchandrab Apr 22, 2023
8399174
typo fix
subhashchandrab Apr 22, 2023
eeac471
updated oci oss config entries
subhashchandrab Apr 22, 2023
bc080e0
Merge pull request #13 from ocisunbird/oci-5.1.0-github-issue-25
ddevadat May 2, 2023
618bd1c
Merge pull request #20 from ocisunbird/oci-5.1.0-analytics
ddevadat May 12, 2023
66510bd
updated kafka setup zookeeper
ddevadat May 12, 2023
7fada3f
updated the generic defaults
ddevadat May 12, 2023
4cc91b3
added conditional check for pg ssl
ddevadat May 12, 2023
8004f62
Merge pull request #22 from ocisunbird/oci-5.1.0-kafka-setup
ddevadat May 12, 2023
0b168e0
Merge pull request #23 from ocisunbird/oci-5.1.0-JAPACCOE-2845-releas…
ddevadat May 12, 2023
130259b
Merge pull request #26 from ocisunbird/oci-5.1.0-git-64-pgssl
ddevadat May 23, 2023
1faa7be
Merge pull request #24 from ocisunbird/oci-5.1.0-DU-417
rjanart May 23, 2023
d9b6088
Added oci desktop offline bucket upload
tsprasath Mar 11, 2024
1106a21
Update main.yml
tsprasath Mar 11, 2024
686b8f1
Merge pull request #44 from dicdiksha/tsprasath-patch-2
balasaheb-karjule Mar 12, 2024
d78c7f1
Updated configmap.yaml - added new endpoint for course metrics
balasaheb-karjule Apr 10, 2024
f216b65
Merge pull request #47 from dicdiksha/balasaheb-karjule-course-metrics-1
dicdiksha Apr 10, 2024
b7a0fdd
Added the OCI info for PostgreSQL backup upload to OCI Object Storage.
venudiksha Apr 17, 2024
9e03b27
Merge pull request #48 from dicdiksha/venudiksha-patch-1
tsprasath Apr 17, 2024
7290772
Update sunbird_learner-service.env for user deletion
tsprasath May 7, 2024
e99da9e
Merge pull request #49 from dicdiksha/tsprasath-patch-3
dicdiksha May 9, 2024
af3e4f3
Updated druid values in config.j2
sivacmdiksha Jul 8, 2024
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
55 changes: 50 additions & 5 deletions ansible/artifacts-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,53 @@
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"

- name: download artifact from oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: download.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_path: "{{ artifact }}"
when: cloud_service_provider == "oci"
56 changes: 51 additions & 5 deletions ansible/artifacts-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,54 @@
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"

- name: upload artifact to oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: upload.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_path: "{{ artifact }}"
when: cloud_service_provider == "oci"
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
105 changes: 101 additions & 4 deletions ansible/assets-upload.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,105 @@
---
- 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"

##### OCI
- name: this block consists of tasks related to oci oss
block:
- name: set common oci variables
set_fact:
oss_bucket_name: "{{ cloud_storage_playercdn_bucketname }}"
oss_path: ""
oss_namespace: "{{oci_namespace}}"

- name: delete files and folders from oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: delete-folder.yml

- name: upload batch of files to oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: upload-folder.yml
vars:
local_file_or_folder_path: "{{ assets }}"
when: cloud_service_provider == "oci"
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