2 Commits

Author SHA1 Message Date
Tom Alexander
99f97874ea TEMP test
Some checks are pending
foreign-document-test Build foreign-document-test has started
2026-09-07 12:48:04 -04:00
Tom Alexander
6c3df1d4cd Don't use ADD to clone git repos.
Using ADD to clone git repos breaks caching.
2026-09-07 12:47:19 -04:00
2 changed files with 32 additions and 22 deletions

View File

@@ -1,31 +1,31 @@
version = "0.0.1"
[[push]]
name = "rust-test"
source = "pipeline-rust-test.yaml"
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
# [[push]]
# name = "rust-test"
# source = "pipeline-rust-test.yaml"
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
[[push]]
name = "foreign-document-test"
source = "pipeline-foreign-document-test.yaml"
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
branches = [ "^main$", "^master$" ]
branches = [ "^main$", "^master$", "^no_add$" ]
[[push]]
name = "clippy"
source = "pipeline-rust-clippy.yaml"
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
# [[push]]
# name = "clippy"
# source = "pipeline-rust-clippy.yaml"
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
[[push]]
name = "format"
source = "pipeline-format.yaml"
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
# [[push]]
# name = "format"
# source = "pipeline-format.yaml"
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
# skip_branches = [ "^v[0-9]+\\.[0-9]+\\.[0-9]+$" ]
[[push]]
name = "build"
source = "pipeline-build-hash.yaml"
clone_uri = "git@code.fizz.buzz:talexander/organic.git"
branches = [ "^main$", "^master$" ]
# [[push]]
# name = "build"
# source = "pipeline-build-hash.yaml"
# clone_uri = "git@code.fizz.buzz:talexander/organic.git"
# branches = [ "^main$", "^master$" ]

View File

@@ -19,7 +19,17 @@ RUN apk add --no-cache build-base musl-dev git autoconf make texinfo gnutls-dev
FROM build AS build-emacs
ARG EMACS_REPO
ARG EMACS_VERSION
ADD "$EMACS_REPO#$EMACS_VERSION" /root/emacs
RUN <<EOF
set -euo pipefail
IFS=$'\n\t'
mkdir -p /root/emacs
git -C /root/emacs init --initial-branch=main
git -C /root/emacs remote add origin $EMACS_REPO
git -C /root/emacs fetch origin $EMACS_VERSION
git -C /root/emacs checkout FETCH_HEAD
EOF
#ADD "$EMACS_REPO#$EMACS_VERSION" /root/emacs
WORKDIR /root/emacs
RUN <<EOF
mkdir /root/dist