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

feat: upgrade to quince #47

Merged
merged 37 commits into from
Dec 11, 2023
Merged

feat: upgrade to quince #47

merged 37 commits into from
Dec 11, 2023

Conversation

ziafazal
Copy link
Contributor

Changes related to quince upgrade.

Carlos Muniz and others added 21 commits November 7, 2022 16:00
This is due to renaming quickstart to launch in tutor.
This is to address overhangio/tutor-mfe#122
As a consequence of this change, images will be tagged with a "-nightly"
suffix. Next, we'll probably have to build them periodically in CI.
The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:

   setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
@regisb regisb changed the base branch from nightly to master November 14, 2023 08:25
@@ -48,7 +48,7 @@ RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,
# https://pypi.org/project/setuptools/
# https://pypi.org/project/pip/
# https://pypi.org/project/wheel/
setuptools==67.7.2 pip==23.1.2. wheel==0.40.0
setuptools==68.2.2 pip==23.2.1 wheel==0.41.2

# Install a recent version of nodejs
# https://pypi.org/project/nodeenv
Copy link
Contributor

Choose a reason for hiding this comment

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

Please take this opportunity to upgrade to nodeenv 1.8.0.

@regisb
Copy link
Contributor

regisb commented Nov 29, 2023

I'm getting the following error during build:

 > [payment-common 3/5] RUN --mount=type=cache,target=/root/.npm,sharing=shared npm clean-install --no-audit --no-fund --registry=https://registry.npmjs.org/:
7.330 npm notice 
7.338 npm notice New major version of npm available! 9.5.1 -> 10.2.4
7.338 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
7.338 npm notice Run `npm install -g [email protected]` to update!
7.338 npm notice 
7.376 npm ERR! code EUSAGE
7.379 npm ERR! 
7.379 npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
7.379 npm ERR! 
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.379 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.380 npm ERR! Invalid: lock file's @babel/[email protected] does not satisfy @babel/[email protected]
7.380 npm ERR! 
7.380 npm ERR! Clean install a project
7.380 npm ERR! 
7.380 npm ERR! Usage:
7.380 npm ERR! npm ci
7.380 npm ERR! 
7.380 npm ERR! Options:
7.380 npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
7.380 npm ERR! [-E|--save-exact] [-g|--global]
7.380 npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
7.380 npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
7.380 npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
7.380 npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
7.380 npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
7.380 npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
7.380 npm ERR! 
7.380 npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
7.380 npm ERR! 
7.380 npm ERR! Run "npm help ci" for more info
7.382 
7.382 npm ERR! A complete log of this run can be found in:
7.382 npm ERR!     /root/.npm/_logs/2023-11-29T16_00_59_465Z-debug-0.log
------
Dockerfile:577
--------------------
 575 |     ENV CPPFLAGS=-DPNG_ARM_NEON_OPT=0
 576 |     ENV PACT_SKIP_BINARY_INSTALL=true
 577 | >>> RUN --mount=type=cache,target=/root/.npm,sharing=shared npm clean-install --no-audit --no-fund --registry=$NPM_REGISTRY
 578 |     
 579 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c npm clean-install --no-audit --no-fund --registry=$NPM_REGISTRY" did not complete successfully: exit code: 1
Error: Command failed with status 1: docker buildx build --tag=docker.io/overhangio/openedx-mfe:17.0.0 --no-cache --output=type=docker /home/tutor/.local/share/tutor/env/plugins/mfe/build/mfe

@regisb regisb assigned regisb and unassigned ziafazal Dec 5, 2023
@@ -60,7 +60,7 @@
"MFE_APP": {
"name": "orders",
"repository": "https://github.com/edx/frontend-app-ecommerce",
"port": 1996,
Copy link
Contributor

Choose a reason for hiding this comment

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

I address this issue in this PR: https://github.com/overhangio/tutor-ecommerce/pull/57/files
We should merge it (I'll do it now), then rebase the quince branch on top of nightly.

@regisb regisb force-pushed the quince branch 2 times, most recently from 2f829e3 to 8c043b3 Compare December 11, 2023 09:21
Repo urls must end with ".git". Otherwise `ADD --keep-git-dir` fails to
clone the repo.
@regisb regisb force-pushed the quince branch 2 times, most recently from 97e23a5 to 0b9c0d3 Compare December 11, 2023 20:08
@regisb regisb marked this pull request as ready for review December 11, 2023 20:09
@regisb regisb changed the title [WIP] feat: upgrade to quince feat: upgrade to quince Dec 11, 2023
@regisb regisb merged commit c5aef92 into master Dec 11, 2023
1 check passed
@regisb regisb deleted the quince branch December 11, 2023 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants