Coder Social home page Coder Social logo

Create a tag and push into my repository. Trigger slack notification, but got 'panic: runtime error: slice bounds out of range' about drone-slack HOT 7 CLOSED

drone-plugins avatar drone-plugins commented on September 22, 2024
Create a tag and push into my repository. Trigger slack notification, but got 'panic: runtime error: slice bounds out of range'

from drone-slack.

Comments (7)

tboerger avatar tboerger commented on September 22, 2024

I think you are not using the latest plugin version, referenced line 112 doesn't match today's code.

from drone-slack.

liu-weihao avatar liu-weihao commented on September 22, 2024

I think you are not using the latest plugin version, referenced line 112 doesn't match today's code.

i cannot find any more images at Docker Hub. u mean building from source code by myself, right?

from drone-slack.

tboerger avatar tboerger commented on September 22, 2024

Are you sure you are using really latest? You have defined if-not-exists which doesn't update the slack plugin.

Beside that you are missing more information like which source provider is used to check if this is simply missing an important value.

from drone-slack.

liu-weihao avatar liu-weihao commented on September 22, 2024

i am defintely sure i am using the latest plugins/slack.
Here is a .drone.yml file below:

kind: pipeline
type: docker
name: mol-i18n
clone:
  disable: true

steps:        
- name: clone
  image: alpine/git
  pull: if-not-exists
  commands:
  - git config --global http.sslVerify "false" 
  - git clone https://$${username}:$${password}@git.pm.bwoilmarine.com/${DRONE_REPO} .
  - git checkout $DRONE_COMMIT

- name: prenotify
  image: plugins/slack
  pull: always
  settings:
    webhook: https://hooks.slack.com/services/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
    channel: working_topic
    username: ${DRONE_COMMIT_AUTHOR}
    template: >
        Hi, I am starting <{{build.link}}|build#{{build.number}}> at <https://git.pm.bwoilmarine.com/${DRONE_REPO}|{{repo.name}}> due to {{build.event}}. DO NOT repeat that again untill its completion.

from drone-slack.

tboerger avatar tboerger commented on September 22, 2024

You still don't provide all relevant information.

from drone-slack.

jeeftor avatar jeeftor commented on September 22, 2024

I've run into the exact same error unfortunately...

from drone-slack.

tboerger avatar tboerger commented on September 22, 2024

Just try it again, I have merged #108 2 hours ago.

from drone-slack.

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.