proviion image
This commit is contained in:
@@ -522,23 +522,16 @@ class Provision extends BaseController
|
|||||||
log_message('critical', "Members Product ID ***** " . $pr->mpid . " Provision_Status == " . $pr->provision_status);
|
log_message('critical', "Members Product ID ***** " . $pr->mpid . " Provision_Status == " . $pr->provision_status);
|
||||||
$this->updateToNow($productUid); // increase count not to repeat
|
$this->updateToNow($productUid); // increase count not to repeat
|
||||||
|
|
||||||
$ansible_host = $productId . "_SERVER";
|
$PROVISION_IMAGE_DATA = $this->assignProvideImageName($productId, $provisionUID);
|
||||||
$ContainerName = $this->generatedContainerName($productId, $pr->mpid); //$productId ."-SVR-". str_pad($pr->mpid, 10, "0", STR_PAD_LEFT);
|
$PROVISION_IMAGE_NAME = $PROVISION_IMAGE_DATA[0];
|
||||||
//$destinationHomeFolder = "/home/chiefsoft/SITES/" . $ContainerName;
|
|
||||||
$destinationHomeFolder = $_ENV['DESTINATION_HOME_FOLDER'] . $ContainerName;
|
|
||||||
// $composer_template_path_local = $partMachineLocal . $provisionUID;
|
|
||||||
// $composer_template_path_remote = $remote_composer_path . $provisionUID;
|
|
||||||
|
|
||||||
|
$ansible_host = $productId . "_SERVER";
|
||||||
|
$ContainerName = $this->generatedContainerName($productId, $pr->mpid);
|
||||||
|
$destinationHomeFolder = $_ENV['DESTINATION_HOME_FOLDER'] . $ContainerName;
|
||||||
$composer_template_path_local = $partMachineLocal . $productUid;
|
$composer_template_path_local = $partMachineLocal . $productUid;
|
||||||
$composer_template_path_remote = $remote_composer_path . $productUid;
|
$composer_template_path_remote = $remote_composer_path . $productUid;
|
||||||
|
|
||||||
// $ansible_transport_path = $pr->provision_uid; // $ContainerName;
|
|
||||||
$ansible_transport_path = $productUid; // $ContainerName;
|
$ansible_transport_path = $productUid; // $ContainerName;
|
||||||
|
$CURRENT_IMAGE_REFRESH = $PROVISION_IMAGE_NAME; // "registry.chiefsoft.com/a000001/personal-web-web0002a:latest";
|
||||||
// let us make sure all we promise are availale
|
|
||||||
//"WHAT_PART_LOCAL
|
|
||||||
|
|
||||||
$CURRENT_IMAGE_REFRESH = "registry.chiefsoft.com/a000001/personal-web-web0002a:latest";
|
|
||||||
|
|
||||||
// Remember this is in a CONTAINER so the path follows
|
// Remember this is in a CONTAINER so the path follows
|
||||||
$this_composer_part_location = "/var/www/html/ANSIBLE/parts/" . $productUid;
|
$this_composer_part_location = "/var/www/html/ANSIBLE/parts/" . $productUid;
|
||||||
|
|||||||
Reference in New Issue
Block a user