Skip to content

ci: create production-config with environment variables#128

Merged
fabnemEPFL merged 18 commits into
EPFLiGHT:masterfrom
Androz2091:refacto-deployment
Jul 19, 2025
Merged

ci: create production-config with environment variables#128
fabnemEPFL merged 18 commits into
EPFLiGHT:masterfrom
Androz2091:refacto-deployment

Conversation

@Androz2091

@Androz2091 Androz2091 commented Jul 10, 2025

Copy link
Copy Markdown
Collaborator
  • create a CI that builds the image and pushes it to dockerhub androz2091/swiss-ai-mmore (see ci: find a better solution than using docker registry #126, right now I cannot use RCP because it needs a VPN. I will discuss this with them in the coming days).
  • it builds and pushes two images (one with 1000:1000, the standard user, one with light:simon), so I can use it with the RCP development environment. (see ci: clean up github actions users (1000:1000, light:sciper) #135).
  • it now supports $ROOT_OUT_DIR, $ROOT_IN_DIR environment variables so we can now easily specify a different storage path without having to changes prodution configuration files (added in a new production-config folder). Once we deploy to production, I will write down everything (see add documentation for production once it's ready #136).
  • few fixes already pushed on master (retriever --> retrieve), fix steps depending on jsonl files, etc.
  • cleaned up dockerfile and added caching

@Androz2091 Androz2091 marked this pull request as draft July 10, 2025 13:20
@Androz2091 Androz2091 marked this pull request as ready for review July 16, 2025 14:52

@fabnemEPFL fabnemEPFL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

All good, great job! 🔥

@fabnemEPFL fabnemEPFL merged commit 24b2f23 into EPFLiGHT:master Jul 19, 2025
4 checks passed
JCHAVEROT pushed a commit to JCHAVEROT/mmore that referenced this pull request Jun 19, 2026
* ci: create production-config with environment variables

* temporarily change ids

* No crash if the processor is asked to process an empty folder (EPFLiGHT#130)

* better default config file for processing

* removed useless run_index.load_results

* stop processing if crawl_result is empty

* removed useless import

* Fix of Accept empty folder (EPFLiGHT#133)

* better default config file for processing

* removed useless run_index.load_results

* stop processing if crawl_result is empty

* removed useless import

* fix to make sure samples are extracted from exisiting files

* create retriever api config

* run in virtual env

* use pip instead of uv

* clean up dockerfile

* add caching to github actions

* create two images every time

* use libs in dockerfile

* fix image tag on dockerhub

* woops, pip no longer support system

* fix dockerfile by adding source code before pip and use uv

* fix dockerfile perms again

* mixed up gid and uid...

* run format

---------

Co-authored-by: fabnemEPFL <117652591+fabnemEPFL@users.noreply.github.com>
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