@@ -91,7 +91,7 @@ pipeline {
9191 echo " Selected data center: ${ params.DataCenter} "
9292 }
9393 }
94- stage(' Install OpenTofu and TofuGu ' ) {
94+ stage(' Install OpenTofu and IacConsole CLI ' ) {
9595 steps {
9696 script {
9797 def arch = sh(script : ' uname -m' , returnStdout : true ). trim()
@@ -107,8 +107,8 @@ pipeline {
107107 sh " curl -L -o tofu_1.10.7_linux_${ archSuffix} .tar.gz https://github.com/opentofu/opentofu/releases/download/v1.10.7/tofu_1.10.7_linux_${ archSuffix} .tar.gz"
108108 sh " tar -xvf tofu_1.10.7_linux_${ archSuffix} .tar.gz -C /tmp"
109109
110- sh " curl -L -o tofugu_0 .5.1_linux_ ${ archSuffix} .tar.gz https://github.com/alt-dima/iacconsole-cli/releases/download/v0.5.1 /iacconsole-cli_0.5.1_linux_ ${ archSuffix} .tar.gz"
111- sh " tar -xvf tofugu_0 .5.1_linux_ ${ archSuffix} .tar.gz"
110+ sh " curl -L -o iacconsole-cli_0 .5.2_linux_ ${ archSuffix} .tar.gz https://github.com/alt-dima/iacconsole-cli/releases/download/v0.5.2 /iacconsole-cli_0.5.2_linux_ ${ archSuffix} .tar.gz"
111+ sh " tar -xvf iacconsole-cli_0 .5.2_linux_ ${ archSuffix} .tar.gz"
112112 }
113113 }
114114 }
@@ -122,14 +122,14 @@ defaults:
122122'''
123123 }
124124 }
125- stage(' TofuGu Plan' ) {
125+ stage(' IaCConsole Plan' ) {
126126 environment {
127- toasterurl = ' https://662cab7c5e116819738b01fe:supertoaster@toaster.altuhov.su '
127+ toasterurl = ' https://662cab7c5e116819738b01fe:supertoaster@api.iacconsole.com/v1 '
128128 }
129129 steps {
130130 ansiColor(' xterm' ) {
131- sh " ./tofugu cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- init"
132- sh " ./tofugu cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- plan"
131+ sh " ./iacconsole-cli cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- init"
132+ sh " ./iacconsole-cli cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- plan"
133133 }
134134 }
135135 }
@@ -138,13 +138,13 @@ defaults:
138138 input ' Do you want to apply the changes?'
139139 }
140140 }
141- stage(' TofuGu Apply' ) {
141+ stage(' IaCConsole Apply' ) {
142142 environment {
143- toasterurl = ' https://662cab7c5e116819738b01fe:supertoaster@toaster.altuhov.su '
143+ toasterurl = ' https://662cab7c5e116819738b01fe:supertoaster@api.iacconsole.com/v1 '
144144 }
145145 steps {
146146 ansiColor(' xterm' ) {
147- sh " ./tofugu cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- apply -auto-approve"
147+ sh " ./iacconsole-cli cook -o example-org -d account:${ params.Account} -d datacenter:${ params.DataCenter} -t demo -- apply -auto-approve"
148148 }
149149 }
150150 }
0 commit comments