chore: add current provisioning state before migration
This commit is contained in:
parent
a9703b4748
commit
50745b0f22
660 changed files with 88126 additions and 0 deletions
20
taskservs/oci-reg/default/prepare
Executable file
20
taskservs/oci-reg/default/prepare
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env nu
|
||||
# Info: Prepare for oci-reg installation
|
||||
# Author: JesusPerezLorenzo
|
||||
# Release: 1.0.2
|
||||
# Date: 24-12-2023
|
||||
|
||||
use lib_provisioning/cmd/env.nu *
|
||||
use lib_provisioning/cmd/lib.nu *
|
||||
|
||||
use lib_provisioning/utils/ui.nu *
|
||||
|
||||
print $"(_ansi green_bold)OCI-reg(_ansi reset) with ($env.PROVISIONING_VARS)"
|
||||
|
||||
let defs = load_defs
|
||||
if not ($env.PROVISIONING_WK_ENV_PATH | path exists) {
|
||||
print $"(_ansi red_bold)PROVISIONING_WK_ENV_PATH(_ansi reset) ($env.PROVISIONING_WK_ENV_PATH) not found"
|
||||
exit 1
|
||||
}
|
||||
$defs.taskserv.config | save -f ($env.PROVISIONING_WK_ENV_PATH | path join "config.json")
|
||||
print "config.json generated !"
|
||||
Loading…
Add table
Add a link
Reference in a new issue