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
27d6f449
Unverified
Commit
27d6f449
authored
Jun 30, 2023
by
inphi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Fix ci-builder
parent
ab15393d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
14 deletions
+9
-14
config.yml
.circleci/config.yml
+1
-1
Dockerfile
ops/docker/ci-builder/Dockerfile
+8
-13
No files found.
.circleci/config.yml
View file @
27d6f449
...
@@ -1630,7 +1630,7 @@ workflows:
...
@@ -1630,7 +1630,7 @@ workflows:
docker_file
:
./ops/docker/ci-builder/Dockerfile
docker_file
:
./ops/docker/ci-builder/Dockerfile
docker_name
:
ci-builder
docker_name
:
ci-builder
docker_tags
:
<<pipeline.git.revision>>,latest
docker_tags
:
<<pipeline.git.revision>>,latest
docker_context
:
.
/ops/docker/ci-builder
docker_context
:
.
context
:
context
:
-
oplabs-gcr
-
oplabs-gcr
requires
:
requires
:
...
...
ops/docker/ci-builder/Dockerfile
View file @
27d6f449
...
@@ -11,14 +11,14 @@ RUN apt-get update && \
...
@@ -11,14 +11,14 @@ RUN apt-get update && \
chmod
+x ./rustup.sh
&&
\
chmod
+x ./rustup.sh
&&
\
./rustup.sh
-y
./rustup.sh
-y
# move the foundryrc file to the foundry dir
COPY
./.foundryrc ./.foundryrc
WORKDIR
/opt/foundry
COPY
../../.foundryrc ./.foundryrc
# Only diff from upstream docker image is this clone instead
# Only diff from upstream docker image is this clone instead
# of COPY. We select a specific commit to use.
# of COPY. We select a specific commit to use.
RUN
git clone https://github.com/foundry-rs/foundry.git
.
\
RUN
git clone https://github.com/foundry-rs/foundry.git ./foundry
\
&&
git checkout
$(
cat
.foundryrc
)
&&
cd
foundry
&&
git checkout
$(
cat
../.foundryrc
)
WORKDIR
/opt/foundry
RUN
source
$HOME
/.profile
&&
\
RUN
source
$HOME
/.profile
&&
\
cargo build
--release
&&
\
cargo build
--release
&&
\
...
@@ -54,14 +54,9 @@ RUN apt-get update && \
...
@@ -54,14 +54,9 @@ RUN apt-get update && \
pip
install
slither-analyzer
==
0.9.3
&&
\
pip
install
slither-analyzer
==
0.9.3
&&
\
go
install
gotest.tools/gotestsum@latest
&&
\
go
install
gotest.tools/gotestsum@latest
&&
\
curl
-sSfL
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh
-s
--
-b
$(
go
env
GOPATH
)
/bin v1.48.0
&&
\
curl
-sSfL
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh
-s
--
-b
$(
go
env
GOPATH
)
/bin v1.48.0
&&
\
curl
-fLSs
https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
&&
curl
-fLSs
https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
chmox +x /usr/local/bin/check-changed
RUN
echo
"downloading pnpm"
&&
npm i
-g
pnpm
RUN
echo
"downloading pnpm"
&&
\
curl
-o
/pnpm-install.sh
-L
https://get.pnpm.io/install.sh
&&
\
chmod
+x /pnpm-install.sh
&&
\
/pnpm-install.sh
&&
\
rm
/pnpm-install.sh
RUN
echo
"downloading solidity compilers"
&&
\
RUN
echo
"downloading solidity compilers"
&&
\
curl
-o
solc-linux-amd64-v0.5.17+commit.d19bba13
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.5.17+commit.d19bba13
&&
\
curl
-o
solc-linux-amd64-v0.5.17+commit.d19bba13
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.5.17+commit.d19bba13
&&
\
...
...
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