Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note:

  • If you want to run only Core services which will connect to Ekstep backend for other dependent services like Knowledge Platform and Data Pipeline, follow the below steps for Core module only

  • Once you complete the

...


  1. Updating private repo with hosts and variables

    1. git clone https://github.com/project-sunbird/sunbird-devops
    2. cd sunbird-devops && git checkout tags/release-1.14.0 -b release-1.14.0
    3. cp -rf sunbird-devops/private_repo .
    4. cd private_repo
    5. Folder Structure for the private directory which contains ansible hosts secrets and variables.
      Code Block
      languagebash
      titleFolder Structure
      ~/Documents/projects/subird-devops/private_repo(DO-470 ✗) tree ansible
      ansible
      └── inventory
          └── dev
              ├── Core
              │   ├── common.yml
              │   ├── hosts
              │   └── secrets.yml
              ├── DataPipeline
              │   ├── common.yml
              │   ├── hosts
              │   └── secrets.yml
              └── KnowledgePlatform
                  ├── common.yml
                  ├── hosts
                  └── secrets.yml
      
      5 directories, 9 files
      


    6. git init
    7. git add .
    8. git commit -m"Creating private files"
    9. git remote add origin <private repo url>
    10. git branch --set-upstream-to=origin/master master && git push --set-upstream origin master
    11. update the variables and push it to upstream.
  2. Updating variables and hosts
    1. cd private_repo/ansible/inventory/dev/<module>/
    2. update hosts common.yml secrets.yml

...