Archive

Archive for August, 2017

Reading List

August 29, 2017 Leave a comment
Categories: Interesting

Tuleap versus Jira software

August 28, 2017 Leave a comment
Categories: Interesting

Delivering RPM packages securely and continuously with Jenkins and Hashicorp Vault

August 27, 2017 Leave a comment

When you publicly deliver more than eight releases a day—like we do for our software—making sure that users can verify the authenticity of the deliverables becomes a challenge. Over the past few weeks we have modified our Jenkins build pipelines to GPG sign every RPM package we deliver, thus enhancing the level of security we bring to every user.

Why GPG signing RPM packages is important?

Read the full article…

Categories: Interesting Tags:

I love you DigitalOcean but…

August 27, 2017 Leave a comment
Categories: Interesting

Replacing ifconfig with ip

August 12, 2017 Leave a comment
Categories: debian Tags: ,

upstart

August 1, 2017 Leave a comment

Problem:
Well this was more like an irritant. I have a portforwarding script that I manually start. I just got tired of doing that and moved it to an upstart task.

Solution:
Added the following job for upstart to handle.

$ less /etc/init/portforward.conf
description     "Portforward 3141 to devpi server"

author      "Vagrant"

start on runlevel [2345]
stop on runlevel [!2345]

script
    cd /home/vagrant

    export SSHPASS="vagrant"
    sshpass -e ssh -nNL 3141:192.168.38.18:3141 -o ConnectTimeout=10 -o LogLevel=Error -o StrictHostKeyChecking=no vagrant@192.168.38.18
end script
$
$ # Check the syntax
$ init-checkconf /etc/init/portforward.conf
$ # Start the job
$ sudo service portforward start

Source:
https://www.digitalocean.com/community/tutorials/the-upstart-event-system-what-it-is-and-how-to-use-it

Categories: bash Tags: ,