frictionlessdata / frictionless-ci

Data management service that brings continuous data validation to tabular data in your repository via Github Action
https://repository.frictionlessdata.io
MIT License
36 stars 12 forks source link

GitHub action failing #47

Closed wragge closed 1 year ago

wragge commented 1 year ago

Overview

I use the Frictionless GitHub action in a number of repositories to check datasets created updated on a weekly schedule. Today the action failed to run, generating the same error in all repositories:

 exec /bin/sh: no such file or directory
  The command '/bin/sh -c curl -fsSL https://deb.nodesource.com/setup_14.x | bash - &&   apt-get install -y nodejs &&   npm install --production &&   pip install -r requirements.txt' returned a non-zero code: 1

My workflow file contains:

name: frictionless

on:
  workflow_dispatch:
  workflow_run:
    workflows: ["Fetch latest data"]
    types:
      - completed

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          lfs: true # add this to download LFS files
          submodules: true # add this to download submodules
      - name: Validate data
        uses: frictionlessdata/repository@v1

I tried updating to repository@v2 but that didn't help.

ezwelty commented 1 year ago

Exactly the same issue at https://github.com/mjacqu/glenglat

dennisangemi commented 1 year ago

Same problem here https://github.com/indecis-it/data/actions/runs/5454493998/jobs/9924691412#step:2:83

roll commented 1 year ago

FIXED

dennisangemi commented 1 year ago

Thx @roll !

Still failing for me (see run); should I do something?

roll commented 1 year ago

Hi sorry for the confusion we're releasing the fix :+1:

dennisangemi commented 1 year ago

Thank you @roll ;)

roll commented 1 year ago

Can you please try it now?

I hope we fixed it. It was a really tricky problem in the middle of the docker images (including stuff like this https://github.com/adoptium/containers/issues/215#issuecomment-1142046045)

dennisangemi commented 1 year ago

@roll this is the latest run. Now the docker seems to be working 🚀 thx!

Btw I don't know why my validation fails (the workflow file doesn't contain inquiry because there is a datapatackage.yaml file in the root of the repo). What do u think?

roll commented 1 year ago

@shashigharti Can you please take a look at https://github.com/indecis-it/data? :pray:

shashigharti commented 1 year ago

@dennisangemi new fix is updated and it should work now. Thanks!

dennisangemi commented 1 year ago

IT WORKS! 🚀🚀 (see run) Thanks a lot @shashigharti and @roll ;)