Add blank newline at the end of file

This patch adds blank newline for each [yaml|sh] files if they
don't end with one. This will allows us getting linters happy and avoid us
having git adding "\ No newline at end of file" in diffs when pushing
a new patch.

In other way, you can configure Git to properly handle line endings in
typing:

$ git config --global core.autocrlf input

Change-Id: I8a113541b3eae6a36ed32995822dedbbd2d9666e
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2017-03-23 11:04:03 +01:00
parent dac8d90aaf
commit 77e537f868
124 changed files with 124 additions and 2 deletions

View File

@ -26,3 +26,4 @@ bash quickstart.sh \
--no-clone \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
$VIRTHOST

View File

@ -26,3 +26,4 @@ bash quickstart.sh \
--playbook $PLAYBOOK \
localhost
popd

View File

@ -39,3 +39,4 @@ bash quickstart.sh \
--extra-vars @$WORKSPACE/config/general_config/${LOG_ENV}-logs.yml \
--extra-vars artcl_verify_sphinx_build=$VERIFY_SPHINX \
localhost

View File

@ -28,3 +28,4 @@ bash quickstart.sh \
$VIRTHOST
popd

View File

@ -53,3 +53,4 @@ bash quickstart.sh \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
--playbook scale_nodes_verify.yml \
$VIRTHOST

View File

@ -36,3 +36,4 @@ bash quickstart.sh \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
$OPT_ADDITIONAL_PARAMETERS \
$VIRTHOST

View File

@ -53,3 +53,4 @@ bash quickstart.sh \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
$OPT_ADDITIONAL_PARAMETERS \
localhost

View File

@ -98,3 +98,4 @@ else
$OPT_ADDITIONAL_PARAMETERS \
$VIRTHOST
fi

View File

@ -32,3 +32,4 @@ export VIRTHOST=`cat provisioned.csv | tail -1 | cut -d "," -f 3| sed -e 's/"//g
export VIRTHOST_KEY=`cat provisioned.csv | tail -1 | cut -d "," -f 7| sed -e 's/"//g'`
echo $VIRTHOST > $WORKSPACE/virthost
echo $VIRTHOST_KEY > $WORKSPACE/cico_key.txt

View File

@ -47,3 +47,4 @@ bash quickstart.sh \
--no-clone \
--release ${CI_ENV:+$CI_ENV/}$RELEASE \
$VIRTHOST

View File

@ -73,3 +73,4 @@ $scpcmd stack@$VIRTHOST:~/.quickstart/ssh.config* $WORKSPACE/
$scpcmd stack@$VIRTHOST:~/.quickstart/hosts* $WORKSPACE/
$scpcmd stack@$VIRTHOST:~/.quickstart/id_* $WORKSPACE/
sed -i 's,\/home\/stack\/\.quickstart,'"$WORKSPACE"',g' $WORKSPACE/ssh.config.ansible

View File

@ -28,3 +28,4 @@ bash quickstart.sh \
--playbook $PLAYBOOK \
localhost
popd

View File

@ -16,3 +16,4 @@ git diff --cached --name-only --diff-filter=ACM | grep '.yml' | (
cd $tmpdir
xargs --no-run-if-empty $SCRIPTS/validate-yaml
)

View File

@ -283,3 +283,4 @@ hw_env:
network_cidr: 192.168.0.0/24
ExternalNetworkVlanID: null
network_type: flat

View File

@ -25,3 +25,4 @@ EOF
fi
exit ${BUILD_RESULT}

View File

@ -6,3 +6,4 @@ set -eux
VIRTHOST_KEY=$(head -n1 $WORKSPACE/cico_key.txt)
$WORKSPACE/bin/cico node done $VIRTHOST_KEY
$WORKSPACE/bin/cico inventory

View File

@ -40,3 +40,4 @@ bash quickstart.sh \
--extra-vars nic_configs_dir=$WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/nic_configs/ \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
$VIRTHOST

View File

@ -44,3 +44,4 @@ bash quickstart.sh \
--playbook upgrade.yml \
--release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
$VIRTHOST

View File

@ -77,3 +77,4 @@ EOF
popd

View File

@ -44,3 +44,4 @@
roles:
- tripleo/undercloud
- tripleo/overcloud

View File

@ -366,3 +366,4 @@ Virtual Environment Setup Complete
##################################
EOF
fi

View File

@ -11,3 +11,4 @@ deployed_server: true
network_isolation: false
package_installs: true
non_root_user_setup: true

View File

@ -51,3 +51,4 @@ artcl_create_docs_payload:
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate

View File

@ -112,3 +112,4 @@ artcl_create_docs_payload:
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate

View File

@ -7,3 +7,4 @@ composable_services: true
composable_scenario: multinode.yaml
# Use default test template
# validate_template: tenantvm-floatingip.yaml

View File

@ -4,3 +4,4 @@ test_ping: true
composable_scenario: scenario001-multinode.yaml
validate_template: scenario001-multinode.yaml

View File

@ -3,3 +3,4 @@ test_ping: true
composable_scenario: scenario002-multinode.yaml
validate_template: scenario002-multinode.yaml

View File

@ -3,3 +3,4 @@ test_ping: true
composable_scenario: scenario003-multinode.yaml
validate_template: scenario003-multinode.yaml

View File

@ -3,3 +3,4 @@ test_ping: true
composable_scenario: scenario004-multinode.yaml
validate_template: scenario004-multinode.yaml

View File

@ -3,3 +3,4 @@ test_ping: true
composable_scenario: scenario005-multinode.yaml
validate_template: scenario005-multinode.yaml

View File

@ -53,3 +53,4 @@ undercloud_undercloud_hostname: 'undercloud.example.com'
# set dns on the undercloud to the ipa server IP
undercloud_undercloud_nameservers: ['192.168.0.1']

View File

@ -47,3 +47,4 @@ artcl_create_docs_payload:
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate

View File

@ -45,3 +45,4 @@ artcl_create_docs_payload:
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate

View File

@ -43,3 +43,4 @@ artcl_create_docs_payload:
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate

View File

@ -23,3 +23,4 @@ deprecations:
tested into featureset files. For example, the old
minimal.yml file was split into no_netiso.yml and
1ctlr_1comp.yml

View File

@ -4,3 +4,4 @@ overcloud_nodes:
flavor: control
node_count: 1

View File

@ -6,4 +6,4 @@ overcloud_nodes:
- name: compute_0
flavor: compute
virtualbmc_port: 6231
virtualbmc_port: 6231

View File

@ -21,3 +21,4 @@ topology: >-
network_isolation: true
network_isolation_type: 'single-nic-vlans'

View File

@ -39,3 +39,4 @@ overcloud_nodes:
# Tell tripleo which nodes to deploy.
topology: >-
--control-scale 3

View File

@ -48,3 +48,4 @@ network_isolation_type: 'single-nic-vlans'
topology: >-
--compute-scale 3
--control-scale 3

View File

@ -1 +1,2 @@
node_count: 4

View File

@ -2,3 +2,4 @@ release: liberty
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: liberty
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/stable/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/stable/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/liberty/delorean/consistent/stable/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: master
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/consistent/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/consistent/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/consistent/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: master
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/current-tripleo/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/current-tripleo/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/master/delorean/current-tripleo/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: mitaka
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-stable/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-stable/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-stable/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: mitaka
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-testing/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-testing/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/cbs/cloudsig-testing/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: mitaka
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/delorean/consistent/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/delorean/consistent/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/mitaka/delorean/consistent/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: newton
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-stable/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-stable/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-stable/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: newton
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-testing/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-testing/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/cbs/cloudsig-testing/testing/ironic-python-agent.tar

View File

@ -2,3 +2,4 @@ release: newton
undercloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/delorean/consistent/testing/undercloud.qcow2
overcloud_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/delorean/consistent/testing/overcloud-full.tar
ipa_image_url: http://artifacts.ci.centos.org/artifacts/rdo/images/newton/delorean/consistent/testing/ironic-python-agent.tar

View File

@ -22,3 +22,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0
sudo yum repolist;
sudo yum update -y

View File

@ -22,3 +22,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0
sudo yum repolist;
sudo yum update -y

View File

@ -47,3 +47,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0;
sudo yum repolist;
sudo yum update -y

View File

@ -71,3 +71,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0;
sudo yum repolist;
sudo yum update -y

View File

@ -45,3 +45,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-hammer.gpgcheck=0;
sudo yum repolist;
sudo yum update -y

View File

@ -45,3 +45,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0;
sudo yum repolist;
sudo yum update -y

View File

@ -45,3 +45,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0;
sudo yum repolist;
sudo yum update -y

View File

@ -2,3 +2,4 @@ release: liberty
undercloud_image_url: https://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/liberty/delorean/undercloud.qcow2
overcloud_image_url: https://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/liberty/delorean/overcloud-full.tar
ipa_image_url: https://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/liberty/delorean/ironic-python-agent.tar

View File

@ -22,3 +22,4 @@ repo_cmd_after: |
sudo yum-config-manager --save --setopt centos-ceph-jewel.gpgcheck=0
sudo yum repolist;
sudo yum update -y

View File

@ -180,3 +180,4 @@ fi
bash ci-scripts/full-deploy.sh $RELEASE $BUILD_SYS $CONFIG $JOB_TYPE
popd

View File

@ -1,3 +1,4 @@
---
- include: build-images.yml
- include: quickstart-extras.yml

View File

@ -10,3 +10,4 @@
gather_facts: yes
roles:
- tripleo-inventory

View File

@ -4,3 +4,4 @@
gather_facts: no
roles:
- libvirt/teardown

View File

@ -5,3 +5,4 @@
hosts: localhost
tasks:
- debug: msg="noop"

View File

@ -100,3 +100,4 @@
gather_facts: no
roles:
- { role: validate-tempest, when: run_tempest|bool }

View File

@ -54,3 +54,4 @@
- undercloud-scripts
roles:
- tripleo-inventory

View File

@ -6,3 +6,4 @@
tags:
- teardown-environment
- teardown-all

View File

@ -8,3 +8,4 @@
tags:
- teardown-nodes
- teardown-all

View File

@ -7,3 +7,4 @@
tags:
- teardown-provision
- teardown-all

View File

@ -95,3 +95,4 @@
gather_facts: no
roles:
- tripleo-overcloud-validate

View File

@ -516,3 +516,4 @@ Virtual Environment Setup Complete
##################################
EOF
fi

View File

@ -176,3 +176,4 @@ non_root_group: "{{ non_root_user }}"
libvirt_volume_path: "{{ working_dir }}/pool"
libvirt_uri: qemu:///session

View File

@ -1,2 +1,3 @@
# By default do image conversion in the global working_dir
convert_image_working_dir: "{{ working_dir }}"

View File

@ -1,3 +1,4 @@
# Include the `common` role as a dependency.
dependencies:
- common

View File

@ -47,3 +47,4 @@ chmod 600 /swapfile
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config

View File

@ -1,2 +1,3 @@
dependencies:
- common

View File

@ -4,3 +4,4 @@ dependencies:
- parts/kvm
- parts/libvirt
- environment

View File

@ -106,3 +106,4 @@
path: "{{ working_dir }}"
state: directory
become: true

View File

@ -7,3 +7,4 @@
- name: Include version specific vars
include_vars: "{{ ansible_distribution|lower }}-{{ ansible_distribution_major_version|lower }}.yml"
ignore_errors: true

View File

@ -1,3 +1,4 @@
---
dependencies:
- environment

View File

@ -54,3 +54,4 @@
- name: Delete any existing dstat log file
file: dest=/var/log/extra/dstat-csv.log state=absent
become: true

View File

@ -1 +1,2 @@
qemu_bridge_conf: /etc/qemu/bridge.conf

View File

@ -1 +1,2 @@
qemu_bridge_conf: /etc/qemu/bridge.conf

View File

@ -1,2 +1,3 @@
dependencies:
- common

View File

@ -19,3 +19,4 @@
vars:
image: "{{ item }}"
with_items: "{{ images }}"

View File

@ -45,4 +45,4 @@ use_external_images: false
extradisks_list:
- vdb
- vdc
- vdd
- vdd

View File

@ -14,3 +14,4 @@ dependencies:
- role: setup/user
- role: setup/overcloud
- role: setup/undercloud

View File

@ -1,2 +1,3 @@
dependencies:
- common

View File

@ -1,2 +1,3 @@
# variable only used during gating (when compressed_gating_repo is defined)
gating_repo_enabled: true

View File

@ -23,3 +23,4 @@ if [ -z "$ip" ]; then
fi
echo $ip

View File

@ -1,2 +1,3 @@
dependencies:
- common

View File

@ -2,3 +2,4 @@
- name: indirect role include (workaround to https://github.com/ansible/ansible/issues/19472)
include_role:
name: convert-image

View File

@ -40,3 +40,4 @@
--upload {{ compressed_gating_repo }}:/tmp/gating_repo.tar.gz
--run '{{ working_dir }}/inject_gating_repo.sh'
when: not overcloud_as_undercloud|bool

View File

@ -65,3 +65,4 @@
LIBVIRT_DEFAULT_URI: "{{ libvirt_uri }}"
with_items: "{{ qcow_images.files | default([]) }}"
changed_when: true

View File

@ -329,3 +329,4 @@
template:
src: ssh.config.j2
dest: "{{ local_working_dir }}/ssh.config.ansible"

View File

@ -22,3 +22,4 @@ EOF
{% if gating_repo_enabled|bool %}
yum --disablerepo="*" --enablerepo="gating-repo" update -y
{% endif %}

View File

@ -23,3 +23,4 @@ timeout -s 15 -k 1200 900 bash << EOS
{% endif %}
EOS

View File

@ -1,2 +1,3 @@
dependencies:
- libvirt

View File

@ -36,3 +36,4 @@
manage_dir: true
with_file:
- "{{ virt_power_key }}.pub"

Some files were not shown because too many files have changed in this diff Show More