Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Update pipfile and .aicoe-ci for Thoth image build. Include simple donkeycar #26

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

MichaelClifford
Copy link
Member

Related Issues and Dependencies

Related to #25

This introduces a breaking change

  • Yes
  • No

This Pull Request implements

This PR includes the following

  1. An initial Pipfile and Pipefile.lock for the base donkeycar requirements.
  2. Update to .aicoe-ci.yaml to build jupyter lab base images on new tag release.
  3. Add a default_car directory representing the minimal skeleton for a donkeycar.

Description

@sesheta sesheta added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 4, 2021
@MichaelClifford
Copy link
Member Author

@MichaelClifford
Copy link
Member Author

Precommit is failing due to the formatting of the default donkey car code. Since the donkeycar project will be integral to this project, is it recommended that we reformat all donkeycar code to meet our pre-commit requirements, or ignore some checks for these files?

Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@MichaelClifford
Copy link
Member Author

@harshad16 @goern shall we approve this PR? Or would you prefer we remove the donkycar skeleton code causing the pre-commit issues for now?

Pipfile Outdated
name = "pypi"

[packages]
donkeycar = {editable = true, ref = "81c2ea397695790c370669ce57988c403f7cf7ea", git = "https://github.com/autorope/donkeycar"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know if 'editable' is really meaningful if run from a container image. @pacospace haven't we seen problems arise from this?

Copy link

@pacospace pacospace Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes in aicoe-aiops/project-template#50 but here there is the reference commit.
to follow good practices for devsecops donkeycar needs to be released on some Python index.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pacospace @MichaelClifford shall we create a fork of it and release it as donkeycar-redhat to pypi?! @fridex wdyt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this package for the demo. If it must be released on an index, then yes, let's create a fork and add it to pypi 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see https://github.com/AICoE/donkeycar and AICoE/common@813e4e8

next: someone needs to setup aicoe-ci to deliver the wheel to pypi as donkeycar-redhat

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look at setting up aicoe-ci pipelines for the donkeycar repo. For now, AICoE/common#42 to get things started

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @codificat!
Any ETA on this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pacospace @goern I was able to build this successfully using meteor, so the current pipfile seems to work ok. So, my question is, do we need to hold up this PR until donkey-redhat is installable via pipy, or can that come in a later PR?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An initial version of the package is up in PyPI now if you want to try and use it. The package name is: aicoe-donkeycar

There's also a PR to add aicoe-ci configuration for future updates: AICoE/donkeycar#1

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue has been addressed with an updated commit. Thanks for helping me out @codificat

@goern @pacospace

@goern
Copy link
Member

goern commented Nov 9, 2021

Precommit is failing due to the formatting of the default donkey car code. Since the donkeycar project will be integral to this project, is it recommended that we reformat all donkeycar code to meet our pre-commit requirements, or ignore some checks for these files?

I'm pretty sure you can exclude file or dir or both from pre-commit checks ;)

@MichaelClifford
Copy link
Member Author

I'm pretty sure you can exclude file or dir or both from pre-commit checks ;)

Ok, then I'll disable pre-commit checks for the donkeycar directory. 😃

@MichaelClifford MichaelClifford force-pushed the reqs branch 2 times, most recently from f6df7f0 to f910d7c Compare November 23, 2021 15:13
@MichaelClifford
Copy link
Member Author

@goern @harshad16 @codificat @harshad16

All comments up to now should have been addressed. Could I get another review from you all? thanks!

@goern
Copy link
Member

goern commented Nov 30, 2021

/approve

@sesheta
Copy link
Contributor

sesheta commented Nov 30, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: goern

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 30, 2021
@sesheta sesheta merged commit 5d08528 into AICoE:main Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants