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

build artifacts #966

Closed
hd-deman opened this issue Apr 9, 2015 · 8 comments
Closed

build artifacts #966

hd-deman opened this issue Apr 9, 2015 · 8 comments

Comments

@hd-deman
Copy link

hd-deman commented Apr 9, 2015

No way to get build artifacts (screenshots/logs/etc) created during test suite. Nice example of build-artifacts implementation https://circleci.com/docs/build-artifacts.

@daMupfel
Copy link
Contributor

daMupfel commented Apr 9, 2015

I like this approach 👍

@thomasf
Copy link
Contributor

thomasf commented Apr 9, 2015

I think that should be a job for a publish job to put those in a content repository of choice.. I like how drone currently does not handle artifacts, keeps things cleanly separated.
(At least this seems to be true for the version I am running. I just started using drone so I have no deep insight)

@thomasf
Copy link
Contributor

thomasf commented Apr 9, 2015

The hosted drone.io seems to have this http://docs.drone.io/artifacts.html .. Maybe it works by publishing using some internal publishing function.

@thomasf
Copy link
Contributor

thomasf commented Apr 9, 2015

Also you should have searched the issue system first:
https://github.com/drone/drone/search?q=artifacts&type=Issues&utf8=%E2%9C%93
Specifically this is more or less a duplicate of #306 except that issue does not currently describe anything about a user interface.

@bradrydzewski
Copy link
Contributor

Thanks for the link, let's track in #306 to avoid duplicate issues. For an immediate solution, I recommend using the S3 plugin (or others) to archive files. It isn't perfect, but should work.

We will probably do something similar to what is described here:
#239 (comment)

It isn't really practical for Drone to build everything (code coverage, commiter analytics, code quality, dependency analysis, artifacts, etc) directly into the codebase. Yet people want all of these things inside Drone and more. How do we pick winners? And should we? Drone can't do Coverage better than coveralls or artifact management better than Bintray, for example, and if we try we will probably create something mediocre at best.

I think a better strategy is to find a way to integrate 3rd party systems with Drone as described in #239 (comment). The tl;dr is that we will expose something similar to the GitHub Status API but for Drone. You will be able to tag builds with useful information, and links to external resources.

We could, for example, create an artifact service (a separate server) that tightly integrates with Drone using the API and the Status API. It could look and feel like Drone. It could even have Drone's branding. It just might be a different url, and you would link to it from your build. I really think we could make the UX seamless.

This approach allows for unlimited integrations, and can meet the needs of every Drone user no matter how obscure their needs may be.

I would love to engage everyone in designing the Drone status API to support all of these different use cases. Open issue here: #927

andrewhowdencom added a commit to littlemanco/docs.littleman.co that referenced this issue Feb 23, 2019
Currently there is a problem in which content build as part of a build
step does not persist to the next build step.

The suggested solution is to push this content to a third party
repository. However, that means there will be a useless artifact in that
repository for at least a short period of time, which isn't what we
should do through the life of the build.

This commit attempts to address that by combining two build steps, in
the hope they'll be executed in the same environment sequentially.

See harness/drone#966
andrewhowdencom added a commit to littlemanco/docs.littleman.co that referenced this issue Feb 23, 2019
Currently there is a problem in which content build as part of a build
step does not persist to the next build step.

The suggested solution is to push this content to a third party
repository. However, that means there will be a useless artifact in that
repository for at least a short period of time, which isn't what we
should do through the life of the build.

This commit attempts to address that by combining two build steps, in
the hope they'll be executed in the same environment sequentially.

See harness/drone#966
@kinosang
Copy link

kinosang commented Sep 9, 2019

any update?

@gp-Airee
Copy link

Really would love this.

@dwilhel1
Copy link

My team would also like to see this as a feature added to Drone!

@harness harness locked and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants