Skip to content

Commit

Permalink
Update ".circleci/config.yml", "Earthfile", and Dockerfiles to use th…
Browse files Browse the repository at this point in the history
…e latest version of the "kickable/builder" image with SHA256 hash "0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122".
  • Loading branch information
defstream committed Jan 11, 2024
1 parent b6d8b4a commit 691d77e
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
resource_class: arm.medium
steps:
- checkout
- run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.2/earthly-linux-arm64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.23/earthly-linux-arm64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- run:
command: FORCE_COLOR=1 earthly --ci --no-output +archive
no_output_timeout: 2h
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ benchmark:

source:
ARG PACKAGE_NAME
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

WORKDIR /usr/src/${PACKAGE_NAME}
COPY --dir i18n scripts examples proto src .
COPY kickable.yaml Cargo.lock Cargo.toml Makefile build.rs README.md CHANGELOG.md LICENSE.md .
Expand Down Expand Up @@ -265,7 +266,8 @@ x86-64-pc-windows-gnu:
SAVE ARTIFACT ${BIN_NAME}.yaml ./${BIN_NAME}.yaml

archive:
FROM --platform linux/arm64 kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607
FROM --platform linux/arm64 kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122


WORKDIR /usr/src/archive/aarch64-apple-darwin
COPY +aarch64-apple-darwin/* .
Expand Down Expand Up @@ -308,7 +310,8 @@ archive:
SAVE ARTIFACT x86_64-pc-windows-gnu.zip.sha256 AS LOCAL ./${DIST_DIR}/${PACKAGE_NAME}_${VERSION}_x86_64-pc-windows-gnu.zip.sha256

cross:
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

WORKDIR /usr/src/kickable
COPY src src
COPY proto proto
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ARG version=0.0.0

# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122 as build

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.aarch64-apple-darwin
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG version=0.0.0
# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG version=0.0.0
# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.cross
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ARG version=0.0.0
ARG BIN_NAME=kickable

# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.x86_64-apple-darwin
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG version=0.0.0
# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.x86_64-pc-windows-gnu
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG version=0.0.0
# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.x86_64-unknown-linux-musl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG version=0.0.0
# setup build image + dependencies
FROM kickable/builder:latest@sha256:e8fef4deb105463f173df482a61f096ac9c332f79d5996043be3e5158302c607 AS build
FROM kickable/builder:latest@sha256:0ca05e7f4682f9bf7effddc4f998710a8b11a57df9b40ec861ff57e878f6b122

ARG version
WORKDIR /usr/src/kickable
COPY src src
Expand Down

0 comments on commit 691d77e

Please sign in to comment.