Skip to content

Commit

Permalink
enable git-describe for all collections
Browse files Browse the repository at this point in the history
  • Loading branch information
guidograzioli authored and rpelisse committed Nov 19, 2024
1 parent 3628e33 commit 938f975
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 4 deletions.
3 changes: 2 additions & 1 deletion playbooks/amq_broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
upstream_collection_name: amq
downstream_namespace: redhat
upstream_namespace: middleware_automation
project_git_url: https://github.com/ansible-middleware/amq.git
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/amq.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
post_processors_replacements:
Expand Down
3 changes: 2 additions & 1 deletion playbooks/amq_streams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
downstream_name: amq_streams
downstream_namespace: redhat
upstream_namespace: middleware_automation
project_git_url: https://github.com/ansible-middleware/amq_streams.git
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/amq_streams.git', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
post_processors_replacements:
Expand Down
3 changes: 2 additions & 1 deletion playbooks/data_grid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
downstream_name: data_grid
downstream_namespace: 'redhat'
upstream_namespace: 'middleware_automation'
project_git_url: https://github.com/ansible-middleware/infinispan.git
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/infinispan.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main') }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
post_processors_replacements:
Expand Down
1 change: 1 addition & 0 deletions playbooks/eap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
upstream_namespace: 'middleware_automation'
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/wildfly.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
case_insensitive_match: true

upstream_downstream_collections_map:
Expand Down
1 change: 1 addition & 0 deletions playbooks/jbcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
upstream_namespace: 'middleware_automation'
project_git_url: "https://github.com/ansible-middleware/{{ upstream_name }}.git"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
galaxy:
Expand Down
1 change: 1 addition & 0 deletions playbooks/quarkus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
upstream_namespace: 'middleware_automation'
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/quarkus.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
case_insensitive_match: true

upstream_downstream_collections_map:
Expand Down
3 changes: 2 additions & 1 deletion playbooks/rhbk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
project_root_folder: "{{ lookup('env', 'PWD') }}/upstream/keycloak.git"
excluded_roles_from_downstream:
- roles/keycloak
project_git_url: https://github.com/ansible-middleware/keycloak.git
project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/keycloak.git', true) }}"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
post_processors_replacements: []
Expand Down
1 change: 1 addition & 0 deletions playbooks/runtimes_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
upstream_namespace: 'middleware_automation'
project_git_url: "https://github.com/ansible-middleware/{{ upstream_name }}.git"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
- { upstream_name: 'fedora.linux_system_roles', downstream_name: 'redhat.rhel_system_roles' }
Expand Down
1 change: 1 addition & 0 deletions playbooks/sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
upstream_namespace: 'middleware_automation'
project_git_url: "https://github.com/ansible-middleware/{{ upstream_name }}.git"
project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}"
gitdescribe_galaxy_version: "{{ true if lookup('env', 'RELEASE_NAME') == '' else false }}"
upstream_downstream_collections_map:
- { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' }
- { upstream_name: 'middleware_automation.wildfly', downstream_name: 'redhat.eap' }
Expand Down

0 comments on commit 938f975

Please sign in to comment.