Coder Social home page Coder Social logo

artifact-server's Introduction

Hi, I'm Anthony ๐Ÿ‘‹

  • ๐Ÿ’ช Iโ€™m currently trying to flex my profile readme
  • โš™๏ธ I use daily: .js .jsx .ts .tsx .md .py .scss .png .json
  • ๐ŸŒฑ Learning more about and studying: Open Source, React, CS Algorithms, Electron, Python, NodeJS
  • ๐Ÿ’ฌ Ping me about: web design, Back End Dev, Electron, WRX STI*
  • ๐Ÿ’œ Interests: Blockchain, Automation, AI, Subaru
๐Ÿ“ซ How to reach me:

ย ย ย  ย ย ย ย ย  ย ย ย  ย ย ย  ย ย ย  ย ย ย  ย ย ย  ย ย ย 

@anthonyk2020 ย ย ย  @anthony_kawa

โญ From AnthonyKawa

artifact-server's People

Contributors

anthonykawa avatar chevdor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

artifact-server's Issues

Usage

Thanks for creating this workaround for issue nektos/act#329. How is this project supposed to work?

I have a .github/workflows/CI.yaml:

jobs:
  build:
    name: Build images
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Cache buildx layers
        uses: actions/cache@v2
        with:
          path: /tmp/buildx-cache
          key: ${{ runner.os }}-buildx-${{ github.sha }}
          restore-keys: |
            ${{ runner.os }}-buildx-

This generates the output:

act
...
[CI/Build images] โญ  Run Cache buildx layers
INFO[0001]   โ˜  git clone 'https://github.com/actions/cache' # ref=v2 
[CI/Build images]   ๐Ÿณ  docker cp src=/home/a/.cache/act/actions-cache@v2/ dst=/var/run/act/actions/actions-cache@v2/
[CI/Build images]   ๐Ÿณ  docker exec cmd=[mkdir -p /var/run/act/actions/actions-cache@v2/] user=
[CI/Build images]   ๐Ÿณ  docker exec cmd=[node /var/run/act/actions/actions-cache@v2/dist/restore/index.js] user=
[CI/Build images]   โ“  ::save-state name=CACHE_KEY::Linux-buildx-3a96bf21701334370d6ffda25c4d7c5f6409ddf0
[CI/Build images]   ๐Ÿ’ฌ  ::debug::Resolved Keys:
[CI/Build images]   ๐Ÿ’ฌ  ::debug::["Linux-buildx-3a96bf21701334370d6ffda25c4d7c5f6409ddf0","Linux-buildx-"]
[CI/Build images]   ๐Ÿ’ฌ  ::debug::Checking zstd --version
[CI/Build images]   ๐Ÿ’ฌ  ::debug::*** zstd command line interface 64-bits v1.4.4, by Yann Collet ***
[CI/Build images]   ๐Ÿ’ฌ  ::debug::getCacheEntry - Attempt 1 of 2 failed with error: Cache Service Url not found, unable to restore cache.
[CI/Build images]   ๐Ÿ’ฌ  ::debug::getCacheEntry - Attempt 2 of 2 failed with error: Cache Service Url not found, unable to restore cache.
| [warning]getCacheEntry failed: Cache Service Url not found, unable to restore cache.
[CI/Build images]   โš™  ::set-output:: cache-hit=false

Then I cloned this application:

git clone https://github.com/anthonykawa/artifact-server.git
cd artifact-server
npm install
npm run start
    ...
    Listening on port 8080

I've added the environment variable to the end of Cache buildx layers (not sure if this is correct):

        env:
          ACTIONS_CACHE_URL: "localhost:8080/"

Run again:

act
...
[CI/Build images]   ๐Ÿ’ฌ  ::debug::Resource Url: localhost:8080/_apis/artifactcache/cache?keys=Linux-buildx-3a96bf21701334370d6ffda25c4d7c5f6409ddf0%252CLinux-buildx-&version=7db6cb4c78cbac0d95563089572776322af57c580ca11c70393999edb6ca4e4c
[CI/Build images]   ๐Ÿ’ฌ  ::debug::getCacheEntry - Attempt 1 of 2 failed with error: connect ECONNREFUSED 127.0.0.1:80
[CI/Build images]   ๐Ÿ’ฌ  ::debug::Resource Url: localhost:8080/_apis/artifactcache/cache?keys=Linux-buildx-3a96bf21701334370d6ffda25c4d7c5f6409ddf0%252CLinux-buildx-&version=7db6cb4c78cbac0d95563089572776322af57c580ca11c70393999edb6ca4e4c
[CI/Build images]   ๐Ÿ’ฌ  ::debug::getCacheEntry - Attempt 2 of 2 failed with error: connect ECONNREFUSED 127.0.0.1:80

It tries to connect, but looks like /_apis/artifactcache/ is not resolved. Any idea? Thanks!

gzip error

when uploading a file via gzip, I get the following error:

Error: unexpected end of file
at Zlib.zlibOnError [as onerror] (node:zlib:189:17)

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.