Single apostrophe character ruin commits
Summary
If there is single apostrophe character in file to update, auto-updater handle string as a list
Steps to reproduce
Run this in auto-updater:
Example command: ./execute.py default update --extra-vars "@environments/ansible-roles/rocketchat.yml
rocketchat.yml content:
---
updater_projects:
- repository_name: "Przemek/rocketchat"
access_token: "{{ auto_updater_gitlab_token }}"
components:
- origin:
type: "dockerhub"
repository_name: "rocketchat/hubot-rocketchat"
ignored_tags:
- "latest"
- "v.*"
local:
file: "vars/main.yml"
type: "vars"
version_from: "_rocketchat_bot_docker_image"
- origin:
type: "dockerhub"
repository_name: "library/mongo"
ignored_tags:
- "unstable.*"
- "latest"
- ".*windows.*"
- ".*rc.*"
local:
file: "vars/main.yml"
type: "vars"
version_from: "_rocketchat_database_docker_image"
- origin:
type: "dockerhub"
repository_name: "rocketchat/rocket.chat"
ignored_tags:
- "designpreview"
- "latest"
- "develop"
- "release-candidate"
- "pr.*"
- ".*rc.*"
local:
file: "vars/main.yml"
type: "vars"
version_from: "_rocketchat_docker_image"
Expected behavior
Updater should change varisons of docker images
Actual behavior
Updater changes string to list/
Relevant logs and/or screenshots
Example:
---
_rocketchat_configuration_directory: "/etc/{{ rocketchat_service_name }}"
[
'
-
-
-
'
,
'
_
r
o
c
k
e
t
AND SO ON...