Commit Graph

1394 Commits

Author SHA1 Message Date
Hamish Coleman
c0cfe93726 How many commits to fetch? Github says 'meh'
The right number of commits to fetch is enough to be able to create
a `git describe` result - basically back until the most recent parent
annotated tag.

However, the github action/checkout@v2 only allows a simple number,
which is basically the answer to "how long is a piece of string"
2021-11-01 19:15:23 +00:00
Hamish Coleman
6c3ccadde1 Try to make debug workflow demand triggerable
The docs claim that by adding the right `on:` event, the job can be
manually triggered from the github UI.

https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_dispatch

Tests show that it doesnt work, but I can leave it here for reference.
2021-11-01 19:15:23 +00:00
Hamish Coleman
dfc1c85bce Get the repo history 2021-11-01 19:15:23 +00:00
Hamish Coleman
d22f74bf69 Add a build job to dump details about the repository 2021-11-01 19:15:23 +00:00
Hamish Coleman
142f23bd50 Apply tags fix from https://github.com/actions/checkout/issues/290 to all checkouts 2021-11-01 19:15:23 +00:00
Hamish Coleman
06cc8ae64b Apply tags fix from https://github.com/actions/checkout/issues/290 2021-11-01 19:15:23 +00:00
Hamish Coleman
e538e55ed7 The cmake github action is clearly not just for linux 2021-11-01 19:15:23 +00:00
Hamish Coleman
5b06254a8b Remove unused makefile variable 2021-11-01 19:15:23 +00:00
Hamish Coleman
aafca3813a Use script to calculate the build version 2021-11-01 19:15:23 +00:00
Hamish Coleman
d57ac3c6a1 Clearly separate documented scripts into user and build categories 2021-11-01 19:15:23 +00:00
Hamish Coleman
0d04b40926 Make distclean more clean 2021-11-01 19:15:23 +00:00
Hamish Coleman
00a2bdc307 Remove all use of N2N_VERSION_SHORT in favor of PACKAGE_VERSION 2021-11-01 19:15:23 +00:00
Hamish Coleman
4575154e1b Shrink autogen by reading VERSION file directly in configure.ac 2021-11-01 19:15:23 +00:00
Hamish Coleman
a9216f1097 Remove GIT_RELEASE variable and use the semantically identical N2N_VERSION instead 2021-11-01 19:15:23 +00:00
Hamish Coleman
430b0cb77d Fix CMakeFile version number embedded NL 2021-11-01 19:15:23 +00:00
Hamish Coleman
ff88803f6d Use one common file for the version number in both build systems 2021-11-01 19:15:23 +00:00
Logan oos Even
81bd79a82a
assured correct supernode MAC address properties (#888) 2021-11-02 00:01:44 +05:45
Logan oos Even
e0a9bb95fc
differentiated between 'active' and 'standby' in sn-selection-by-mac mode (#887) 2021-11-01 23:31:03 +05:45
Logan oos Even
3d0c618d99
updated Federation.md 2021-11-01 17:20:09 +05:45
Logan oos Even
89571292f4
allowed supernode MAC address to be set manually (-m) (#886) 2021-11-01 17:19:46 +05:45
Logan oos Even
f4e7e513a8
added MAC address based supernode selection (#885) 2021-11-01 16:35:05 +05:45
Hamish Coleman
03ce1e2b84
Merge pull request #883 from hamishcoleman/release
Only trigger automatic release process on annotated tags - Take two
2021-10-31 20:40:46 +00:00
Hamish Coleman
9f7ea89229 Remove debugging outputs 2021-10-31 20:28:30 +00:00
Hamish Coleman
5055259171 Output correct debug data... 2021-10-31 20:16:06 +00:00
Hamish Coleman
02f341df87 Add a debugging job to show the get tagtype data quicker in the workflow 2021-10-31 20:14:22 +00:00
Hamish Coleman
3c3a848dc2 Re-add much of the debug output 2021-10-31 19:51:22 +00:00
Hamish Coleman
5b5fe587ae Attempt to fix github tags in each job
See https://github.com/actions/checkout/issues/290 for some discussion.
2021-10-31 19:37:11 +00:00
Hamish Coleman
f2f49111b7 Add reference to a ticket for this problem 2021-10-31 19:28:42 +00:00
Hamish Coleman
88bd8e566f Fix clone command, removing the half removed old fetch-based command 2021-10-31 19:16:47 +00:00
Hamish Coleman
d8fa2ef9da Return the tags check to the releases, use our own clone and remove all the debug output 2021-10-31 19:04:35 +00:00
Hamish Coleman
11512fe1c8 Fix spelling 2021-10-31 19:04:35 +00:00
Hamish Coleman
a4f5b18308 Of course, nobody has a standard git repo layout, so need to jump more hoops 2021-10-31 19:04:35 +00:00
Hamish Coleman
d9d524a8d8 Add more debug data output 2021-10-31 19:04:35 +00:00
Hamish Coleman
e709997b3c Abandon using the github checkout action, it is clearly at fault 2021-10-31 19:04:35 +00:00
Hamish Coleman
23ef8e4bfe Adjust pull command to pull.rebase=false 2021-10-31 19:04:35 +00:00
Hamish Coleman
3e2be20614 Try returning to the 'normal' command, after force pulling the correct repo data 2021-10-31 19:04:35 +00:00
Hamish Coleman
6395aa4fbc Getting closer, it clearly showed the upstream had a different view than this checkout 2021-10-31 19:04:35 +00:00
Hamish Coleman
71021abd97 Try a different way to fetch the right tag data 2021-10-31 19:04:35 +00:00
Hamish Coleman
9b081805f5 Add more tag debugging output 2021-10-31 19:04:35 +00:00
Hamish Coleman
55c063513d Shorten line to address yamllint warning 2021-10-31 19:04:35 +00:00
Hamish Coleman
1adbdc9a00 Avoid exitcode triggering job failure 2021-10-31 19:04:35 +00:00
Hamish Coleman
e63b0f3c53 Attempt to work around strage git behaviour in github 2021-10-31 19:04:35 +00:00
Hamish Coleman
3371a50d5a Add more debug data, still trying to work out why github doesnt think tags are tags 2021-10-31 19:04:35 +00:00
Hamish Coleman
0a24c40e25 Tags dont work properly with a thin clone 2021-10-31 19:04:35 +00:00
Hamish Coleman
e5b373dd10 With the better release gating, we dont need to check if the job can run (also allows more debug info output) 2021-10-31 19:04:35 +00:00
Hamish Coleman
5538a55090 Add some debug info to the release automation 2021-10-31 19:04:35 +00:00
Hamish Coleman
78889f8d98 Fix - if we want to run git commands, we need a git repo clone 2021-10-31 19:04:35 +00:00
Hamish Coleman
0929185d04 Fix tagtype logic, shell quotes need to be correct for shell vars 2021-10-31 19:04:35 +00:00
Logan oos Even
ecff46a043
applied tiny optimization to PACKET's code path (#882) 2021-10-31 22:38:56 +05:45
Hamish Coleman
6acca5085b
Merge pull request #880 from hamishcoleman/release
Only trigger automatic release process on annotated tags
2021-10-31 13:35:33 +00:00