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
c9e38c1a
Unverified
Commit
c9e38c1a
authored
Nov 29, 2022
by
Maurelian
Committed by
GitHub
Nov 29, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4101 from ethereum-optimism/11-28-ci_Remove_unused_workflows
parents
66dbe4a8
9687770b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
172 deletions
+0
-172
ext-test-snx.yml
.github/workflows/ext-test-snx.yml
+0
-91
sync-tests.yml
.github/workflows/sync-tests.yml
+0
-81
No files found.
.github/workflows/ext-test-snx.yml
deleted
100644 → 0
View file @
66dbe4a8
name
:
Exteral Tests (Synthetix)
on
:
schedule
:
# run these tests once per day
-
cron
:
'
0
0
*
*
*'
jobs
:
integration
:
runs-on
:
ubuntu-latest
services
:
registry
:
image
:
registry:2
ports
:
-
5000:5000
env
:
DOCKER_BUILDKIT
:
1
COMPOSE_DOCKER_CLI_BUILD
:
1
steps
:
-
uses
:
actions/checkout@v2
# Required for some installation in the SNX repo
-
uses
:
webfactory/ssh-agent@v0.4.1
with
:
ssh-private-key
:
${{ secrets.SSH_PRIVATE_KEY_READ }}
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
uses
:
actions/cache@v2
name
:
Set up layer cache
with
:
path
:
/tmp/.buildx-cache
key
:
${{ runner.os }}-buildx-1-${{ github.sha }}
restore-keys
:
|
${{ runner.os }}-buildx-1-
-
uses
:
docker/setup-buildx-action@master
name
:
Set up Docker Buildx
id
:
buildx
with
:
version
:
latest
driver-opts
:
image=moby/buildkit:master,network=host
-
name
:
Build the services
run
:
./ops/scripts/build-ci.sh
-
name
:
Bring the stack up
working-directory
:
./ops
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 SNX test suite
working-directory
:
./integration-tests
run
:
./ext-test/snx.sh
-
name
:
Collect docker logs on failure
if
:
failure()
uses
:
jwalton/gh-docker-logs@v1
with
:
dest
:
'
~/logs'
-
name
:
Tar logs
if
:
failure()
run
:
tar cvzf ./logs.tgz ~/logs
-
name
:
Upload logs to GitHub
if
:
failure()
uses
:
actions/upload-artifact@master
with
:
name
:
logs.tgz
path
:
./logs.tgz
-
name
:
Move cache
run
:
|
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
.github/workflows/sync-tests.yml
deleted
100644 → 0
View file @
66dbe4a8
name
:
sync-tests
on
:
workflow_dispatch
jobs
:
integration-sync-test
:
runs-on
:
ubuntu-latest
services
:
registry
:
image
:
registry:2
ports
:
-
5000:5000
env
:
DOCKER_BUILDKIT
:
1
COMPOSE_DOCKER_CLI_BUILD
:
1
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
uses
:
actions/cache@v2
name
:
Set up layer cache
with
:
path
:
/tmp/.buildx-cache
key
:
${{ runner.os }}-buildx-1-${{ github.sha }}
restore-keys
:
|
${{ runner.os }}-buildx-1-
-
uses
:
docker/setup-buildx-action@master
name
:
Set up Docker Buildx
id
:
buildx
with
:
version
:
latest
driver-opts
:
image=moby/buildkit:master,network=host
-
name
:
Build the services
run
:
./ops/scripts/build-ci.sh
-
name
:
Bring the stack up
working-directory
:
./ops
run
:
docker-compose up -d && ./scripts/wait-for-sequencer.sh
-
name
:
Run the sync tests
working-directory
:
./integration-tests
run
:
|
yarn --frozen-lockfile
yarn build
yarn test:sync
-
name
:
Collect docker logs on failure
if
:
failure()
uses
:
jwalton/gh-docker-logs@v1
with
:
images
:
'
ethereumoptimism/hardhat-node,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth'
dest
:
'
./logs'
-
name
:
Tar logs
if
:
failure()
run
:
tar cvzf ./logs.tgz ./logs
-
name
:
Upload logs to GitHub
if
:
failure()
uses
:
actions/upload-artifact@master
with
:
name
:
logs.tgz
path
:
./logs.tgz
-
name
:
Move cache
run
:
|
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
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