Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
b983e70
files needed to ci
magecnion May 22, 2023
480c776
run check job every push
magecnion May 22, 2023
b769ae3
update check
magecnion May 22, 2023
e213c0c
test github actions
magecnion May 22, 2023
77ef745
update Dockerfile paths
magecnion May 23, 2023
54ba8d3
use actions/cache
magecnion May 23, 2023
864855a
add latest tag
magecnion May 23, 2023
6563402
remove tests step
magecnion May 23, 2023
d6341d2
fix tags step
magecnion May 23, 2023
b949c35
Dockerfile don't remove /bin/ folder
magecnion May 24, 2023
9bbcbd7
Merge pull request #1 from freeverseio/feature/setup_ci
magecnion May 26, 2023
66f08ff
add build step that provides binary to release jobs
magecnion May 26, 2023
b8e335d
add --release to cargo build command
magecnion May 26, 2023
f7f2a14
add dependency between workflows
magecnion May 26, 2023
40b3da8
publish workflow resuse steps
magecnion May 27, 2023
8f0855a
separate build and check process
magecnion May 27, 2023
bdf16da
test cache
magecnion May 27, 2023
076fc10
fix Dockerfile
magecnion May 28, 2023
a6ea047
only build at test step
magecnion May 28, 2023
7ab47ec
test step only trigger on branches
magecnion May 28, 2023
ca934c2
trigger Github Actions
magecnion May 28, 2023
acc9bea
use entrypoint in the Dockerfile so I can pass params
magecnion May 28, 2023
67802c5
remove tag latest from Dockerfile
magecnion May 29, 2023
6f3cb70
Merge pull request #2 from freeverseio/devops/new_image_every_push
asiniscalchi May 29, 2023
81f405a
add rococo-freeverse chainspec
magecnion May 30, 2023
abb38b8
Merge pull request #3 from freeverseio/feature/add_rococo_freeverse_c…
asiniscalchi May 30, 2023
ebe623a
bootnodes added to the chain spec
magecnion May 30, 2023
3b1271c
add deployment files
magecnion May 30, 2023
2899964
bootnodes added to the chain spec
magecnion May 30, 2023
13805ec
remove unused file
magecnion May 30, 2023
db3cdd0
change bob to charlie
magecnion May 30, 2023
b3fe2d6
bootnodes added to the chain spec
magecnion May 30, 2023
afda047
bootnodes removed
magecnion May 30, 2023
1b74e55
bootnodes removed
magecnion May 30, 2023
45e1642
bootnodes removed
magecnion May 30, 2023
2927015
bootnodes added to the chain spec
magecnion May 30, 2023
b23a1ba
Merge pull request #4 from freeverseio/feature/deploy_rococo_freeverse
asiniscalchi May 30, 2023
0d11022
bootnodes removed
magecnion May 30, 2023
1d0d9a2
bootnodes added to the chain spec
magecnion May 30, 2023
e0082fe
bootnodes removed
magecnion May 30, 2023
78f74c1
bootnodes added to the chain spec
magecnion May 30, 2023
20e993f
helmfile
magecnion May 30, 2023
6832fdd
Merge branch 'dev' of github.com:freeverseio/laos-ownership-node into…
magecnion May 30, 2023
7d3b3f0
ci: fix publish step
magecnion May 30, 2023
15328e9
Merge pull request #5 from freeverseio/feature/deploy_rococo_freeverse
asiniscalchi May 31, 2023
9f071d3
add arrakis chain spec
magecnion Jun 2, 2023
15dafb5
change chain-spec use new identity
magecnion Jun 2, 2023
95d64c3
add relay as param
magecnion Jun 2, 2023
6332b14
cargo test not needed
magecnion Jun 2, 2023
d69dfd3
add arrakis bootnode
magecnion Jun 2, 2023
5c0d659
include rococo_local_testnet as built-in along arrakis param
magecnion Jun 5, 2023
014bc96
integrate pallet_livingassets_ownership
asiniscalchi Jun 5, 2023
b8854b0
using pallet-livingasset-ownership compatible
asiniscalchi Jun 5, 2023
df86a05
include rococo_local_testnet as built-in along arrakis param
magecnion Jun 6, 2023
07d33ba
add arrakis spec
magecnion Jun 6, 2023
276b0b2
add collator chart to helmfile
magecnion Jun 6, 2023
9b8c89e
not needed rococo-local json file
magecnion Jun 6, 2023
53459e9
use future tag: v0.0.2-dev
magecnion Jun 6, 2023
1bd9e82
Merge pull request #7 from freeverseio/feature/add_arrakis_chain_spec
asiniscalchi Jun 6, 2023
0038f66
some fixes helmfile
magecnion Jun 6, 2023
ff7da44
add arrakis bootnode
magecnion Jun 6, 2023
0ccf95c
use v0.0.3-dev
magecnion Jun 6, 2023
c1557b4
Merge pull request #9 from freeverseio/feature/add_parachain_bootnode
asiniscalchi Jun 6, 2023
4a353b6
increase spec version
asiniscalchi Jun 6, 2023
d4ef600
add ingress to helmfile
magecnion Jun 7, 2023
5c3d921
Merge pull request #10 from freeverseio/feature/add_public_node
tonimateos Jun 8, 2023
be2ee09
Merge branch 'dev' into feature/substitute_template_pallet_with_livin…
tonimateos Jun 8, 2023
4f279b7
add sudo to arrakis chain
magecnion Jun 12, 2023
4078bc9
add zombienet folder
magecnion Jun 12, 2023
385e77a
zombienet config
magecnion Jun 12, 2023
9c0c50b
pandora: new arrakis chain config with sudo
magecnion Jun 13, 2023
7276890
add zombienet chain specs used
magecnion Jun 13, 2023
7d75f9b
include k8s zombienet config
magecnion Jun 13, 2023
dcdc7a5
include all zombienet files
magecnion Jun 13, 2023
78bd9b4
set chain spec for arrakis namespace
magecnion Jun 14, 2023
5be9265
better readme to zombienet
magecnion Jun 14, 2023
7e6b7f2
better readme to zombienet
magecnion Jun 14, 2023
2dac7d8
better readme to zombienet
magecnion Jun 14, 2023
5c07c03
bootnodes added to the chain spec
magecnion Jun 14, 2023
1463375
add helmfiles
magecnion Jun 14, 2023
54e6605
Merge pull request #11 from freeverseio/feature/new_arrakis_chain_wit…
tonimateos Jun 14, 2023
1f4503a
Merge branch 'dev' of github.com:freeverseio/laos-ownership-node into…
magecnion Jun 14, 2023
0d2e51a
ci: add cargo test step
magecnion Jun 14, 2023
a22706e
Merge branch 'feature/substitute_template_pallet_with_livingassets' o…
magecnion Jun 14, 2023
5d38523
ci: remove cargo test step
magecnion Jun 14, 2023
3132e53
Merge pull request #8 from freeverseio/feature/substitute_template_pa…
magecnion Jun 14, 2023
8090863
Push correct chain spec (#31)
Jul 3, 2023
62ca83e
Fix clippy errors and add git action (#33)
Jul 6, 2023
d51d6bc
add rococo relay chain spec as raw (#38)
magecnion Jul 7, 2023
faa2bd4
bump versions to polkadot-v0.9.43 (#36)
magecnion Jul 7, 2023
9dc2088
removed deployment (#45)
asiniscalchi Jul 11, 2023
ffa9a78
Feature/add rpc frontier layer (#40)
asiniscalchi Jul 11, 2023
007ef5d
add bootnodes (#46)
asiniscalchi Jul 11, 2023
8c07699
ci parallelization and caching (#52)
asiniscalchi Jul 13, 2023
97f3fad
Feature/ci using runner groups (#56)
asiniscalchi Jul 13, 2023
14c0217
new chain specs (#47)
asiniscalchi Jul 13, 2023
d9846eb
add test job (#57)
asiniscalchi Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**/*.txt
**/*.md
/docker/
!/target/release/polkadot-collator
!/target/release/parachain-template-node

# dotfiles in the repo root
/.*
130 changes: 130 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
name: Build

# Controls when the action will run.
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:

# Set an environment variable (that can be overriden) for the Docker Repo
env:
DOCKER_REPO: freeverseio/laos-ownership-node

jobs:
build_and_push:
runs-on:
group: laos
labels: ubuntu-16-cores
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3

- name: Install linux dependencies
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust
run: |
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown

# Caching paths to speed up builds
- name: Cache Paths
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: |
cargo build --release

# Login to Docker hub using the credentials stored in the repository secrets
- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

# create Docker image and push to Docker Hub
- name: Push Docker images
uses: docker/build-push-action@v4
with:
context: .
file: ./local.Dockerfile
push: true
tags: ${{ env.DOCKER_REPO }}:${{ github.sha }}

lint:
runs-on:
group: laos
labels: ubuntu-16-cores
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3

- name: Install linux dependencies
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust
run: |
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown
rustup component add clippy

# Caching paths to speed up builds
- name: Cache Paths
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}

- name: Check clippy
run: |
cargo clippy --all-targets --workspace --features runtime-benchmarks --features try-runtime

test:
runs-on:
group: laos
labels: ubuntu-16-cores
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3

- name: Install linux dependencies
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust
run: |
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown

# Caching paths to speed up builds
- name: Cache Paths
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}

- name: Test
run: |
cargo test



49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This is an example GitHub action that will build and publish a Docker image to DockerHub
# You need to add the following secrets to your GitHub Repository or Organization to make this work
# - DOCKER_USERNAME: The username of the DockerHub account. E.g. parity
# - DOCKER_TOKEN: Access token for DockerHub, see https://docs.docker.com/docker-hub/access-tokens/. E.g. VVVVVVVV-WWWW-XXXXXX-YYYY-ZZZZZZZZZ
# The following are setup as an environment variable below
# - DOCKER_REPO: The unique name of the DockerHub repository. E.g. parity/polkadot

name: Build release

# Controls when the action will run.
on:
# Triggers the workflow on push events for tags only
push:
tags:
- 'v*.*.*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Set an environment variable (that can be overriden) for the Docker Repo
env:
DOCKER_REPO: freeverseio/laos-ownership-node

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out the repo
uses: actions/checkout@v3

# Login to Docker hub using the credentials stored in the repository secrets
- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

# Build and push images the version tag
- name: Build and push Docker images
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ env.DOCKER_REPO }}:${{ github.ref_name }}
49 changes: 0 additions & 49 deletions .github/workflows/test-code.yml

This file was deleted.

Loading