Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
d26a8b3f
Unverified
Commit
d26a8b3f
authored
Jul 12, 2024
by
adityagoel14
Committed by
GitHub
Jul 11, 2024
Browse files
[CI/Build] (2/2) Switching AMD CI to store images in Docker Hub (#6350)
parent
d59eb984
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
.buildkite/run-amd-test.sh
.buildkite/run-amd-test.sh
+4
-9
No files found.
.buildkite/run-amd-test.sh
View file @
d26a8b3f
...
@@ -45,15 +45,10 @@ while true; do
...
@@ -45,15 +45,10 @@ while true; do
fi
fi
done
done
echo
"--- Building container"
echo
"--- Pulling container"
sha
=
$(
git rev-parse
--short
HEAD
)
image_name
=
"rocmshared/vllm-ci:
${
BUILDKITE_COMMIT
}
"
image_name
=
rocm_
${
sha
}
container_name
=
"rocm_
${
BUILDKITE_COMMIT
}
_
$(
tr
-dc
A-Za-z0-9 < /dev/urandom |
head
-c
10
;
echo
)
"
container_name
=
rocm_
${
sha
}
_
$(
tr
-dc
A-Za-z0-9 < /dev/urandom |
head
-c
10
;
echo
)
docker pull
${
image_name
}
docker build
\
-t
${
image_name
}
\
-f
Dockerfile.rocm
\
--progress
plain
\
.
remove_docker_container
()
{
remove_docker_container
()
{
docker
rm
-f
${
container_name
}
||
docker image
rm
-f
${
image_name
}
||
true
docker
rm
-f
${
container_name
}
||
docker image
rm
-f
${
image_name
}
||
true
...
...
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