limnh / journey

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

2019-03-26 #22

Open limnh opened 5 years ago

limnh commented 5 years ago

Issues/Questions:

  1. where the fuck did I leave off? I missed all of last week (and part of yesterday) due to the flu.
  2. how do we get the qemu image into s3?
  3. how do we make each filename unique in the s3 bucket?

Solutions:

  1. researched into a more-integrated pomodoro timer, logged out of twitter and instagram on my work computer, trying some new things to cut down on distraction.
  2. have confirmed files are getting to s3 by adding aws s3 cp . s3://tbw-kvm-guest-images/ --recursive to the shell script. need to parse json file to something actionable.
  3. packer.json file has variables set for team city, going to try updating a few for Circle. will need to export ENV VAR in like the AWS creds
    • currently running into some formatting errors in the packer.json file, adjusting each as necessary. packet's also being slow due to a possible outage
    • oookay, so the qemu image is built but circle times out before it can get to s3. going to have to print some dots or something to keep circle from timing out. manually ssh'd into the server, saw that the intended file is in fact present.