Skip to content

ci: fix wrong invoke environment#10178

Merged
SchrodingersGat merged 3 commits into
inventree:masterfrom
daniil4udo:fix/wrong-env-for-invoke
Aug 18, 2025
Merged

ci: fix wrong invoke environment#10178
SchrodingersGat merged 3 commits into
inventree:masterfrom
daniil4udo:fix/wrong-env-for-invoke

Conversation

@daniil4udo
Copy link
Copy Markdown
Contributor

Fix annoying error during update.

The function should return early when in Docker environment

image

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 15, 2025

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit d4c37a3
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/68a0e987aa495d0008d37084
😎 Deploy Preview https://deploy-preview-10178--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95 (🔴 down 3 from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@daniil4udo daniil4udo changed the title fix: wrong invoke environment ci: fix wrong invoke environment Aug 15, 2025
@SchrodingersGat
Copy link
Copy Markdown
Member

Fix annoying error during update.

I'm assuming you are using docker - at what stage of the update process do you see this error?

@matmair matmair added the setup Relates to the InvenTree setup / installation process label Aug 15, 2025
@matmair matmair added this to the 1.0.0 milestone Aug 15, 2025
@matmair matmair added the docker Docker / docker-compose label Aug 15, 2025
@daniil4udo
Copy link
Copy Markdown
Contributor Author

During execution docker compose run --rm inventree-server invoke update after image has been pulled

@SchrodingersGat SchrodingersGat merged commit 669a155 into inventree:master Aug 18, 2025
23 checks passed
@SchrodingersGat
Copy link
Copy Markdown
Member

@daniil4udo thanks for the improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker / docker-compose setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants