fixup! Add support for building the site via nix.
Some checks failed
build-staging Build build-staging has failed

This commit is contained in:
Tom Alexander
2026-07-17 19:55:50 -04:00
parent 8358510fda
commit 2d1c9e2931
3 changed files with 27 additions and 25 deletions

View File

@@ -70,18 +70,6 @@ spec:
- name: TARGET_URL - name: TARGET_URL
value: "https://tekton.fizz.buzz/#/namespaces/$(context.pipelineRun.namespace)/pipelineruns/$(context.pipelineRun.name)" value: "https://tekton.fizz.buzz/#/namespaces/$(context.pipelineRun.namespace)/pipelineruns/$(context.pipelineRun.name)"
- name: fetch-repository - 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: params:
- name: url - name: url
value: $(params.REPO_URL) value: $(params.REPO_URL)
@@ -89,6 +77,18 @@ spec:
value: $(params.PULL_BASE_SHA) value: $(params.PULL_BASE_SHA)
- name: deleteExisting - name: deleteExisting
value: "true" 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 - name: get-git-commit-time
taskSpec: taskSpec:
metadata: {} metadata: {}

View File

@@ -135,7 +135,7 @@ spec:
- name: url - name: url
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
- name: revision - name: revision
value: 7d4b33528fef5f2e662d32d093566ce56eb4acd0 value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
- name: pathInRepo - name: pathInRepo
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
params: params:
@@ -156,6 +156,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" - "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
- --opt - --opt
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time) - 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 - name: BUILDKITD_TOML
value: | value: |
debug = true debug = true

24
flake.lock generated
View File

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