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
1f8661e0
Unverified
Commit
1f8661e0
authored
Jul 02, 2021
by
Kelvin Fichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update CI to avoid running out of memory
parent
dfa256d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
integration.yml
.github/workflows/integration.yml
+9
-3
stats.sh
ops/scripts/stats.sh
+18
-0
No files found.
.github/workflows/integration.yml
View file @
1f8661e0
...
@@ -38,7 +38,13 @@ jobs:
...
@@ -38,7 +38,13 @@ jobs:
-
name
:
Bring the stack up
-
name
:
Bring the stack up
working-directory
:
./ops
working-directory
:
./ops
run
:
docker-compose up -d
run
:
|
./scripts/stats.sh &
docker-compose up -d
-
name
:
Wait for the Sequencer node
working-directory
:
./ops
run
:
./scripts/wait-for-sequencer.sh
-
name
:
Run the integration tests
-
name
:
Run the integration tests
working-directory
:
./ops
working-directory
:
./ops
...
@@ -99,11 +105,11 @@ jobs:
...
@@ -99,11 +105,11 @@ jobs:
uses
:
jwalton/gh-docker-logs@v1
uses
:
jwalton/gh-docker-logs@v1
with
:
with
:
images
:
'
ethereumoptimism/builder,ethereumoptimism/hardhat,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth,ethereumoptimism/integration-tests'
images
:
'
ethereumoptimism/builder,ethereumoptimism/hardhat,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth,ethereumoptimism/integration-tests'
dest
:
'
.
/logs'
dest
:
'
~
/logs'
-
name
:
Tar logs
-
name
:
Tar logs
if
:
failure()
if
:
failure()
run
:
tar cvzf ./logs.tgz
.
/logs
run
:
tar cvzf ./logs.tgz
~
/logs
-
name
:
Upload logs to GitHub
-
name
:
Upload logs to GitHub
if
:
failure()
if
:
failure()
...
...
ops/scripts/stats.sh
0 → 100755
View file @
1f8661e0
#!/bin/bash
# set up the stats file
mkdir
~/logs
touch
~/logs/stats.txt
while
true
;
do
{
echo
"
$(
date
)
----------------"
;
echo
"total memory usage --------------------------"
;
free
-m
;
echo
"docker stats --------------------------------"
;
docker stats
--no-stream
;
echo
"memory munchers -----------------------------"
;
ps aux
--sort
=
-%mem |
head
;
}
>>
~/logs/stats.txt
sleep
1
;
done
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