Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollout phase1 #2

Merged
merged 4 commits into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Workflow for building and deploying a Jekyll site to GitHub Pages
name: Jekyll Build

# run workflow manually
on:
pull_request:
branches:
- main
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
10 changes: 6 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ description: >- # this means to ignore newlines until "baseurl:"
A blog about software development, technology, and other things that interest me.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://shreve.dev" # the base hostname & protocol for your site, e.g. http://example.com
google_analytics: "G-XG2C3GM9NW"

# Build settings
remote_theme: jekyll/minima
Expand All @@ -38,6 +39,7 @@ tag_page_layout: tag_page
tag_page_dir: tag

permalink: none
paginate: false

# Build settings
minima:
Expand All @@ -54,10 +56,10 @@ plugins:
- jekyll/tagging
- jekyll-remote-theme

# header_pages:
# - pages/about.md
# - pages/blog.md
# - pages/tags.md
header_pages:
- pages/about.md
- pages/blog.md
- pages/tags.md


# Exclude from processing.
Expand Down
16 changes: 8 additions & 8 deletions _data/tools.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ tags: coder devops lab docker terraform

A number of factors led me to Coder, at the end of the day it aligns with my needs and curiosities as a software engineer. The documentation is solid, the interface is attractive, and the product works. I found it to be the ideal solution for managing development environments for my personal projects. On another note, while there is an Enterprise version of Coder, the open source version is free to use and I've yet to run into any limitations.

<!-- TODO: link to posts on these projects -->
The workspaces I currently have in Coder are:

- `sitedev`: a workspace for developing this website, which is built with Jekyll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ tags: docker devops lab registry devcontainer packer coder nomad
## Summary

{{ site.data.tools.docker.brief }}
{{ site.data.tools.docker.work }}

## Use Cases

### Registry

I'm currently running a private Docker registry on my homelab cluster. I use this registry to store images used by Nomad jobs, and images used by Coder templates. Initially I spun this up because I was iterating on the deploy process and was using a ton of bandwidth pulling images from Docker Hub. I've since found it useful to have a private registry for storing images that I've customized and don't need to publish, or that I need to pull often.

[![Docker Registry UI](/assets/images/docker/reg-combo.png)](/assets/images/docker/reg-combo.png)

### Devcontainers

Before I settled on Coder to manage my development environments, I spent quite awhile trying to find a comfortable workflow with [VS Code devcontainers](https://code.visualstudio.com/docs/remote/containers). There's still some `.devcontainer` files in scattered around my GitHub, but I'm not actively using them anymore.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ module "ubuvm" {
}
```

## Coder

> Coder is an open-source platform for creating and managing developer workspaces on your preferred clouds and servers.[^coder-home]

Coder templates are created and edited as Terraform files, and templates define the environment and resources for a workspace. For more information on my Coder setup, see the [Coder Overview](/overview/coder/).

## Memorable Challenges

- Manage state in Terraform Cloud.
Expand All @@ -44,6 +38,4 @@ Coder templates are created and edited as Terraform files, and templates define
- Borking my workflow by upgrading to a new version of the Proxmox provider that was incompatible with my current version of Terraform.
- Manually copying and pasting resource definitions into / out of state files.

<hr>

{% include refs.md %}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ layout: post
tags: databases lab mysql mariadb
---

{{ site.data.tools.databases.brief }}

## MySQL

{% include toolref.html tool = "mysql" %}

## Details

{% include refs.md %}
6 changes: 5 additions & 1 deletion _includes/banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ <h4 id="full-stack-software-engineer">Full Stack Software Engineer</h4>
{% include social.html %}
</div>
<div style="margin-top: 20px;">
<p></p>
<p>
Thanks for stopping by! Head over to the <a href="/about">about</a> page for an outline of my background.
The <a href="/blog">blog</a> page contains an index of all posts, these are tagged, linked, and referenced from other pages and posts as need.
The <a href="/tags">tags</a> page displays a breakdown of tag frequency in posts, and facilitates exploring posts by tag.
</p>
</div>
</div>
4 changes: 1 addition & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
<a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a>
</div>
<div class="footer-col">
<div class="social-links">
{% include social.html %}
</div>
{% include social.html %}
</div>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
<link rel="preload" href="{{ "{{ site.base_url}}/assets/css/style.css" | relative_url }}"" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="style.css"></noscript>

<!-- {%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}

{%- include custom-head.html -%} -->

</head>
2 changes: 1 addition & 1 deletion _includes/newbrief.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h3><a href="{{ tool_data.url }}">{{ tool_data.name }}</a></h3>
<a href="/tag/{{ tool_data.slug }}"> posts: ({{ site.tags[tool_data.slug] | size }})</a>
</div>
<p>{{ tool_data.brief }}{{ tool_data.work }}</p>
<p>{{ tool_data.brief }}</p>
</div>
</div>

32 changes: 5 additions & 27 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
layout: base
---

<div class="blog wrapper">
<div class="blog">
{%- if page.title -%}
<h1 class="page-heading">{{ page.title }}</h1>
{%- endif -%} {% if site.paginate %} {% assign posts =
paginator.posts %} {% else %} {% assign posts = site.posts %} {% endif %} {%-
if posts.size > 0 -%} {%- if page.list_title -%}
{%- endif -%}
{% assign posts = site.posts %}
{%- if posts.size > 0 -%} {%- if page.list_title -%}
<h2 class="post-list-heading">{{ page.list_title }}</h2>
{%- endif -%}
{%- endif -%}{%- endif -%}
<ul class="post-list">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{%- for post in posts -%}
Expand All @@ -29,25 +28,4 @@ <h3>
</li>
{%- endfor -%}
</ul>

{% if site.paginate %}
<div class="pager">
<ul class="pagination">
{%- if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
{%- else %}
<li><div class="pager-edge">•</div></li>
{%- endif %}
<li><div class="current-page">{{ paginator.page }}</div></li>
{%- if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
{%- else %}
<li><div class="pager-edge">•</div></li>
{%- endif %}
</ul>
</div>
{%- endif %}

{%- endif -%}

</div>
1 change: 0 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ <h1 class="post-title p-name" itemprop="name headline">

<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article>
<script src="https://kit.fontawesome.com/6daac281f9.js" crossorigin="anonymous"></script>
6 changes: 3 additions & 3 deletions _layouts/tag_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---
{% assign overview_post_found = nil %}
{% if page.tag %}
<h1>tag : <code>{{ page.tag }}</code></h1>
<h1>tag: <code>{{ page.tag }}</code></h1>
<br>
{% for post in site.categories.overview %}
{% assign clean_title = post.title | slugify | split: "-" | first %}
Expand All @@ -17,8 +17,8 @@ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{% if overview_post_found %}
<br>
{% endif %}
<h2>posts:</h2>
<ul>
<h2>related posts</h2>
<ul class="post-list">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{%- for post in page.posts -%}
{% if post != overview_post_found %}
Expand Down
File renamed without changes
2 changes: 0 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
layout: home
---



{% include banner.html %}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
tags: python coding development data jupyter flask scraping pandas
tags: python coding development data jupyter flask
---

{% include toolref.html tool="python" %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
tags: typescript coding development frontend react react-native mongodb graphql
tags: typescript coding development frontend react react-native
---

{% include toolref.html tool="typescript" %}
Expand Down
16 changes: 2 additions & 14 deletions _drafts/pages/about.md → pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: page
title: about
permalink: /about/
show_in_nav: false
---

This page aims to give a high level overview of the tools and technologies I've worked with. Related tools are grouped together. The descriptions are meant to be brief, follow the links for a dedicated overview of each item, or check the post index to see all posts tagged with that tool's name.
Expand All @@ -19,26 +18,15 @@ This page aims to give a high level overview of the tools and technologies I've
{% include newbrief.html tool="python" %}
{% include newbrief.html tool="typescript" %}
{% include newbrief.html tool="graphql" %}
{% include newbrief.html tool="mysql" %}

<br/>

<!-- DEVOPS -->

{% include sectionhead.html
<!-- {% include sectionhead.html
title = "DevOps / Infrastructure"
summary = "Orchestration and automation tools I use to configure and manage applications and infrastructure."
%}

{% include newbrief.html tool="terraform" %}
{% include newbrief.html tool="docker" %}
{% include newbrief.html tool="ansible" %}
{% include newbrief.html tool="proxmox" %}
{% include newbrief.html tool="nomad" %}
{% include newbrief.html tool="consul" %}






{% include newbrief.html tool="ansible" %} -->
File renamed without changes.
File renamed without changes.