From 91c80bb84580ad8537cf49ed1da4b46805fb07e5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Jun 2022 22:20:02 +0200 Subject: [PATCH] chore: switch to main as default branch --- .drone.jsonnet | 10 +++++----- .drone.yml | 12 ++++++------ meta/main.yml | 2 +- molecule/requirements.yml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 18fab09..856f064 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -37,7 +37,7 @@ local PipelineLinting = { }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -71,7 +71,7 @@ local PipelineDeployment(scenario='centos7') = { 'linting', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, }; @@ -107,12 +107,12 @@ local PipelineDocumentation = { target_branch: 'docs', }, when: { - ref: ['refs/heads/master'], + ref: ['refs/heads/main'], }, }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, depends_on: [ 'testing-centos7', @@ -147,7 +147,7 @@ local PipelineNotification = { ], trigger: { status: ['success', 'failure'], - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, }; diff --git a/.drone.yml b/.drone.yml index 87aac60..493d4d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -60,7 +60,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: @@ -98,11 +98,11 @@ steps: from_secret: gitea_username when: ref: - - refs/heads/master + - refs/heads/main trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -136,7 +136,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -147,6 +147,6 @@ depends_on: --- kind: signature -hmac: d3f360672dd70b805aee30d6f922a928e718b7828b296b717d7faf6f120d789a +hmac: 310e7c7a12236358e7db37f7f86fbaaec9501a35ea4df02ef68c684f67a3b6e6 ... diff --git a/meta/main.yml b/meta/main.yml index 8ffb1a5..d98a1a4 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -8,7 +8,7 @@ galaxy_info: # @meta description: > # [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.droneci) # [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.droneci?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.droneci) - # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.droneci/src/branch/master/LICENSE) + # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.droneci/src/branch/main/LICENSE) # # Setup [Drone CI](https://drone.io/) base server. Drone is a Continuous Delivery system built on container technology. # Drone uses a simple YAML configuration file, a superset of docker-compose, to define and execute Pipelines inside Docker containers. diff --git a/molecule/requirements.yml b/molecule/requirements.yml index 1432a2f..e01d660 100644 --- a/molecule/requirements.yml +++ b/molecule/requirements.yml @@ -7,4 +7,4 @@ roles: - src: https://gitea.rknet.org/ansible/xoxys.docker_engine.git name: xoxys.docker_engine scm: git - version: master + version: main