set up gitea action #59

Closed
opened 2023-03-20 22:29:32 -04:00 by imcompiling · 5 comments
Owner

Gitea released a new feature called actions. I believe I can use this instead of buildbot to do my cd/ci pipeline.

Create a new workflow to use the actions and test.

Also can probably remove the buildbot build scripts.

Gitea released a new feature called actions. I believe I can use this instead of buildbot to do my cd/ci pipeline. Create a new workflow to use the actions and test. Also can probably remove the buildbot build scripts.
imcompiling added the enhancement label 2023-03-20 22:29:32 -04:00
imcompiling added this to the Agon Development project 2023-03-20 22:29:32 -04:00
imcompiling added spent time 3 hours 2023-03-22 23:23:43 -04:00
Author
Owner

Was doing testing to get a baseline workflow working. Develop workflow exists. Need to make the more specialized one for pushes to main.

Was doing testing to get a baseline workflow working. Develop workflow exists. Need to make the more specialized one for pushes to main.
imcompiling added reference 59-gitea-action 2023-03-22 23:25:11 -04:00
Author
Owner

Decided that I really don't need a develop and main branch. Develop tag is now created on all pushes to main branch, and the latest tag/specific tags are updated on tags on main.

Move to monitor because need to watch to see if tags workflow works properly.

Decided that I really don't need a develop and main branch. Develop tag is now created on all pushes to main branch, and the latest tag/specific tags are updated on tags on main. Move to monitor because need to watch to see if tags workflow works properly.
Author
Owner

On tags didn't work like I hoped. It started an action for all pushes. Need to figure out if I need to specify the tag. Also, env.BRANCH_TAG didn't work properly with those, maybe because there was no tag.

On tags didn't work like I hoped. It started an action for all pushes. Need to figure out if I need to specify the tag. Also, env.BRANCH_TAG didn't work properly with those, maybe because there was no tag.
Author
Owner

Tried with a real tag, env.BRANCH_TAG didn't appear. At least the workflow worked as expected. Probably need to find the correct way to limit the tags to what I am expecting and then also find the tag within the workflow.

Tried with a real tag, env.BRANCH_TAG didn't appear. At least the workflow worked as expected. Probably need to find the correct way to limit the tags to what I am expecting and then also find the tag within the workflow.
Author
Owner

Should work as intended now. Just need to do real pushes and check.

Should work as intended now. Just need to do real pushes and check.
Sign in to join this conversation.
1 Participants
Notifications
Total Time Spent: 3 hours
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: imcompiling/agon#59