Skip to content

Releases: MukuFlash03/e-mission-server

Even better way to get latest and previous tag from current branch

07 Oct 19:16
Compare
Choose a tag to compare
https://stackoverflow.com/questions/28818419/how-to-get-previous-tag-in-git/28818420#28818420

Not adding fetch-depth as yet.
If this fails, then will add.

Ttesting git describe for previous server tag + Bump tags on dispatch only

07 Oct 18:49
Compare
Choose a tag to compare
v0.3.14

Ttesting git describe for previous server tag + Bump tags on dispatch…

Dispatch job on push:tag + Remaining steps on either tags or dispatch

07 Oct 17:36
Compare
Choose a tag to compare

Latest runs observations.

  • Passed for server, join, admin-dash, public-dash.
  • Failed for admin-dash, public-dash.
  • Workflow dispatch occurred twice since the server build job was a dependency for dispatch job and we removed ref_type == tag check.
  • To prevent dispatch occurring twice, need to add ref_type check to dispatch job in server workflow.
    • This caused dispatch to be triggered even for push:branch event on server.
    • But this doesn’t update version tag so even with dispatch, the dashboard workflows should have used the current non-updated server tag.
    • But during testing I immediately also create a new release with a new tag, and the reusable workflow fetches tags from GitHub REST API.
      • So even though push:branch event didn’t update server tag, my manual UI tag creation already updated it.
      • This caused the dispatch events that were triggered on push:branch in dashboards to pick up the latest UI tag.
      • But this fails since this image was never pushed since we only push on push:tags event.
    • In parallel, server workflow for push:tags had already started running as well and this did push the server image with latest new tag created through UI.
  • However, for workflow dispatch events as well the remaining steps were skipped since workflow_dispatch also has a ref_type: branch.
    • Hence need to add OR condition that checks for both ref_type: tags (in case of push:tags event) as well as event_name: workflow_dispatch for dashboard workflows triggered on server push:tag only.

Server: Building image for both push:branch and push:tags

07 Oct 16:47
Compare
Choose a tag to compare
v0.3.12

Merge branch 'cleanup-cicd' of https://github.com/MukuFlash03/e-missi…

Version not incremented; uncommenting v prefix removal

06 Oct 20:32
Compare
Choose a tag to compare
v0.3.11

Merge branch 'cleanup-cicd' of https://github.com/MukuFlash03/e-missi…

Added missing fi

06 Oct 20:12
Compare
Choose a tag to compare
v0.3.10

Added missing fi

Re-adding v prefix since push:tags trigger is set to include v in regex pattern

06 Oct 20:05
Compare
Choose a tag to compare
v0.3.9

Re-adding v prefix since push:tags trigger is set to include v in reg…

Removing v prefix; Event name check for join build

06 Oct 19:48
Compare
Choose a tag to compare
0.3.8

Merge branch 'cleanup-cicd' of https://github.com/MukuFlash03/e-missi…

Removing branch_name from tag; Using semver tags only

06 Oct 19:31
Compare
Choose a tag to compare
v0.3.7

Merge branch 'cleanup-cicd' of https://github.com/MukuFlash03/e-missi…

Using server_image_tag since dashboard dockerfiles need it

06 Oct 07:46
Compare
Choose a tag to compare
v0.3.6

Using server_image_tag since dashboard dockerfiles need it