Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
feat: support minor Core updates (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored Jun 16, 2021
1 parent ebbc6af commit e22fcd5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions configs/migrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,17 @@ module.exports = {
// Update image version
config.core.docker.image = systemConfigs.base.core.docker.image;
});

return configFile;
},
'0.19.2': (configFile) => {
Object.entries(configFile.configs)
.forEach(([, config]) => {
// Update image version
config.core.docker.image = systemConfigs.base.core.docker.image;
config.core.sentinel.docker.image = systemConfigs.base.core.sentinel.docker.image;
});

return configFile;
},
};
4 changes: 2 additions & 2 deletions configs/system/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
group: null,
core: {
docker: {
image: 'dashpay/dashd:0.17.0.0-rc5',
image: 'dashpay/dashd:0.17',
},
p2p: {
port: 20001,
Expand Down Expand Up @@ -35,7 +35,7 @@ module.exports = {
},
sentinel: {
docker: {
image: 'dashpay/sentinel:1.5.0',
image: 'dashpay/sentinel:1.6.0',
},
},
devnetName: null,
Expand Down

0 comments on commit e22fcd5

Please sign in to comment.