Versions Compared

Key

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

...

  • Create a VM using the makevm-script. Use one of the available Floating IP Addresses on Nebula and provide it to the script.
  • Install docker
  • Install pass and gnupg2 (Docker login causes error on ubuntu without these) :
    • `sudo apt-get install pass gnupg2`
  • Login to hub.ncsa.illinois.edu using the robot account login
    • docker login hub.ncsa.illinois.edu
  • Add the docker-compose file created above and all files it depends on to the machine.
  • Run docker-compose up -d

Configuring Build and Deployment Pipeline for Project

  • Add the following Github Actions public key to the machine.

    `cat PATH_TO_KEY | ssh -i PATH_TO_ID_KEY user@hostname "cat >> ~/.ssh/authorized_keys"`

    Code Block
    languagebash
    titleGitHub_Repo_Public_key
    collapsetrue
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCL/mqWBK1BTwZxKnZ546F9IbFlYY6qgFzh9xTM6eY+DxagKVV1BAr4kbqamnLYDzrOLC6zY+8k3xGS1HSxp8UAWXLnPzDkb13uXj+neGty7DwMIVWRVSc0JNa0cRaEKI1wC9AK1utKEU7aaGu6fZsmExmXNzIzxLIYVUFdW8G2GVoK9wNSba3OT2rneutgOUrb5PR6ADpfBEO8h48CcP6edw5A2HoJ0ZXySeadvnInOhp3yisO3khaZ7t4ZPRtRVRM+M+V9H+1JpOmsulfAZUyEdntzU1MkduFAz+X5T/h9IhHYlplqJ00GEjc/zIPS9y39Be5XqgvMadapupmeGpZWU6K/xvluATcP1xGqy7ytytAr6ZIbsCyKWGJXeUYsR8K1MdNC8zAVB+2Cnu3Df0TUf7xIV6sSx66MtehAADIGxtik4KGl5DZiWENgf0aCSeJHAjRkxGx4mxb/Cp9iercoKs+6uIAKd7fU/pYK9kw3z8WlkOsTcQcII9hzY6bQs= Smartfarm Key for Github Actions


  • Update github deployment action and add the details for the new project under strategy->matrix.

    Code Block
    languageyml
    name: <project name>
    gd-name: <geodashboard repo project name>
    prod-host: <production_host_name>
    dev-host: <dev_host_name>
    file-path: <Path of folder containing the docker-compose file>
    description: 


  • For development machines, an image with a develop tag will be created in hub.ncsa.illinois.edu and for production machines the latest tag will be used. The docker-compose files should be updated accordingly.

...