Skip to content

Commit 9431ad4

Browse files
committed
upd
1 parent aeedf28 commit 9431ad4

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ IaCConsole API is an OpenAPI-powered Configuration Management Database with a we
165165
You can set the env variable `toasterurl` to point to the IaCConsole API (CMDB), like:
166166

167167
```bash
168-
export toasterurl='https://accountid:accountpass@toaster.altuhov.su'
168+
export toasterurl='https://accountid:accountpass@api.iacconsole.com/v1'
169169
```
170170

171171
To generate your own credentials please go to [https://iacconsole.com/](https://iacconsole.com/), fill the form with Account Name, Email, and press `Create Account` and you will receive generated credentials and a ready-to-use export command like:
172172

173173
```
174-
export toasterurl=https://6634b72292e9e996105de19e:generatedpassword@toaster.altuhov.su
174+
export toasterurl=https://6634b72292e9e996105de19e:generatedpassword@api.iacconsole.com/v1
175175
```
176176

177177
<img width="500" alt="Screenshot_20250915_222318" src="https://github.com/user-attachments/assets/062848dc-e67d-48c6-adfe-9e1b9fddc7fd" />

examples/jenkins/Jenkinsfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)