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

The plugin failed silently with the latest docker image #66

Open
HugoPoi opened this issue Sep 2, 2020 · 3 comments
Open

The plugin failed silently with the latest docker image #66

HugoPoi opened this issue Sep 2, 2020 · 3 comments

Comments

@HugoPoi
Copy link

HugoPoi commented Sep 2, 2020

Before the release publish on the docker hub 6/16/2020 at 6:36 pm hash fa70c21cc997880d9d43a7bbcc6cfc580b612b6e5186bc9d84c29e3663da29b1 it was working. Now my publish task fail silently with no error message.

latest: Pulling from plugins/github-release
Digest: sha256:fa70c21cc997880d9d43a7bbcc6cfc580b612b6e5186bc9d84c29e3663da29b1
Status: Image is up to date for plugins/github-release:latest

Sample config

- name: publish
  image: plugins/github-release
  volumes:
  - name: output
    path: /drone/src/output
  settings:
    api_key:
      from_secret: GITHUB_API_KEY
    files:
      - output/images/*.img.gz
    checksum:
      - sha256
    draft: true
    prerelease: true
  when:
    event: tag

Take a look => https://arm-build.yunohost.org/YunoHost/arm-images/22/1/10

Working with the version tagged plugins/github-release:1 and the an other one with hash 204e1fbad9d543890e7ed7c28d20dfc1cab659df88c659dda5add5208fa74f4d ( gone because not tagged )

@tboerger
Copy link
Contributor

tboerger commented Sep 2, 2020

@donny-dont any idea what's up here?

@HugoPoi
Copy link
Author

HugoPoi commented Sep 7, 2020

Ok I suspect a file path issues, because I mount output in /drone/src/output but I think the default WORKDIR have changed ?
I don't remember where I came to the point of using /drone/src which is weird.
...
Digging
...
Ok now I remember it's the default workspace in Drone.
Maybe the new version of the plugin ignore workspace or not have the default /drone/src?
Anyway if the return of the go program !== 0 we must have a error message.

@donny-dont
Copy link
Contributor

Can you just try this in a drone exec situation to help narrow things down. There was no major refactor of this code so all the checks should be there. If it did hit an error then it should print out something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants