Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Deploy fails #175

Closed m-mohr closed 3 years ago

m-mohr commented 3 years ago

Deployment to https://open-eo.github.io/openeo-web-editor/demo/ fails.

m-mohr commented 3 years ago

@mmacata This is due to the Docker build, it seems. Since adding the Dockerfile I'm getting build errors for each of my commits: image Clicking the link directs me to a 404: https://hub.docker.com/login/?next=/redirect/%3Fresource_uri%3D/api/audit/v1/action/c009a955-5e89-4024-8a49-10bd3acca08f/ Could you please look into it? What issue could that be?

mmacata commented 3 years ago

The build on Dockerhub fails. I made a clean new checkout of the repository and it fails as well:

11:05 $ npm run build

> @openeo/web-editor@0.8.0-rc.2 build
> npm run build:epsg && npx vue-cli-service build --report

> @openeo/web-editor@0.8.0-rc.2 build:epsg
> node src/build-epsg.js

node:internal/fs/utils:323
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'src/assets/epsg.json'
    at Object.openSync (node:fs:505:3)
    at Object.writeFileSync (node:fs:1535:35)
    at Object.<anonymous> (/home/ctawalika/repos/openeo/openeo-web-editor/src/build-epsg.js:9:4)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
    at node:internal/main/run_main_module:17:47 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: 'src/assets/epsg.json'
}

is it working for you? Some days ago it was still successful.

m-mohr commented 3 years ago

Yes, the build is working for me...

m-mohr commented 3 years ago

Hmm... maybe that's an empty folder GitHub issue. I've added a file so that the folder will not be removed, let's see how it goes.

mmacata commented 3 years ago

Indenpendantly of the build, I saw that the last deploy action was running until 14 days ago. In the Github action file, there is a definition for

on:
  push:
    branches:
      - dev

but there is no dev branch that I can see? Was there one before?

mmacata commented 3 years ago

The build is successful! Thanks! But I guess the deployment will not be triggered without the dev branch. Here you can see the gap of Github actions as well: https://github.com/Open-EO/openeo-web-editor/commits/master

m-mohr commented 3 years ago

Hah, good point! Thanks for catching it, indeed we had a dev branch before. I'll fix that!

mmacata commented 3 years ago

Great, now there are 2 successful checks on each commit. I will close this.