File tree 3 files changed +0
-34
lines changed 3 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,6 @@ export class NetworkCommand extends BaseCommand {
168
168
// do not deploy mirror node until after we have the updated address book
169
169
valuesArg += ` --set "telemetry.prometheus.svcMonitor.enabled=${ config . enablePrometheusSvcMonitor } "` ;
170
170
171
- if ( config . releaseTag ) {
172
- const rootImage = helpers . getRootImageRepository ( config . releaseTag ) ;
173
- valuesArg += ` --set "defaults.root.image.repository=${ rootImage } "` ;
174
- }
175
-
176
171
valuesArg += ` --set "defaults.volumeClaims.enabled=${ config . persistentVolumeClaims } "` ;
177
172
178
173
// Iterate over each node and set static IPs for HAProxy
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import os from 'os';
19
19
import path from 'path' ;
20
20
import util from 'util' ;
21
21
import { SoloError } from './errors.js' ;
22
- import * as semver from 'semver' ;
23
22
import { Templates } from './templates.js' ;
24
23
import { ROOT_DIR } from './constants.js' ;
25
24
import * as constants from './constants.js' ;
@@ -73,20 +72,6 @@ export function packageVersion(): string {
73
72
return packageJson . version ;
74
73
}
75
74
76
- /**
77
- * Return the required root image for a platform version
78
- * @param releaseTag - platform version
79
- */
80
- export function getRootImageRepository ( releaseTag : string ) {
81
- // @ts -ignore
82
- const releaseVersion = semver . parse ( releaseTag , { includePrerelease : true } ) as Semver ;
83
- if ( releaseVersion . minor < 46 ) {
84
- return 'hashgraph/solo-containers/ubi8-init-java17' ;
85
- }
86
-
87
- return 'hashgraph/solo-containers/ubi8-init-java21' ;
88
- }
89
-
90
75
export function getTmpDir ( ) {
91
76
return fs . mkdtempSync ( path . join ( os . tmpdir ( ) , 'solo-' ) ) ;
92
77
}
Original file line number Diff line number Diff line change @@ -46,18 +46,4 @@ describe('Helpers', () => {
46
46
expect ( p . version ) . not . to . be . null ;
47
47
expect ( p . version ) . to . deep . equal ( helpers . packageVersion ( ) ) ;
48
48
} ) ;
49
-
50
- each ( [
51
- { input : 'v0.42.5' , output : 'hashgraph/solo-containers/ubi8-init-java17' } ,
52
- { input : 'v0.45.1' , output : 'hashgraph/solo-containers/ubi8-init-java17' } ,
53
- { input : 'v0.46.0' , output : 'hashgraph/solo-containers/ubi8-init-java21' } ,
54
- { input : 'v0.47.1' , output : 'hashgraph/solo-containers/ubi8-init-java21' } ,
55
- { input : 'v0.47.1-alpha.0' , output : 'hashgraph/solo-containers/ubi8-init-java21' } ,
56
- { input : HEDERA_PLATFORM_VERSION , output : 'hashgraph/solo-containers/ubi8-init-java21' } ,
57
- ] ) . it (
58
- 'should determine root-image for Hedera platform version' ,
59
- ( { input, output} : { input : string ; output : string } ) => {
60
- expect ( helpers . getRootImageRepository ( input ) ) . to . equal ( output ) ;
61
- } ,
62
- ) ;
63
49
} ) ;
You can’t perform that action at this time.
0 commit comments