Giter Club home page Giter Club logo

Comments (8)

CAMOBAP avatar CAMOBAP commented on July 30, 2024

Looks like this approach will not work(

/usr/bin/git push --force ***github.com/metanorma/mn-samples-iso.git github-pages-deploy-action/6krd58h88:gh-pages
remote: error: Trace: fb1f108bbeabd69a39dcae77aace7751c3f070296eda05826523f605c24007d6
remote: error: See https://gh.io/lfs for more information.
remote: error: File artifact.tar is 183.21 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com./
To https://github.com/metanorma/mn-samples-iso.git
! [remote rejected] github-pages-deploy-action/6krd58h88 -> gh-pages (pre-receive hook declined)

https://github.com/metanorma/mn-samples-iso/actions/runs/7864811669/job/21457108730

Most of our repo has artifacts more then 100Mb

Looking for workaround right now, it not found anything soon, will revert the change

from ci.

ronaldtse avatar ronaldtse commented on July 30, 2024

Instead of git push, we upload the artifact using GHA upload-artifact?

from ci.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

There are no issues with uploading artifacts but then the content of it gets committed to the gh-pages branch, I trying to understand why it's trying to commit the whole artifact without decompression

from ci.

ronaldtse avatar ronaldtse commented on July 30, 2024

Interesting. Maybe on the upload artifact step, we’re not supposed to archive the files. That causes GitHub to think that the file is a single file which leads to the LFS limitation of 100MB.

I remember that on GH that the upload artifact step directly counts towards the “size count” of the account, so the drawback is that GitHub will charge / count the size according to the raw size, but the benefit is it allows uploading those files individually.

from ci.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

Update. After updating actions versions to new one (to avoid the Node warning) now it fails with

Error: Unable to download artifact(s): Artifact not found for name: github-pages
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md

Investigation continued...

from ci.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

It actually commits artifacts.tar https://github.com/metanorma/mn-samples-iec/tree/gh-pages for some reason, investigation in pgoress

from ci.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

Because changes in vaniala actions/upload-pages-artifact it now works such way i.e. upload archive.tar and not path to _site

Possible fix on test metanorma/mn-samples-iso#90

UPD. testin on main https://github.com/metanorma/mn-samples-iso/actions/runs/7872033494

from ci.

CAMOBAP avatar CAMOBAP commented on July 30, 2024

It works waiting for other repos to pass

from ci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.