build site!

This commit is contained in:
Robert Johnson 2024-02-15 12:24:00 -05:00
parent 14891817da
commit c155c458ab
3 changed files with 77 additions and 155 deletions

35
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,35 @@
pipeline {
agent {
docker {
image 'jvconseil/jekyll-docker'
args '''
-u root:root
-v "${PWD}:/srv"
-e JEKYLL_UID=1001 -e JEKYLL_GID=1001
'''
}
}
environment {
KEY_FILE = credentials('ubuntu-box.myemail.cloud')
}
stages {
stage('Prep') {
steps {
sh 'chmod -R 777 .'
sh 'gem install bundler'
}
}
stage('Build') {
steps {
sh 'bundle install'
sh 'bundle exec jekyll build'
}
}
stage('Deploy') {
steps {
sh 'scp -r -o StrictHostKeychecking=no -i $KEY_FILE _site/ ubuntu@box.myemail.cloud:/home/ubuntu'
sh 'ssh ubuntu@box.myemail.cloud -i $KEY_FILE \'bash -s\' < deploy.sh'
}
}
}
}

View File

@ -9,13 +9,13 @@ sidebar:
# Profile information # Profile information
name: Robert Johnson name: Robert Johnson
tagline: SRE, Platform, and, Cloud Engineer tagline: SRE, Platform Engineer and Cloud Engineer
avatar: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below avatar: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below
# Sidebar links # Sidebar links
email: me@robertjohnson.work email: me@robertjohnson.work
phone: 407-792-1146 phone: 407-792-1146
timezone: America/New_York Timezone timezone: America/New_York
citizenship: USA citizenship: USA
website: draft13.com #do not add http:// website: draft13.com #do not add http://
linkedin: draft13 linkedin: draft13
@ -30,17 +30,6 @@ sidebar:
goodreads: # Number-Username, e.g. 123456-alandoe goodreads: # Number-Username, e.g. 123456-alandoe
pdf: '' #http://www.africau.edu/images/default/sample.pdf pdf: '' #http://www.africau.edu/images/default/sample.pdf
languages:
title: Languages
info:
- idiom: English
level: Native
# - idiom: French
# level: Professional
# - idiom: Spanish
# level: Professional
interests: interests:
title: Interests title: Interests
@ -49,7 +38,7 @@ sidebar:
link: link:
- item: Board Games - item: Board Games
link: link: https://draft13.com/project/stanley-gaming-guild.html
# - item: Cooking # - item: Cooking
# link: # link:
@ -57,37 +46,11 @@ sidebar:
career-profile: career-profile:
title: Career Profile title: Career Profile
summary: | summary: |
Summarise your career here lorem ipsum dolor sit amet, consectetuer I am a compassionate technologist specializing in creating secure,
adipiscing elit. You can [download this free resume/CV template here](). cloud-based solutions. My specialties are Google Cloud, risk/compliance,
Aenean commodo ligula eget dolor aenean massa. Cum sociis natoque and Platform Engineering. I have worked with technology systems for
penatibus et magnis dis parturient montes, nascetur ridiculus mus. over 20 years.
Donec quam felis, ultricies nec, pellentesque eu.
Second paragraph if required.
education:
title: Education
info:
- degree: MSc in Computer Science
university: University of London
time: 2011 - 2012
details: |
Describe your study here lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum
sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu,
pretium quis, sem.
- Bullet point
- Bullet point
- degree: BSc in Applied Mathematics
university: Bristol University
time: 2007 - 2011
details: |
Describe your study here lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum
sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu,
pretium quis, sem.
- Bullet point
- Bullet point
experiences: experiences:
title: Experiences title: Experiences
@ -133,133 +96,52 @@ experiences:
certifications: certifications:
title: Certifications title: Certifications
list: list:
- name: CV Builder - name: Professional Google Cloud Architect
start: 2020
end: 2021
organization: Microsoft
credentialid: 111-222
credentialurl: www.google.com
credentialname: Google
details: |
Details about cert. Lorem ipsum dolor sit amet, consectetur
adipiscing elit.
Nullam eget orci purus. Nullam ultrices neque nibh.
Aenean fermentum, felis vulputate suscipit accumsan,
sem enim bibendum augue, sed convallis arcu lacus at dui.
Pellentesque et nibh suscipit, vestibulum turpis eu, semper tortor.
Praesent felis nibh, eleifend id eleifend id, dictum id enim.
Praesent venenatis erat non augue suscipit consectetur.
Second paragraph. Sed eleifend enim ante, vitae efficitur purus
fringilla vel. Ut euismod, sem sed vulputate venenatis,
justo diam viverra velit, sed rhoncus leo leo eu justo.
Suspendisse placerat risus ante, sed porta nisi blandit at.
- name: Git learning
start: 2019 start: 2019
end: end: 2023
organization: Microsoft organization: Google
credentialid: 111-222 credentialid: CERT-P-CA
credentialurl: www.github.com credentialurl: google.accredible.com/891b3941-6efc-4378-ac60-6e31ba5c4b95#gs.4iie07com
credentialname: Github credentialname: accredible.com
details: | details: |
Older certification. Lorem ipsum dolor sit amet, consectetur A Google Cloud Certified - Professional Cloud Architect enables organizations to leverage Google Cloud technologies. Through an understanding of cloud architecture and Google technology, this individual can design, develop, and manage robust, secure, scalable, highly available, and dynamic solutions to drive business objectives.
adipiscing elit.
Nullam eget orci purus. Nullam ultrices neque nibh.
Aenean fermentum, felis vulputate suscipit accumsan,
sem enim bibendum augue, sed convallis arcu lacus at dui.
Pellentesque et nibh suscipit, vestibulum turpis eu, semper tortor.
Praesent felis nibh, eleifend id eleifend id, dictum id enim.
Praesent venenatis erat non augue suscipit consectetur.
projects: A Google Cloud Certified - Professional Cloud Architect has demonstrated in our assessment their ability to:
title: Projects
intro: >
You can list your side projects in this
section. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum et ligula in nunc bibendum fringilla a eu lectus.
assignments:
- title: Velocity
link: "#hook"
tagline: "A responsive website template designed to help startups promote, market and sell their products."
- title: DevStudio - Design and plan a cloud solution architecture
link: "#" - Manage and provision the cloud solution infrastructure
tagline: "A responsive website template designed to help web developers/designers market their services." - Design for security and compliance
- Analyze and optimize technical and business processes
- title: Tempo - Manage implementations of cloud architecture
link: "#" - Ensure solution and operations reliability
tagline: "A responsive website template designed to help startups promote their products or services and to attract users &amp; investors"
- title: Atom
link: "#"
tagline: "A comprehensive website template solution for startups/developers to market their mobile apps."
- title: Delta
link: "#"
tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps"
oss:
title: OSS Contributions
intro: >
You can list your open source software contributions in this
section. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum et ligula in nunc bibendum fringilla a eu lectus.
contributions:
- title: Tempo
link: "#"
tagline: "A responsive website template designed to help startups promote their products or services and to attract users &amp; investors"
- title: Atom
link: "#"
tagline: "A comprehensive website template solution for startups/developers to market their mobile apps."
- title: Delta
link: "#"
tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps"
publications:
title: Publications
intro: |
You can list your publications in this section. Lorem ipsum dolor sit
amet, consectetur adipiscing elit. Vestibulum et ligula in nunc
bibendum fringilla a eu lectus.
papers:
- title: The Art of Computer Programming
link: "#"
authors: Donald E. Knuth
conference: Addison-Wesley, 1968
- title: "Genetic Programming III: Darwinian Invention &amp; Problem Solving"
link: "#"
authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A.
conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)"
- title: A syntax directed compiler for Algol 60
link: "#"
authors: Edgar T. Irons
conference: "Comm. ACM 4 (1961), 5155"
skills: skills:
title: Skills &amp; Proficiency title: Skills &amp; Proficiency
toolset: toolset:
- name: Python & Django - name: 🐧️ Linux
level: 98% level: 98%
- name: Javascript & jQuery - name: 🪟️ Windows
level: 98% level: 98%
- name: Angular - name: 🔒️ InfoSec
level: 98%
- name: HTML5 & CSS
level: 95% level: 95%
- name: Ruby on Rails - name: ☁️ Google Cloud
level: 90%
- name: 🧑‍💻️ Bash
level: 85% level: 85%
- name: Sketch & Photoshop - name: ☁️ AWS Cloud
level: 75%
- name: ☁️ Azure Cloud
level: 65%
- name: 🐍️ Python
level: 60% level: 60%
footer: > footer: >
Designed with <i class="fas fa-heart"></i> by <a href="http://themes.3rdwavemedia.com" target="_blank" rel="nofollow">Xiaoying Riley</a>

5
deploy.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
sudo rm -Rf /home/user-data/www/robertjohnson.work
sudo mv -f /home/ubuntu/_site /home/user-data/www/robertjohnson.work
sudo chown -R user-data:root /home/user-data/www/robertjohnson.work
sudo chmod -R 755 /home/user-data/www/robertjohnson.work