Skip to content

Commit

Permalink
chore: upgrade support latest aeternity node
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Mar 4, 2024
1 parent 6a0d491 commit afd36a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
node-version: [ 16, 18, 20, 21 ]
node-tag: [v6.11.0] # latest is v6.12.0 which uses an incompatible dev-mode plugin currently
node-tag: [latest]
compiler-tag: [v7.6.1] # latest is v8.0.0-rc1 which is not supported by the sdk currently

# for lts node also test first known compatible and latest known good compiler and node versions
Expand All @@ -16,7 +16,7 @@ jobs:
node-tag: v6.8.0 # v6.3.0 to v6.7.0 use a different config format
compiler-tag: v7.4.0
- node-version: 20
node-tag: v6.11.0
node-tag: v6.12.0
compiler-tag: v7.6.1

runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions docs/cli/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ aeproject env --stop

There are optional parameters **\-\-nodeVersion** and **\-\-compilerVersion**. To specify a specific version of node or compiler, or both
```text
aeproject env --nodeVersion v6.11.0
aeproject env --nodeVersion v6.12.0
# or
aeproject env --compilerVersion v7.5.0
aeproject env --compilerVersion v7.6.1
# or
aeproject env --nodeVersion v6.11.0 --compilerVersion v7.5.0
aeproject env --nodeVersion v6.12.0 --compilerVersion v7.6.1
```
This also applies to the commands `aeproject node` and `aeproject compiler`.

Expand All @@ -31,6 +31,7 @@ aeproject env --info
**Note**: By default AEproject uses the `latest-bundle` tag of the official [docker images](https://hub.docker.com/r/aeternity/aeternity/tags).

**Compatibility**:
- aeproject until `v4.8.3` is only compatible with node versions `NODE_TAG <= v6.11.0` due to some changes in the devmode plugin
- aeproject uses the `-bundle` node docker images including dev mode, which are only published from `NODE_TAG >= v6.3.0`
- the default `aeternity.yaml` config file that ships with aeproject supports `NODE_TAG >= v6.8.0`
- the latest `@aeternity/aepp-sdk@13` is only compatible using `NODE_TAG >= v6.0.0` and `COMPILER_TAG >= v7.5.0`
Expand Down
5 changes: 3 additions & 2 deletions src/init/update-artifacts/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ version: '3.6'
services:

aeproject_node:
image: aeternity/aeternity:${NODE_TAG:-v6.11.0}-bundle
image: aeternity/aeternity:${NODE_TAG:-v6.12.0}-bundle
hostname: node
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
AE__SYSTEM__CUSTOM_PREFUNDED_ACCS_FILE: '/home/aeternity/node/data/aecore/.genesis/accounts_test.json'
volumes:
- './docker/aeternity.yaml:/home/aeternity/aeternity.yaml'
- './docker/accounts.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json'

aeproject_compiler:
image: aeternity/aesophia_http:${COMPILER_TAG:-v7.6.0}
image: aeternity/aesophia_http:${COMPILER_TAG:-v7.6.1}
hostname: compiler
ports:
- '3080:3080'
Expand Down

0 comments on commit afd36a5

Please sign in to comment.