--- upstreams: github: url: https://github.com/ check: image: cgr.dev/chainguard/git cmds: - 'git clone http://${SH4D0WUP_BOUND_ADDR}/kpcyrd/sh4d0wup' - ['git', '-C', 'sh4d0wup', 'rev-parse', 'HEAD'] - ['git', '-C', 'sh4d0wup', 'cat-file', 'commit', 'HEAD'] - 'for f in sh4d0wup/*; do echo "$f"; done' - ['./sh4d0wup/configure'] artifacts: blob: type: git git: blob data: | #!/bin/sh echo hi wurld echo 1300 + 37 = $((1300+37)) tree: type: git git: tree entries: - mode: blob-executable filename: configure oid: artifact: blob commit: type: git git: commit tree: artifact: tree author: kpcyrd 1637076383 +0100 committer: kpcyrd 1637076383 +0100 message: "Release v0.3.0\n" collision_prefix: "dead" #collision_prefix: "deadbeef" #collision_prefix: "eeeeeee" refs: type: git git: ref-list refs: refs/heads/main: artifact: commit routes: - path: '/kpcyrd/sh4d0wup/info/refs' type: static args: artifact: refs - path: '/kpcyrd/sh4d0wup/HEAD' type: static args: data: | ref: refs/heads/main - path: '/kpcyrd/sh4d0wup/objects/info/packs' type: static args: data: "\n" - path: '/kpcyrd/sh4d0wup/objects/info/http-alternates' type: static args: data: "\n" - path: '/kpcyrd/sh4d0wup/objects/info/alternates' type: static args: data: "\n" - type: static args: path_template: '/kpcyrd/sh4d0wup/objects/{{slice-until (sha1) 2}}/{{slice-after (sha1) 2}}' artifacts: - commit - tree - blob compress: zlib - type: proxy args: upstream: github