This article I followed was a little outdated. Things do change a lot in 3 years. It’s mostly the same as the function seems to work but the implementation does not. Following the hints here I was able to get this to work. The big one was you need to refresh your browser. I think…
Category: Uncategorized
A brief history of on-prem serverless development
My colleague Pete Johnson, at Cisco has released a blog about a project called FONK. I wanted to talk a little bit about why its important. iOS Developers Let’s first start back with the dawn of mobile application development. Pretend you are an iPhone developer back in 2008. You know Objective-C and you know how…
Hands on with NVIDIA P6 and UCS B200 M5
Just got access to a new UCS B200 M5 blade! My goal is to create a tensorflow lab on it. Let’s get cracking! It was installed with CentOS 7.5 cat /etc/redhat-release
1 2 |
cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) |
Let’s make sure there is indeed a GPU:
1 2 3 |
lspci ... d8:00.0 3D controller: NVIDIA Corporation GP104GL [Tesla P6] (rev a1) |
Ok, now we need to get some drivers. We go to NVIDIA’s page, fill…
CI/CD continued: Drone
In my previous post I showed how we setup a CI/CD server. In this post we’ll go into more detail in explaining how drone works. I’ve previous written about how drone does secrets. Well that has changed a bit, so in this update with drone 0.8.5 we’ll show how it works. This time, we’re working…
CI/CD server behind a firewall
The goal of this post is to show how to create a CI/CD server that sits behind a firewall. When we do a git push then we would like a webhook to be fired off to our CI/CD server. The CI/CD server would then run our jobs and create our artifacts. Normally this is pretty…
Drone on CoreOS for CI/CD
I’m working on a moving my CI/CD platform to Drone. As usual, I’m behind a corporate firewall 1. Install CoreOS This is just a standard CoreOS image on OpenStack 2. Configure Proxy
1 2 3 |
sudo mkdir -p /etc/systemd/system/docker.service.d echo "[Service] Environment="HTTP_PROXY=http://<internal proxy address>" >>/etc/systemd/system/docker.service.d/http-proxy.conf |
Now update to get latest settings so Docker works
1 2 |
systemctl daemon-reload systemctl restart docker |
3. Get Drone
1 |
docker pull drone/drone:0.4 |
4. Register application in your github account. Since…
Jenkins Spark integration
You can make Jenkins publish messages to spark after or during builds. Here’s how we do this: 1. Get the spark room ID that you want to use:
1 |
curl https://api.ciscospark.com/v1/rooms -X GET -H "Authorization:Bearer SUPERLONGAUGZjg5ZjRhZDAtMDA1NC00OMzRmMjg5NTJiMTUwOTZkZDgtYTY0" | python -m json.tool |
This will give you a list of rooms. From here, you can find the room you want and get the ID of the room: Something like: Y2lzY29zcGFtxuovL3VzL1JPT00vOWRhMjY1MDAtOWY2Zi0xMWU1LTg0ODQtNzczOTMxZTUxMGE3…
Using Packer with Cisco Metapod
Packer is such a cool tool for creating images that are used with any cloud provider. With the same packer recipe you can create common images on AWS, Digital Ocean, OpenStack, and more! The Packer documentation already comes with an example of running with Metapod (formerly Metacloud). I wanted to show an example of how…
Getting Started with AWS EMR
AWS Elastic Map Reduce (EMR) is basically a front end to an army of large EC2 instances running hadoop. The idea is that it gets its data from S3 buckets, runs the jobs, and then stores it back in S3 buckets. I skimmed through a book on doing it, but didn’t get much out of…
Continuous Delivery of a Simple Web Application Tutorial – Part 3
In Part 1 we discussed the architecture of what we’re trying to build. In Part 2 we created our development server with Ansible. In Part 3 we will finish off Ansible with creating our Load Balancers and WebServers. Then we’ll setup Git and check everything in. In Part 4 we will finish it all off…