-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #352 from rundeck-plugins/use-ansible-vault
RUN-2232: Use ansible vault for temporary files
- Loading branch information
Showing
54 changed files
with
2,841 additions
and
1,206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
* | ||
!docker | ||
!src/test/resources/docker | ||
!build/libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
src/test/resources/docker/keys/id_rsa | ||
src/test/resources/docker/keys/id_rsa.pub | ||
src/test/resources/docker/keys/id_rsa_passphrase | ||
src/test/resources/docker/keys/id_rsa_passphrase.pub | ||
src/test/resources/docker/rundeck/plugins/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
plugins { | ||
id 'groovy' | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
|
||
group = 'com.github.rundeck-plugins' | ||
|
||
configurations { | ||
configurations { | ||
instrumentedClasspath { | ||
canBeConsumed = false | ||
} | ||
} | ||
} | ||
dependencies { | ||
testImplementation "org.spockframework:spock-core:2.1-groovy-3.0" | ||
|
||
testImplementation "org.testcontainers:testcontainers:1.17.2" | ||
testImplementation "org.testcontainers:spock:1.17.2" | ||
testImplementation group: 'org.rundeck.api', name: 'rd-api-client', version: '2.0.8' | ||
|
||
testImplementation group: 'com.jcraft', name: 'jsch', version: '0.1.55' | ||
|
||
} | ||
|
||
tasks.register('functionalTest', Test) { | ||
useJUnitPlatform() | ||
systemProperty('RUNDECK_TEST_IMAGE', "rundeck/rundeck:5.1.1") | ||
description = "Run Ansible integration tests" | ||
} | ||
|
||
tasks.register('copyPluginArtifact', Copy) { | ||
from("$rootDir/build/libs/"){ | ||
include '**/*.jar' | ||
} | ||
into "$projectDir/src/test/resources/docker/rundeck/plugins" | ||
} |
Oops, something went wrong.