-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: use custom docker images for services #92
Conversation
Thanks for the pull request, @Ian2012! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
b389e9c
to
6b5cc58
Compare
d04c469
to
44df5e0
Compare
Thanks for the changes @Ian2012, are they ready for review? |
tutoraspects/templates/aspects/apps/superset/pythonpath/create_row_level_security.py
Show resolved
Hide resolved
44df5e0
to
6a87aee
Compare
@bmtcril Have in mind that once this is branch is merged the workflow will create:
|
aea5bff
to
bf01304
Compare
@bmtcril this is ready for review now |
bf01304
to
d86f3a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked well for me, though I didn't try a fresh install.
Timing with the changes:
Main branch, cold: 5m35s
Main branch, cached: 5m13s
This branch, cold: 5m18s
This branch, cached: 4m5s
Pretty good improvement. I think the big bulk of the time is in Superset inits now. I don't have any ideas yet on how to speed that up. 🤔
@@ -4,8 +4,6 @@ python3 -m venv virtualenv | |||
. virtualenv/bin/activate | |||
|
|||
echo "Loading demo xAPI data..." | |||
pip install git+https://github.com/openedx/[email protected]#egg=xapi-db-load==0.2 | |||
pip install pandas # clickhouse_connect is missing this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to review this it seems to be working now without pandas: openedx/xapi-db-load#32 we can upgrade this to 0.3 after this PR.
@@ -0,0 +1,5 @@ | |||
FROM python:3.8 | |||
|
|||
RUN pip install dbt-core==1.4.0 dbt-clickhouse==1.4.1 pandas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of pandas here now? Or maybe dbt-clickhouse pins an older version of clickhouse-connect. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(dbt-clickhouse does not seem to be pinning, so I think removing it will be ok)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed and built
.github/workflows/release.yaml
Outdated
uses: stefanzweifel/[email protected] | ||
with: | ||
branch: ${{ github.ref }} | ||
commit_message: "chore(release): preparing ${{ steps.tag_version.outputs.new_version }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think actions will run on this, but the commit message doesn't match the conventional commits and should just start with "chore:".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
d86f3a1
to
beee179
Compare
beee179
to
d8ff56c
Compare
@Ian2012 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
This PR defines custom docker images for the aspects and superset services.
The scripts have been unified per service.
Automatically bump version and release based on conventional commits.
Important notice:
eduNEXT will be in charge of hosting and keeping the images up to date.