Skip to content

Commit

Permalink
Merge pull request #292 from CybercentreCanada/PEP625
Browse files Browse the repository at this point in the history
Update command to build Python packages
  • Loading branch information
cccs-rs authored Dec 27, 2024
2 parents 3f75c7a + d4f63ae commit 6ebfb43
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pipelines/full-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,35 +99,35 @@ stages:
git submodule foreach git pull
git submodule foreach git tag ${TAG}
git submodule foreach git push origin ${TAG}
sudo env "PATH=$PATH" python -m pip install --no-cache-dir -U wheel cython pip
sudo env "PATH=$PATH" python -m pip install --no-cache-dir -U wheel cython pip build
# Build base
cd assemblyline-base
echo $VERSION > assemblyline/VERSION
python setup.py sdist --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -s -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
# Build core
cd ../assemblyline-core
echo $VERSION > assemblyline_core/VERSION
python setup.py sdist --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -s -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
# Build ui
cd ../assemblyline-ui
echo $VERSION > assemblyline_ui/VERSION
python setup.py bdist_wheel --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -w -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
# Build service server
cd ../assemblyline-service-server
echo $VERSION > assemblyline_service_server/VERSION
python setup.py bdist_wheel --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -w -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
cd ../assemblyline-service-client
echo $VERSION > assemblyline_service_client/VERSION
python setup.py bdist_wheel --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -w -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
cd ../assemblyline-v4-service
echo $VERSION > assemblyline_v4_service/VERSION
python setup.py bdist_wheel --dist-dir ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
python -m build -w -o ${SYSTEM_DEFAULTWORKINGDIRECTORY}/dist/ &
wait
cd ../
Expand Down

0 comments on commit 6ebfb43

Please sign in to comment.