-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1307 from iotaledger/develop
0.3.1 release
- Loading branch information
Showing
570 changed files
with
6,022 additions
and
3,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,31 @@ | ||
Dockerfile | ||
.github | ||
.git | ||
.* | ||
.git | ||
.github | ||
.github | ||
.idea | ||
.vscode | ||
.waypoint | ||
*.bat | ||
*.log | ||
*.md | ||
*.png | ||
*.toml | ||
*.tpl | ||
*.hcl | ||
contracts/wasm | ||
Dockerfile | ||
docOps/ | ||
documentation | ||
evmemulator | ||
gascalibration | ||
packages/snapshot | ||
packges/vm/wasmlib | ||
schema | ||
snapshot | ||
tools | ||
wal | ||
wasp | ||
wasp-cli | ||
*.log | ||
waspdb/ | ||
docOps/ | ||
tools/devnet | ||
tools/cluster | ||
wasp-cluster | ||
waspdb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
|
||
- name: Test | ||
run: make test-short | ||
|
||
contract-test: | ||
name: Wasm contract tests | ||
runs-on: ubuntu-latest | ||
|
@@ -43,25 +43,25 @@ jobs: | |
- name: install golang | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18.5' | ||
go-version: "1.18.5" | ||
|
||
- name: install tinygo | ||
# only work on x86_64 | ||
run: | | ||
wget https://github.com/tinygo-org/tinygo/releases/download/v0.23.0/tinygo_0.23.0_amd64.deb | ||
sudo dpkg -i tinygo_0.23.0_amd64.deb | ||
export PATH=$PATH:/usr/local/bin | ||
- name: install rust-toolchain | ||
uses: actions-rs/[email protected] | ||
with: | ||
toolchain: stable | ||
toolchain: stable | ||
|
||
- name: install wasm-pack | ||
run: | | ||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | ||
- name: install Node.js | ||
- name: install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
@@ -103,35 +103,33 @@ jobs: | |
elif [ $TEST_LANG == "rswasm" ]; then | ||
go test ./... -rswasm | ||
fi | ||
golangci: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18.5 | ||
go-version: 1.19.1 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generate SC files | ||
run: | | ||
cd contracts/wasm/scripts | ||
bash schema_all.sh | ||
# - name: Generate SC files | ||
# run: | | ||
# cd contracts/wasm/scripts | ||
# bash schema_all.sh | ||
|
||
- name: golangci-lint in SC | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.48.0 | ||
working-directory: contracts/wasm | ||
args: --fix --timeout 5m0s --path-prefix="" | ||
skip-pkg-cache: true | ||
# - name: golangci-lint in SC | ||
# uses: golangci/golangci-lint-action@v3 | ||
# with: | ||
# working-directory: contracts/wasm | ||
# args: --fix --timeout 5m0s --path-prefix="" | ||
# skip-pkg-cache: true | ||
|
||
- name: Run global scope golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.48.0 | ||
args: --timeout 5m0s | ||
skip-pkg-cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
name: Deploy IOTA Operator on DockerHub | ||
name: Docker Image CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
tags: | ||
- 'v*' | ||
|
||
workflow_dispatch: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
docker: | ||
name: Build and Push Docker image | ||
runs-on: ubuntu-latest | ||
env: | ||
image_name: iotaledger/wasp | ||
|
||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.IOTALEDGER_DOCKER_USERNAME }} | ||
password: ${{ secrets.IOTALEDGER_DOCKER_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: iotaledger/wasp | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: BUILD_TAGS=rocksdb,builtin_static,BUILD_LD_FLAGS=-X github.com/iotaledger/wasp/packages/wasp.VersionHash=${{ env. GITHUB_SHA }} | ||
build-args: BUILD_TAGS="rocksdb,builtin_static",BUILD_LD_FLAGS="-X github.com/iotaledger/wasp/packages/wasp.VersionHash=${{ github.sha }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.