From d3c491fef8f3607c44c77f5cf20fcf2debe8ce7a Mon Sep 17 00:00:00 2001 From: Arkadiusz Kondas Date: Mon, 20 Apr 2020 13:04:25 +0200 Subject: [PATCH] Add crone role in setup playbook (#65) --- CHANGELOG.md | 18 ++++++++++++++++++ ansible/roles/cron/tasks/main.yml | 6 ++++++ ansible/setup.yml | 1 + 3 files changed, 25 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 ansible/roles/cron/tasks/main.yml diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..eb765889 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] +### Added +- organization members (#56) + +## [0.1.0] - 2020-04-20 +### First release :tada: +- free and open source +- works as a proxy for packagist.org (speeds up your local builds) +- hosts your private packages +- allows to create individual access tokens +- supports private package import from GitHub, GitLab and Bitbucket with one click diff --git a/ansible/roles/cron/tasks/main.yml b/ansible/roles/cron/tasks/main.yml new file mode 100644 index 00000000..38f0c06d --- /dev/null +++ b/ansible/roles/cron/tasks/main.yml @@ -0,0 +1,6 @@ +- name: Add sync proxy releases command to cron + cron: + name="Sync proxy releases with packagist.org" + user="{{ system_user }}" + minute="*/5" + job="{{ app_root }}/bin/console repman:proxy:sync-releases >>{{ app_root }}/var/log/cron.log 2>&1" diff --git a/ansible/setup.yml b/ansible/setup.yml index fb0745f1..133bdb70 100644 --- a/ansible/setup.yml +++ b/ansible/setup.yml @@ -13,6 +13,7 @@ - app.install - app.env - supervisor + - cron tasks: - name: Stop message consumers become: true