Versions Compared

Key

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

Include Page
spaceKeyGrouper
pageTitleNavigation

Generate student images

  1. Make sure "gte" command has right branch in it in last line
  2. Make sure the mkstudent.sh file points to the right build, and has the right docker containers to pull for exercises, and the right commands to download

    Code Block
    export GROUPER_GTE_BRANCH=GROUPER_BUILD_CLOUD_FORMATION
    #export GROUPER_GTE_DOCKER_BRANCH=GROUPER_BUILD_CLOUD_FORMATION
    export GROUPER_GTE_DOCKER_BRANCH=202006



  3. Commit to a branch in https://github.internet2.edu/docker/grouper_training
  4. Make sure the Docker images are available in dockerhub after CI/CD
  5. Tag the commit that you want to build EC-2's for with GROUPER_BUILD_CLOUD_FORMATION.  Note this uses a tag since that is hardcoded in the AWS launch configuration in the user data script, and that cannot be edited (immutable).
  6. Go to https://aws.internet2.edu, 626413038627, us-east-2
  7. Ec-2 - Autoscaling groups, Grouper Training, adjust the number of hosts
  8. Wait 15 minutes, then run this to generate passwords

    Code Block
    [mchyzer@i2midev6 ~]$ wget https://github.internet2.edu/docker/grouper_training/raw/GROUPER_BUILD_CLOUD_FORMATION/internal/passwordsToSpreadsheet.sh
    [mchyzer@i2midev6 ~]$ chmod +x passwordsToSpreadsheet.sh 
    [mchyzer@i2midev6 ~]$ ./passwordsToSpreadsheet.sh 



...