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

NXDRIVE-2990: Fix Dependabot Issue. #5582

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5f7706f
Update release.yml
gitofanindya Feb 12, 2025
eccf337
updated ci-agent.sh 001
gitofanindya Feb 12, 2025
fe7cad6
updated ci-agent.sh 002
gitofanindya Feb 12, 2025
7434467
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
e74b551
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
f32a4b8
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
adb66f0
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
bf0b3f1
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
0ab4df0
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
701ac71
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
e85ee60
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
4d05bb1
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
6b26340
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
62b292e
updated ci-agent.sh 003
gitofanindya Feb 12, 2025
0abb3a4
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
60b5767
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
604f68b
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
18f001a
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
c0d3b1e
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
4757155
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
a461b72
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
29992b7
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
59a0f9c
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
9b864bb
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
c519490
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
47cd079
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
d6601ae
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
203120e
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
ab1a8fe
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
a6ab908
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
c8427a1
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
5fe4d75
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
08266c4
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
2d50dd0
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
0fefa0b
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
155eaa6
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
b4d4007
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
71e1029
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
ee039c1
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
71b03f8
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
337c482
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
93db839
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
12540a2
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
2f66195
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
8f370cb
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
8c311cd
updated ci-agent.sh 004
gitofanindya Feb 12, 2025
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
34 changes: 28 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ jobs:
# GNU/Linux
#

- name: "[GNU/Linux] Download and Install Python"
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install build-essential zlib1g-dev \
libncurses5-dev libgdbm-dev libnss3-dev \
libssl-dev libreadline-dev libffi-dev curl software-properties-common
wget https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz
tar -xf Python-3.9.5.tar.xz
cd Python-3.9.5
./configure
sudo make altinstall
python3 -V
python3.9 -V
which python3
which python3.9
sudo rm /usr/bin/python3
sudo ln -s /usr/local/bin/python3.9 /usr/bin/python3
alias python3='/usr/local/bin/python3.9'
python3 -V

- name: "[GNU/Linux] Install AppImage checkers"
if: matrix.os == 'ubuntu-latest'
run: sudo apt install --yes appstream desktop-file-utils
Expand All @@ -82,6 +103,7 @@ jobs:

- name: "[GNU/Linux] Generate the .AppImage"
if: matrix.os == 'ubuntu-latest'
python-version: ["3.9.5"]
env:
REGISTRY: "docker-private.packages.nuxeo.com"
REPOSITORY: "nuxeo-drive-build"
Expand All @@ -102,13 +124,13 @@ jobs:
echo "${{ secrets.CERT_APP_MACOS }}" | base64 --decode > developerID_application.p12
echo "${{ secrets.PRIV_APP_MACOS }}" | base64 --decode > nuxeo-drive.priv

#- name: "[macOS] Downloading Python"
# if: matrix.os == 'macos-13'
# run: curl https://www.python.org/ftp/python/3.9.5/python-3.9.5-macosx10.9.pkg -o "python.pkg" # XXX_PYTHON
- name: "[macOS] Downloading Python"
if: matrix.os == 'macos-13'
run: curl https://www.python.org/ftp/python/3.9.5/python-3.9.5-macosx10.9.pkg -o "python.pkg" # XXX_PYTHON

#- name: "[macOS] Install Python"
# if: matrix.os == 'macos-13'
# run: sudo installer -pkg python.pkg -target /
- name: "[macOS] Install Python"
if: matrix.os == 'macos-13'
run: sudo installer -pkg python.pkg -target /

- name: "[macOS] Setup the environment"
if: matrix.os == 'macos-13'
Expand Down
9 changes: 6 additions & 3 deletions tools/posix/deploy_ci_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ install_pyenv() {
eval "$(pyenv init -)"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
echo ">>> [pyenv] initiated pyenv"
}

install_python() {
Expand All @@ -219,14 +220,15 @@ install_python() {
#fi

echo ">>> Actual Python Version: '$(python3 --version)'"
echo ">>> Python Version available: '$(pyenv install -l)'"
echo ">>> Python Version to be installed: '${version}'"
pyenv install --skip-existing "${version}"
pyenv global "${version}"
echo ">>> pyenv versions: '$(pyenv versions)"
eval "$(pyenv init -)"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
echo "**** Python Version in use: '$(python3 --version)'"

echo ">>> [pyenv] Using Python ${version}"
echo ">>> Python Version in use: '$(python3 --version)'"

}

Expand Down Expand Up @@ -400,6 +402,7 @@ main() {

# If running from a virtual environment, let's use it
if ! command -v deactivate > /dev/null; then
#install_python "${PYTHON_DRIVE_VERSION}"
install_pyenv
install_python "${PYTHON_DRIVE_VERSION}"
create_venv
Expand Down