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

When the build is deleted, the hook have to exist. #1027

Open
victor-shelepen opened this issue Apr 21, 2017 · 5 comments
Open

When the build is deleted, the hook have to exist. #1027

victor-shelepen opened this issue Apr 21, 2017 · 5 comments

Comments

@victor-shelepen
Copy link

There is an option, the number of build. So they are deleted. I build builds and also configure third party services like mysql and others. While builds exist, services have to be workable. When a build is deleted, the services have to be deleted. I need to know when I have to delete.

@knownasilya
Copy link
Member

By build do you mean the project in Strider?

@victor-shelepen
Copy link
Author

victor-shelepen commented Apr 21, 2017

The build is the result of a project when we click on the test button. There is similar issue #878 . Results have to exist for some time. During deletion the related resources have to be deleted. Are there Strider's environment variables?

@knownasilya
Copy link
Member

knownasilya commented Apr 21, 2017

So you aren't talking about deletion, but the completion of a job? Yes there are env variables, see https://github.com/Strider-CD/strider-env. There are no default env variables at the moment, see this feature request #892.

@victor-shelepen
Copy link
Author

victor-shelepen commented Apr 21, 2017

Both(Completion, and deletion). There is an option on the settings page of the default runner.

Preserve the data directories from previous builds.

Jobs are not deleted after completion. It is good. But they are deleted later by runner. I want to catch this moment.

@knownasilya
Copy link
Member

Ah, got it. Not the job but the data that was pulled down and built.

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

No branches or pull requests

2 participants