Skip to content

Commit

Permalink
terraform plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthan95 committed Jan 7, 2022
1 parent ed3d1d1 commit a3b9ab4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gate-terraform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
}

spinnakerBundle {
pluginId = "Opsmx.PolicyGatePlugin"
pluginId = "Opsmx.TerraformPlugin"
description = "An example of a PF4J-based plugin that provides a custom pipeline stage."
provider = "https://github.com/opsmx"
version = rootProject.version
Expand Down
2 changes: 1 addition & 1 deletion gate-terraform/custom-stage-orca/custom-stage-orca.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sourceSets {

spinnakerPlugin {
serviceName = "orca"
pluginClass = "com.opsmx.plugin.stage.custom.PolicyPlugin"
pluginClass = "com.opsmx.plugin.stage.custom.TerraformPlugin"
requires="orca>=0.0.0"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PolicyPlugin extends Plugin {
public class TerraforPlugin extends Plugin {

private final Logger log = LoggerFactory.getLogger(getClass());

Expand All @@ -16,7 +16,7 @@ public class PolicyPlugin extends Plugin {
*
* @param wrapper
*/
public PolicyPlugin(PluginWrapper wrapper) {
public TerraforPlugin(PluginWrapper wrapper) {
super(wrapper);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.pf4j.Extension;

@Extension
public class Policy implements StageDefinitionBuilder {
public class Terraform implements StageDefinitionBuilder {

/**
* This function describes the sequence of substeps, or "tasks" that comprise this
Expand Down
2 changes: 1 addition & 1 deletion gate-terraform/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pluginManagement {
}
}

rootProject.name = "policyPlugin"
rootProject.name = "TerraformPlugin"

include "custom-stage-orca", "custom-stage-deck"

Expand Down

0 comments on commit a3b9ab4

Please sign in to comment.