Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
134aa8f
Issue #SB-28621 | Play session count fixes added
kumarks1122 Feb 9, 2022
6c0b35f
Merge pull request #1511 from kumarks1122/release-4.6.0-content-ratin…
anandp504 Feb 9, 2022
304f7c0
Adding ML Druid Raw Ingestion Specs
Shakthieshwari Apr 18, 2022
4390063
Issue #SB-29391 | Exhaust job Primary category config added
kumarks1122 Apr 18, 2022
a63dbcf
Merge pull request #1533 from kumarks1122/release-4.9.0-progress-exha…
sowmya-dixit Apr 19, 2022
b679ed1
Druid k8s (#1534)
saiakhil46 Apr 26, 2022
132047b
SB-29645: CephS3 config/support for Flink checkpointing, Druid deep s…
shobhit-vashistha Apr 26, 2022
4438d2f
Merge branch 'release-4.9.0' of github.com:project-sunbird/sunbird-da…
Shakthieshwari Apr 26, 2022
9cb5cd9
updated spec as per the PR comments
Shakthieshwari Apr 26, 2022
7171a52
Updated defaults as per comments in the PR
Shakthieshwari Apr 27, 2022
cbc954d
Updated defaults as per comments in the PR
Shakthieshwari Apr 27, 2022
09c9550
Merge pull request #1532 from shikshalokam/release-4.9.0
sowmya-dixit Apr 27, 2022
e2e9450
Issue #TG-1177 feat: Fix azure upload failure in deployment jobs (#1535)
sowmya-dixit Apr 28, 2022
0dfd3f3
SB-001: Fixed the run-job.sh script lib path issue
manjudr Apr 28, 2022
109b9f7
SB-001: Fixed the run-job.sh script lib path issue
manjudr Apr 28, 2022
a32fe5b
Merge pull request #1536 from manjudr/script-update
sowmya-dixit Apr 28, 2022
5de198e
SB-29761 | ETB Report config changes added (#1537)
kumarks1122 May 4, 2022
83f35da
push updated ml spec as part of release-4.9.0
Shakthieshwari May 4, 2022
25349a0
Merge pull request #1538 from shikshalokam/release-4.9.0
sowmya-dixit May 5, 2022
1d016ef
SB-001 merge: Resolved the conflicts while merging 4.8.0 into 4.9.0
manjudr May 6, 2022
10ae00d
Merge pull request #1540 from manjudr/merge-conflict
sowmya-dixit May 9, 2022
4777311
fix: SB-29848 Analytics job fixes (#1541)
santhosh-tg May 16, 2022
5da6d7c
Fix Typo (#1542)
santhosh-tg May 16, 2022
998157f
Fix Typos (#1543)
santhosh-tg May 16, 2022
cfcd2d7
Add kafka topics (#1544)
santhosh-tg May 16, 2022
6ef3704
Issue #000 | Report table changes added
kumarks1122 May 27, 2022
48d58c3
Issue #000 | Report table changes added (#1562)
kumarks1122 May 27, 2022
03d0127
Merge pull request #1563 from project-sunbird/release-4.6.0
sowmya-dixit May 30, 2022
3440d49
Merge pull request #1564 from project-sunbird/release-4.9.0
sowmya-dixit Jun 6, 2022
207c5ff
Issue #SB-28238 feat: Update spark version to 3.1 (#1545)
sowmya-dixit Jun 10, 2022
72063c8
Issue #000 | Report table changes added (#1562) (#1565)
sowmya-dixit Jun 13, 2022
05301eb
Issue #000 | Report table changes added
kumarks1122 Jun 14, 2022
78f4d31
Merge branch 'release-4.10.0' into release-4.10.0-pg-report-changes
kumarks1122 Jun 14, 2022
7286244
Merge pull request #1566 from kumarks1122/release-4.10.0-pg-report-ch…
sowmya-dixit Jun 14, 2022
1da2c6b
Merge pull request #1567 from project-sunbird/release-4.9.0
sowmya-dixit Jun 14, 2022
2201199
SB-28238 fix: Spark upgrade in the ETL Jobs
manjudr Jun 15, 2022
a1a7a40
Merge pull request #1568 from manjudr/content-snapshot
sowmya-dixit Jun 15, 2022
11f1f32
ml new ingestion specs
Shakthieshwari Jun 15, 2022
d66e206
ml new ingestion specs
Shakthieshwari Jun 15, 2022
f87cbf3
ml new ingestion specs
Shakthieshwari Jun 15, 2022
0fb3dee
Add user_type column
Ashwiniev95 Jun 24, 2022
efdbd1b
4.10.0 updated ingestion spec of ML
Shakthieshwari Jun 27, 2022
19a7cb5
4.10.0 updated ingestion spec of ML
Shakthieshwari Jun 27, 2022
1a30be7
4.10.0 updated ingestion spec of ML
Shakthieshwari Jun 27, 2022
4d8d667
Merge pull request #1571 from shikshalokam/release-4.10.0
sowmya-dixit Jul 1, 2022
0b33df0
Issue #0000 merge: Merge branch 'release-4.10.0' of https://github.co…
sowmya-dixit Jul 14, 2022
2aa1112
Merge pull request #1573 from sowmya-dixit/release-4.10.5
sowmya-dixit Jul 14, 2022
0c8c13a
Merge pull request #1574 from project-sunbird/release-4.10.5
sowmya-dixit Jul 14, 2022
c628323
Adding Druid Extension for HLL Support (#1575)
Shakthieshwari Jul 15, 2022
4ca91af
Issue #SB-30208 feat: Helm chart & Ansible changes for Kafka provisio…
sowmya-dixit Jul 21, 2022
b4996cd
Add Rollup Specs
Ashwiniev95 Jul 26, 2022
349a266
Modify variable format
Ashwiniev95 Jul 26, 2022
58d2e0d
Merge pull request #1578 from shikshalokam/release-5.0.0
sowmya-dixit Jul 26, 2022
71213c3
SB-30495 - ML Entity Cols Ingestion Spec Updates (#1579)
Shakthieshwari Aug 1, 2022
efaf036
Update column name & expr (#1580)
Ashwiniev95 Aug 8, 2022
ecfcc4b
Add column to spec (#1581)
Ashwiniev95 Aug 16, 2022
2c5abf9
fix: remove invalid arg (#1583)
beepdot Aug 30, 2022
a9cc4d8
Release 5.1.0 - GCP related changes (#1587)
santhosh-tg Nov 15, 2022
c56b13f
Added cloud storage services AWS and GCP
SadanandGowda Nov 17, 2022
43e5743
Added cloud storage services AWS and GCP
SadanandGowda Nov 17, 2022
bb540e9
Azure CSP changes (#1588)
saiakhil46 Nov 17, 2022
09bb4d7
updated common vars
SadanandGowda Nov 28, 2022
0c9b763
common variable changes in data-pipeline
SadanandGowda Dec 15, 2022
9e3ddd4
common variable changes in data-pipeline
SadanandGowda Dec 16, 2022
645db59
updated secor csp variables
SadanandGowda Dec 19, 2022
0c5f8ce
updated analytics spark csp variables
SadanandGowda Dec 19, 2022
b9658df
common variable changes in datapipeline/flink-jobs
SadanandGowda Dec 19, 2022
72bae4d
common variable changes in datapipeline/flink-jobs
SadanandGowda Dec 21, 2022
2003a18
Release 5.1.0 - CSP changes (#1591)
santhosh-tg Dec 21, 2022
aa4982e
csp migration variables update
SadanandGowda Dec 23, 2022
0b4ac59
csp migration variables update
SadanandGowda Dec 23, 2022
5ecb513
Merge pull request #1590 from SadanandGowda/csp_changes
manjudr Dec 26, 2022
e930804
csp migration variables update
SadanandGowda Dec 26, 2022
41e58c1
csp migration variables update
SadanandGowda Dec 26, 2022
aceeb5d
csp migration variables update
SadanandGowda Dec 26, 2022
fb46299
csp migration variables update
SadanandGowda Dec 26, 2022
a24203f
Merge branch 'dp-csp-changes' into csp_changes
manjudr Dec 27, 2022
adb2783
csp migration variables update
SadanandGowda Dec 30, 2022
b6eac94
Merge branch 'csp_changes' of https://github.com/SadanandGowda/sunbir…
SadanandGowda Dec 30, 2022
5faa25b
csp migration variables update
SadanandGowda Jan 17, 2023
5a24334
csp migration variables update
SadanandGowda Jan 18, 2023
d575aec
csp migration variables update
SadanandGowda Jan 18, 2023
214c977
Update main.yml
SadanandGowda Jan 18, 2023
4e83451
LR-539 | Encryption key length update added
kumarks1122 May 17, 2023
01f7345
LR-539 | Encryption key length update added
kumarks1122 May 17, 2023
d82cc0c
LR-539 | Encryption key length update added
kumarks1122 Sep 14, 2023
4001c26
LR-539 | Testcase fixes added
kumarks1122 Sep 14, 2023
f8f2883
Merge pull request #1613 from kumarks1122/release-5.2.0-encryption
manjudr Sep 14, 2023
2273f11
Fix analytics user dir permission issue
santhosh-tg Sep 28, 2023
cbce2b3
Update zookeeper download url
santhosh-tg Sep 28, 2023
f44e4a6
Fix docker creds secrets issue when having specialcharacters
santhosh-tg Sep 29, 2023
e7aa590
Fix erorr - no matches for kind RoleBinding in version rbac.authoriza…
santhosh-tg Sep 29, 2023
4254ff7
Merge pull request #1628 from santhosh-tg/release-5.2.0
manjudr Sep 29, 2023
f4696c7
Updated cloud service provider changes
SadanandGowda Nov 6, 2023
7517485
LR-539 | Encryption key length update added
kumarks1122 May 17, 2023
0cde617
LR-539 | Encryption key length update added
kumarks1122 May 17, 2023
1268b30
LR-539 | Encryption key length update added
kumarks1122 Sep 14, 2023
c3c8870
LR-539 | Testcase fixes added
kumarks1122 Sep 14, 2023
4518d61
Fix analytics user dir permission issue
santhosh-tg Sep 28, 2023
94678a0
Update zookeeper download url
santhosh-tg Sep 28, 2023
910635e
Fix docker creds secrets issue when having specialcharacters
santhosh-tg Sep 29, 2023
141c51f
Fix erorr - no matches for kind RoleBinding in version rbac.authoriza…
santhosh-tg Sep 29, 2023
b08aa1f
Updated cloud service provider changes
SadanandGowda Nov 6, 2023
cc46396
Merge pull request #1630 from SadanandGowda/csp_changes
manjudr Nov 8, 2023
c826125
Merge OCI changes to release-5.2.0 branch (#1631)
sowmya-dixit Nov 17, 2023
1394e66
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 20, 2023
a6fe4af
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 20, 2023
16fe19c
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 20, 2023
f6a9ce2
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 20, 2023
03a8bd5
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
6f6213e
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
fda6588
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
56661bf
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
661b05a
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
01858fa
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
33c89a3
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 21, 2023
23cb2f8
added cloud_storage_privatereports_bucketname variable
SadanandGowda Nov 21, 2023
b806412
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 22, 2023
521e900
Merge pull request #1 from SadanandGowda/csp_migration
sowmya-dixit Nov 22, 2023
d78959f
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 22, 2023
0e03d1b
Merge branch 'release-5.2.0' of github.com:sowmya-dixit/sunbird-data-…
sowmya-dixit Nov 22, 2023
e2208fb
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Nov 22, 2023
7719246
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 4, 2023
7927433
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 4, 2023
a558861
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 4, 2023
cd1fac6
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 4, 2023
5b2ad02
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 7, 2023
5788d26
#OB-553 fix: Deployment issue fixes for OCI (#1632)
sowmya-dixit Dec 7, 2023
9493def
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 11, 2023
72d858c
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 12, 2023
1148923
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
f84ee02
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
4c85ce9
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
9d9f233
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
90fcbe1
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
c2c6b01
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
sowmya-dixit Dec 12, 2023
638b54d
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Dec 12, 2023
7de7afa
#OB-553 fix: Deployment issue fixes for OCI (#1633)
sowmya-dixit Dec 12, 2023
44a167b
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
5eb55a9
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
b0a8e26
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
eeb7318
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
983f7c0
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
9cdb8a1
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
fac5796
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
e0c98b0
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
224a28d
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
8d9bf15
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
eea48ed
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
38fa220
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
aaa4d9c
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
c0b1257
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 14, 2023
7816ef7
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 15, 2023
c7485ee
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 15, 2023
01c76bb
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 15, 2023
8a3ca37
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Dec 18, 2023
b55b126
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
sowmya-dixit Dec 18, 2023
49d7f23
#OB-553 fix: Deployment issue fixes for OCI (#1634)
sowmya-dixit Dec 19, 2023
db1a38b
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
sowmya-dixit Dec 19, 2023
57fe2d4
Added kafka listener in server.properties (#1635)
akulavasu Jan 25, 2024
cb3a1df
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Jan 30, 2024
6a7b72b
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Feb 6, 2024
7899b10
#OB-553 fix: Deployment issue fixes for OCI - Secor
sowmya-dixit Feb 6, 2024
bf76ef3
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
sowmya-dixit Feb 8, 2024
cfde6df
#OB-553 fix: Deployment issue fixes for OCI
sowmya-dixit Feb 8, 2024
0a52f98
Deployment issue fixes for OCI - secor & Druid (#1636)
sowmya-dixit Feb 8, 2024
71287f9
#OB-553 fix: Spark reports cloud storage key issue fixes for OCI
sowmya-dixit Feb 21, 2024
a7f7172
#OB-553 fix: Spark reports cloud storage key issue fixes for OCI
sowmya-dixit Feb 21, 2024
9506317
#OB-553 fix: Spark version issue fixes for OCI
sowmya-dixit Feb 21, 2024
8027a58
#OB-553 fix: Spark provision fixes for OCI
sowmya-dixit Feb 27, 2024
be8ed94
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
sowmya-dixit Feb 27, 2024
7fd3a59
#OB-553 fix: Spark provision fixes for OCI
sowmya-dixit Feb 27, 2024
e35e2c1
#OB-553 fix: Spark provision fixes for OCI
sowmya-dixit Feb 27, 2024
a6554f5
#OB-553 fix: Spark provision fixes for OCI
sowmya-dixit Feb 27, 2024
df3813a
#OB-553 fix: Job-Manager issue fixes for OCI
sowmya-dixit Feb 27, 2024
685611b
Spark provision & deployment fixes OCI reports issue (#1637)
sowmya-dixit Mar 4, 2024
d2d446c
Issue #LR-781 chore: Removed lern related jobs config.
AmiableAnil Apr 18, 2024
dd5cdc2
Issue #LR-781 chore: Removed lern related jobs config.
AmiableAnil Apr 18, 2024
04f859f
Issue #LR-781 chore: added the lern-data-products in logs.
AmiableAnil Apr 29, 2024
d273bac
Issue #LR-781 chore: Removed lern related jobs config. (#1640)
AmiableAnil May 8, 2024
05346fa
Merge branch 'release-5.2.0' of https://github.com/Sunbird-Obsrv/sunb…
AmiableAnil May 10, 2024
2fead3a
Issue #LR-781 chore: Removed lern related jobs config.
AmiableAnil May 13, 2024
4b2bdd7
Merge pull request #1641 from AmiableAnil/release-5.2.0
sowmya-dixit May 15, 2024
67949eb
Added evidences column in sl-survey
prashanthShiksha May 21, 2024
d156c74
Update raw_sl_survey
prashanthShiksha May 21, 2024
bf1d391
Merge pull request #1642 from prashanthShiksha/release-5.2.0
sowmya-dixit May 23, 2024
009da70
fix: Content snapshot indexer job fixes.
May 24, 2024
5031fef
fix: Secor output file pattern issue fixes for Azure
May 29, 2024
fa9d3fe
Merge branch 'release-5.2.0' of github.com:Sunbird-Obsrv/sunbird-data…
May 29, 2024
4222106
fix: Update spark version to 3.1.3
May 30, 2024
dbb3267
Merge pull request #1643 from sowmya-dixit/release-5.2.0
sowmya-dixit Jun 4, 2024
cfc2150
Issue #LR-779 chore: Added the CSP related changes for content-snapsh…
AmiableAnil Jun 4, 2024
250cf6c
Merge pull request #1644 from AmiableAnil/release-5.2.0
sowmya-dixit Jun 4, 2024
0c12815
added task for druid ingestion files through deploy job
sanketnagdive Jun 24, 2024
fd324ed
added - to tags
sanketnagdive Jun 24, 2024
5cdf37c
minor changes related to blob path
sanketnagdive Jun 24, 2024
bd217a4
removed tag copy-ingestion-files(which was used to test particular task)
sanketnagdive Jun 24, 2024
cc64748
Merge pull request #1646 from sanketnagdive/release-5.2.0
sowmya-dixit Jun 26, 2024
bec1131
#OB-000 fix: Updated Flink Base Image
aimansharief Oct 22, 2024
9610bc7
Merge pull request #1647 from aimansharief/baseimage-update
ravismula Oct 22, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ target/
*.iml
**/.settings
dependency-reduced-pom.xml
.vscode
56 changes: 51 additions & 5 deletions ansible/artifacts-download.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-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_object_name: "{{ 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"
3 changes: 0 additions & 3 deletions ansible/cassandra-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
become: yes
vars_files:
- ['{{inventory_dir}}/secrets.yml']
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"
roles:
- cassandra-backup
4 changes: 0 additions & 4 deletions ansible/cassandra-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
become: yes
vars_files:
- ['{{inventory_dir}}/secrets.yml']
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"

roles:
- cassandra-restore
1 change: 1 addition & 0 deletions ansible/druid-rollup-provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@
- {role: analytics-druid, when: "'druid-rollup-broker' in group_names", druid_role: 'broker', service: 'broker'}
- {role: analytics-druid, when: "'druid-rollup-historical' in group_names", druid_role: 'historical', service: 'historical'}
- {role: analytics-druid, when: "'druid-rollup-middlemanager' in group_names", druid_role: 'middlemanager', service: 'middleManager' }
- {role: analytics-druid, when: "'druid-rollup-router' in group_names", druid_role: 'router', service: 'router' }
vars:
druid_postgres_db: "druid-rollup"
12 changes: 9 additions & 3 deletions ansible/es_backup.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
- hosts: telemetry-search-cluster
become: yes
vars_files:
- ['{{inventory_dir}}/secrets.yml']
- ['{{inventory_dir}}/secrets.yml','secrets/{{env}}.yml']
roles:
- es-azure-snapshot
- role: es-azure-snapshot
when: cloud_service_provider == "azure"
- role: es-s3-snapshot
when: cloud_service_provider == "aws"
- role: es-gcs-snapshot
when: cloud_service_provider == "gcloud"
- role: es5-snapshot-purge
tags:
- es_backup
run_once: true
run_once: true
4 changes: 0 additions & 4 deletions ansible/influxdb_backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
vars_files:
- "{{inventory_dir}}/secrets.yml"
become: yes
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"
roles:
- azure-cli
- influxdb_backup
Loading