Skip to content

Commit

Permalink
Merge pull request #111 from jglick/ConfidentialStoreRule
Browse files Browse the repository at this point in the history
Removing `ConfidentialStoreRule` and `SecretRule`
  • Loading branch information
maxlaverse authored May 9, 2023
2 parents ee05500 + a887c59 commit 8c94294
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 59 deletions.
18 changes: 0 additions & 18 deletions src/test/java/hudson/util/SecretRule.java

This file was deleted.

28 changes: 0 additions & 28 deletions src/test/java/jenkins/security/ConfidentialStoreRule.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.remoting.VirtualChannel;
import hudson.util.SecretRule;
import io.fabric8.kubernetes.api.model.ConfigBuilder;
import io.fabric8.kubernetes.client.utils.Serialization;
import jenkins.security.ConfidentialStoreRule;
import org.jenkinsci.plugins.kubernetes.auth.KubernetesAuth;
import org.jenkinsci.plugins.kubernetes.auth.impl.*;
import org.jenkinsci.plugins.kubernetes.cli.helpers.DummyTokenCredentialImpl;
Expand All @@ -33,17 +31,6 @@

public class KubeConfigWriterAuthTest {

/*
The SecretRule and ConfidentialStoreRule are hacks to avoid
having to use a JenkinsRule in order to read secure credentials,
as it is way slower to load
*/
@Rule
public SecretRule secretRule = new SecretRule();

@Rule
public ConfidentialStoreRule confidentialStoreRule = new ConfidentialStoreRule();

@Rule
public TemporaryFolder tempFolder = new TemporaryFolder();

Expand Down

0 comments on commit 8c94294

Please sign in to comment.