Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to CUDA 11.8 #748

Merged
merged 18 commits into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add pytest-kafka installation script and VAULT_HOST env variable
  • Loading branch information
cwharris committed Feb 16, 2023
commit 66993e624d1468dc61b52c290c8dba748c8fad61
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-kafka-logs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

COMPOSE_FILE="${MORPHEUS_ROOT}/.devcontainer/docker-compose.yml"

docker compose -f $COMPOSE_FILE logs zookeeper kafka
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-kafka-produce
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

COMPOSE_FILE="${MORPHEUS_ROOT}/.devcontainer/docker-compose.yml"

if [[ $# -eq 2 ]]; then
Expand Down
33 changes: 33 additions & 0 deletions .devcontainer/bin/dev-kafka-pytest-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

# Replicates the install instructions from the CI runner image
sudo apt update

# Install openjdk
sudo apt install -y openjdk-11-jdk

# Clone the repo into home and run setup.py develop

if [[ ! -d ~/pytest-kafka ]]; then
git clone https://gitlab.com/karolinepauls/pytest-kafka.git ~/pytest-kafka
fi;

cd ~/pytest-kafka

python setup.py develop
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-kafka-start
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

COMPOSE_FILE="${MORPHEUS_ROOT}/.devcontainer/docker-compose.yml"

docker compose -f $COMPOSE_FILE up -d zookeeper kafka
Expand Down
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-kafka-stop
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

docker compose -f ${MORPHEUS_ROOT}/.devcontainer/docker-compose.yml stop kafka zookeeper
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-triton-start
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

args=""

if [ $# -gt 0 ] ; then
Expand Down
2 changes: 2 additions & 0 deletions .devcontainer/bin/dev-triton-stop
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e

docker compose -f ${MORPHEUS_ROOT}/.devcontainer/docker-compose.yml stop triton
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"HOST_MORPHEUS_ROOT": "${localWorkspaceFolder}",
"MORPHEUS_ROOT": "${containerWorkspaceFolder}",
"DEFAULT_CONDA_ENV": "morpheus",
"MAMBA_NO_BANNER": "1"
"MAMBA_NO_BANNER": "1",
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai"
},

"initializeCommand": [ "${localWorkspaceFolder}/.devcontainer/initialize-command.sh" ],
Expand Down