Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2595 commits
Select commit Hold shift + click to select a range
0bec9a5
Merge branch 'cbrelease-4.8.14' into cbrelease-3.0.1_secor_nic
beepdot May 29, 2024
7c44d76
Merge pull request #104 from sunbird-cb/cbrelease-3.0.1_secor_nic
beepdot May 29, 2024
d82c055
Update zoo.cfg.j2 Add variable zookeeper admin default as false
sivaprakash123 May 31, 2024
2300246
added the missing kcmReportPath config to pipeline in data warehouse
varshamahuli97 Jun 2, 2024
8f5e6d4
Merge pull request #105 from varshamahuli97/cbrelease-4.8.14
shishirsuman092 Jun 2, 2024
6ada69c
fix: update pg role
beepdot Jun 6, 2024
0843891
fix: play fix
beepdot Jun 6, 2024
429b7dc
fix: add postgresql_hba_entries
beepdot Jun 6, 2024
423ee96
fix: adding user creation step
beepdot Jun 6, 2024
c693e69
fix: adding missing vars
beepdot Jun 6, 2024
ac47e45
fix: remove unnecessary vars
beepdot Jun 6, 2024
00f0325
fix: updated group
beepdot Jun 6, 2024
7720c86
fix: removed unnecssary vars
beepdot Jun 6, 2024
dbf542a
fix: package fix
beepdot Jun 6, 2024
4419b47
fix: add missing vars
beepdot Jun 6, 2024
b312b83
fix: change host
beepdot Jun 6, 2024
8c676ca
Merge pull request #1 from KB-iGOT/fixes
beepdot Jun 6, 2024
4b721cb
added batch size config
Jun 6, 2024
0905b5d
Merge pull request #106 from Vivek-M-08/cbrelease-4.8.14
shishirsuman092 Jun 6, 2024
266cea6
fix: spark fix (#2)
beepdot Jun 6, 2024
4d626fc
fix: updated ruby, zookeeper (#3)
beepdot Jun 6, 2024
02d4078
Update values.j2
mathewjpallan Jun 7, 2024
827164a
Update flink_job_deployment.yaml HorizontalPodAutoscaler commented
Haritest Jun 7, 2024
9bc4ec4
Update main.yml redis_data_dir updated
Haritest Jun 8, 2024
2e9c798
Update main.yml redis_data_dir updated
Haritest Jun 8, 2024
3e39a7b
Update main.yml redis data dir role added
Haritest Jun 8, 2024
d8de041
fix: druid pg fix (#4)
beepdot Jun 9, 2024
a0c58a2
fix: updated druid to gcloud (#5)
beepdot Jun 10, 2024
516d021
Update secor.partition.j2 secor_cloud_service variable added
Haritest Jun 11, 2024
1ed60b8
Update main.yml commented azure-cli role
Haritest Jun 11, 2024
b21afa9
Update main.yml updated python-pip with python3-pip
Haritest Jun 11, 2024
80f73bd
Update secor_telemetry_backup_deploy.yaml commented service_facts and…
Haritest Jun 11, 2024
1c95993
Update all.yml artifact_ver updated from 29 to 25
Haritest Jun 11, 2024
941a77b
Update main.yml secor-deploy updated
Haritest Jun 11, 2024
90e7c60
Update main.yml pipeline-metrics-backup updated
Haritest Jun 11, 2024
d77ee11
Update main.yml ostrich_port: "9997" added for extractor-failed-backup
Haritest Jun 12, 2024
017e4e0
Update secor.partition.j2 ostrich.port added
Haritest Jun 12, 2024
2c59858
Update secor.partition.j2 ostrich_port variable added
Haritest Jun 12, 2024
ed2e658
Update secor.partition.j2 ostrich_port updated
Haritest Jun 12, 2024
dc29d06
Update main.yml ostrich_port updated
Haritest Jun 12, 2024
7974764
Update main.yml ostrich_port updated
Haritest Jun 12, 2024
cb13b93
idempoent topic creation
lazylua May 27, 2024
74a8f7e
idempotent kafka topic creation
lazylua May 27, 2024
028cff0
Update main.yml channel-telemetry-backup commented not required for now
Haritest Jun 12, 2024
34832b8
report storage from s3 to gs
varshamahuli97 Jun 12, 2024
1bc6564
Merge pull request #7 from varshamahuli97/cbrelease-4.8.14
shishirsuman092 Jun 12, 2024
c293598
reverting the changes
varshamahuli97 Jun 12, 2024
0b0b3c5
Merge pull request #9 from varshamahuli97/cbrelease-4.8.14
shishirsuman092 Jun 12, 2024
4a63a8e
Variabled for gcp cloud storage
mathewjpallan Jun 12, 2024
2273f30
Variabled for gcp cloud storage
mathewjpallan Jun 12, 2024
732bf9e
Update main.yml GCP service account file added in ansible tasks
Haritest Jun 12, 2024
a956b73
Variabled for gcp cloud storage
mathewjpallan Jun 12, 2024
082c893
Update main.yml GCP service account file added in ansible tasks
Haritest Jun 12, 2024
daf9cde
s3_storage_key updated with replace newline
Jun 12, 2024
ef8be50
Removed azure hardcoding from secor.common.j2
mathewjpallan Jun 12, 2024
8181be2
Handling of google secret multiline in common.conf.j2
mathewjpallan Jun 12, 2024
8111004
fix: adding gcp upload role
beepdot Jun 12, 2024
5bdd570
fix: spacing
beepdot Jun 12, 2024
d0d4023
fix: updated redis role (#10)
beepdot Jun 12, 2024
b341d20
fix: updated segments path (#11)
beepdot Jun 12, 2024
5b4b89a
password modification for postgres warehouse
FsherinP Jun 14, 2024
9b4a196
Merge pull request #12 from FsherinP/password-change
shishirsuman092 Jun 14, 2024
1203c00
password modified
FsherinP Jun 14, 2024
3fa9046
Merge pull request #13 from FsherinP/password-change
shishirsuman092 Jun 14, 2024
8e84d13
Escaping multiline keys.
mathewjpallan Jun 14, 2024
b1bf03f
Escaping multiline keys.
mathewjpallan Jun 14, 2024
823b2b3
The model-config.j2 should point to the keys that have to be used fro…
mathewjpallan Jun 14, 2024
d149a8a
Added cloud_storage_type
mathewjpallan Jun 14, 2024
a81caa5
Added the google cloud storage service account json and referenced it…
mathewjpallan Jun 15, 2024
21f9487
Added the google cloud storage service account json and referenced it…
mathewjpallan Jun 15, 2024
2287efb
Added the google cloud storage service account json and referenced it…
mathewjpallan Jun 15, 2024
bf865d6
Update main.yml Tags added for google cloud storage service account t…
Haritest Jun 17, 2024
717d6bb
update the keys in config
shishirsuman092 Jun 17, 2024
82629ab
update the keys in config
shishirsuman092 Jun 18, 2024
e36df4d
update job schedule to handle cba and blended overlap
shishirsuman092 Jun 19, 2024
b17545e
fix: adding prefix
beepdot Jun 19, 2024
762daed
setting parallelization to 8 from 16
shishirsuman092 Jun 20, 2024
c7970bb
Defaults for s3 variables and removed unnecessary backup jobs from de…
mathewjpallan Jun 21, 2024
200b9b7
Removing unncessary provisioning steps that were referencing s3 and a…
mathewjpallan Jun 21, 2024
1700585
Removing unncessary provisioning steps that were referencing s3 and a…
mathewjpallan Jun 21, 2024
80854d2
Added azure-cli back..this is adding openssl which is required for ruby.
mathewjpallan Jun 21, 2024
588e20d
Removing azure-cli, ruby-kafka and kafka creation.
mathewjpallan Jun 21, 2024
915ec2e
Added defaults for azure vars
mathewjpallan Jun 21, 2024
3e90dbb
Removed unncessary env variables
mathewjpallan Jun 21, 2024
a998f35
Removed unncessary env variables
mathewjpallan Jun 21, 2024
c4ac96b
Added the google cloud storage key and variables.
mathewjpallan Jun 21, 2024
db16913
Removed unnecessary config to avoid confusion.
mathewjpallan Jun 21, 2024
3a12810
Added the new bucket for reports.
mathewjpallan Jun 21, 2024
19a212e
fix: spark fixes (#14)
beepdot Jun 21, 2024
aa48290
These type of jobs do not need distributed checkpointing at all as th…
mathewjpallan Jun 24, 2024
d1ce9b1
These type of jobs do not need distributed checkpointing at all as th…
mathewjpallan Jun 24, 2024
5ae7f42
These type of jobs do not need distributed checkpointing at all as th…
mathewjpallan Jun 24, 2024
3863a40
Removed derived unique job and we only need the druid summary events …
mathewjpallan Jun 24, 2024
77193a1
fix: redis fixes (#15)
beepdot Jun 24, 2024
97c2ef3
Removed unnecessary folders
mathewjpallan Jun 25, 2024
3615fb4
fix: spark fixes
beepdot Jun 26, 2024
bff0bf8
Update model-config.j2
shishirsuman092 Jun 28, 2024
5bd6dc8
Update main.yml secor-telemetry-backup-deploy role updated
Haritest Jul 3, 2024
8a913a6
fix(spark): gpg keys
lazylua Jul 3, 2024
d9146bf
fix(postgres): Create db
lazylua Jul 3, 2024
ad7ea19
feat(kafka): Enabling kafka advertise address
lazylua Jul 11, 2024
b411e6a
disabling unsecured operational reports
shishirsuman092 Jul 11, 2024
1e4cc29
fix: adding ml-druid-ing (#16)
beepdot Jul 11, 2024
e10cb32
Updated the bucket to the new DP bucket
mathewjpallan Jul 16, 2024
2b5ba5b
feat(ansible): support artifact download
lazylua Jul 19, 2024
64d7d0e
feat(ansible): Upload java version
lazylua Jul 19, 2024
89868cb
fix: move to openjdk (#17)
beepdot Jul 19, 2024
0b20025
Adding KCM report path
shishirsuman092 Jul 23, 2024
83ee707
adding karma points table
shishirsuman092 Jul 23, 2024
c19d9d9
updating spark driver memory
shishirsuman092 Jul 23, 2024
ff38799
fix: chage to server_id
beepdot Jul 26, 2024
759e933
fix: update code
beepdot Jul 26, 2024
f6eccf8
fix: update role
beepdot Jul 26, 2024
4561b58
fix: change back
beepdot Jul 26, 2024
d2683ec
Merge pull request #18 from KB-iGOT/z00
Haritest Jul 26, 2024
a482817
fix: artificat download (#19)
beepdot Jul 29, 2024
a9db39d
Update main.yml SL report_base_url_for_evidences updated
Haritest Aug 2, 2024
3ee6ab1
Changed the output_file_patterns to have the kafka partition number a…
mathewjpallan Aug 7, 2024
1ea0ac2
secor.gs.upload.direct has to be set to true in GCP
mathewjpallan Aug 7, 2024
6fea481
fix: update druid_historical_server_maxsize
beepdot Aug 13, 2024
fef6dca
adding config for dashboards_cassandra_karma_points_table
shishirsuman092 Aug 13, 2024
0db7a1d
adding new tasks
shishirsuman092 Aug 13, 2024
1898bb7
Update job timings
shishirsuman092 Aug 13, 2024
3add7d9
adding config for new jobs
shishirsuman092 Aug 13, 2024
ce4c767
updating spark config
shishirsuman092 Aug 14, 2024
d166352
updating spark config
shishirsuman092 Aug 14, 2024
9095fd6
fix: updated connections
beepdot Aug 15, 2024
a7f3153
updating spark job schedule
shishirsuman092 Aug 18, 2024
4e7e499
Update main.yml update task config
shishirsuman092 Aug 18, 2024
41e81d4
fix: add 9% logic
beepdot Aug 18, 2024
7c531ce
Update model-config.j2 adding batch sizes
shishirsuman092 Aug 20, 2024
ad8c384
Update main.yml adding batch size values
shishirsuman092 Aug 20, 2024
1b7ea1e
Update model-config.j2 updating placeholder
shishirsuman092 Aug 20, 2024
8605e79
Update main.yml updating placeholder for SL reports
shishirsuman092 Aug 20, 2024
c3b3844
added config changes - reschedule wfs, warehouse and summary redis sy…
FsherinP Aug 26, 2024
6fb4af8
Merge pull request #20 from FsherinP/cbrelease-4.8.17
sharathkashyap Aug 26, 2024
00423b3
config updates for KAR-787 and national learning week job
varshamahuli97 Sep 9, 2024
ba2b27d
Merge pull request #21 from varshamahuli97/cbrelease-4.8.17
shishirsuman092 Sep 9, 2024
f4c79a5
national learning week config updates
varshamahuli97 Sep 27, 2024
dfb2c09
Merge pull request #22 from varshamahuli97/cbrelease-4.8.18
shishirsuman092 Sep 27, 2024
e2ae3e0
changes for adding new job for Big query push
shishirsuman092 Oct 14, 2024
a77ceb5
changes for adding new job for Big query push
shishirsuman092 Oct 14, 2024
42209db
changes for adding new job for Big query push
shishirsuman092 Oct 14, 2024
5b1cf39
anonymous assessment reporting and new monthly requests job
FsherinP Oct 14, 2024
35759b0
modified the configs
FsherinP Oct 14, 2024
ba5b6f2
changes for adding new job for Big query push
shishirsuman092 Oct 14, 2024
b58407b
Merge pull request #23 from shishirsuman092/cbrelease-4.8.18
shishirsuman092 Oct 14, 2024
8ccb3a9
Merge branch 'cbrelease-4.8.18' into cbrelease-4.8.18-test
shishirsuman092 Oct 14, 2024
3974f02
Merge pull request #24 from FsherinP/cbrelease-4.8.18-test
shishirsuman092 Oct 15, 2024
c39c529
changes for updating time
shishirsuman092 Oct 15, 2024
4910d34
Merge pull request #25 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 15, 2024
515cdd6
changes for updating time
shishirsuman092 Oct 15, 2024
0cfd6bf
Merge pull request #26 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 15, 2024
eea717c
changes for updating time
shishirsuman092 Oct 15, 2024
58a171f
Merge remote-tracking branch 'origin/cbrelease-4.8.18' into cbrelease…
shishirsuman092 Oct 15, 2024
322dfd9
Merge pull request #27 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 15, 2024
90bd55a
changes for updating time
shishirsuman092 Oct 15, 2024
49ce127
Merge remote-tracking branch 'origin/cbrelease-4.8.18' into cbrelease…
shishirsuman092 Oct 15, 2024
462272d
Merge pull request #28 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 15, 2024
e091285
updating missing dw keys
shishirsuman092 Oct 15, 2024
d16b5fe
Merge pull request #29 from shishirsuman092/cbrelease-4.8.18
shishirsuman092 Oct 15, 2024
50b0479
adding national learning week start and end to dashboard sync config
varshamahuli97 Oct 15, 2024
e41f328
updating missing NLW keys
shishirsuman092 Oct 15, 2024
c5c5975
Merge remote-tracking branch 'origin/cbrelease-4.8.18' into cbrelease…
shishirsuman092 Oct 15, 2024
9589a2b
Merge pull request #30 from varshamahuli97/cbrelease-4.8.18
shishirsuman092 Oct 15, 2024
dcd4b4e
updating template script
shishirsuman092 Oct 16, 2024
d06dadd
Merge remote-tracking branch 'origin/cbrelease-4.8.18' into cbrelease…
shishirsuman092 Oct 16, 2024
e068437
Merge pull request #33 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 16, 2024
b29e837
updating template script
shishirsuman092 Oct 16, 2024
de01e78
updating template script
shishirsuman092 Oct 16, 2024
654325e
Merge pull request #34 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 16, 2024
a846265
Update main.yml
shishirsuman092 Oct 16, 2024
db071c6
updated the tasks to include day config for monsthly-requests-job
varshamahuli97 Oct 17, 2024
d5a196d
Merge pull request #35 from varshamahuli97/cbrelease-4.8.18
shishirsuman092 Oct 17, 2024
906374d
added confs for NLW events reporting
FsherinP Oct 18, 2024
a62295b
Merge pull request #36 from FsherinP/cbrelease-4.8.18-test
abhishekpnt Oct 18, 2024
0a11223
updating NLW start end date
shishirsuman092 Oct 20, 2024
db19a1e
Merge pull request #37 from shishirsuman092/cbrelease-4.8.18
shishirsuman092 Oct 20, 2024
7574d33
Update bq-scripts.sh.j2
shishirsuman092 Oct 21, 2024
0da6e36
Merge pull request #38 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 21, 2024
60296c5
Update main.yml
shishirsuman092 Oct 24, 2024
b418e86
Merge pull request #39 from shishirsuman092/cbrelease-4.8.18
abhishekpnt Oct 24, 2024
7a8decd
Update raw_summary_events
shishirsuman092 Oct 28, 2024
d66fc8c
Rescheduling jobs
abhishekpnt Nov 7, 2024
29bf8ee
Merge pull request #40 from abhishekpnt/cbrelease-4.8.18
shishirsuman092 Nov 7, 2024
2d4e1fc
added nps survey id config in dashboardSync template
varshamahuli97 Nov 12, 2024
30d6741
Merge pull request #41 from varshamahuli97/cbrelease-4.8.19
shishirsuman092 Nov 12, 2024
16197c0
adding job for UserActivityJob
shishirsuman092 Nov 13, 2024
aea0bed
Merge pull request #42 from shishirsuman092/cbrelease-4.8.19
FsherinP Nov 13, 2024
b1a0d5e
Create raw_nps_upgraded_users_data
shishirsuman092 Nov 16, 2024
3af6cec
Update raw_nps_upgraded_users_data
shishirsuman092 Nov 16, 2024
3cf921f
Update dsr-redisscript.yml
shishirsuman092 Dec 7, 2024
2eb1523
adding new DSR keys
shishirsuman092 Dec 12, 2024
7accd96
updating DSR template
shishirsuman092 Dec 12, 2024
7035aed
removing observation report from cron
shishirsuman092 Dec 12, 2024
2baedd1
removing observation report
shishirsuman092 Dec 12, 2024
1669f09
rescheduling of cron
varshamahuli97 Dec 26, 2024
9a67ca8
Merge pull request #45 from varshamahuli97/cbrelease-4.8.19
shishirsuman092 Dec 26, 2024
d5db09c
Making user-data upload to redis job to run everyday
abhishekpnt Dec 31, 2024
d546501
Making user-data upload to redis job to run everyday
abhishekpnt Dec 31, 2024
83e649c
Changing cron schedules
abhishekpnt Dec 31, 2024
5ba6139
Update playbook.yml
shishirsuman092 Jan 2, 2025
a50878c
Merge pull request #46 from abhishekpnt/4.8.19
shishirsuman092 Jan 2, 2025
c0a5d7a
Changing cron schedules for ministry metrics
abhishekpnt Jan 2, 2025
e97db61
Merge pull request #47 from abhishekpnt/4.8.20
abhishekpnt Jan 2, 2025
4f47efb
adding framework hierarchy config
FsherinP Jan 2, 2025
7082195
Merge pull request #49 from FsherinP/cbrelease-4.8.20-working-dir
shishirsuman092 Jan 2, 2025
2eec3dc
ODCS Course recomendation job config
varshamahuli97 Jan 3, 2025
936a352
Merge pull request #50 from varshamahuli97/cbrelease-4.8.21
shishirsuman092 Jan 3, 2025
8c22c59
modified dashboardsync time
FsherinP Jan 15, 2025
db313dd
Merge pull request #51 from FsherinP/cbrelease-4.8.20-working-dir
shishirsuman092 Jan 15, 2025
023a91d
Merge branch 'cbrelease-4.8.21' into cbrelease-4.8.20
shishirsuman092 Jan 15, 2025
b03f313
Merge pull request #52 from KB-iGOT/cbrelease-4.8.20
shishirsuman092 Jan 15, 2025
5fbf7b3
added config for modified zipUpload job
varshamahuli97 Jan 21, 2025
52c9759
Merge pull request #53 from varshamahuli97/cbrelease-4.8.20
abhishekpnt Jan 21, 2025
6127363
added config for modified zipUpload job
varshamahuli97 Jan 21, 2025
1cd72fa
Merge pull request #54 from varshamahuli97/cbrelease-4.8.20
abhishekpnt Jan 21, 2025
c3ff854
added config for modified zipUpload job
varshamahuli97 Jan 21, 2025
3cbb9e6
Merge pull request #55 from varshamahuli97/cbrelease-4.8.20
abhishekpnt Jan 21, 2025
7ac31e4
odcs job config KB-7005
varshamahuli97 Jan 21, 2025
bfec3aa
Merge pull request #56 from varshamahuli97/cbrelease-4.8.21
abhishekpnt Jan 21, 2025
2c04d70
adding teh missing cbPlan config to zipUpload
varshamahuli97 Jan 22, 2025
ba960fa
Merge pull request #57 from varshamahuli97/cbrelease-4.8.20
abhishekpnt Jan 23, 2025
822ae15
CPU limits added for flinks
Jan 27, 2025
c94b999
Merge pull request #58 from KB-iGOT/dev-4.8.20-ratelimit
Haritest Jan 27, 2025
c409e56
Merge remote-tracking branch 'upstream/cbrelease-4.8.20' into 4.8.21
abhishekpnt Jan 28, 2025
68b13c9
Added odcs job to 21 branch back
abhishekpnt Jan 28, 2025
e698727
Merge pull request #59 from abhishekpnt/4.8.21
shishirsuman092 Jan 29, 2025
134abdf
changes in landing page script to show on course and moderated course…
shishirsuman092 Feb 13, 2025
d40a3b7
#KB-8786:Added esformdata job to 22 branch
abhishekpnt Mar 5, 2025
f8ce11e
#KB-8786:Added esformdata job to 22 branch
abhishekpnt Mar 5, 2025
3d96cb7
#KB-8786: Added configs for EsFormData Job
abhishekpnt Mar 5, 2025
1594797
Merge pull request #60 from abhishekpnt/4.8.22
shishirsuman092 Mar 5, 2025
a518a0d
#KB-8786: Added configs for EsFormData Job
abhishekpnt Mar 6, 2025
22594d7
Merge pull request #61 from abhishekpnt/4.8.22
FsherinP Mar 6, 2025
70ebb67
es-form-data script updated
Mar 6, 2025
8cecf25
#KB-8786: Added configs for EsFormData Job
abhishekpnt Mar 7, 2025
edaefe5
Merge pull request #62 from abhishekpnt/4.8.22
shishirsuman092 Mar 7, 2025
64474c7
slw related configs configured in nlw job
varshamahuli97 Mar 14, 2025
501fdf5
Merge pull request #63 from varshamahuli97/cbrelease-4.8.21
FsherinP Mar 14, 2025
0cdbf97
added configs to model-config.j2 file
varshamahuli97 Mar 17, 2025
4359fd9
Merge pull request #64 from varshamahuli97/cbrelease-4.8.21
FsherinP Mar 17, 2025
2a378ad
reconfigured the slw start date
varshamahuli97 Mar 19, 2025
f3acca7
Merge pull request #65 from varshamahuli97/cbrelease-4.8.21
shishirsuman092 Mar 19, 2025
af63eae
Resolving merge conflicts
varshamahuli97 Mar 19, 2025
1861acb
updated taska/main.yml0
varshamahuli97 Mar 21, 2025
b7a5905
added es-form-data config
varshamahuli97 Mar 21, 2025
e737386
added missing path for es-form-data config
varshamahuli97 Mar 21, 2025
e745185
fixed syntax issues and aligned the code
varshamahuli97 Mar 21, 2025
ad5c176
added framework hierrachy variable
varshamahuli97 Mar 21, 2025
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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: 2.1
jobs:
datapipeline-build:
working_directory: ~/dp/data-pipeline-flink
machine: true
machine:
image: ubuntu-2004:202008-01
steps:
- checkout:
path: ~/dp
Expand All @@ -22,4 +23,4 @@ workflows:
build_and_test:
jobs:
- datapipeline-build
#testing quality gate
#testing quality gate
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ database.yml
.idea
tmp/
kibana-auth/node_modules/
kubernetes/helm_charts/*/values.yaml

# DevOps
*.backup
Expand All @@ -28,3 +29,4 @@ target/
*.iml
**/.settings
dependency-reduced-pom.xml
/pom.xml
Binary file removed DataPipeline_HighLevel_Diagram.png
Binary file not shown.
2 changes: 1 addition & 1 deletion ansible/analyticsapi_logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
apt: update_cache=yes cache_valid_time={{ apt_cache_valid_time }}
become: yes
roles:
- jdk-1.8.0_121
- openjdk
- { role: ep_logstash, logstash_conf: ".indexer.device_api_metrics" }
become: yes
46 changes: 41 additions & 5 deletions ansible/artifacts-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,44 @@
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: Set GCP environment variables
set_fact:
gcp_environment:
GOOGLE_APPLICATION_CREDENTIALS: "/tmp/gcp_service_account.json"
tags: gcp

- name: Create temporary directory for GCP service account file
file:
path: /tmp/gcp_service_account.json
state: touch
tags: gcp

- name: Write GCP service account file
copy:
content: "{{ gcp_artifcats_upload_service_account }}"
dest: /tmp/gcp_service_account.json
mode: "0600"
tags: gcp

- name: Authenticate gcloud login
shell: gcloud auth activate-service-account --key-file /tmp/gcp_service_account.json
tags: gcp

- name: Ensure Google Cloud Storage bucket exists
shell: gsutil mb gs://{{ artifacts_container }} || true
environment: "{{ gcp_environment }}"
tags: gcp

- name: Download from Google Cloud Storage
shell: gsutil cp gs://{{ artifacts_container }}/{{ artifact }} {{ artifact_path }}
async: 3600
poll: 10
tags: gcp

- name: Remove temporary GCP service account file
file:
path: /tmp/gcp_service_account.json
state: absent
tags: gcp

13 changes: 9 additions & 4 deletions ansible/artifacts-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
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
- role: artifacts-upload-gcp
vars:
service_account: "{{ gcp_artifcats_upload_service_account }}"
tags: gcp
- role: artifacts-upload-azure
environment:
AZURE_STORAGE_ACCOUNT: "{{ sunbird_artifact_storage_account_name }}"
AZURE_STORAGE_SAS_TOKEN: "{{ sunbird_artifact_storage_account_sas }}"
tags: azure
18 changes: 18 additions & 0 deletions ansible/azure-hdinsight-spark.provision.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- hosts: local
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- azure-hdinsight-spark-cluster
tags:
- copy-script

- hosts: spark-hdinsight-cluster
become: yes
gather_facts: no
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- provision-azure-spark-cluster
tags:
- spark-provision
2 changes: 1 addition & 1 deletion ansible/cassandra_provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- jre-1.8.0_144
- openjdk
- cassandra-new
2 changes: 1 addition & 1 deletion ansible/dp_kafka_indexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
become: yes
tags: kafka-indexer
roles:
- jdk-1.8.0_121
- openjdk
- ep_logstash
tags:
- kafka-indexer
Expand Down
16 changes: 1 addition & 15 deletions ansible/dp_kafka_provision.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
---
- hosts: "{{remote}}"
pre_tasks:
- service: name=monit state=stopped
become: yes
ignore_errors: true
- name: Uncompressing and copying to system path
unarchive:
src: https://sunbirdpublic.blob.core.windows.net/installation/jre-8u144-linux-x64.tar.gz
dest: /opt/
remote_src: yes
keep_newer: yes
become: yes
register: tar
- name: Updating java jre to system path
become: yes
shell: update-alternatives --install /usr/bin/java java /opt/jre1.8.0_144/bin/java 9999
become: yes
roles:
- openjdk
- ansible-kafka-upgrade
post_tasks:
- service: name=monit state=started
Expand Down
2 changes: 1 addition & 1 deletion ansible/dp_kafka_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pre_tasks:
- name: Registering kafka_id
set_fact:
kafka_id: "{% for servername in play_hosts %}{% if inventory_hostname==servername %}{{ loop.index }}{% endif %}{% endfor %}"
kafka_id: "{% for servername in ansible_play_hosts %}{% if inventory_hostname==servername %}{{ loop.index }}{% endif %}{% endfor %}"
- name: Print kafka_id
debug:
var: kafka_id
Expand Down
43 changes: 0 additions & 43 deletions ansible/dp_yarn_provision.yml

This file was deleted.

18 changes: 9 additions & 9 deletions ansible/dp_zookeeper_provision.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
- hosts: "{{remote}}"
pre_tasks:
- service: name=monit state=stopped
become: yes
ignore_errors: true
# pre_tasks:
# - service: name=monit state=stopped
# become: yes
# ignore_errors: true
become: yes
roles:
- jdk-1.8.0_121
- openjdk
- zookeeper-upgrade
post_tasks:
- service: name=monit state=started
become: yes
ignore_errors: true
# post_tasks:
# - service: name=monit state=started
# become: yes
# ignore_errors: true
52 changes: 50 additions & 2 deletions ansible/druid-ingestion.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
---
- hosts: localhost
tasks:
- name: set_fact
set_fact:
single_cluster: true
tags: populate_var

- hosts: overlord
- name: check for hosts
set_fact:
single_cluster: false
when: "'rollup-overlord' in groups"
tags: populate_var

- hosts: rollup-overlord
become: yes
roles:
- role: druid-ingestion
vars:
ingestion_task_names: "{{ rollup_ingestion_task_names }}"
overlord_host: "{{ rollup_overlord_host }}"
when: not hostvars['localhost']['single_cluster']

- hosts: raw-overlord
become: yes
roles:
- role: druid-ingestion
vars:
ingestion_task_names: "{{ raw_ingestion_task_names }}"
overlord_host: "{{ raw_overlord_host }}"
when: not hostvars['localhost']['single_cluster']
- role: druid-ingestion
vars:
ingestion_task_names: "{{ raw_ingestion_task_names }}"
overlord_host: "{{ raw_overlord_host }}"
when: hostvars['localhost']['single_cluster']
tags:
- druid

- hosts: ml-raw-overlord
become: yes
roles:
- druid-ingestion
- role: ml-druid-ingestion
vars:
ingestion_task_names: "{{ raw_ingestion_task_names }}"
overlord_host: "{{ ml_raw_overlord_host }}"
when: not hostvars['localhost']['single_cluster']
- role: ml-druid-ingestion
vars:
ingestion_task_names: "{{ raw_ingestion_task_names }}"
overlord_host: "{{ ml_raw_overlord_host }}"
when: hostvars['localhost']['single_cluster']
tags:
- ml-druid
63 changes: 15 additions & 48 deletions ansible/druid-provision.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,32 @@
-
name: Install Java
hosts: druid-raw
hosts: "druid-{{remote}}"
become: yes
roles:
- jdk-1.8.0_121
roles:
- {role: openjdk, when: "'java' in deploy"}

-
name: Install java and zookeeper cluster for druid
hosts: raw-zookeeper
hosts: "{{ remote }}-zookeeper"
become: yes
roles:
- {role: zookeeper-upgrade}
- {role: zookeeper-upgrade, when: "'zookeeper' in deploy"}
vars:
zookeeper_group: "{{ groups['raw-zookeeper'] }}"

#-
# name: Install postgres on druid cluster
# hosts: druid-postgres
# vars_files:
# - "{{inventory_dir}}/secrets.yml"
# become: yes
# roles:
# - {role: postgres-provision }
# vars:
# postgres_address_space: "0.0.0.0/0"
# postgresql_databases:
# - name: druid
# - name: graphite
# postgresql_users:
# - name: druid
# password: "{{ dp_vault_druid_postgress_pass }}"
# - name: graphite
# password: "{{ dp_vault_druid_postgress_graphite_pass }}"

zookeeper_group: "{{ groups[remote+'-zookeeper'] }}"

# Create postgres databases and users

- hosts: local
- hosts: "{{ groups['postgres'][0] }}"
gather_facts: no
vars_files:
- "{{inventory_dir}}/secrets.yml"
vars:
postgresql_databases:
- name: druid
- name: graphite
postgresql_users:
- name: druid
db: druid
password: "{{ dp_vault_druid_postgress_pass }}"
- name: graphite
db: graphite
password: "{{ dp_vault_druid_postgress_graphite_pass }}"
tasks:
- name: Ensure database is created
postgresql_db: name="{{ item.name }}" \
Expand All @@ -75,24 +51,15 @@
db="{{ item.db }}"
with_items: "{{ postgresql_users }}"

-
name : Install graphite on druid
hosts: raw-graphite
become: yes
roles:
- {role: druid_graphite}

-
name: Install role druid
hosts: druid-raw
hosts: "druid-{{remote}}"
become: yes
roles:
- {role: analytics-druid, when: "'raw-coordinator' in group_names", druid_role: 'coordinator', service: 'coordinator' }
- {role: analytics-druid, when: "'raw-overlord' in group_names", druid_role: 'overlord', service: 'overlord'}
- {role: analytics-druid, when: "'raw-broker' in group_names", druid_role: 'broker', service: 'broker'}
- {role: analytics-druid, when: "'raw-historical' in group_names", druid_role: 'historical', service: 'historical'}
- {role: analytics-druid, when: "'raw-middlemanager' in group_names", druid_role: 'middlemanager', service: 'middleManager' }
vars:
druid_postgres_db: "druid"
druid_zookeeper_host: "{{ groups['raw-zookeeper']|join(':2181,')}}:2181"
druid_graphite_host: "{{ groups['raw-graphite'][0] }}"
- {role: analytics-druid, when: "'{{ remote }}-coordinator' in group_names and 'coordinator' in deploy", druid_role: 'coordinator', service: 'coordinator' }
- {role: analytics-druid, when: "'{{ remote }}-overlord' in group_names and 'overlord' in deploy", druid_role: 'overlord', service: 'overlord'}
- {role: analytics-druid, when: "'{{ remote }}-broker' in group_names and 'broker' in deploy", druid_role: 'broker', service: 'broker'}
- {role: analytics-druid, when: "'{{ remote }}-historical' in group_names and 'historical' in deploy", druid_role: 'historical', service: 'historical'}
- {role: analytics-druid, when: "'{{ remote }}-middlemanager' in group_names and 'mm' in deploy", druid_role: 'middlemanager', service: 'middleManager' }
- {role: analytics-druid, when: "'{{ remote }}-router' in group_names and 'router' in deploy", druid_role: 'router', service: 'router' }

Loading