Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KincoActuatorIsaacLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
kevin
KincoActuatorIsaacLab
Commits
9334c448
Commit
9334c448
authored
Aug 20, 2024
by
Kelly Guo
Committed by
David Hoeller
Sep 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing pre-build CI (#101)
Co-authored-by:
Alexander Poddubny
<
apoddubny@nvidia.com
>
parent
a46f9348
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
premerge-ci-buildspec.yml
.github/workflows/premerge-ci-buildspec.yml
+3
-2
No files found.
.github/workflows/premerge-ci-buildspec.yml
View file @
9334c448
...
@@ -16,6 +16,7 @@ phases:
...
@@ -16,6 +16,7 @@ phases:
build
:
build
:
commands
:
commands
:
-
echo "Running tests on EC2 instance"
-
echo "Running tests on EC2 instance"
-
SRC_DIR=$(basename $CODEBUILD_SRC_DIR)
-
cd ..
-
cd ..
-
|
-
|
bash -c '
bash -c '
...
@@ -24,7 +25,7 @@ phases:
...
@@ -24,7 +25,7 @@ phases:
local wait_time=10
local wait_time=10
local count=0
local count=0
while [ $count -lt $retries ]; do
while [ $count -lt $retries ]; do
scp -r
IsaacLab
ubuntu@$EC2_INSTANCE_IP:~
scp -r
$SRC_DIR
ubuntu@$EC2_INSTANCE_IP:~
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
echo "SCP command succeeded"
echo "SCP command succeeded"
return 0
return 0
...
@@ -39,7 +40,7 @@ phases:
...
@@ -39,7 +40,7 @@ phases:
retry_scp
retry_scp
'
'
-
ssh ubuntu@$EC2_INSTANCE_IP "docker login -u \\\$oauthtoken -p $NGC_TOKEN nvcr.io"
-
ssh ubuntu@$EC2_INSTANCE_IP "docker login -u \\\$oauthtoken -p $NGC_TOKEN nvcr.io"
-
ssh ubuntu@$EC2_INSTANCE_IP "cd
IsaacLab
;
-
ssh ubuntu@$EC2_INSTANCE_IP "cd
$SRC_DIR
;
docker build -t isaac-lab-dev --build-arg ISAACSIM_VERSION_ARG=4.1.0 --build-arg ISAACSIM_ROOT_PATH_ARG=/isaac-sim --build-arg ISAACLAB_PATH_ARG=/workspace/isaaclab --build-arg DOCKER_USER_HOME_ARG=/root -f docker/Dockerfile.base . ;
docker build -t isaac-lab-dev --build-arg ISAACSIM_VERSION_ARG=4.1.0 --build-arg ISAACSIM_ROOT_PATH_ARG=/isaac-sim --build-arg ISAACLAB_PATH_ARG=/workspace/isaaclab --build-arg DOCKER_USER_HOME_ARG=/root -f docker/Dockerfile.base . ;
docker run --rm --entrypoint bash --gpus all --network=host --name isaac-lab-test isaac-lab-dev ./isaaclab.sh -t &&
docker run --rm --entrypoint bash --gpus all --network=host --name isaac-lab-test isaac-lab-dev ./isaaclab.sh -t &&
exit $?"
exit $?"
...
...
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