limnh / journey

Notes and learnings along the way of becoming an engineer
0 stars 1 forks source link

2019-03-07 #16

Open limnh opened 5 years ago

limnh commented 5 years ago

Issues/Questions:

  1. how do I ensure that I don't mess with master?

  2. how do we get a script to run within the provisioned packet node?

    • should it be attached to the ssh command like this
    • look up what scp means
    • can ansible work for this?
  3. if we add terraform output to the circleCI conf file, what happens?

Solutions:

  1. created nicole-dont-break-master branch

  2. downloaded jq which is a command line json processor. going to see if I can utilize this to put the terraform output into a file that can be read for environment variables.

    • created a shell.sh to execute tasks within the newly provisioned node created by packet. it will take the output from terraform and create a file to put it in with cat address.json | jq .address.value.address | sed 's/"//g'
  3. currently unsure, packet is experiencing issues rn