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

New way of deploying repository #195

Merged
merged 10 commits into from
Aug 29, 2019
Merged

New way of deploying repository #195

merged 10 commits into from
Aug 29, 2019

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented Aug 27, 2019

@rzadp rzadp changed the title [WIP] New way of deploying repository New way of deploying repository Aug 27, 2019
@rzadp rzadp added the deployment related to deployment playbooks/scripts/configs label Aug 27, 2019
@rzadp rzadp changed the title New way of deploying repository [WIP] New way of deploying repository Aug 27, 2019
@rzadp rzadp changed the title [WIP] New way of deploying repository New way of deploying repository Aug 27, 2019
@rzadp rzadp marked this pull request as ready for review August 27, 2019 14:52
shell: git submodule update --init
args:
chdir: "{{ bridge_path }}"
src: ../../../..
Copy link
Collaborator

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
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

@ArseniiPetrovich ArseniiPetrovich left a 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.

@rzadp rzadp merged commit 01186d6 into omni:master Aug 29, 2019
@rzadp rzadp deleted the fix-remote-prs branch August 29, 2019 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment related to deployment playbooks/scripts/configs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests do not handle forked Pull Requests
3 participants