Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
fc290be8
Unverified
Commit
fc290be8
authored
Jul 06, 2022
by
Mark Tyneway
Committed by
GitHub
Jul 06, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into deps/speed-up-compilation
parents
10f1de00
725b0261
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
79 additions
and
2 deletions
+79
-2
big-scissors-remain.md
.changeset/big-scissors-remain.md
+5
-0
empty-pigs-argue.md
.changeset/empty-pigs-argue.md
+5
-0
release.yml
.github/workflows/release.yml
+27
-0
Dockerfile.packages
ops/docker/Dockerfile.packages
+1
-1
Dockerfile
ops/docker/ci-builder/Dockerfile
+1
-1
Dockerfile
ops/docker/foundry/Dockerfile
+31
-0
package.json
ops/docker/foundry/package.json
+8
-0
package.json
package.json
+1
-0
No files found.
.changeset/big-scissors-remain.md
0 → 100644
View file @
fc290be8
---
'
@eth-optimism/foundry'
:
minor
---
Initial release, pin to b7b1ec471bdd38221773e1a569dc4f20297bd7db
.changeset/empty-pigs-argue.md
0 → 100644
View file @
fc290be8
---
'
@eth-optimism/ci-builder'
:
patch
---
Use ethereumoptimism/foundry:latest
.github/workflows/release.yml
View file @
fc290be8
...
@@ -30,6 +30,7 @@ jobs:
...
@@ -30,6 +30,7 @@ jobs:
go-builder
:
${{ steps.packages.outputs.go-builder }}
go-builder
:
${{ steps.packages.outputs.go-builder }}
js-builder
:
${{ steps.packages.outputs.js-builder }}
js-builder
:
${{ steps.packages.outputs.js-builder }}
ci-builder
:
${{ steps.packages.outputs.ci-builder }}
ci-builder
:
${{ steps.packages.outputs.ci-builder }}
foundry
:
${{ steps.packages.outputs.foundry }}
steps
:
steps
:
-
name
:
Checkout Repo
-
name
:
Checkout Repo
...
@@ -236,6 +237,32 @@ jobs:
...
@@ -236,6 +237,32 @@ jobs:
push
:
true
push
:
true
tags
:
ethereumoptimism/ci-builder:${{ needs.release.outputs.ci-builder }},ethereumoptimism/ci-builder:latest
tags
:
ethereumoptimism/ci-builder:${{ needs.release.outputs.ci-builder }},ethereumoptimism/ci-builder:latest
foundry
:
name
:
Publish foundry ${{ needs.release.outputs.foundry }}
needs
:
release
if
:
needs.release.outputs.foundry != ''
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v2
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password
:
${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Publish foundry
uses
:
docker/build-push-action@v2
with
:
context
:
.
file
:
./ops/docker/foundry/Dockerfile
push
:
true
tags
:
ethereumoptimism/foundry:${{ needs.release.outputs.foundry }},ethereumoptimism/foundry:latest
proxyd
:
proxyd
:
name
:
Publish proxyd Version ${{ needs.release.outputs.proxyd }}
name
:
Publish proxyd Version ${{ needs.release.outputs.proxyd }}
needs
:
release
needs
:
release
...
...
ops/docker/Dockerfile.packages
View file @
fc290be8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# be used to build any of the follow-on services
# be used to build any of the follow-on services
#
#
# ### BASE: Install deps
# ### BASE: Install deps
FROM
ghcr.io/foundry-rs
/foundry:latest as foundry
FROM
ethereumoptimism
/foundry:latest as foundry
FROM node:16-alpine3.14 as base
FROM node:16-alpine3.14 as base
RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash build-base
RUN apk --no-cache add curl jq python3 ca-certificates git make gcc musl-dev linux-headers bash build-base
...
...
ops/docker/ci-builder/Dockerfile
View file @
fc290be8
FROM
ethereum/client-go:alltools-v1.10.17 as geth
FROM
ethereum/client-go:alltools-v1.10.17 as geth
FROM
ghcr.io/foundry-rs/foundry:nightly
as foundry
FROM
ethereumoptimism/foundry:latest
as foundry
FROM
python:3.8.12-slim-buster
FROM
python:3.8.12-slim-buster
...
...
ops/docker/foundry/Dockerfile
0 → 100644
View file @
fc290be8
from
alpine as build-environment
WORKDIR
/opt
RUN
apk add clang lld curl build-base linux-headers git
\
&&
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
>
rustup.sh
\
&&
chmod
+x ./rustup.sh
\
&&
./rustup.sh
-y
WORKDIR
/opt/foundry
# Only diff from upstream docker image is this clone instead
# of COPY. We select a specific commit to use.
RUN
git clone https://github.com/foundry-rs/foundry.git
.
\
&&
git checkout b7b1ec471bdd38221773e1a569dc4f20297bd7db
RUN
source
$HOME
/.profile
&&
cargo build
--release
\
&&
strip /opt/foundry/target/release/forge
\
&&
strip /opt/foundry/target/release/cast
\
&&
strip /opt/foundry/target/release/anvil
from
alpine as foundry-client
ENV
GLIBC_KEY=https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
ENV
GLIBC_KEY_FILE=/etc/apk/keys/sgerrand.rsa.pub
ENV
GLIBC_RELEASE=https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk
RUN
apk add linux-headers gcompat
RUN
wget
-q
-O
${
GLIBC_KEY_FILE
}
${
GLIBC_KEY
}
\
&&
wget
-O
glibc.apk
${
GLIBC_RELEASE
}
\
&&
apk add glibc.apk
--force
COPY
--from=build-environment /opt/foundry/target/release/forge /usr/local/bin/forge
COPY
--from=build-environment /opt/foundry/target/release/cast /usr/local/bin/cast
COPY
--from=build-environment /opt/foundry/target/release/anvil /usr/local/bin/anvil
ENTRYPOINT
["/bin/sh", "-c"]
ops/docker/foundry/package.json
0 → 100644
View file @
fc290be8
{
"name"
:
"@eth-optimism/foundry"
,
"version"
:
"0.0.0"
,
"scripts"
:
{},
"license"
:
"MIT"
,
"dependencies"
:
{}
}
package.json
View file @
fc290be8
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
"ops/docker/go-builder"
,
"ops/docker/go-builder"
,
"ops/docker/js-builder"
,
"ops/docker/js-builder"
,
"ops/docker/ci-builder"
,
"ops/docker/ci-builder"
,
"ops/docker/foundry"
,
"proxyd"
,
"proxyd"
,
"teleportr"
"teleportr"
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment