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

Integrate images into build #61

Open
Mischback opened this issue Mar 13, 2023 · 0 comments
Open

Integrate images into build #61

Mischback opened this issue Mar 13, 2023 · 0 comments
Assignees
Labels
area/ci Affects the CI (e.g. GitHub Actions) area/repository Affects the repository structure type/feature New feature / feature request

Comments

@Mischback
Copy link
Owner

Mischback commented Mar 13, 2023

While working on #31 one (unresolved) issue was, that the images are not actually part of the repository and thus, can not be considered/checked/processed during CI.

There are some possible solutions:

  1. Integrate the images into the repository
    While this is possible to track binary files with git, it's not desired, as it may lead to a bloated repository, as every updated version of an image would result in an additional blob, effectively doubling the size, making the repo grow
  2. Use git-lfs
    git-lfs stores only references to the binary files in the repository and stores the actual files elsewhere. This is kind of desired, but may require an external git-lfs server, because GitHub has quite strict rules about storage capacity and bandwidth. This external git-lfs server may need massive storage capacity, as it will hold all versions of any binary asset.
  3. Going old school and keeping track of the images manually in an ignored folder.
    This is the current approach. It only requires the images to be available locally. CI can not create a full build of the website!
  4. Manual replication of git-lfs
    Store only references (and possibly hashes) of the files within a JSON file in the repository. During CI, download the files from a (known) source, compare the file hashes and create a full build.

Related

@Mischback Mischback added area/ci Affects the CI (e.g. GitHub Actions) area/repository Affects the repository structure type/feature New feature / feature request labels Mar 13, 2023
@Mischback Mischback added this to the this is no milestone milestone Mar 13, 2023
@Mischback Mischback self-assigned this Mar 13, 2023
@Mischback Mischback mentioned this issue Mar 24, 2023
15 tasks
@Mischback Mischback mentioned this issue Mar 21, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Affects the CI (e.g. GitHub Actions) area/repository Affects the repository structure type/feature New feature / feature request
Projects
None yet
Development

No branches or pull requests

1 participant