Skip to content

Commit ec51ceb

Browse files
committed
Rename DeployCommand. Remove deprecated code
1 parent cd9fd41 commit ec51ceb

File tree

8 files changed

+4
-602
lines changed

8 files changed

+4
-602
lines changed

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/EntryPoint.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22

33
import com.redhat.hacbs.container.analyser.build.LookupBuildInfoCommand;
44
import com.redhat.hacbs.container.analyser.dependencies.AnalyseDependencies;
5-
import com.redhat.hacbs.container.analyser.location.LookupScmLocationCommand;
65
import com.redhat.hacbs.container.build.preprocessor.ant.AntPrepareCommand;
76
import com.redhat.hacbs.container.build.preprocessor.gradle.GradlePrepareCommand;
87
import com.redhat.hacbs.container.build.preprocessor.maven.MavenPrepareCommand;
98
import com.redhat.hacbs.container.build.preprocessor.sbt.SBTPrepareCommand;
109
import com.redhat.hacbs.container.deploy.BuildVerifyCommand;
11-
import com.redhat.hacbs.container.deploy.ContainerTagCommand;
1210
import com.redhat.hacbs.container.deploy.CopyArtifactsCommand;
13-
import com.redhat.hacbs.container.deploy.DeployPreBuildImageCommand;
11+
import com.redhat.hacbs.container.deploy.DeployCommand;
1412
import com.redhat.hacbs.container.deploy.DeployPreBuildSourceCommand;
15-
import com.redhat.hacbs.container.deploy.TagDeployCommand;
1613
import com.redhat.hacbs.container.verifier.VerifyBuiltArtifactsCommand;
1714

1815
import io.quarkus.picocli.runtime.annotations.TopCommand;
@@ -22,15 +19,12 @@
2219
@CommandLine.Command(mixinStandardHelpOptions = true, subcommands = {
2320
AnalyseDependencies.class,
2421
AntPrepareCommand.class,
25-
ContainerTagCommand.class,
2622
CopyArtifactsCommand.class,
2723
BuildVerifyCommand.class,
28-
DeployPreBuildImageCommand.class,
2924
GradlePrepareCommand.class,
3025
DeployPreBuildSourceCommand.class,
3126
LookupBuildInfoCommand.class,
32-
LookupScmLocationCommand.class,
33-
TagDeployCommand.class,
27+
DeployCommand.class,
3428
MavenPrepareCommand.class,
3529
SBTPrepareCommand.class,
3630
VerifyBuiltArtifactsCommand.class

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/analyser/location/LookupScmLocationCommand.java

Lines changed: 0 additions & 111 deletions
This file was deleted.

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/deploy/ContainerTagCommand.java

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import picocli.CommandLine;
1717

1818
@CommandLine.Command(name = "deploy")
19-
public class TagDeployCommand implements Runnable {
19+
public class DeployCommand implements Runnable {
2020

2121
@CommandLine.Option(names = "--directory")
2222
String artifactDirectory;

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/deploy/DeployData.java

Lines changed: 0 additions & 85 deletions
This file was deleted.

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/deploy/DeployPreBuildImageCommand.java

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)