Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging changes made in v3.8.3.4 into experimental branch. #477

Merged
merged 4 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ Webapp/SDAF/bin
Webapp/SDAF/Properties/PublishProfiles
Webapp/.vs/ProjectEvaluation
Webapp/SDAF/Properties/ServiceDependencies
Webapp/.npmrc

# Ignore OS files - MKD 20221221
**/.DS_Store

# Additional files to ignore
owners.txt
NuGet.config

# Ignore Python cache directories
__pycache__

2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
Thanks for taking the time to contribute!
This document summarizes the deployment principles which govern our project.

:exclamation: All pull requests are required to be submitted against `experimental` branch.

## Building 'in the open'

- Our users appreciate the transparency of our project; in this context, building "in the open" means that anyone can:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,27 @@

# Download Files
# ------------------<DEBUGGING>-------------------
- name: "3.3 BoM Processing: - List files"
ansible.builtin.debug:
msg:
- "URL : {{ sapbits_location_base_path }}/{{ sapbits_bom_files }}/archives/{{ item.archive }}\
{% if sapbits_sas_token is not undefined %}?{{ sapbits_sas_token }}{% endif %}"
- "DEST: {{ target_media_location }}/{% if item.filename is undefined %}{{ item.archive }}{% else %}{{ item.filename }}{% endif %}"
- "MODE: {% if item.permissions is undefined %}0644{% else %}{{ item.permissions }}{% endif %}"
verbosity: 2
loop: "{{ bom.materials.media | flatten(levels=1) }}"
when:
- item.download is undefined or item.download
- name: "3.3 BoM Processing: - List files and check if dynamic BOM download was performed successfully."
block:
- name: "Check if the item has dynamic property"
ansible.builtin.fail:
msg: "INSTALL:0023:Error while donwloading BOM contents. Invalid BOM structure detected."
when:
- item.download is undefined or item.download
- item.dynamic is defined or item.archive is undefined
loop: "{{ bom.materials.media | flatten(levels=1) }}"

- name: "3.3 BoM Processing: - List files"
ansible.builtin.debug:
msg:
- "URL : {{ sapbits_location_base_path }}/{{ sapbits_bom_files }}/archives/{{ item.archive }}\
{% if sapbits_sas_token is not undefined %}?{{ sapbits_sas_token }}{% endif %}"
- "DEST: {{ target_media_location }}/{% if item.filename is undefined %}{{ item.archive }}{% else %}{{ item.filename }}{% endif %}"
- "MODE: {% if item.permissions is undefined %}0644{% else %}{{ item.permissions }}{% endif %}"
verbosity: 2
loop: "{{ bom.materials.media | flatten(levels=1) }}"
when:
- item.download is undefined or item.download
# ------------------</DEBUGGING>------------------

- name: "3.3 BoM Processing: - Set Python version {{ distribution_id }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,27 @@

# Download Files
# ------------------<DEBUGGING>-------------------
- name: "3.3 BoM Processing: - List files"
ansible.builtin.debug:
msg:
- "URL : {{ sapbits_location_base_path }}/{{ sapbits_bom_files }}/archives/{{ item.archive }}\
{% if sapbits_sas_token is not undefined %}?{{ sapbits_sas_token }}{% endif %}"
- "DEST: {{ target_media_location }}/{% if item.filename is undefined %}{{ item.archive }}{% else %}{{ item.filename }}{% endif %}"
- "MODE: {% if item.permissions is undefined %}0644{% else %}{{ item.permissions }}{% endif %}"
verbosity: 2
loop: "{{ bom.materials.media | flatten(levels=1) }}"
when:
- item.download is undefined or item.download
- name: "3.3 BoM Processing: - List files and check if dynamic BOM download was performed successfully."
block:
- name: "Check if the item has dynamic property"
ansible.builtin.fail:
msg: "INSTALL:0023:Error while donwloading BOM contents. Invalid BOM structure detected."
when:
- item.download is undefined or item.download
- item.dynamic is defined or item.archive is undefined
loop: "{{ bom.materials.media | flatten(levels=1) }}"

- name: "3.3 BoM Processing: - List files"
ansible.builtin.debug:
msg:
- "URL : {{ sapbits_location_base_path }}/{{ sapbits_bom_files }}/archives/{{ item.archive }}\
{% if sapbits_sas_token is not undefined %}?{{ sapbits_sas_token }}{% endif %}"
- "DEST: {{ target_media_location }}/{% if item.filename is undefined %}{{ item.archive }}{% else %}{{ item.filename }}{% endif %}"
- "MODE: {% if item.permissions is undefined %}0644{% else %}{{ item.permissions }}{% endif %}"
verbosity: 2
loop: "{{ bom.materials.media | flatten(levels=1) }}"
when:
- item.download is undefined or item.download
# ------------------</DEBUGGING>------------------

- name: "3.3 BoM Processing: - Creates temporary download directory"
Expand Down
4 changes: 2 additions & 2 deletions deploy/pipelines/02-sap-workload-zone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ stages:
"FRSO") LOCATION_IN_FILENAME="francesouth" ;;
"GENO") LOCATION_IN_FILENAME="germanynorth" ;;
"GEWC") LOCATION_IN_FILENAME="germanywest" ;;
"JAEA") LOCATION_IN_FILENAME="japaneastst" ;;
"JAWE") LOCATION_IN_FILENAME="japanwestst" ;;
"JAEA") LOCATION_IN_FILENAME="japaneast" ;;
"JAWE") LOCATION_IN_FILENAME="japanwest" ;;
"JINC") LOCATION_IN_FILENAME="jioindiacentral" ;;
"JINW") LOCATION_IN_FILENAME="jioindiawest" ;;
"GENO") LOCATION_IN_FILENAME="germanynorth" ;;
Expand Down
Loading