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
93f08be0
Commit
93f08be0
authored
Apr 18, 2023
by
Will Cory
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Revert prettier changes in circle config
parent
6c87ec92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
84 deletions
+85
-84
config.yml
.circleci/config.yml
+85
-84
No files found.
.circleci/config.yml
View file @
93f08be0
...
...
@@ -5,7 +5,7 @@ orbs:
gcp-cli
:
circleci/gcp-cli@3.0.1
commands
:
gcp-oidc-authenticate
:
description
:
'
Authenticate
with
GCP
using
a
CircleCI
OIDC
token.'
description
:
"
Authenticate
with
GCP
using
a
CircleCI
OIDC
token."
parameters
:
project_id
:
type
:
env_var_name
...
...
@@ -27,7 +27,7 @@ commands:
default
:
/home/circleci/oidc_token.json
steps
:
-
run
:
name
:
'
Create
OIDC
credential
configuration'
name
:
"
Create
OIDC
credential
configuration"
command
:
|
# Store OIDC token in temp file
echo $CIRCLE_OIDC_TOKEN > << parameters.oidc_token_file_path >>
...
...
@@ -38,21 +38,21 @@ commands:
--service-account="${<< parameters.service_account_email >>}" \
--credential-source-file=<< parameters.oidc_token_file_path >>
-
run
:
name
:
'
Authenticate
with
GCP
using
OIDC'
name
:
"
Authenticate
with
GCP
using
OIDC"
command
:
|
# Configure gcloud to leverage the generated credential configuration
gcloud auth login --brief --cred-file "<< parameters.gcp_cred_config_file_path >>"
# Configure ADC
echo "export GOOGLE_APPLICATION_CREDENTIALS='<< parameters.gcp_cred_config_file_path >>'" | tee -a "$BASH_ENV"
check-changed
:
description
:
'
Conditionally
halts
a
step
if
certain
modules
change'
description
:
"
Conditionally
halts
a
step
if
certain
modules
change"
parameters
:
patterns
:
type
:
string
description
:
'
Comma-separated
list
of
dependencies'
description
:
"
Comma-separated
list
of
dependencies"
steps
:
-
run
:
name
:
'
Check
for
changes'
name
:
"
Check
for
changes"
command
:
|
cd ops/check-changed
pip3 install -r requirements.txt
...
...
@@ -77,26 +77,26 @@ jobs:
name
:
Save Yarn Package Cache
key
:
yarn-packages-v2-{{ checksum "yarn.lock" }}
paths
:
-
'
node_modules'
-
'
packages/actor-tests/node_modules'
-
'
packages/atst/node_modules'
-
'
packages/balance-monitor/node_modules'
-
'
packages/chain-mon/node_modules'
-
'
packages/common-ts/node_modules'
-
'
packages/contracts/node_modules'
-
'
packages/contracts-bedrock/node_modules'
-
'
packages/contracts-governance/node_modules'
-
'
packages/contracts-periphery/node_modules'
-
'
packages/core-utils/node_modules'
-
'
packages/data-transport-layer/node_modules'
-
'
packages/drippie-mon/node_modules'
-
'
packages/fault-detector/node_modules'
-
'
packages/hardhat-deploy-config/node_modules'
-
'
packages/integration-tests-bedrock/node_modules'
-
'
packages/message-relayer/node_modules'
-
'
packages/migration-data/node_modules'
-
'
packages/replica-healthcheck/node_modules'
-
'
packages/sdk/node_modules'
-
"
node_modules"
-
"
packages/actor-tests/node_modules"
-
"
packages/atst/node_modules"
-
"
packages/balance-monitor/node_modules"
-
"
packages/chain-mon/node_modules"
-
"
packages/common-ts/node_modules"
-
"
packages/contracts/node_modules"
-
"
packages/contracts-bedrock/node_modules"
-
"
packages/contracts-governance/node_modules"
-
"
packages/contracts-periphery/node_modules"
-
"
packages/core-utils/node_modules"
-
"
packages/data-transport-layer/node_modules"
-
"
packages/drippie-mon/node_modules"
-
"
packages/fault-detector/node_modules"
-
"
packages/hardhat-deploy-config/node_modules"
-
"
packages/integration-tests-bedrock/node_modules"
-
"
packages/message-relayer/node_modules"
-
"
packages/migration-data/node_modules"
-
"
packages/replica-healthcheck/node_modules"
-
"
packages/sdk/node_modules"
-
run
:
name
:
print forge version
command
:
forge --version
...
...
@@ -104,17 +104,17 @@ jobs:
name
:
Build monorepo
command
:
yarn build
-
persist_to_workspace
:
root
:
'
.'
root
:
"
."
paths
:
-
'
packages/*/dist'
-
'
packages/*/artifacts'
-
'
packages/contracts/src/contract-artifacts.ts'
-
'
packages/contracts/src/contract-deployed-artifacts.ts'
-
'
packages/contracts/chugsplash'
-
'
packages/contracts/L1'
-
'
packages/contracts/L2'
-
'
packages/contracts/libraries'
-
'
packages/contracts/standards'
-
"
packages/*/dist"
-
"
packages/*/artifacts"
-
"
packages/contracts/src/contract-artifacts.ts"
-
"
packages/contracts/src/contract-deployed-artifacts.ts"
-
"
packages/contracts/chugsplash"
-
"
packages/contracts/L1"
-
"
packages/contracts/L2"
-
"
packages/contracts/libraries"
-
"
packages/contracts/standards"
docker-build
:
environment
:
...
...
@@ -135,11 +135,11 @@ jobs:
registry
:
description
:
Docker registry
type
:
string
default
:
'
us-docker.pkg.dev'
default
:
"
us-docker.pkg.dev"
repo
:
description
:
Docker repo
type
:
string
default
:
'
oplabs-tools-artifacts/images'
default
:
"
oplabs-tools-artifacts/images"
machine
:
image
:
ubuntu-2204:2022.07.1
resource_class
:
medium
...
...
@@ -170,7 +170,7 @@ jobs:
-
persist_to_workspace
:
root
:
/tmp/docker_images
paths
:
-
'
.'
-
"
."
docker-publish
:
environment
:
...
...
@@ -188,23 +188,23 @@ jobs:
docker_context
:
description
:
Docker build context
type
:
string
default
:
'
.'
default
:
"
."
docker_target
:
description
:
'
target
build
stage'
description
:
"
target
build
stage"
type
:
string
default
:
'
'
default
:
"
"
registry
:
description
:
Docker registry
type
:
string
default
:
'
us-docker.pkg.dev'
default
:
"
us-docker.pkg.dev"
repo
:
description
:
Docker repo
type
:
string
default
:
'
oplabs-tools-artifacts/images'
default
:
"
oplabs-tools-artifacts/images"
platforms
:
description
:
Platforms to build for
type
:
string
default
:
'
linux/amd64'
default
:
"
linux/amd64"
machine
:
image
:
ubuntu-2204:2022.07.1
resource_class
:
medium
...
...
@@ -250,15 +250,15 @@ jobs:
registry
:
description
:
Docker registry
type
:
string
default
:
'
us-docker.pkg.dev'
default
:
"
us-docker.pkg.dev"
repo
:
description
:
Docker repo
type
:
string
default
:
'
oplabs-tools-artifacts/images'
default
:
"
oplabs-tools-artifacts/images"
platforms
:
description
:
Platforms to build for
type
:
string
default
:
'
linux/amd64'
default
:
"
linux/amd64"
machine
:
image
:
ubuntu-2204:2022.07.1
resource_class
:
medium
...
...
@@ -344,7 +344,7 @@ jobs:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -405,7 +405,7 @@ jobs:
resource_class
:
large
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -424,7 +424,7 @@ jobs:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -441,7 +441,7 @@ jobs:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
check-changed
:
patterns
:
contracts-bedrock,contracts
-
run
:
...
...
@@ -451,7 +451,7 @@ jobs:
-
persist_to_workspace
:
root
:
.
paths
:
-
'
node_modules'
-
"
node_modules"
-
packages/contracts-bedrock
bedrock-echidna-run
:
...
...
@@ -468,7 +468,7 @@ jobs:
resource_class
:
<<parameters.size>>
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -487,7 +487,7 @@ jobs:
resource_class
:
medium
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -516,7 +516,7 @@ jobs:
resource_class
:
large
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -581,6 +581,7 @@ jobs:
VITE_E2E_RPC_URL_L1
:
http://localhost:8545
VITE_E2E_RPC_URL_L2
:
http://localhost:9545
bedrock-markdown
:
machine
:
image
:
ubuntu-2204:2022.07.1
...
...
@@ -619,7 +620,7 @@ jobs:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
attach_workspace
:
{
at
:
'
.'
}
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore Yarn Package Cache
keys
:
...
...
@@ -765,7 +766,7 @@ jobs:
working_directory
:
<<parameters.working_directory>>
-
when
:
condition
:
equal
:
[
true
,
<<parameters.build>>
]
equal
:
[
true
,
<<parameters.build>>
]
steps
:
-
run
:
name
:
Build
...
...
@@ -821,7 +822,7 @@ jobs:
-
when
:
condition
:
and
:
-
equal
:
[
true
,
<<parameters.deploy>>
]
-
equal
:
[
true
,
<<parameters.deploy>>
]
steps
:
-
run
:
name
:
Bring up the stack
...
...
@@ -871,7 +872,7 @@ jobs:
-
when
:
condition
:
and
:
-
equal
:
[
false
,
<<parameters.deploy>>
]
-
equal
:
[
false
,
<<parameters.deploy>>
]
steps
:
-
run
:
name
:
Bring up the stack
...
...
@@ -974,22 +975,22 @@ jobs:
-
checkout
-
unless
:
condition
:
equal
:
[
'
develop'
,
<< pipeline.git.branch >>
]
equal
:
[
"
develop"
,
<< pipeline.git.branch >>
]
steps
:
-
run
:
# Scan changed files in PRs, block on new issues only (existing issues ignored)
# Do a full scan when scanning develop, otherwise do an incremental scan.
name
:
'
Conditionally
set
BASELINE
env
var'
name
:
"
Conditionally
set
BASELINE
env
var"
command
:
|
echo 'export SEMGREP_BASELINE_REF=${TEMPORARY_BASELINE_REF}' >> $BASH_ENV
-
run
:
name
:
'
Set
environment
variables'
# for PR comments and in-app hyperlinks to findings
name
:
"
Set
environment
variables"
# for PR comments and in-app hyperlinks to findings
command
:
|
echo 'export SEMGREP_PR_ID=${CIRCLE_PULL_REQUEST##*/}' >> $BASH_ENV
echo 'export SEMGREP_JOB_URL=$CIRCLE_BUILD_URL' >> $BASH_ENV
echo 'export SEMGREP_REPO_NAME=$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME' >> $BASH_ENV
-
run
:
name
:
'
Semgrep
scan'
name
:
"
Semgrep
scan"
command
:
semgrep ci
go-mod-tidy
:
...
...
@@ -998,7 +999,7 @@ jobs:
steps
:
-
checkout
-
run
:
name
:
'
Go
mod
tidy'
name
:
"
Go
mod
tidy"
command
:
make mod-tidy && git diff --exit-code
hive-test
:
...
...
@@ -1026,7 +1027,7 @@ jobs:
-
go/load-cache
-
go/mod-download
-
go/save-cache
-
run
:
{
command
:
'
go
build
.'
}
-
run
:
{
command
:
"
go
build
."
}
-
run
:
command
:
|
./hive \
...
...
@@ -1036,7 +1037,7 @@ jobs:
-
run
:
command
:
|
tar -cvf /tmp/workspace.tgz -C /home/circleci/project /home/circleci/project/workspace
name
:
'
Archive
workspace'
name
:
"
Archive
workspace"
-
store_artifacts
:
path
:
/tmp/workspace.tgz
destination
:
hive-workspace.tgz
...
...
@@ -1095,49 +1096,49 @@ workflows:
name
:
actor-tests-tests
coverage_flag
:
actor-tests-tests
package_name
:
actor-tests
dependencies
:
'
(core-utils|sdk)'
dependencies
:
"
(core-utils|sdk)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
contracts-periphery-tests
coverage_flag
:
contracts-periphery-tests
package_name
:
contracts-periphery
dependencies
:
'
(contracts|contracts-bedrock|core-utils|hardhat-deploy-config)'
dependencies
:
"
(contracts|contracts-bedrock|core-utils|hardhat-deploy-config)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
dtl-tests
coverage_flag
:
dtl-tests
package_name
:
data-transport-layer
dependencies
:
'
(common-ts|contracts|core-utils)'
dependencies
:
"
(common-ts|contracts|core-utils)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
chain-mon-tests
coverage_flag
:
chain-mon-tests
package_name
:
chain-mon
dependencies
:
'
(common-ts|contracts-periphery|core-utils|sdk)'
dependencies
:
"
(common-ts|contracts-periphery|core-utils|sdk)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
fault-detector-tests
coverage_flag
:
fault-detector-tests
package_name
:
fault-detector
dependencies
:
'
(common-ts|contracts|core-utils|sdk)'
dependencies
:
"
(common-ts|contracts|core-utils|sdk)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
message-relayer-tests
coverage_flag
:
message-relayer-tests
package_name
:
message-relayer
dependencies
:
'
(common-ts|core-utils|sdk)'
dependencies
:
"
(common-ts|core-utils|sdk)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
name
:
replica-healthcheck-tests
coverage_flag
:
replica-healthcheck-tests
package_name
:
replica-healthcheck
dependencies
:
'
(common-ts|core-utils)'
dependencies
:
"
(common-ts|core-utils)"
requires
:
-
yarn-monorepo
-
sdk-next-tests
:
...
...
@@ -1148,7 +1149,7 @@ workflows:
name
:
sdk-tests
coverage_flag
:
sdk-tests
package_name
:
sdk
dependencies
:
'
(contracts|core-utils)'
dependencies
:
"
(contracts|core-utils)"
requires
:
-
yarn-monorepo
-
js-lint-test
:
...
...
@@ -1251,11 +1252,11 @@ workflows:
-
go-e2e-test
:
name
:
op-e2e-WS-tests
module
:
op-e2e
use_http
:
'
false'
use_http
:
"
false"
-
go-e2e-test
:
name
:
op-e2e-HTTP-tests
module
:
op-e2e
use_http
:
'
true'
use_http
:
"
true"
-
bedrock-go-tests
:
requires
:
-
op-batcher-lint
...
...
@@ -1288,7 +1289,7 @@ workflows:
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
-
oplabs-gcr
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
-
docker-build
:
name
:
op-batcher-docker-build
docker_file
:
op-batcher/Dockerfile
...
...
@@ -1302,7 +1303,7 @@ workflows:
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
-
oplabs-gcr
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
-
docker-build
:
name
:
op-proposer-docker-build
docker_file
:
op-proposer/Dockerfile
...
...
@@ -1316,7 +1317,7 @@ workflows:
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
-
oplabs-gcr
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
-
docker-build
:
name
:
op-heartbeat-docker-build
docker_file
:
op-heartbeat/Dockerfile
...
...
@@ -1395,7 +1396,7 @@ workflows:
docker_name
:
op-node
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
context
:
-
oplabs-gcr-release
requires
:
...
...
@@ -1411,7 +1412,7 @@ workflows:
docker_name
:
op-batcher
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
context
:
-
oplabs-gcr-release
requires
:
...
...
@@ -1427,7 +1428,7 @@ workflows:
docker_name
:
op-proposer
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
platforms
:
'
linux/amd64,linux/arm64'
platforms
:
"
linux/amd64,linux/arm64"
context
:
-
oplabs-gcr-release
requires
:
...
...
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