Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Fix nil panic on null environment variable for step #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mach6
Copy link

@mach6 mach6 commented Sep 7, 2022

The following in a .drone.yml will cause the drone-runner-exec process to crash (nil panic) ..

steps:
- name: crash-runner
  environment:
    BURN_IT_DOWN: null

This PR fixes it and a similar issue for engine.Secret

Note: both changes are already present in drone-runner-docker, drone-runner-ssh and drone-runner-kube.

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

Successfully merging this pull request may close these issues.

1 participant