Skip to content

Commit

Permalink
Create role subdirectory
Browse files Browse the repository at this point in the history
Per Ansible Collection documentation,
the conjur_host_identity role
has been moved to a `role`
subdirectory. A `tests` subdirectory has been added
for this role, and all relevant tests moved there.
  • Loading branch information
BradleyBoutcher committed Sep 25, 2020
1 parent a768495 commit b7f0bd5
Show file tree
Hide file tree
Showing 63 changed files with 194 additions and 236 deletions.
109 changes: 0 additions & 109 deletions .gitleaks.toml

This file was deleted.

12 changes: 5 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]

### Added
- The Ansible [conjur-host-identity](https://galaxy.ansible.com/cyberark/conjur-host-identity) has
been migrated to this collection, where it will be maintained moving forward. [cyberark/
conjur-host-identity#30](https://github.com/cyberark/ansible-conjur-host-identity/issues/30)

### Changed
- [Added retries](https://github.com/cyberark/ansible-conjur-host-identity/pull/32) to tasks/
identity/Request identity from Conjur.
- The [Conjur Ansible role](https://galaxy.ansible.com/cyberark/conjur-host-identity) has been
migrated to this collection, where it will be maintained moving forward.
[cyberark/ansible-conjur-host-identity#30](https://github.com/cyberark/ansible-conjur-host-identity/issues/30)
- Added retries to tasks/identity/Request identity from Conjur.
This will increase the reliability of host factory requests without introducing any extra delay
if the first request succeeds.
[cyberark/ansible-conjur-host-identity#32](https://github.com/cyberark/ansible-conjur-host-identity/pull/32)

## [1.0.7] - 2020-08-20

Expand Down
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ of this plugin:

### Testing

To run the tests:
To run a specific set of tests:

```sh-session
$ cd tests
$ ./test.sh <conjur or conjur-host-identity>
$ ./test.sh -d <role or plugin name>
```
To run all tests:

```sh-session
$ cd tests
$ ./test.sh -a
```
14 changes: 6 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ pipeline {

stage('Run tests') {
parallel {
stage("Test Ansible-Conjur-Collection") {
agent { label 'executor-v2-large' }

stage("Test conjur_lookup Plugin") {
steps {
sh './ci/test.sh -d conjur'
junit 'tests/conjur/junit/*'
sh './ci/test.sh -d conjur_variable'
junit 'tests/conjur_variable/junit/*'
}
}

stage("Test Ansible-Conjur-Host-Identity") {
stage("Test conjur_host_identity Role") {
steps {
sh './ci/test.sh -d conjur-host-identity'
junit 'tests/conjur-host-identity/junit/*'
sh './ci/test.sh -d conjur_host_identity'
junit 'roles/conjur_host_identity/tests/junit/*'
}
}
}
Expand Down
Loading

0 comments on commit b7f0bd5

Please sign in to comment.