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

autogenerated files #10

Merged
merged 2 commits into from
Feb 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: galaxy
uses: buluma/galaxy-action@v1.0.1
uses: buluma/galaxy-action@1.1.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
20 changes: 20 additions & 0 deletions .github/workflows/gitlab_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Mirror and run GitLab CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
with:
args: "buluma/ansible-role-mysql"
env:
GITLAB_HOSTNAME: "gitlab.com"
GITLAB_USERNAME: "buluma"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "33407935"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 18 additions & 10 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ name: Ansible Molecule

on:
push:
tags_ignore:
branches:
- '**'
tags-ignore:
- '*'
pull_request:
schedule:
Expand All @@ -18,7 +20,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.4.0
with:
path: "${{ github.repository }}"
- name: molecule
Expand All @@ -33,19 +35,25 @@ jobs:
fail-fast: false
matrix:
config:
- image: "fedora"
- image: "debian-systemd"
tag: "latest"
- image: "enterpriselinux"
tag: "latest"
- image: "fedora-systemd"
tag: "34"
- image: "fedora"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora"
- image: "fedora-systemd"
tag: "rawhide"
# - image: "ubuntu" # TODO fatal: [mysql-ubuntu-latestpy310-ansible-5]: FAILED! => {"changed": false, "msg": "No package matching 'mariadb-server' is available"}
# tag: "latest"
# - image: "ubuntu"
# tag: "bionic"
- image: "opensuse"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "bionic"
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.4.0
with:
path: "${{ github.repository }}"
- name: disable apparmor for mysql
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requirements2png.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.4.0
with:
path: ${{ github.repository }}
- name: create png
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@master"
- uses: "actions/checkout@v2.4.0"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.3"
uses: "alstr/todo-to-issue-action@v4.6"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
34 changes: 29 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,22 @@ molecule:
retry: 1
parallel:
matrix:
- image: "fedora"
- image: "debian-systemd"
tag: "latest"
- image: "fedora"
- image: "enterpriselinux"
tag: "latest"
- image: "fedora-systemd"
tag: "34"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora-systemd"
tag: "rawhide"
- image: "opensuse"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "bionic"

testing:
script:
Expand All @@ -29,11 +41,23 @@ testing:
retry: 1
parallel:
matrix:
- image: "fedora"
- image: "debian-systemd"
tag: "latest"
- image: "fedora"
- image: "enterpriselinux"
tag: "latest"
- image: "fedora-systemd"
tag: "34"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora-systemd"
tag: "rawhide"
- image: "opensuse"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "bionic"

galaxy:
script:
- ansible-galaxy role info ${CI_PROJECT_NAMESPACE}.mysql
- ansible-galaxy role info buluma.mysql
1 change: 0 additions & 1 deletion .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ rules:
level: error
line-length: disable
truthy: disable
comments-indentation: disable

ignore: |
.tox/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Install and configure mysql on your system.

|GitHub|GitLab|Quality|Downloads|Version|
|------|------|-------|---------|-------|
|[![github](https://github.com/buluma/ansible-role-mysql/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-mysql/actions)|[![gitlab](https://gitlab.com/buluma/ansible-role-mysql/badges/master/pipeline.svg)](https://gitlab.com/buluma/ansible-role-mysql/-/commits/master)|[![quality](https://img.shields.io/ansible/quality/57921)](https://galaxy.ansible.com/buluma/mysql)|[![downloads](https://img.shields.io/ansible/role/d/57921)](https://galaxy.ansible.com/buluma/mysql)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-mysql.svg)](https://github.com/buluma/ansible-role-mysql/releases/)|
|[![github](https://github.com/buluma/ansible-role-mysql/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-mysql/actions)|[![gitlab](https://gitlab.com/buluma/ansible-role-mysql/badges/main/pipeline.svg)](https://gitlab.com/buluma/ansible-role-mysql)|[![quality](https://img.shields.io/ansible/quality/57921)](https://galaxy.ansible.com/buluma/mysql)|[![downloads](https://img.shields.io/ansible/role/d/57921)](https://galaxy.ansible.com/buluma/mysql)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-mysql.svg)](https://github.com/buluma/ansible-role-mysql/releases/)|

## [Example Playbook](#example-playbook)

Expand Down Expand Up @@ -64,7 +64,7 @@ mysql_innodb_io_capacity: 4000

## [Requirements](#requirements)

- pip packages listed in [requirements.txt](https://github.com/buluma/ansible-role-mysql/blob/master/requirements.txt).
- pip packages listed in [requirements.txt](https://github.com/buluma/ansible-role-mysql/blob/main/requirements.txt).

## [Status of used roles](#status-of-requirements)

Expand Down
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ driver:
name: docker
platforms:
- name: "mysql-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}"
image: "${namespace:-buluma}/${image:-fedora}:${tag:-latest}" # TODO localise
image: "${namespace:-buluma}/${image:-fedora}:${tag:-latest}"
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down