Compare commits

..

3 Commits

Author SHA1 Message Date
Tom Alexander
671e0cbcf9 Merge branch 'nix'
All checks were successful
semver Build semver has succeeded
build-staging Build build-staging has succeeded
build Build build has succeeded
2026-07-21 21:28:15 -04:00
Tom Alexander
72bbf09480 Eliminate the shell from the docker image.
Some checks failed
build-staging Build build-staging has failed
2026-07-17 20:06:37 -04:00
Tom Alexander
49966f46fd Add support for building the site via nix. 2026-07-17 20:06:37 -04:00
5 changed files with 33 additions and 25 deletions

View File

@@ -2,6 +2,8 @@ apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: build-homepage-staging
labels:
pdb: protect
spec:
timeouts:
pipeline: "2h0m0s"
@@ -70,18 +72,6 @@ spec:
- name: TARGET_URL
value: "https://tekton.fizz.buzz/#/namespaces/$(context.pipelineRun.namespace)/pipelineruns/$(context.pipelineRun.name)"
- name: fetch-repository
taskRef:
resolver: git
params:
- name: url
value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git
- name: revision
value: f914437a46978b95f325f68d791dcf1a35738f60
- name: pathInRepo
value: task/git-clone/0.9/git-clone.yaml
workspaces:
- name: output
workspace: git-source
params:
- name: url
value: $(params.REPO_URL)
@@ -89,6 +79,18 @@ spec:
value: $(params.PULL_BASE_SHA)
- name: deleteExisting
value: "true"
taskRef:
params:
- name: url
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
- name: revision
value: "dda7b690195b43e8b9859d1caf5dcbf48588ade1"
- name: pathInRepo
value: task/git-clone/0.1/git-clone.yaml
resolver: git
workspaces:
- name: output
workspace: git-source
- name: get-git-commit-time
taskSpec:
metadata: {}

View File

@@ -2,6 +2,8 @@ apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: build-homepage
labels:
pdb: protect
spec:
timeouts:
pipeline: "2h0m0s"
@@ -135,7 +137,7 @@ spec:
- name: url
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
- name: revision
value: 7d4b33528fef5f2e662d32d093566ce56eb4acd0
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
- name: pathInRepo
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
params:
@@ -156,6 +158,8 @@ spec:
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
- --opt
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
- --opt
- "build-arg:NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org"
- name: BUILDKITD_TOML
value: |
debug = true

View File

@@ -2,6 +2,8 @@ apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: semver
labels:
pdb: protect
spec:
timeouts:
pipeline: "2h0m0s"

24
flake.lock generated
View File

@@ -8,11 +8,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1783808400,
"narHash": "sha256-izeK0soRWiep4mkZ1duD1hf3fqXYrZXsHUwnBzTbTpA=",
"lastModified": 1784333070,
"narHash": "sha256-3WkxaHOS13vFBtQFBmGIPScQZDNLk5bqCAY9qBJASl0=",
"ref": "refs/heads/main",
"rev": "05c7ecde829f3e3843e89000e9959b8016124b2e",
"revCount": 326,
"rev": "faf279292ad20783775d909b96815f7ca2843b85",
"revCount": 327,
"type": "git",
"url": "https://code.fizz.buzz/talexander/natter.git"
},
@@ -46,11 +46,11 @@
"rust-overlay": "rust-overlay_2"
},
"locked": {
"lastModified": 1783734912,
"narHash": "sha256-tXPapMwegdfP0jcr3BPQXxv1Aauo6yZwS4q2sIKOF9o=",
"lastModified": 1784327891,
"narHash": "sha256-kGmXbmpkkiD2FtX7vKNdbL6/p/fvQ9OT2iS/ve55V5I=",
"ref": "refs/heads/main",
"rev": "842a77fb2bc684a545fb102e16790fa902aec11c",
"revCount": 2008,
"rev": "336b5d3d5444ad847cd5fbf1490055e733911b57",
"revCount": 2010,
"type": "git",
"url": "https://code.fizz.buzz/talexander/organic.git"
},
@@ -67,11 +67,11 @@
"organic": "organic"
},
"locked": {
"lastModified": 1783737126,
"narHash": "sha256-BM6lYBegCV8EkVGqd6wIW9YN4EQL8cnoe4T5TuV7Q2I=",
"lastModified": 1784331571,
"narHash": "sha256-0AeEsziAEjL/lgrlTu7RvOoylV1hSozo04rfc3Y7q6M=",
"ref": "refs/heads/main",
"rev": "de11bc7c5e08610dc006ac7b31454abc6e1f46e7",
"revCount": 74,
"rev": "55b239a3fe0b7a3b70f392be36b9efd49848be03",
"revCount": 75,
"type": "git",
"url": "https://code.fizz.buzz/talexander/organic_ast_explorer.git"
},

Binary file not shown.