Skip to content

Commit

Permalink
autogenerated files
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Feb 6, 2022
1 parent f29ddcc commit 4a9be5e
Show file tree
Hide file tree
Showing 13 changed files with 174 additions and 23 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
version: 2
updates:
- package-ecosystem: docker
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- 'type: dependencies'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
32 changes: 32 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes
$CHANGES
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
#
repository:
description: Configure mounts
homepage: https://buluma.co.ke/
homepage: https://buluma.github.io/
topics: mount, ansible, molecule, tox, playbook, hacktoberfest
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-mount"
env:
GITLAB_HOSTNAME: "gitlab.com"
GITLAB_USERNAME: "buluma"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "33320879"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 18 additions & 12 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,25 +35,29 @@ jobs:
fail-fast: false
matrix:
config:
- image: "alpine"
- image: "alpine-openrc"
tag: "latest"
- image: "debian"
- image: "debian-systemd"
tag: "latest"
- image: "debian-systemd"
tag: "bookworm"
- image: "fedora"
- image: "enterpriselinux"
tag: "latest"
- image: "fedora-systemd"
tag: "34"
- image: "fedora"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora"
- image: "fedora-systemd"
tag: "rawhide"
# - image: "opensuse" # TODO Test Opensuse
# tag: "latest"
- image: "ubuntu"
- image: "opensuse"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "latest"
- image: "ubuntu"
- 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
27 changes: 27 additions & 0 deletions .github/workflows/release_drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
- testing
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:

# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# with:
# config-name: my-config.yml
# disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 }}
51 changes: 49 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,56 @@ molecule:
retry: 1
parallel:
matrix:
- image: "amazonlinux"
- image: "alpine-openrc"
tag: "latest"
- image: "debian-systemd"
tag: "latest"
- image: "debian-systemd"
tag: "bookworm"
- 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:
- image=${image} tag=${tag} molecule test
rules:
- if: $CI_COMMIT_REF_NAME == "testing"
retry: 1
parallel:
matrix:
- image: "alpine-openrc"
tag: "latest"
- image: "debian-systemd"
tag: "latest"
- image: "debian-systemd"
tag: "bookworm"
- 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}.mount
- ansible-galaxy role info buluma.mount
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ In the comment-box, you can [refer to the issue number](https://help.github.com/

Now I'll get a message that you've added some code. Thank you, really.

CI starts to test your changes. You can follow the progress on Travis.
CI starts to test your changes. You can follow the progress on GitHub.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Apache License
Version 2.0, January 2004
Version 2.0, 02 2022
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
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 @@ Configure mounts

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

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

Expand Down Expand Up @@ -115,4 +115,4 @@ Apache-2.0

## [Author Information](#author-information)

[Michael Buluma](https://buluma.co.ke/)
[Michael Buluma](https://buluma.github.io/)

0 comments on commit 4a9be5e

Please sign in to comment.