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
4677d4a3
Unverified
Commit
4677d4a3
authored
Dec 07, 2023
by
F-WRunTime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrong path to kontrorc file. Remove version from circle config
parent
e5223efe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
package.json
packages/contracts-bedrock/package.json
+1
-1
run-kontrol.sh
...ges/contracts-bedrock/test/kontrol/kontrol/run-kontrol.sh
+5
-6
No files found.
packages/contracts-bedrock/package.json
View file @
4677d4a3
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
"build:go-ffi"
:
"(cd scripts/go-ffi && go build)"
,
"build:go-ffi"
:
"(cd scripts/go-ffi && go build)"
,
"autogen:invariant-docs"
:
"npx tsx scripts/invariant-doc-gen.ts"
,
"autogen:invariant-docs"
:
"npx tsx scripts/invariant-doc-gen.ts"
,
"test"
:
"pnpm build:go-ffi && forge test"
,
"test"
:
"pnpm build:go-ffi && forge test"
,
"test:kontrol"
:
"./test/kontrol/kontrol/run-kontrol.sh
0.1.74
"
,
"test:kontrol"
:
"./test/kontrol/kontrol/run-kontrol.sh"
,
"genesis"
:
"./scripts/generate-l2-genesis.sh"
,
"genesis"
:
"./scripts/generate-l2-genesis.sh"
,
"coverage"
:
"pnpm build:go-ffi && forge coverage"
,
"coverage"
:
"pnpm build:go-ffi && forge coverage"
,
"coverage:lcov"
:
"pnpm build:go-ffi && forge coverage --report lcov"
,
"coverage:lcov"
:
"pnpm build:go-ffi && forge coverage --report lcov"
,
...
...
packages/contracts-bedrock/test/kontrol/kontrol/run-kontrol.sh
View file @
4677d4a3
...
@@ -10,10 +10,6 @@ notif() { echo "== $0: $@" >&2 ; }
...
@@ -10,10 +10,6 @@ notif() { echo "== $0: $@" >&2 ; }
#############
#############
# Variables #
# Variables #
#############
#############
export
FOUNDRY_PROFILE
=
kontrol
export
CONTAINER_NAME
=
kontrol-tests
export
KONTROL_RELEASE
=
$(
cat
.kontrolrc
)
# Set Script Directory Variables <root>/packages/contracts-bedrock/test/kontrol/kontrol
# Set Script Directory Variables <root>/packages/contracts-bedrock/test/kontrol/kontrol
SCRIPT_HOME
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
SCRIPT_HOME
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
notif
"Script Home:
$SCRIPT_HOME
"
notif
"Script Home:
$SCRIPT_HOME
"
...
@@ -24,6 +20,11 @@ WORKSPACE_DIR=$( cd $SCRIPT_HOME/../../.. >/dev/null 2>&1 && pwd )
...
@@ -24,6 +20,11 @@ WORKSPACE_DIR=$( cd $SCRIPT_HOME/../../.. >/dev/null 2>&1 && pwd )
notif
"Run Directory:
$WORKSPACE_DIR
"
notif
"Run Directory:
$WORKSPACE_DIR
"
blank_line
blank_line
export
FOUNDRY_PROFILE
=
kontrol
export
CONTAINER_NAME
=
kontrol-tests
export
KONTROL_RELEASE
=
$(
cat
$WORKSPACE_DIR
/../../.kontrolrc
)
#############
#############
# Functions #
# Functions #
#############
#############
...
@@ -65,8 +66,6 @@ start_docker () {
...
@@ -65,8 +66,6 @@ start_docker () {
# Copy test content to container
# Copy test content to container
docker
cp
--follow-link
$WORKSPACE_DIR
/.
${
CONTAINER_NAME
}
:/home/user/workspace
docker
cp
--follow-link
$WORKSPACE_DIR
/.
${
CONTAINER_NAME
}
:/home/user/workspace
docker
exec
--user
root
${
CONTAINER_NAME
}
chown
-R
user:user /home/user
docker
exec
--user
root
${
CONTAINER_NAME
}
chown
-R
user:user /home/user
# Install pnpm
docker
exec
${
CONTAINER_NAME
}
curl
-fsSL
https://get.pnpm.io/install.sh | sh -
}
}
docker_exec
()
{
docker_exec
()
{
...
...
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