Recently, I’ve been working with CircleCI for doing some automation and testing work, and I’ve been trying to run things locally on my machine, rather than pushing everything up to CircleCI to have it run on their servers.

But I kept running into problems with things like SSH keys, known hosts, and environment variables. These are all things that have easy solutions when you’re running them on the CircleCI servers (e.g., the add-ssh-keys special step.)

However, not so easy when you’re running the jobs locally with the command line interface.

But after quite a bit of googling for an answer, I found that it was much easier than I thought to make it work. Turns out, you can use docker-style volume syntax with the circleci CLI tools!

So, if you are running a local circleCI job called check-repo, for instance, you can mount your local ~/.ssh directory directly into the container, and viola!

circleci local execute --job check-repo --volume /home/{YourUsername}/.ssh:/root/.ssh

Likewise, you can include runtime values for environment variables you may need with the -e flag:

circleci local execute --job check-repo --volume /home/{YourUsername}/.ssh:/root/.ssh -e GITHUB_TOKEN=Y0UrG17hU870k3nG03zH3r3

Remember, when you’re mounting local folders into the container, you’re going to want to use absolute paths, not relative ones.

Was this helpful to you? Drop me a line and let me know.

Here’s the second in my series of monthly Spotify playlists with songs that caught my attention for one reason or another the month before.

Highlights this month:

  • An extended block of dark synthwave (Gost, Perturbator, Daniel Deluxe)
  • A decent Yelawolf track
  • Quite a bit of lo-fi hip hop instrumentals
  • A couple of new songs from Download
  • Several pieces from Cristobal Tapia De Veer, who you might recognize for doing the score for lots of good television, including Black Mirror.
  • A bomb hip hop track from Busdriver, Aesop Rock, and Danny Brown that I must have listened to a dozen times already.
You only get thirty-second samples unless you have a Spotify account.

Here’s a Spotify playlist of songs that caught my attention in February of 2019. Notable features:

  • New track from Download, and a beautiful song by Phil Western, who unfortunately passed away in February.
  • A new song from Amon Tobin
  • An extended jaunt through the soundtrack of the show Letterkenny, which yielded a surprisingly rich vein of interesting stuff.
  • Probably more drum and bass than you want.

Hope you find something new and interesting. I’m going to try to do one of these each month, unless I get bored or forget. In which case, don’t hold it against me.

Bill O’Reilly said nasty things about my sister, a journalist. He took her words out of context. I want to take his nose out of context.

Click here for the full article

Posted from Facebook

Anyone want to wager on how long it’ll be before Disney has all of them under perpetual copyright?

Collection of fairytales gathered by historian Franz Xaver von Schönwerth had been locked away in an archive in Regensburg for over 150 years

Click here for the full article

Posted from Facebook

Hundreds of bodies — too many to count — remain strewn in the bush in Nigeria from an Islamic extremist attack that Amnesty International suggested Friday is the deadliest massacre in the history of Boko Haram.

Click here for the full article

Posted from Facebook

The religion of peace keeps bringing the hits.

A street magician in Syria beloved by children was beheaded by militants with the Islamic State group after his performances were deemed to be insulting to God, the Daily Mirror reported Wednesday.

Click here for the full article

Posted from Facebook