Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ package:wheel:
- ./ci/scripts/gitlab/build_wheel.sh
artifacts:
paths:
# match - .tmp/wheels/aiqtoolkit/nvidia-nat/<version>/*.whl, .tmp/wheels/nvidia-nat/nvidia-nat-crewai/<version>/*.whl etc.
# match - .tmp/wheels/nvidia-nat/<version>/*.whl, .tmp/wheels/nvidia-nat/nvidia-nat-crewai/<version>/*.whl etc.
- .tmp/wheels/nvidia-nat/*/*/*.whl
# Match the example wheels
- .tmp/wheels/nvidia-nat/examples/*.whl
# Match the transitional wheels
- .tmp/wheels/aiqtoolkit/*/*/*.whl
- .tmp/wheels/nat/*/*/*.whl
expire_in: 1 week


Expand Down
6 changes: 4 additions & 2 deletions ci/scripts/gitlab/artifactory_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ fi
NAT_ARCH="any"
NAT_OS="any"

NAT_COMPONENTS=("nvidia-nat" "aiqtoolkit")
# nvidia-nat itself and all of the plugins are under "nvidia-nat", while the compatibility packages are under "nat"
NAT_COMPONENTS=("nvidia-nat" "nat")

# We need to fix the name of the component in artifactory to aiqtoolkit
ARTIFACTORY_COMPONENT_FIXED_NAME="aiqtoolkit"

Expand Down Expand Up @@ -110,7 +112,7 @@ if [[ "${UPLOAD_TO_ARTIFACTORY}" == "true" ]]; then
# Extract relative path to preserve directory structure, but replacing the first dir with aiqtoolkit
# as this is an already established path in artifactory
RELATIVE_PATH="${WHEEL_FILE#${WHEELS_BASE_DIR}/}"
RELATIVE_PATH=$(echo "${RELATIVE_PATH}" | sed -e 's|^nvidia-nat/|aiqtoolkit/|')
RELATIVE_PATH=$(echo "${RELATIVE_PATH}" | sed -e 's|^nvidia-nat/|aiqtoolkit/|' | sed -e 's|^nat/|aiqtoolkit/|')
ARTIFACTORY_PATH="${AIQ_ARTIFACTORY_NAME}/${RELATIVE_PATH}"

echo "Uploading ${WHEEL_FILE} to ${ARTIFACTORY_PATH}..."
Expand Down