Skip to content

Commit

Permalink
Rename conjur_host_identity to conjur-host-identity
Browse files Browse the repository at this point in the history
Uniform with naming scheme used in documentation, and used by
the standalone cyberark.conjur-host-identity Role.
  • Loading branch information
john-odonnell committed Dec 22, 2021
1 parent d2d5f3b commit 812116b
Show file tree
Hide file tree
Showing 32 changed files with 23 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ pipeline {
}
}

stage("Test conjur_host_identity role") {
stage("Test conjur-host-identity role") {
steps {
sh './ci/test.sh -d conjur_host_identity'
junit 'roles/conjur_host_identity/tests/junit/*'
sh './ci/test.sh -d conjur-host-identity'
junit 'roles/conjur-host-identity/tests/junit/*'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
test_directories=("conjur_variable")

# Roles containing a test subdirectory
role_directories=("conjur_host_identity")
role_directories=("conjur-host-identity")

# Target directory that can be manually set by passing a value to the `-d` flag
target=""
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ RUN apt-get update && apt-get install -y gcc build-essential
RUN apt-add-repository -y ppa:brightbox/ruby-ng && apt-get update && apt-get install -y ruby2.4 ruby2.4-dev
RUN gem install conjur-cli

# install Ansible Conjur Collection
RUN ansible-galaxy collection install cyberark.conjur && \
ansible-galaxy install cyberark.conjur-host-identity
# install Conjur Collection and Conjur Role
# RUN ansible-galaxy collection install cyberark.conjur && \
# ansible-galaxy install cyberark.conjur-host-identity

# while the module name-change is unreleased, install Collection from git branch
RUN ansible-galaxy install cyberark.conjur-host-identity && \
git clone https://github.com/cyberark/ansible-conjur-collection.git --branch installation-bug-2-9 --single-branch && \
ansible-galaxy collection build ./ansible-conjur-collection && \
ansible-galaxy collection install ./cyberark-conjur-1.1.0.tar.gz
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Configuring conjur identity on remote hosts
hosts: testapp
roles:
- role: cyberark.conjur.conjur_host_identity
- role: cyberark.conjur.conjur-host-identity
conjur_account: cucumber
conjur_appliance_url: "https://conjur-proxy-nginx"
conjur_host_factory_token: "{{lookup('env', 'HFTOKEN')}}"
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/ignore-2.10.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Jenkinsfile shebang
tests/conjur_variable/test.sh shebang
tests/conjur_variable/policy/root.yml yamllint:unparsable-with-libyaml
roles/conjur_host_identity/tests/test.sh shebang
roles/conjur_host_identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by summon utility (in Jenkinsfile), not via Python
roles/conjur-host-identity/tests/test.sh shebang
roles/conjur-host-identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by summon utility (in Jenkinsfile), not via Python
ci/build_release shebang
ci/parse-changelog.sh shebang
ci/publish_to_galaxy shebang
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/ignore-2.11.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Jenkinsfile shebang
tests/conjur_variable/test.sh shebang
tests/conjur_variable/policy/root.yml yamllint:unparsable-with-libyaml
roles/conjur_host_identity/tests/test.sh shebang
roles/conjur_host_identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by summon utility (in Jenkinsfile), not via Python
roles/conjur-host-identity/tests/test.sh shebang
roles/conjur-host-identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by summon utility (in Jenkinsfile), not via Python
ci/build_release shebang
ci/parse-changelog.sh shebang
ci/publish_to_galaxy shebang
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/ignore-2.12.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Jenkinsfile shebang
tests/conjur_variable/test.sh shebang
tests/conjur_variable/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
roles/conjur_host_identity/tests/test.sh shebang
roles/conjur_host_identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
roles/conjur-host-identity/tests/test.sh shebang
roles/conjur-host-identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
ci/build_release shebang
ci/parse-changelog.sh shebang
ci/publish_to_galaxy shebang
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/ignore-2.13.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Jenkinsfile shebang
tests/conjur_variable/test.sh shebang
tests/conjur_variable/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
roles/conjur_host_identity/tests/test.sh shebang
roles/conjur_host_identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
roles/conjur-host-identity/tests/test.sh shebang
roles/conjur-host-identity/tests/policy/root.yml yamllint:unparsable-with-libyaml # File loaded by Conjur server, not via Python
ci/build_release shebang
ci/parse-changelog.sh shebang
ci/publish_to_galaxy shebang
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/ignore-2.9.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Jenkinsfile shebang
tests/conjur_variable/test.sh shebang
roles/conjur_host_identity/tests/test.sh shebang
roles/conjur-host-identity/tests/test.sh shebang
ci/build_release shebang
ci/parse-changelog.sh shebang
ci/publish_to_galaxy shebang
Expand Down

0 comments on commit 812116b

Please sign in to comment.