Skip to content

Commit 5ef88b8

Browse files
tehasdfŁukasz Maksymczuk
andauthored
RD-6984 Use a separate python .tgz for the CLI rpm/deb (#1477)
We've already built this tgz so let's use it... Co-authored-by: Łukasz Maksymczuk <[email protected]>
1 parent 2caf9cc commit 5ef88b8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packaging/cloudify-cli.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ URL: https://github.com/cloudify-cosmo/cloudify-cli
2323
Vendor: Cloudify Platform Ltd.
2424
Packager: Cloudify Platform Ltd.
2525

26-
Source0: https://cloudify-cicd.s3.amazonaws.com/python-build-packages/cfy-python3.11-%{ARCHITECTURE}.tgz
26+
Source0: https://cloudify-cicd.s3.amazonaws.com/python-build-packages/cfy-python3.11-%{ARCHITECTURE}-cli.tgz
2727

2828

2929
%description
@@ -35,7 +35,7 @@ sudo tar xf %{S:0} -C /
3535
%build
3636

3737
# Create the venv with the custom Python symlinked in
38-
/opt/python3.11/bin/python3.11 -m venv %_cli_env
38+
/opt/cfy/python3.11/bin/python3.11 -m venv %_cli_env
3939

4040
%_cli_env/bin/pip install --upgrade pip
4141
%_cli_env/bin/pip install -r "${RPM_SOURCE_DIR}/dev-requirements.txt"

packaging/debian/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Description: Cloudify's Command Line Interface
3131
EOF
3232

3333
# Download and untar our python3.11 package
34-
curl https://cloudify-cicd.s3.amazonaws.com/python-build-packages/cfy-python3.11-x86_64.tgz -o cfy-python3.11.tgz
34+
curl https://cloudify-cicd.s3.amazonaws.com/python-build-packages/cfy-python3.11-x86_64-cli.tgz -o cfy-python3.11.tgz
3535
tar xf cfy-python3.11.tgz -C /
3636

37-
/opt/python3.11/bin/python3.11 -m venv /opt/cfy
37+
/opt/cfy/python3.11/bin/python3.11 -m venv /opt/cfy
3838

3939
/opt/cfy/bin/pip install --upgrade pip setuptools
4040
/opt/cfy/bin/pip install -r "${PROJECT_DIR}/dev-requirements.txt"

0 commit comments

Comments
 (0)