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

Rework structure and images #22

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Rework structure and images #22

merged 4 commits into from
Sep 28, 2023

Conversation

daniilpastukhov
Copy link
Contributor

No description provided.

geektrove and others added 4 commits September 25, 2023 10:25
* Improve files structure

* Build libusb in external/libusb folder

* Remove dead code in dockerfiles

* Fix libusb file naming

* Fix ros2humble dockerfiles

* Use prebuilt libusb in dockerfiles

* Use wheels instead of building depthai

* Remove excessive apt-get clean

* Remove excessive apt-get -y flag

* Merge origin and base stages

* Remove excessive apt-get purge

- It was the last command in build stage, but final stage is not based
  on build stage

* Remove update-alternatives for python

* Remove experimental syntax support

* Always ensure python3 is installed

* Always upgrade pip, setuptools and wheel

* Add distinctipy to regular images

* Fix comment

* Remove unused OPENCV_VERSION arg

* Always set DEBIAN_FRONTEND=noninteractive

* Use upper case for dockerfile instructions

* Add base dockerfile with ROBOTICS_VISION_CORE arg

* Add BASE_IMAGE arg

* Use VARIANT arg to install python packages

* Remove hardcoded dockerfiles

- Use base dockerfile instead

* Remove depthai branch from workflow dispatch inputs

* Remove unused paths filter in push trigger

* Format publish-base-images.yml workflow file

* Remove repository dispatch trigger

* Fix style in scripts

* Add DEPTHAI_VERSION arg

* Move precompiled libusb to docker build context

* Remove unused dependencies installation from custom dockerfiles

* Format setup-remote-builder.sh script

* Rework build scripts

* Add DEPTHAI_SDK_VERSION arg

* Add ROBOTHUB_OAK_VERSION arg

* Update README.md

* Fix hardcoded base image in build script

* Run scripts with bash instead of sh

* Provide script to install specific version of depthai

* Remove unused pyproject.toml

* Don't upgrade pip, setuptools and wheels

- Upgrade doesn't uninstall previous versions installed by apt-get
- Image size is reduced by ~38MB

* Build and publish libusb using GitHub workflow

* Temporarily remove push trigger for buliding images

* Fix yaml syntax

* Use sudo apt-get to install dependencies

* Set fail-fast to false in libusb workflow

* Add aws cli installing to libusb workflow

* Fix aws cli installation

* Download precompiled libusb from rh-public in dockerfiles

* Revert "Temporarily remove push trigger for buliding images"

This reverts commit bb99232.

* Improve installation scripts

* Add core image with no preinstalled packages
* Remove build workflow that uses aws

* Remove --builder and --platform flags

* Add architecture suffix to image tags

* Remove image version derivation from scripts

* Add make_manifests.sh script

* Add new image build workflow that uses buildjet

* Add checkout action to make-manifests job

* Add name to all jobs/steps

* Remove unused NODE_AUTH_TOKEN env variable

* Use buildx imagetools to make manifests

- Fix issue with unknown manifest

* Remove on push to main trigger

* Publish to robothub-app-v2 on release, otherwise to robothub-app-v2-dev

* Remove on push to develop trigger
@daniilpastukhov daniilpastukhov merged commit a60589e into main Sep 28, 2023
4 checks passed
@daniilpastukhov daniilpastukhov deleted the develop branch September 28, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants