Skip to content

Commit

Permalink
Fix GIT_SSH_COMMAND logic (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 authored Jun 2, 2023
1 parent ad69ea3 commit a0ffb80
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Simply add the following dependency to your project's `pom.xml` will enable you
<dependency>
<groupId>org.terrakube.terraform</groupId>
<artifactId>terraform-client</artifactId>
<version>0.9.0</version>
<version>0.10.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
<sonar.organization>azbuilder</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<maven.deploy.skip>true</maven.deploy.skip>
Expand Down
4 changes: 2 additions & 2 deletions terraform-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
<maven.deploy.skip>false</maven.deploy.skip>
<commons-io.version>2.11.0</commons-io.version>
<maven-artifact.version>3.8.1</maven-artifact.version>
<lombok.version>1.18.22</lombok.version>
<lombok.version>1.18.26</lombok.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,12 @@ private ProcessLauncher getTerraformInitWithSSH(String terraformPath, TerraformP
}

if (!this.showColor)
initSSHCommand = initSSHCommand.join("", TERRAFORM_PARAM_NO_COLOR);
initSSHCommand = initSSHCommand.concat(" " + TERRAFORM_PARAM_NO_COLOR);

if (terraformProcessData.getTerraformBackendConfigFileName() != null) {
initSSHCommand = initSSHCommand.join(" ", TERRAFORM_PARAM_BACKEND.concat(terraformProcessData.getTerraformBackendConfigFileName()));
initSSHCommand = initSSHCommand.concat(" " + TERRAFORM_PARAM_BACKEND.concat(terraformProcessData.getTerraformBackendConfigFileName()));
}
initSSHCommand = initSSHCommand.join(" ", TERRAFORM_PARAM_DISABLE_USER_INPUT);
initSSHCommand = initSSHCommand.concat(" " + TERRAFORM_PARAM_DISABLE_USER_INPUT);

log.warn("Running terraform init with command {},", initSSHCommand);
processLauncher.appendCommands(initSSHCommand);
Expand Down
2 changes: 1 addition & 1 deletion terraform-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
<maven.deploy.skip>false</maven.deploy.skip>
<lombok.version>1.18.20</lombok.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion terraform-spring-boot-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
</properties>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
</properties>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion terraform-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<revision>0.10.0</revision>
<revision>0.10.1</revision>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>

Expand Down

0 comments on commit a0ffb80

Please sign in to comment.