Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A analytics
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • analytics
  • Merge requests
  • !121

Draft: Resolve "Refactoring the infrastructure"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Adam Fekete requested to merge 26-refactoring-the-infrastructure into develop Jul 08, 2022
  • Overview 0
  • Commits 14
  • Pipelines 8
  • Changes 368+

Closes #26

Update workflow:

  • using only a single staging branch with multiple dev merge requests
  • the main deployment happens based on versioned tags (support rollback when needed)
  • protect main and staging branches
  • plan how to test notebooks individually (binderhub)
  • plan how to update major packages (hackathons)
  • plan how to run notebooks anonymously (and safely)
  • make sure that "short-urls" still works
  • make sure that sensitive notebooks have not been shared publicly (Please note that analytics is a public repository)

Update Dockerfile:

  • Multi-stage build (builder, base, final)
  • predetermine common package requirements
  • cron job to rebuild image regularly
  • fine-tune header generation (using as a preprocess instead of running it at build time)
  • revisit example data storage (right now it is 3.1G) (#18)

Update CI/CD pipeline:

  • update jupyterhub's chart
  • To get rid of ananlytics-deployment dependencies.
    • Store all sensitive data in env variables
    • Move all deployment configurations here
  • having cleanup processes (images, environments)
  • using ingress controller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 26-refactoring-the-infrastructure