Skip to content

Commit

Permalink
Feat: update package.json version ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaine committed Jan 12, 2021
1 parent e0db3df commit 61459c5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ jobs:
END
ansible-vault decrypt --vault-password-file ~/fabrique-chatbot-back/ansible/fabrique/password_file ${{ steps.env_file.outputs.value }}
mv ${{ steps.env_file.outputs.value }} ~/fabrique-chatbot-back/ansible/fabrique/.env
ansible-playbook ~/fabrique-chatbot-back/ansible/fabrique/backserver.yml --vault-password-file ~/fabrique-chatbot-back/ansible/fabrique/password_file --extra-vars 'DB_PASSWORD='${{ steps.db_password.outputs.value }}' USER_PASSWORD='${{ steps.user_password.outputs.value }}' DOMAIN='${{ steps.domain.outputs.value }}''
ansible-playbook ~/fabrique-chatbot-back/ansible/fabrique/elastic.yml --vault-password-file ~/fabrique-chatbot-back/ansible/fabrique/password_file --extra-vars USER_PASSWORD='${{ steps.user_password.outputs.value }}' ELASTIC_HOST='${{ secrets.ELASTIC_HOST }}' ELASTIC_USERNAME='${{ secrets.ELASTIC_USERNAME }}' ELASTIC_PASSWORD='${{ secrets.ELASTIC_PASSWORD }}' ELASTIC_METRICBEAT_INDEX='${{ secrets.ELASTIC_METRICBEAT_INDEX }}''
ansible-playbook ~/fabrique-chatbot-back/ansible/fabrique/backserver.yml --vault-password-file ~/fabrique-chatbot-back/ansible/fabrique/password_file --extra-vars 'DB_PASSWORD='"${{ steps.db_password.outputs.value }}"' USER_PASSWORD='"${{ steps.user_password.outputs.value }}"' DOMAIN='${{ steps.domain.outputs.value }}''
ansible-playbook ~/fabrique-chatbot-back/ansible/logs/elastic.yml --vault-password-file ~/fabrique-chatbot-back/ansible/fabrique/password_file --extra-vars 'USER_PASSWORD='"${{ steps.user_password.outputs.value }}"' ELASTIC_HOST='${{ secrets.ELASTIC_HOST }}' ELASTIC_USERNAME='${{ secrets.ELASTIC_USERNAME }}' ELASTIC_PASSWORD='"${{ secrets.ELASTIC_PASSWORD }}"' ELASTIC_METRICBEAT_INDEX='${{ secrets.ELASTIC_METRICBEAT_INDEX }}''
- name: delete tmp dir
uses: appleboy/ssh-action@master
Expand Down
1 change: 0 additions & 1 deletion ansible/fabrique/backserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

- name: Ansible galaxy install elastic.beats role
shell: 'ansible-galaxy install elastic.beats,v7.10.1'
become: yes

- name: copy the nginx config file
become: yes
Expand Down
6 changes: 3 additions & 3 deletions ansible/logs/elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Prerequisites: SSH access for user with password

- hosts: all
- hosts: localhost

remote_user: fab_user

vars:
- ansible_user: "fab_user"
- ansible_password: "{{ USER_PASSWORD }}"
# - ansible_user: "fab_user"
# - ansible_password: "{{ USER_PASSWORD }}"
- ansible_become_pass: "{{ USER_PASSWORD }}"

- name: install metricbeat
Expand Down
4 changes: 2 additions & 2 deletions ansible/logs/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Prerequisites: SSH access for user with password

- hosts: all
- hosts: localhost

remote_user: fab_user

vars:
- ansible_user: "fab_user"
- ansible_password: "{{ USER_PASSWORD }}"
# - ansible_password: "{{ USER_PASSWORD }}"
- ansible_become_pass: "{{ USER_PASSWORD }}"
# BEATS
- beats_version: 6.8.13
Expand Down
2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabrique-chatbot-front",
"version": "1.1.3",
"version": "1.1.5",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down

0 comments on commit 61459c5

Please sign in to comment.