diff --git a/.env b/.env index 720a012..9a09b6c 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ ## Set pro options if applicable -RUNDECK_IMAGE=rundeck/rundeck:4.8.0 +RUNDECK_IMAGE=rundeck/rundeck:4.9.0 RUNDECK_USER=admin RUNDECK_PASSWORD=admin \ No newline at end of file diff --git a/client/rundeck-cli/src/commands/loadProject.ts b/client/rundeck-cli/src/commands/loadProject.ts index 1813883..ba1b1fb 100644 --- a/client/rundeck-cli/src/commands/loadProject.ts +++ b/client/rundeck-cli/src/commands/loadProject.ts @@ -103,17 +103,16 @@ builder(yargs: Argv) { const username = opts.username const password = opts.password - const rundeckAuth = await runeckLoginToken(rundeckUrl, username, password) - const token = rundeckAuth["token"] - const client = rundeckAuth["client"] - console.log("Waiting for Rundeck"); await createWaitForRundeckReady( () => new Rundeck(new PasswordCredentialProvider(rundeckUrl, username, password), {noRetryPolicy: true, baseUri: rundeckUrl}), 5 * 60 * 1000 - ); + ); + console.info(`Client connected.`) - console.log("Rundeck started!!!"); + const rundeckAuth = await runeckLoginToken(rundeckUrl, username, password) + const token = rundeckAuth["token"] + const client = rundeckAuth["client"] console.log("----------------------------------"); console.log("Importing keys"); @@ -192,7 +191,7 @@ builder(yargs: Argv) { var projectImport = false; try{ const resp = await createProject(client, project_name); - + console.log(resp) if(resp.error){ console.error("Error creating project"); console.error(resp.message);