Skip to content

Commit

Permalink
Debugging Amazon 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 authored and dwoz committed Jul 11, 2024
1 parent 02aa3bb commit 26f9248
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 351 deletions.
9 changes: 2 additions & 7 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2797,20 +2797,15 @@ EOM
mkdir /tmp/git/deps

if [ ${DISTRO_NAME_L} = "ubuntu" ] && [ "$DISTRO_MAJOR_VERSION" -eq 22 ]; then
echodebug "DGM Ubuntu 22.04 has problem with base.txt requirements file, not parsing sys_platform == 'win32', trying upgrading pip"
echodebug "Ubuntu 22.04 has problem with base.txt requirements file, not parsing sys_platform == 'win32', upgrading from default pip works"
echodebug "${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --upgrade pip"
${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --upgrade pip || (echo "Failed to upgrade pip" && return 1)
fi

echoinfo "Downloading Salt Dependencies from PyPi"
echodebug "Running '${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} .'"
## DGM ${_pip_cmd} download -d /tmp/git/deps "${_PIP_DOWNLOAD_ARGS}" . || (echo "Failed to download salt dependencies" && return 1)

## DGM ${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} . || (echo "Failed to download salt dependencies" && return 1)
${_pip_cmd} download -vvv -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} . || (echo "Failed to download salt dependencies" && return 1)

echodebug "DGM checking salt deps downloaded"
ls -alrth /tmp/git/deps/*
${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} . || (echo "Failed to download salt dependencies" && return 1)

echoinfo "Installing Downloaded Salt Dependencies"
echodebug "Running '${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --ignore-installed ${_POST_NEON_PIP_INSTALL_ARGS} /tmp/git/deps/*'"
Expand Down
275 changes: 0 additions & 275 deletions btstrap-build.linux.yml

This file was deleted.

34 changes: 0 additions & 34 deletions btstrap-build.macos.yml

This file was deleted.

34 changes: 0 additions & 34 deletions btstrap-build.windows.yml

This file was deleted.

3 changes: 2 additions & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ platforms:
driver:
image: amazonlinux:2023
## DGM platform: fedora
platform: rhel
## DGM platform: rhel
provision_command:
## DGM - yum -y install procps-ng
- yum -y install --allowerasing procps-ng curl
- echo "PubkeyAcceptedAlgorithms +ssh-rsa" | tee -a /etc/ssh/sshd_config
- name: arch
driver:
image: archlinux/archlinux
Expand Down

0 comments on commit 26f9248

Please sign in to comment.