5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-14 16:10:28 +00:00
yggdrasil-network.github.io/builds.md

47 lines
1.7 KiB
Markdown
Raw Normal View History

---
tags: dontlink
2018-07-23 16:39:34 +00:00
sitemap: true
---
2018-03-13 01:23:56 +00:00
# Latest Builds
2018-07-23 16:39:34 +00:00
After every push to the `master` branch of the [GitHub repository](https://github.com/yggdrasil-network/yggdrasil-go), the code is automatically built by [CircleCI](https://circleci.com/gh/yggdrasil-network/yggdrasil-go) for a number of platforms.
2018-06-29 22:12:53 +00:00
If you prefer to live dangerously and want to test bleeding-edge features or changes, development builds are [available from the `develop` branch](builds-develop.md), although these may not be as stable.
2018-10-17 16:01:15 +00:00
For convenience, the latest builds are linked below:
2018-10-17 16:01:15 +00:00
<h3>yggdrasil</h3>
2018-03-13 00:12:41 +00:00
<p id="buildArtifactLinks"></p>
2018-10-17 15:58:40 +00:00
2018-10-17 16:01:15 +00:00
<h3>yggdrasilctl (admin utility)</h3>
2018-10-17 15:54:17 +00:00
<p id="buildArtifactLinksCtl"></p>
2018-03-13 00:12:41 +00:00
2018-03-13 01:23:56 +00:00
<!-- TODO sort these to a useful order of some kind -->
<script type="text/javascript">
let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts?branch=master&filter=successful';
2018-10-17 15:57:25 +00:00
fetch(url).then(function(res) {
2018-05-05 21:24:04 +00:00
return res.json();
}).then(function (bins) {
var links = document.createElement('p')
2018-10-17 15:55:35 +00:00
var ctllinks = document.createElement('p')
2018-03-12 23:44:17 +00:00
for (var idx in bins) {
var bin = bins[idx]
2018-03-12 23:49:32 +00:00
var link = document.createElement('a');
link.appendChild(document.createTextNode(bin.path));
link.title = bin.path;
link.href = bin.url;
2018-10-17 15:55:35 +00:00
if (bin.path.includes("yggdrasilctl")) {
ctllinks.appendChild(link);
ctllinks.appendChild(document.createElement('br'));
} else {
links.appendChild(link);
links.appendChild(document.createElement('br'));
}
}
2018-10-17 15:57:25 +00:00
document.getElementById("buildArtifactLinks").appendChild(links);
document.getElementById("buildArtifactLinksCtl").appendChild(ctllinks);
})
.catch(err => { throw err });
</script>