Skip to content

Commit 75c2b91

Browse files
committed
Updates from website repo
1 parent c501e68 commit 75c2b91

6 files changed

Lines changed: 140 additions & 3 deletions

File tree

blog/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ <h2>OpenSourceCorp Blog <a href="/blog/index.xml"><img alt="rss-feed" src="/imag
2626

2727
<ul>
2828

29+
<li>
30+
<h4><a href="https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/">Progress Report 2022-09-05</a></h4>
31+
<p><em>Ryan J. Price, 2022-09-05, 3m read</em></p>
32+
Wooooo boy howdy, what a STRETCH it&rsquo;s been. Lots of things in life &amp; work have come up and kept me away from working on OSC, but I wanted to throw out something quick to let folks know that neither I nor the project are dead.
33+
rhad has been under a lot of recent work. Some months ago, the concept of a Rhadfile was introduced to the codebase, which is a config-file format for rhad executions. <a href="https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/">(more)</a>
34+
<br/><br/>
35+
</li>
36+
2937
<li>
3038
<h4><a href="https://www.opensourcecorp.org/blog/posts/2022-06-20-progress-report/">Progress Report 2022-06-20</a></h4>
3139
<p><em>Ryan J. Price, 2022-06-20, 9m read</em></p>

blog/index.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
99
<lastBuildDate>Wed, 01 Jun 2022 21:17:46 -0500</lastBuildDate><atom:link href="https://www.opensourcecorp.org/blog/index.xml" rel="self" type="application/rss+xml" />
10+
<item>
11+
<title>Progress Report 2022-09-05</title>
12+
<link>https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/</link>
13+
<pubDate>Mon, 05 Sep 2022 01:45:00 -0500</pubDate>
14+
15+
<guid>https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/</guid>
16+
<description>Wooooo boy howdy, what a STRETCH it&amp;rsquo;s been. Lots of things in life &amp;amp; work have come up and kept me away from working on OSC, but I wanted to throw out something quick to let folks know that neither I nor the project are dead.
17+
rhad has been under a lot of recent work. Some months ago, the concept of a Rhadfile was introduced to the codebase, which is a config-file format for rhad executions.</description>
18+
</item>
19+
1020
<item>
1121
<title>Progress Report 2022-06-20</title>
1222
<link>https://www.opensourcecorp.org/blog/posts/2022-06-20-progress-report/</link>

blog/posts/2022-06-20-progress-report/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h3 id="miscellaneous">Miscellaneous</h3>
180180
</li>
181181
<li>
182182
<p>I&rsquo;ve started to notice some really frustrating issues in the local VM
183-
bootstrapper where builds fail for spraodic (but usually consistent) reasons.
183+
bootstrapper where builds fail for sporadic (but usually consistent) reasons.
184184
Most commonly, it&rsquo;s when trying to do and <code>apt-get update</code> anywhere at all, at
185185
any stage of the lifecycle install. I first noticed it when trying to install
186186
Docker on a subsystem node (via
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<!DOCTYPE html>
2+
<html><head>
3+
<meta lang="en" charset="UTF-8"/>
4+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
5+
<link rel="icon" type="image/x-icon" href="/images/osc-logo.png">
6+
<link rel="stylesheet" href="/css/main.css"/>
7+
<title>OpenSourceCorp</title>
8+
</head>
9+
<body><div class="sidenav">
10+
<a href="/">
11+
<img src="/images/osc-logo.png" style="width:120px;height:100px;" alt="OSC Logo"/>
12+
</a>
13+
<h3>Navigation</h3>
14+
<ul>
15+
<li><a href="/index.html">Home</a></li>
16+
<li><a href="/wiki/index.html">Wiki</a></li>
17+
<li><a href="/blog/index.html">Blog</a></li>
18+
<li><a href="https://github.com/opensourcecorp">Project SCM</a></li>
19+
</ul>
20+
</div>
21+
<div id="content" class="content">
22+
23+
<h2>Progress Report 2022-09-05</h2>
24+
25+
<em>By Ryan J. Price @ 2022-09-05 01:45:00 -0500 CDT; reading time 3m</em>
26+
<hr/>
27+
28+
<p>Wooooo boy howdy, what a STRETCH it&rsquo;s been. Lots of things in life &amp; work have
29+
come up and kept me away from working on OSC, but I wanted to throw out
30+
something quick to let folks know that neither I nor the project are dead.</p>
31+
<ul>
32+
<li>
33+
<p><a href="https://github.com/opensourcecorp/rhad"><code>rhad</code></a> has been under a lot of
34+
recent work. Some months ago, the concept of a <code>Rhadfile</code> was introduced to
35+
the codebase, which is a config-file format for <code>rhad</code> executions. The first
36+
pass at this was targeting an INI format, for its simplicity &amp; readability. As
37+
it turns out, parsing an INI file is&hellip; interesting, to say the least. So,
38+
<code>Rhadfiles</code> are now <a href="https://toml.io">TOML</a>-formatted. TOML is a nice
39+
middle-ground format of being readable, writable, and parseable. Right now,
40+
<code>Rhadfiles</code> only support providing a version number for your code tree
41+
modules, but more options will spring up as they become apparent.</p>
42+
<p>There&rsquo;s also <a href="https://github.com/opensourcecorp/rhad/pkgs/container/rhad/tree/main/scripts/run-rhad-lint.sh">a helper
43+
script</a>
44+
that runs the GitHub Super-Linter, and <code>rhad</code> following, as well as a <code>make add-local-symlinks</code> target to symlink the script onto (what I hope is) your
45+
<code>$PATH</code>. Try it out and let me know if you run into any notable bugs.</p>
46+
<p><code>rhad</code> is now version <code>v0.3.0</code>, and the <a href="https://github.com/opensourcecorp/rhad/pkgs/container/rhad">container image on
47+
GHCR</a> reflects
48+
this in its <code>:latest</code> tag (I&rsquo;ll get around to getting version-tagged builds
49+
done in GHA at some point).</p>
50+
</li>
51+
<li>
52+
<p>While working on <code>rhad</code>, I started to think that abstracting out some of the
53+
reusable Go functionality might be beneficial in the long run &ndash; so now we
54+
have <a href="https://github.com/opensourcecorp/go-common"><code>a repo to house that</code></a>
55+
(currently it&rsquo;s just logging functionality). This kind of felt like premature
56+
optimization, since nothing else except <code>ghostwriter</code> is using this shareable
57+
functionality, but it ended up teaching me an awful lot about how to work with
58+
dependency packages in Go that <em>you</em> control &ndash; like being able to override
59+
exported fields in child packages to disable log output for tests, set custom
60+
log prefixes without boilerplate, etc. Seeing it all come together was a cool
61+
feeling.</p>
62+
</li>
63+
</ul>
64+
<p>And now for the parts that I haven&rsquo;t touched in long enough that I forget most
65+
of the finer details:</p>
66+
<ul>
67+
<li>
68+
<p>The <a href="https://github.com/opensourcecorp/osc-infra/tree/feature/bootstrapper-add-aws"><code>osc-infra</code>
69+
bootstrapper</a>
70+
is almost ready to support AWS! we&rsquo;re using Terraform Provisioners like
71+
sinners. It&rsquo;s neat. Also, as mentioned in the last post <code>osc-infra</code> is now
72+
under tagged releases, and the most recent version is now v0.2.0.</p>
73+
</li>
74+
<li>
75+
<p>The <code>local-vm</code> bootstrapper has been refactored to not build separate images
76+
for ever ysingle subsystem, and just run provision calls at runtime. This
77+
makes the OSC cluster <em><strong>way faster</strong></em> to bootstrap, saves on disk space since
78+
there&rsquo;s no persistent storage of other images, etc. This also came along with
79+
a number of other cleanup changes while I was crawling around in the codebase,
80+
e.g. the <code>imgbuilder</code> subsystem is now named <code>baseimg</code>.</p>
81+
</li>
82+
<li>
83+
<p>Previously, when setting up a <code>redis</code> service on <code>datastore</code>, I must have
84+
stumbled onto a docs page that told readers that the ideal way to install
85+
<code>redis</code> was to compile it from source, and <em><strong>not</strong></em> use something like an APT
86+
repo. I&rsquo;m not sure what I found, or if something changed, but <code>redis</code> is now
87+
installed via an APT repo, and it works fine <code>:shrug:</code></p>
88+
</li>
89+
<li>
90+
<p><code>configmgmt</code> had a Salt block that added a swapfile to cluster nodes, and that
91+
block was commented out. I don&rsquo;t recall <em><strong>why</strong></em> it was commented out, but
92+
now it&rsquo;s not, and is working as expected. All nodes now have a swapfile
93+
(insert Oprah &ldquo;you get a car&rdquo; meme here).</p>
94+
</li>
95+
</ul>
96+
<p>Like I said above, this isn&rsquo;t a massive update, nor is it super clean, but
97+
posting all this to say that I&rsquo;ve not disappeared, nor stopped working on OSC.
98+
Life, uh, finds a way (to get in the way).</p>
99+
100+
101+
<br/><br/>
102+
103+
<a href="/blog/index.xml"><img alt="rss-feed" src="/images/rss.png"/></a> <em>&lt;-- Subscribe for updates!</em>
104+
105+
</div></body>
106+
</html>

index.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@
66
<description>Recent content in OpenSourceCorp - The Free and Open-Source Enterprise on OpenSourceCorp</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
9-
<lastBuildDate>Mon, 20 Jun 2022 15:00:00 -0500</lastBuildDate><atom:link href="https://www.opensourcecorp.org/index.xml" rel="self" type="application/rss+xml" />
9+
<lastBuildDate>Mon, 05 Sep 2022 01:45:00 -0500</lastBuildDate><atom:link href="https://www.opensourcecorp.org/index.xml" rel="self" type="application/rss+xml" />
10+
<item>
11+
<title>Progress Report 2022-09-05</title>
12+
<link>https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/</link>
13+
<pubDate>Mon, 05 Sep 2022 01:45:00 -0500</pubDate>
14+
15+
<guid>https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/</guid>
16+
<description>Wooooo boy howdy, what a STRETCH it&amp;rsquo;s been. Lots of things in life &amp;amp; work have come up and kept me away from working on OSC, but I wanted to throw out something quick to let folks know that neither I nor the project are dead.
17+
rhad has been under a lot of recent work. Some months ago, the concept of a Rhadfile was introduced to the codebase, which is a config-file format for rhad executions.</description>
18+
</item>
19+
1020
<item>
1121
<title>Progress Report 2022-06-20</title>
1222
<link>https://www.opensourcecorp.org/blog/posts/2022-06-20-progress-report/</link>

sitemap.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
xmlns:xhtml="http://www.w3.org/1999/xhtml">
44
<url>
55
<loc>https://www.opensourcecorp.org/</loc>
6-
<lastmod>2022-06-20T15:00:00-05:00</lastmod>
6+
<lastmod>2022-09-05T01:45:00-05:00</lastmod>
7+
</url><url>
8+
<loc>https://www.opensourcecorp.org/blog/posts/2022-09-05-progress-report/</loc>
9+
<lastmod>2022-09-05T01:45:00-05:00</lastmod>
710
</url><url>
811
<loc>https://www.opensourcecorp.org/blog/posts/2022-06-20-progress-report/</loc>
912
<lastmod>2022-06-20T15:00:00-05:00</lastmod>

0 commit comments

Comments
 (0)