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
3dee2651
Unverified
Commit
3dee2651
authored
Mar 27, 2022
by
Matthew Slipper
Committed by
GitHub
Mar 27, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2372 from mslipper/feat/remove-actions-ci
ci: Remove GH actions CI builds
parents
6a839b18
4d5a0ef5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
0 additions
and
682 deletions
+0
-682
batch-submitter.yml
.github/workflows/batch-submitter.yml
+0
-38
bss-core.yml
.github/workflows/bss-core.yml
+0
-35
gas-oracle.yml
.github/workflows/gas-oracle.yml
+0
-38
geth.yml
.github/workflows/geth.yml
+0
-53
golangci-lint.yml
.github/workflows/golangci-lint.yml
+0
-42
indexer.yml
.github/workflows/indexer.yml
+0
-38
integration.yml
.github/workflows/integration.yml
+0
-78
proxyd.yml
.github/workflows/proxyd.yml
+0
-37
static-analysis.yml
.github/workflows/static-analysis.yml
+0
-61
teleportr.yml
.github/workflows/teleportr.yml
+0
-42
ts-packages.yml
.github/workflows/ts-packages.yml
+0
-220
No files found.
.github/workflows/batch-submitter.yml
deleted
100644 → 0
View file @
6a839b18
name
:
batch-submitter unit tests
on
:
push
:
paths
:
-
'
go/batch-submitter/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
'
./go/batch-submitter'
jobs
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Install
run
:
make
-
name
:
Test
run
:
make test
.github/workflows/bss-core.yml
deleted
100644 → 0
View file @
6a839b18
name
:
bss-core unit tests
on
:
push
:
paths
:
-
'
go/bss-core/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
'
./go/bss-core'
jobs
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Test
run
:
go test -v ./...
.github/workflows/gas-oracle.yml
deleted
100644 → 0
View file @
6a839b18
name
:
gas-oracle unit tests
on
:
push
:
paths
:
-
'
go/gas-oracle/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
./go/gas-oracle
jobs
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Install
run
:
make
-
name
:
Test
run
:
make test
.github/workflows/geth.yml
deleted
100644 → 0
View file @
6a839b18
name
:
geth unit tests
on
:
push
:
paths
:
-
'
l2geth/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
paths
:
-
'
l2geth/**'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
./l2geth
jobs
:
lint
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.15.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Lint
run
:
make lint
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.15.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Install
run
:
make
-
name
:
Test
run
:
make test
.github/workflows/golangci-lint.yml
deleted
100644 → 0
View file @
6a839b18
name
:
golangci-lint
on
:
push
:
paths
:
-
'
go/gas-oracle/**'
-
'
go/batch-submitter/**'
-
'
go/bss-core/**'
-
'
go/teleportr/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
jobs
:
golangci
:
name
:
lint
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
golangci-lint gas-oracle
uses
:
golangci/golangci-lint-action@v2
with
:
version
:
v1.29
working-directory
:
go/gas-oracle
-
name
:
golangci-lint batch-submitter
uses
:
golangci/golangci-lint-action@v2
with
:
version
:
v1.29
working-directory
:
go/batch-submitter
-
name
:
golangci-lint bss-core
uses
:
golangci/golangci-lint-action@v2
with
:
version
:
v1.29
working-directory
:
go/bss-core
-
name
:
golangci-lint teleportr
uses
:
golangci/golangci-lint-action@v2
with
:
version
:
v1.29
working-directory
:
go/teleportr
.github/workflows/indexer.yml
deleted
100644 → 0
View file @
6a839b18
name
:
indexer unit tests
on
:
push
:
paths
:
-
'
go/indexer/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
'
./go/indexer'
jobs
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Install
run
:
make
-
name
:
Test
run
:
make test
.github/workflows/integration.yml
deleted
100644 → 0
View file @
6a839b18
name
:
integration
on
:
push
:
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
workflow_dispatch
:
jobs
:
integration
:
runs-on
:
ubuntu-latest
services
:
registry
:
image
:
registry:2
ports
:
-
5000:5000
strategy
:
matrix
:
batch-type
:
-
zlib
-
legacy
env
:
DOCKER_BUILDKIT
:
1
COMPOSE_DOCKER_CLI_BUILD
:
1
steps
:
# Monorepo tests
-
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-
-
name
:
Set conditional env vars
run
:
|
echo "BATCH_SUBMITTER_SEQUENCER_BATCH_TYPE=${{ matrix.batch-type }}" >> $GITHUB_ENV
-
name
:
Bring the stack up
working-directory
:
./ops
run
:
|
./scripts/stats.sh &
docker-compose -f docker-compose.yml up -d --scale replica_healthcheck=1
-
name
:
Wait for the Sequencer node
working-directory
:
./ops
run
:
./scripts/wait-for-sequencer.sh
-
name
:
Run the integration tests
working-directory
:
./ops
run
:
docker-compose run integration_tests
-
name
:
Collect docker logs on failure
if
:
failure()
uses
:
jwalton/gh-docker-logs@v1
with
:
dest
:
'
/home/runner/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
.github/workflows/proxyd.yml
deleted
100644 → 0
View file @
6a839b18
name
:
proxyd unit tests
on
:
push
:
branches
:
-
'
master'
-
'
develop'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
./go/proxyd
jobs
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.15.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Build
run
:
make proxyd
-
name
:
Lint
run
:
make lint
-
name
:
Test
run
:
make test
.github/workflows/static-analysis.yml
deleted
100644 → 0
View file @
6a839b18
name
:
Static analysis
on
:
push
:
branches
:
-
master
-
develop
pull_request
:
workflow_dispatch
:
env
:
PYTEST_ADDOPTS
:
"
--color=yes"
jobs
:
slither
:
name
:
Slither run
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Fetch history
run
:
git fetch
-
name
:
Setup node
uses
:
actions/setup-node@v1
with
:
node-version
:
'
16.x'
-
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-
-
name
:
Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run
:
yarn install
-
name
:
Build
run
:
yarn build
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.8'
-
name
:
Install Slither
run
:
pip3 install slither-analyzer
-
name
:
Run analysis
working-directory
:
./packages/contracts
shell
:
bash
run
:
yarn test:slither
continue-on-error
:
false
.github/workflows/teleportr.yml
deleted
100644 → 0
View file @
6a839b18
name
:
teleportr unit tests
on
:
push
:
paths
:
-
'
go/teleportr/**'
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
branches
:
-
'
*'
workflow_dispatch
:
defaults
:
run
:
working-directory
:
'
./go/teleportr'
jobs
:
tests
:
runs-on
:
ubuntu-latest
services
:
postgres
:
image
:
postgres
env
:
POSTGRES_USER
:
postgres
POSTGRES_PASSWORD
:
password
ports
:
-
5432:5432
steps
:
-
name
:
Install Go
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16.x
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Test
run
:
go test -v ./...
.github/workflows/ts-packages.yml
deleted
100644 → 0
View file @
6a839b18
name
:
typescript / contracts
on
:
push
:
branches
:
-
'
master'
-
'
develop'
-
'
*rc'
-
'
release/*'
pull_request
:
workflow_dispatch
:
jobs
:
test
:
name
:
Run unit tests
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Fetch history
run
:
git fetch
-
name
:
Setup node
uses
:
actions/setup-node@v1
with
:
node-version
:
'
16.x'
-
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-
-
name
:
Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run
:
yarn install
-
name
:
Check yarn.lock for changes
run
:
git diff --exit-code
-
name
:
Build
run
:
yarn build
-
name
:
Test
run
:
yarn test
env
:
FORCE_COLOR
:
1
ENABLE_GAS_REPORT
:
1
-
name
:
Print gas report
run
:
cat packages/contracts/gas-report.txt
-
name
:
Run codechecks
working-directory
:
./packages/contracts
run
:
yarn codechecks
env
:
CC_SECRET
:
${{ secrets.CC_SECRET }}
test-coverage
:
name
:
Generate test coverage
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Fetch history
run
:
git fetch
-
name
:
Setup node
uses
:
actions/setup-node@v1
with
:
node-version
:
'
16.x'
-
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-
-
name
:
Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run
:
yarn install
-
name
:
Build
run
:
yarn build
-
name
:
Test Coverage
run
:
yarn test:coverage
-
uses
:
codecov/codecov-action@v1
with
:
files
:
./packages/contracts/coverage.json
fail_ci_if_error
:
true
verbose
:
true
flags
:
contracts
-
uses
:
codecov/codecov-action@v1
with
:
files
:
./packages/core-utils/coverage.json
fail_ci_if_error
:
false
verbose
:
true
flags
:
core-utils
-
uses
:
codecov/codecov-action@v1
with
:
files
:
./packages/data-transport-layer/coverage.json
fail_ci_if_error
:
false
verbose
:
true
flags
:
data-transport-layer
-
uses
:
codecov/codecov-action@v1
with
:
files
:
./packages/message-relayer/coverage.json
fail_ci_if_error
:
false
verbose
:
true
flags
:
message-relayer
-
uses
:
codecov/codecov-action@v1
with
:
files
:
./packages/sdk/coverage.json
fail_ci_if_error
:
false
verbose
:
true
flags
:
sdk
depcheck
:
name
:
Check for unused dependencies
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Fetch history
run
:
git fetch
-
name
:
Setup node
uses
:
actions/setup-node@v1
with
:
node-version
:
'
16.x'
-
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-
-
name
:
Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run
:
yarn install
-
name
:
Check packages/contracts
working-directory
:
./packages/contracts
run
:
npx depcheck
-
name
:
Check packages/core-utils
working-directory
:
./packages/core-utils
run
:
npx depcheck
-
name
:
Check packages/data-transport-layer
working-directory
:
./packages/data-transport-layer
run
:
npx depcheck
-
name
:
Check packages/message-relayer
working-directory
:
./packages/message-relayer
run
:
npx depcheck
-
name
:
Check packages/sdk
working-directory
:
./packages/sdk
run
:
npx depcheck
-
name
:
Check integration-tests
working-directory
:
./integration-tests
run
:
npx depcheck
lint
:
name
:
Linting
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Fetch history
run
:
git fetch
-
uses
:
actions/setup-node@v1
with
:
node-version
:
'
16.x'
-
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-
-
name
:
Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run
:
yarn install
-
name
:
Lint
run
:
yarn lint:check
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