Versions Compared

Key

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

...

  • Create Service principle for aks cluster

    Code Block
    languagebash
    az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscription_id>" --name sunbird_installation_version
  • Create Maxmind DB Licence key

  • Create an ssh public key

    • Code Block
      ssh-keygen -C installation_test_key -b 4096 -f /tmp/deployer_key
      vim /tmp/deployer_key.pub
  • Login to http://portal.azure.com → select Cloud shell

  • Code Block
    git clone https://github.com/project-sunbird/sunbird-devops -b releaese-<version>
    cd sunbird-devops/deploy
    vim azure-provision.yaml
    # Update the mandatory variables.
    ansible-playbook azure-provision.yaml
  • Go to the created vnet → Click on connected devices to get all ips

    Image Removed

    Get all the resource information.

    Code Block
    cat sunbird-devops/deploy/azure-resources.txt

Configuring Jenkins and Private repo

TODO:

  • Jcasc

  • Jenkins job trigger script