-
Continue reading →: JENKINS JCasC – securityRealm
I just can’t stop playing around with the Jenkins JCasC plugin. However, I just don’t think its in a state to replace all of your Jenkins configuration yet. Example – I want to create a new Jenkins user\password and add the additional user data such as email, token, and description…
-
Continue reading →: Monitoring Plan – AWS Style!
Lately, I’ve been reading some AWS documents in preparation for the SYSOPS certification and came across a great AWS monitoring best practice document. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring_best_practices.html This is such a great starting point for teams implementing a new monitoring solutions!
-
Continue reading →: Jenkins JCasC – Illegal character in opaque part at index
I’m still playing around with this Jenkins JCasC plugin. Its got major potential!! One little gotcha if you are on Windows is how you path out to the jenkins.yaml file from within Jenkins. In my case, I was using standard Windows back slash. This isn’t going to work. You need…
-
Continue reading →: Jenkins – Configuration as Code – JCasC
I have been doing a little research on the Jenkins Configuration as Code (JCasC) plugin and I must say I think it’s definitely a step in the right direction. In theory, with this plugin, you can have the majority of your Jenkins configuration stored in 1 file. This file can…
-
Continue reading →: SQS (S3 Event) Lambda Trigger
I ran into a little issue today parsing a S3 SQS event that was sent to Lambda via a SQS trigger. I assumed the incoming event to Lambda was 100% of type dict. Given this, I assumed I could pull the bucket name and key using this syntax. bucketname = event[‘Records’][0][‘body’][‘Records’][0][‘s3’][‘bucket’][‘name’]…
-
Continue reading →: Python – Slate – Install – Failed
I tried to install the Slate python package via PIP today. No good, I ran into the following error. Command “python setup.py egg_info” failed with error code 1 in… The work-around was to bypass https://pypi.org/ and install directly from guthub. pip install https://github.com/timClicks/slate/archive/master.zip
-
Continue reading →: AWS CLI – QUERY InstanceId
Great link that explains how to grab InstanceId from a AWS CLI query when filtering by tag info!!! Huge time saver!!! https://github.com/aws/aws-cli/issues/2206
-
Continue reading →: AWS SQS – receive_message
When using the “receive_message” Python Boto function to pull message(s) from a SQS queue, you will always get a response back when the command completes. However, how do you determine if the response you got back actually contains a valid message? Quick trick: response = sqs.receive_message if ‘Messages’ in response:…
-
Continue reading →: New Selenium IDE – FireFox Support
Remember when it was announced that the Selenium IDE would stop working with FireFox 55+? This was a little bit sad as its such an easy tool to use. However, now there is a version that supports Firefox 56+. (Download) Good news!!!