chore: switch to main as default branch
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d210335a79
commit
8599e0f1f1
@ -37,7 +37,7 @@ local PipelineLinting = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='rocky8') = {
|
|||||||
'linting',
|
'linting',
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -107,12 +107,12 @@ local PipelineDocumentation = {
|
|||||||
target_branch: 'docs',
|
target_branch: 'docs',
|
||||||
},
|
},
|
||||||
when: {
|
when: {
|
||||||
ref: ['refs/heads/master'],
|
ref: ['refs/heads/main'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'testing-rocky8',
|
'testing-rocky8',
|
||||||
@ -147,7 +147,7 @@ local PipelineNotification = {
|
|||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
status: ['success', 'failure'],
|
status: ['success', 'failure'],
|
||||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
12
.drone.yml
12
.drone.yml
@ -30,7 +30,7 @@ steps:
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ steps:
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -98,11 +98,11 @@ steps:
|
|||||||
from_secret: gitea_username
|
from_secret: gitea_username
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ steps:
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -147,6 +147,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f38c44313242ea29b9e64da58f382de0f5d4354a8dc193c96efe4696eecb090b
|
hmac: a4095daa53c853917448028c7e0bbe34456662702cc8b4b4686e0a5fe730e6ec
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -8,7 +8,7 @@ galaxy_info:
|
|||||||
# @meta description: >
|
# @meta description: >
|
||||||
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.podman)
|
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.podman)
|
||||||
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.podman?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.podman)
|
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.podman?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.podman)
|
||||||
# [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.podman/src/branch/master/LICENSE)
|
# [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.podman/src/branch/main/LICENSE)
|
||||||
#
|
#
|
||||||
# Setup Podman container manager.
|
# Setup Podman container manager.
|
||||||
# @end
|
# @end
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: Converge
|
- name: Converge
|
||||||
hosts: all
|
hosts: all
|
||||||
|
vars:
|
||||||
|
kernel_cgroup_v2_enabled: True
|
||||||
|
kernel_ipv4_ping_group_range: "0 2000000"
|
||||||
roles:
|
roles:
|
||||||
|
- role: xoxys.kernel
|
||||||
- role: xoxys.podman
|
- role: xoxys.podman
|
||||||
|
@ -10,6 +10,12 @@
|
|||||||
- fuse-overlayfs
|
- fuse-overlayfs
|
||||||
- crun
|
- crun
|
||||||
- container-selinux
|
- container-selinux
|
||||||
|
- bash-completion
|
||||||
|
|
||||||
|
- name: Install Podman bash-completion
|
||||||
|
command:
|
||||||
|
cmd: "podman completion bash -f /etc/bash_completion.d/podman"
|
||||||
|
creates: "/etc/bash_completion.d/podman"
|
||||||
|
|
||||||
- name: Deploy container configuration
|
- name: Deploy container configuration
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user