Skip to content

Commit

Permalink
Update CI (#1000)
Browse files Browse the repository at this point in the history
* Try update CI

* Improve CI

* Use non-root account for docker container

* Fix release ci

* Fix release ci

* Try fix ci

* Try fix ci

* Improve CI

* Update template

* Change use circle emoji

* Format

* Rename

* Format

* Different features for different release

---------

Co-authored-by: Xavier Lau <xavier@inv.cafe>
  • Loading branch information
fewensa and AurevoirXavier committed Mar 14, 2023
1 parent 73d95c7 commit 109fa1d
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 346 deletions.
40 changes: 40 additions & 0 deletions .github/release-mainnets.md
@@ -0,0 +1,40 @@
## Pangolin {{ pangolin_runtime_version }}
<h3 align="right">Upgrade Priority LOW :green_circle:</h3>
- Proposal Hash
```
{{ pangolin_proposal_compressed }}
```
- Blake2 256 Hash
```
{{ pangolin_blake2_256_compressed }}
```

## Pangoro {{ pangoro_runtime_version }}
<h3 align="right">Upgrade Priority LOW :green_circle:</h3>
- Proposal Hash
```
{{ pangoro_proposal_compressed }}
```
- Blake2 256 Hash
```
{{ pangoro_blake2_256_compressed }}
```

## Resources
### Pre-built Binary
| OS | Arch | Glibc | LLVM | Download |
| :---: | :----: | :---: | :---: | :-------------------------------------------------------------------------------------------------------------------: |
| Linux | x86_64 | 2.23 | 4.0 | [tar.zst](https://github.com/darwinia-network/darwinia/releases/download/{{ tag }}/darwinia-x86_64-linux-gnu.tar.zst) |
| Linux | x86_64 | 2.23 | 4.0 | [tar.bz2](https://github.com/darwinia-network/darwinia/releases/download/{{ tag }}/darwinia-x86_64-linux-gnu.tar.bz2) |

### Docker
#### Pull with the Git Tag
```docker
docker pull ghcr.io/darwinia-network/darwinia:{{ tag }}
```
#### Pull with the Git Commit SHA
```docker
docker pull ghcr.io/darwinia-network/darwinia:sha-{{ sha }}
```

## Changelog
48 changes: 0 additions & 48 deletions .github/release-template.md

This file was deleted.

40 changes: 40 additions & 0 deletions .github/release-testnets.md
@@ -0,0 +1,40 @@
## Darwinia {{ darwinia_runtime_version }}
<h3 align="right">Upgrade Priority LOW :green_circle:</h3>
- Proposal Hash
```
{{ darwinia_proposal_compressed }}
```
- Blake2 256 Hash
```
{{ darwinia_blake2_256_compressed }}
```

## Crab {{ crab_runtime_version }}
<h3 align="right">Upgrade Priority LOW :green_circle:</h3>
- Proposal Hash
```
{{ crab_proposal_compressed }}
```
- Blake2 256 Hash
```
{{ crab_blake2_256_compressed }}
```

## Resources
### Pre-built Binary
| OS | Arch | Glibc | LLVM | Download |
| :---: | :----: | :---: | :---: | :-------------------------------------------------------------------------------------------------------------------: |
| Linux | x86_64 | 2.23 | 4.0 | [tar.zst](https://github.com/darwinia-network/darwinia/releases/download/{{ tag }}/darwinia-x86_64-linux-gnu.tar.zst) |
| Linux | x86_64 | 2.23 | 4.0 | [tar.bz2](https://github.com/darwinia-network/darwinia/releases/download/{{ tag }}/darwinia-x86_64-linux-gnu.tar.bz2) |

### Docker
#### Pull with the Git Tag
```docker
docker pull ghcr.io/darwinia-network/darwinia:{{ tag }}
```
#### Pull with the Git Commit SHA
```docker
docker pull ghcr.io/darwinia-network/darwinia:sha-{{ sha }}
```

## Changelog

0 comments on commit 109fa1d

Please sign in to comment.