Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3e52743
initial commit cleanup before astro switch
erinxocon Jun 23, 2026
18b65a4
migrate static files to public folder in accordance with astro file s…
erinxocon Jun 23, 2026
39879c7
add system76 dark and light logo files
erinxocon Jun 23, 2026
ac0ebf1
move content to astro location
erinxocon Jun 23, 2026
ff904ce
add vscode and devcontainer files
erinxocon Jun 23, 2026
8613a62
migrate to pnpm and clear out package.json for astro project
erinxocon Jun 23, 2026
9868ab4
basic astro config
erinxocon Jun 23, 2026
27c8605
setup new file structure for astro, images will eventually live right…
erinxocon Jun 24, 2026
5e03e47
mirror old url schema
erinxocon Jul 7, 2026
b06046e
add astro-icon to read icons from inconify
erinxocon Jul 7, 2026
dba8a77
add some custom components for use on the new support home page
erinxocon Jul 7, 2026
5a3a0fb
add playwright for headless browser testing
erinxocon Jul 8, 2026
88a6395
pull out Hero into it's own component
erinxocon Jul 8, 2026
503d8d9
Disable search and the page title content panel on home page
erinxocon Jul 8, 2026
40dca72
Work on the home page and various components and css. Also create mid…
erinxocon Jul 8, 2026
297ceee
enamed each .md → .mdx (required for component imports), and added im…
erinxocon Jul 8, 2026
6b057f0
we don't want articles url anymore
erinxocon Jul 8, 2026
fb5d3ae
change alll relative links to markdown relative document links to act…
erinxocon Jul 8, 2026
b19888e
remove switch from macos to popos and ubuntu dure to request from Emma
erinxocon Jul 8, 2026
b70744d
setup dependabot
erinxocon Jul 8, 2026
328903c
Build astro project on staging deploy
erinxocon Jul 8, 2026
bd26531
if we are in production mode, add google analytics
erinxocon Aug 3, 2026
4441c51
add asciinema component for rendering cast files, casts are colocated…
erinxocon Aug 3, 2026
ebd405e
Clicking on the logo now brings you back the the support home page, w…
erinxocon Aug 3, 2026
f4e71f7
add alt text for the logo image
erinxocon Aug 13, 2026
8d57ccb
update bluetooth article with new link and image structure
erinxocon Aug 13, 2026
f26e292
fix deprecation of z object from astro:content module, import from as…
erinxocon Aug 13, 2026
b61c41e
with the astro switch now complete, we do not need these files anymore!
erinxocon Aug 14, 2026
39bed18
mirror staging deploy for production deploy
erinxocon Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM node:24-slim

RUN apt update && apt install -y --no-install-recommends \
ca-certificates \
git \
git-lfs \
sudo \
libglib2.0-0 \
libnspr4 \
libnss3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libdbus-1-3 \
libcups2 \
libxcb1 \
libxkbcommon0 \
libasound2 \
libgbm1 \
libx11-6 \
libxext6 \
libcairo2 \
libpango-1.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libatspi2.0-0 \
&& echo "node ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/node \
&& chmod 0440 /etc/sudoers.d/node


RUN corepack enable

USER node

CMD ["/bin/bash"]
41 changes: 41 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "./Dockerfile"
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Explicitly publish port (required for Podman to forward it).
"runArgs": ["-p=4321:4321"],

"postCreateCommand": "",

"mounts": ["source=devcontainer-bash-history,target=/history,type=volume"],

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"astro-build.astro-vscode",
"unifiedjs.vscode-mdx",
"Vue.volar"
]
}
},

"remoteUser": "node",
"updateRemoteUserUID": true

// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

17 changes: 0 additions & 17 deletions .eslintrc.js

This file was deleted.

25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
cooldown:
default-days: 1
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
cooldown:
default-days: 1
groups:
npm-all:
patterns:
- "*"
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
Lint_JS:
if: false
name: Lint (Javascript)
runs-on: ubuntu-latest

Expand Down Expand Up @@ -36,6 +37,7 @@ jobs:
run: npm run lint:js

Lint_MD:
if: false
name: Lint (Markdown)
runs-on: ubuntu-latest

Expand Down Expand Up @@ -69,6 +71,7 @@ jobs:
run: npm run lint:md

Build:
if: false
runs-on: ubuntu-latest

steps:
Expand Down
58 changes: 31 additions & 27 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Deploy

on:
Expand All @@ -7,45 +6,50 @@ on:
- master

jobs:
Build:
Deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
lfs: true
fetch-depth: 0
lfs: true

- name: Setup Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version-file: .tool-versions
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 #v6.0.9

- id: cache
name: Cache
uses: actions/cache@v5
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6.4.0
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
node-version: 24
cache: pnpm

- name: Restore cache from S3
run: |
aws s3 cp s3://${{ secrets.STAGING_AWS_S3_BUCKET }}/cache/${{ github.event.repository.name }}/astro-cache.tar.zst astro-cache.tar.zst || true
tar -xf astro-cache.tar.zst --use-compress-program "zstdmt" || true
env:
AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.STAGING_AWS_REGION }}

- if: steps.cache.outputs.cache-hit != 'true'
name: Install
run: npm ci
- name: Install
run: pnpm install --frozen-lockfile --prod

- name: Build
run: npm run build
run: pnpm build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: production
BUILD_ENV: production

- name: Debug
run: ls -la dist/_nuxt/content 2>&1 || true

- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: dist/
- name: Save cache to S3
run: |
tar -cf astro-cache.tar.zst node_modules/.astro --use-compress-program "zstdmt"
aws s3 cp astro-cache.tar.zst s3://${{ secrets.STAGING_AWS_S3_BUCKET }}/cache/${{ github.event.repository.name }}/astro-cache.tar.zst
env:
AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.STAGING_AWS_REGION }}

- name: Deploy
run: aws s3 sync ./dist s3://${{ secrets.PRODUCTION_AWS_S3_BUCKET }}/support --delete
Expand Down
57 changes: 32 additions & 25 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Deploy

on:
Expand All @@ -7,42 +6,50 @@ on:
- staging

jobs:
Build:
Deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
lfs: true
fetch-depth: 0
lfs: true

- name: Setup Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version-file: .tool-versions
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 #v6.0.9

- id: cache
name: Cache
uses: actions/cache@v5
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6.4.0
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
node-version: 24
cache: pnpm

- name: Restore cache from S3
run: |
aws s3 cp s3://${{ secrets.STAGING_AWS_S3_BUCKET }}/cache/${{ github.event.repository.name }}/astro-cache.tar.zst astro-cache.tar.zst || true
tar -xf astro-cache.tar.zst --use-compress-program "zstdmt" || true
env:
AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.STAGING_AWS_REGION }}

- if: steps.cache.outputs.cache-hit != 'true'
name: Install
run: npm ci
- name: Install
run: pnpm install --frozen-lockfile --prod

- name: Build
run: npm run build
run: pnpm build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: production

- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: dist/
BUILD_ENV: staging

# - name: Save cache to S3
# run: |
# tar -cf astro-cache.tar.zst node_modules/.astro --use-compress-program "zstdmt"
# aws s3 cp astro-cache.tar.zst s3://${{ secrets.STAGING_AWS_S3_BUCKET }}/cache/${{ github.event.repository.name }}/astro-cache.tar.zst
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }}
# AWS_DEFAULT_REGION: ${{ secrets.STAGING_AWS_REGION }}

- name: Deploy
run: aws s3 sync ./dist s3://${{ secrets.STAGING_AWS_S3_BUCKET }}/support --delete
Expand Down
Loading