Drone 1.0.0 yaml #3117

Closed
opened 2025-11-02 05:01:14 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @techknowlogick on GitHub (Mar 28, 2019).

Now that the Gitea org uses Drone 1.0.0 we should update the .drone.yml to align with the new format. The current one works, however due to the dropping of groups it takes longer to run.

I'm thinking we also have separate pipelines for each DB that gets tested, so that the services could be terminated sooner (which would decrease resource usage). If we do this we will probably have to have a build step in each pipeline though (a simple TAGS="sqlite" make build would likely be enough). Pipelines supports the depends_on param.

We also have an ARM server that can run docker builds to be able to publish arm builds of our docker image.

cc: @sapk (due to your ARM docker efforts)

Originally created by @techknowlogick on GitHub (Mar 28, 2019). Now that the Gitea org uses Drone 1.0.0 we should update the .drone.yml to align with the new format. The current one works, however due to the dropping of `groups` it takes longer to run. I'm thinking we also have separate pipelines for each DB that gets tested, so that the services could be terminated sooner (which would decrease resource usage). If we do this we will probably have to have a build step in each pipeline though (a simple `TAGS="sqlite" make build` would likely be enough). Pipelines supports the `depends_on` param. We also have an ARM server that can run docker builds to be able to publish arm builds of our docker image. cc: @sapk (due to your ARM docker efforts)
GiteaMirror added the issue/confirmedtopic/build labels 2025-11-02 05:01:14 -06:00
Author
Owner

@killua99 commented on GitHub (Mar 28, 2019):

Sorry if I might be confusing the TAGS thing.

But wouldn't be enough with something like this https://github.com/containous/traefik-library-image/blob/master/alpine/Dockerfile

@killua99 commented on GitHub (Mar 28, 2019): Sorry if I might be confusing the TAGS thing. But wouldn't be enough with something like this https://github.com/containous/traefik-library-image/blob/master/alpine/Dockerfile
Author
Owner

@techknowlogick commented on GitHub (Mar 28, 2019):

The dockerfile doesn't need to change as alpine is multi-arch, this issue is about updating Drone yaml so it connects makes use of our ARM agent.

@techknowlogick commented on GitHub (Mar 28, 2019): The dockerfile doesn't need to change as alpine is multi-arch, this issue is about updating Drone yaml so it connects makes use of our ARM agent.
Author
Owner

@killua99 commented on GitHub (Mar 29, 2019):

Understood, I see so perhaps we have to split a bit the .drone.yml into multiple platform then.

https://docs.drone.io/user-guide/pipeline/multi-platform/ Something like this, I'm right? shall we create different issues for platforms ? or BD

@killua99 commented on GitHub (Mar 29, 2019): Understood, I see so perhaps we have to split a bit the .drone.yml into multiple platform then. https://docs.drone.io/user-guide/pipeline/multi-platform/ Something like this, I'm right? shall we create different issues for platforms ? or BD
Author
Owner

@sapk commented on GitHub (Mar 29, 2019):

The dockerfile is already multi-platform. With the multi-platform drone we just have to tag the image depneding on the host machine. My PR was generating various dockerfile based on the ref to enforce the base image link to an arch and use qemu to be able to run thoses arch on amd64.

@sapk commented on GitHub (Mar 29, 2019): The dockerfile is already multi-platform. With the multi-platform drone we just have to tag the image depneding on the host machine. My PR was generating various dockerfile based on the ref to enforce the base image link to an arch and use qemu to be able to run thoses arch on amd64.
Author
Owner

@stale[bot] commented on GitHub (May 31, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (May 31, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3117