Versions Compared

Key

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

...

  • Portal and Editors have a strong dependency. So during portal and editor tag creation, portal needs to wait till editors deployment is completed and then start as it downloads the editors from blob

    • Current design: Manual intervention to stop portal builds so that editor builds complete Dev team should co-ordinate and create editor tags first and ensure its deployed. After this, Portal should create the tag

    • Solution desired: Decouple these in somewayPlanned change: Automated portal build in waiting state in case any editors builds are currently being built. If editor team creates tags, auto build portal again to include new editors

  • Certain builds when triggered parallely, causes overwriting of maven artifacts with a different code

    • Current design: Do nothing. If things break, it will be a reason to push teams to distinguish their maven artifacts

    • Solution desired: Version the maven artifatcs properly in pom.xml and also use different naming conventions per service. Or separate submodules. Or even better, remove the submodules.

  • Few Yarn jobs have an option to select only a specific samza job to deploy

    • Current design: Deploy all samza jobs always as we dont have away to distinguish which samza job to deploy based on tag

    • Solution desired: Unknown

    • Planned Change: In Kubernetes, we will implement deployment of specific jobs

  • Depoyment tracker updates still need to be done by dev team for a couple more days for artifact promotion tracking and variables tracking. Also dev teams need to ensure variables are commited to private repo before creating tags

    • Current design: Variable updates are manual and cannot be automated

    • Planned change: A new summary job which will hold details on all the jobs that were run / triggered in that release. The summary file can be used for next environment promotion along with job details, tags etc.

  • Certain deploy jobs which dont have a corresponding build job needs to be triggered manually - Example: Admin dashboard jobs

  • Certain deploy jobs which have non standard parameters needs to be triggered manually - Example: Neo4jSyncTool

  • Different repos have different release version

    • Current design: Trigger those manually

    • Planned change: Have a list of release versions that we can match against to solve different repos having different release versions. Example - release-2.10.0, release-1.2.0, secor-0.25

    Tags created outside the deployment window will fail and not trigger itself again
    • as long as they are in same version

    • Solution desired: Follow release cycle to start using the automated jobs

  • Submodule changes will not trigger a new build

    • Current design: Ask teams to not create tags in non deployment windowPlanned change: Have a file to track such failed jobs and re-trigger them during the deployment windowcreate dummy tag in main repo

    • Soultion desired: Tagging of submodules and then updating submodule repository to point to these tags instread of branch / Removing the submodules all together

  • Tags for staging cannot be created outside the deployment window. Hotfix tag for preprod and above can be created any anytime of the day.

Updates - 28/04/2020

  • Deployment tracker will still be created for each release. This is to track only manual steps like:

    • New jenkins job from dev jenkins

    • Jenkins job configuration changes

    • Infra changes and provision jobs

    • Anything that needs to be run manually

    • Jobs which are not covered under the automated build and deploy process

  • For all ansible code repos like sunbird-devops, sunbird-data-pipeline, sunbird-learning-platform, branch will be used to deploy and no need to create tag for these repos in automated deployments

  • Final tag for ansible code repos like sunbird-devops, sunbird-data-pipeline, sunbird-learning-platform will be created before promotion to next environment.

  • Any new tags post promotion for ansible code will be done by respective dev teams

  • If there is a change in build step of Jenkinsfile, the dev teams should also ensure to make this change in a file called auto_build_deploy which is present in every repo.