mirror of
https://github.com/OCEAN-xyz/datum-gateway-startos.git
synced 2025-05-12 19:20:43 +02:00
update to v0.2.4beta
This commit is contained in:
parent
4c151f0614
commit
033d1157e5
4
Makefile
4
Makefile
@ -1,5 +1,5 @@
|
||||
PKG_ID := $(shell yq e ".id" < manifest.yaml)
|
||||
PKG_VERSION := $(shell yq e ".version" < manifest.yaml)
|
||||
PKG_ID := $(shell yq -e ".id" manifest.yaml)
|
||||
PKG_VERSION := $(shell yq -e ".version" manifest.yaml)
|
||||
TS_FILES := $(shell find . -name \*.ts )
|
||||
|
||||
# delete the target of a rule if it has changed and its recipe exits with a nonzero exit status
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit a38edeb8a8485d22ffb3888dc2971441e09fc474
|
||||
Subproject commit 37597c31e73f84ae0f09260749f2f8b4d84b043f
|
@ -5,10 +5,10 @@ id: datum
|
||||
# A human readable service title
|
||||
title: "Datum Gateway"
|
||||
# Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service.
|
||||
version: 0.2.2.1
|
||||
version: 0.2.4
|
||||
# Release notes for the update - can be a string, paragraph or URL
|
||||
release-notes: |
|
||||
- Contains a fix for non-pooled mining
|
||||
- Release notes: https://github.com/OCEAN-xyz/datum_gateway/releases/tag/v0.2.4beta
|
||||
license: MIT
|
||||
wrapper-repo: "https://github.com/ocean-xyz/datum-gateway-startos"
|
||||
upstream-repo: "https://github.com/ocean-xyz/datum-gateway"
|
||||
|
@ -220,6 +220,13 @@ export const getConfig: T.ExpectedExports.getConfig = compat.getConfig({
|
||||
integral: true,
|
||||
default: 7152,
|
||||
},
|
||||
admin_password: {
|
||||
type: "string",
|
||||
name: "Admin Password",
|
||||
description: "Admin password for actions/changes",
|
||||
default: "",
|
||||
nullable: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
// "extra_block_submissions": {
|
||||
|
@ -29,6 +29,16 @@ function migrate_0221_to_022(config: any) {
|
||||
return config;
|
||||
}
|
||||
|
||||
function migrate_022_to_024(config: any) {
|
||||
config.api.admin_password = '';
|
||||
return config;
|
||||
}
|
||||
|
||||
function migrate_024_to_022(config: any) {
|
||||
delete config.api.admin_password;
|
||||
return config;
|
||||
}
|
||||
|
||||
export const migration: T.ExpectedExports.migration =
|
||||
compat.migrations.fromMapping(
|
||||
{
|
||||
@ -59,7 +69,19 @@ export const migration: T.ExpectedExports.migration =
|
||||
true,
|
||||
{ version: "0.2.2.1", type: "down"}
|
||||
)
|
||||
},
|
||||
"0.3.1": {
|
||||
up: compat.migrations.updateConfig(
|
||||
migrate_022_to_024,
|
||||
true,
|
||||
{ version: "0.3.1", type: "up"}
|
||||
),
|
||||
down: compat.migrations.updateConfig(
|
||||
migrate_024_to_022,
|
||||
true,
|
||||
{ version: "0.3.1", type: "down"}
|
||||
)
|
||||
}
|
||||
},
|
||||
"0.2.2.1"
|
||||
"0.2.4"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user