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

$DRONE_BUILD_STARTED not guaranteed to be same between "steps:" and "services:" containers #15

Open
kingphil opened this issue Nov 30, 2022 · 0 comments

Comments

@kingphil
Copy link

kingphil commented Nov 30, 2022

After seeing a few Drone CI runs spin and then fail after an hour, I added a basic sanity check on the value of $DRONE_BUILD_STARTED (i.e. - echo sanity - $${DRONE_BUILD_STARTED})

In one run,
k3dsvc: sanity - 1669820814
test: sanity - 1669820815

While the k3d service is healthy, and the kubeconfig is in place, the "test" step is looking for the wrong filename indefinitely.

Suggested resolution: as these are ephemeral environments, we can use a hard-coded filename (e.g. kubeconfig.yaml).

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

1 participant