-
Notifications
You must be signed in to change notification settings - Fork 211
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
New way of deploying repository #195
Conversation
shell: git submodule update --init | ||
args: | ||
chdir: "{{ bridge_path }}" | ||
src: ../../../.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in #194 consider to copy just files from git ls-tree -r HEAD --name-only
file: | ||
path: "{{ bridge_path }}" | ||
state: directory | ||
- name: Synchronize the repository with current files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to split tasks with a newline.
Also I would agree with @akolotov on using ls-tree
command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ArseniiPetrovich Done, please review again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me.
Closes Tests do not handle forked Pull Requests #167 by changing the task cloning the repository, to just copy the files
Removed now-obsolete
bridge_repo
andbridge_repo_branch
configsNote that this PR is a forked PR from
rzadp/tokenbridge
, demonstrating working testsRelated PR: Molecule tests for deploying repository #194
TODO: Manually test deployment on DigitalOcean