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

Adding auto-releaser and refactoring openebs role to storage #77

Merged
merged 1 commit into from
Dec 6, 2020
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
34 changes: 34 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: 'Community'
label:
- 'community'
- title: 'Features'
labels:
- 'feature_request'
- 'enhancement'
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Maintenance'
label:
- 'chore'
- 'documentation'
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
19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/terraform-apply.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: terraform
name: terraform-apply

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: terraform
name: terraform-plan

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion ansible/example/group_vars/all.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Role: common
# Role - common
common_timezone: Europe/Amsterdam
common_rpi_overclock: true
common_rpi_poe_hat: true
4 changes: 2 additions & 2 deletions ansible/example/group_vars/masters.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# Role: keepalived
# Role - keepalived
keepalived_vip: '192.168.100.50'

# Role: cluster
# Role - cluster
cluster_extra_sans:
- "{{ keepalived_vip }}"
- api.kubernetes.lan
Expand Down
2 changes: 1 addition & 1 deletion ansible/family_vars/archlinux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Role: common
# Role - common
common_packages:
- rxvt-unicode-terminfo
- fakeroot
Expand Down
2 changes: 1 addition & 1 deletion ansible/family_vars/debian.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Role: common
# Role - common
common_packages:
- apt-transport-https
- software-properties-common
Expand Down
44 changes: 26 additions & 18 deletions ansible/group_vars/all.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
---
# Role: common
#common_upgrade_packages: true
#common_reboot_handler_enabled: true
#common_timezone: UTC
#common_usb_ssd_enabled: false
#common_usb_ssd_device_id: ""
#common_rpi_overclock: false
#common_rpi_poe_hat: false
#common_log2ram_version: v1.4
#common_log2ram_size: 128M
####
# Role - common
####
# common_upgrade_packages: true
# common_reboot_handler_enabled: true
# common_timezone: UTC
# common_usb_ssd_enabled: false
# common_usb_ssd_device_id: ""
# common_rpi_overclock: false
# common_rpi_poe_hat: false
# common_log2ram_version: v1.4
# common_log2ram_size: 128M

# Role: kubernetes
#kubernetes_kubectl_version: 1.19.0-00
#kubernetes_kubelet_version: 1.19.0-00
#kubernetes_kubeadm_version: 1.19.0-00
####
# Role - kubernetes
####
# kubernetes_kubectl_version: 1.19.4-00
# kubernetes_kubelet_version: 1.19.4-00
# kubernetes_kubeadm_version: 1.19.4-00

# Role: cri
#cri_plugin: docker
####
# Role - cri
####
# cri_plugin: docker

# Role: openebs
#openebs_enabled: true
####
# Role - storage
####
# openebs_enabled: true
52 changes: 30 additions & 22 deletions ansible/group_vars/masters.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
---
# Role: keepalived
#keepalived_vip: ''
#keepalived_interface: "{{ ansible_default_ipv4['interface'] }}"
####
# Role - keepalived
####
# keepalived_vip: ''
# keepalived_interface: "{{ ansible_default_ipv4['interface'] }}"

# Role: cluster
#cluster_name: kubernetes
#cluster_extra_sans:
####
# Role - cluster
####
# cluster_name: kubernetes
# cluster_extra_sans:
# - "{{ keepalived_vip }}"
#cluster_control_plane_endpoint: "{{ keepalived_vip }}:8443"
#cluster_enable_admission_plugins: "NodeRestriction,AlwaysPullImages"
#cluster_authorization_mode: "Node,RBAC"
#cluster_audit_log_path: "/var/log/kubernetes/audit.log"
#cluster_audit_log_maxage: 30
#cluster_audit_log_maxbackup: 10
#cluster_audit_log_maxsize: 100
#cluster_pod_subnet: ""
#cluster_etcd_heartbeat_interval: "100"
#cluster_etcd_election_timeout: "1000"
# cluster_control_plane_endpoint: "{{ keepalived_vip }}:8443"
# cluster_enable_admission_plugins: "NodeRestriction,AlwaysPullImages"
# cluster_authorization_mode: "Node,RBAC"
# cluster_audit_log_path: "/var/log/kubernetes/audit.log"
# cluster_audit_log_maxage: 30
# cluster_audit_log_maxbackup: 10
# cluster_audit_log_maxsize: 100
# cluster_pod_subnet: ""
# cluster_etcd_heartbeat_interval: "100"
# cluster_etcd_election_timeout: "1000"

# Role: cni
#cni_plugin: calico
####
# Role - cni
####
# cni_plugin: calico

# Role: cloudflared
####
# Role - cloudflared
####
# Cloudflare options for exposing Kubernetes services via HTTPS/SSH
#cloudflared_enabled: false
#cloudflared_kube_api_server_dns: ''
#cloudflared_version: 2020.8.0
# cloudflared_enabled: false
# cloudflared_kube_api_server_dns: ''
# cloudflared_version: 2020.8.0
2 changes: 1 addition & 1 deletion ansible/playbooks/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
roles:
- cluster
- cni
- openebs
- storage
85 changes: 0 additions & 85 deletions raspbian/Makefile

This file was deleted.

Loading