Skip to content

Commit 752664a

Browse files
authored
Merge pull request #2 from stackhpc/main-workflows
feat: automatic update of workflows main
2 parents 52aa648 + 0333a07 commit 752664a

File tree

6 files changed

+40
-12
lines changed

6 files changed

+40
-12
lines changed

.ansible-lint

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
exclude_paths:
3+
- .github/
4+
5+
skip_list:
6+
- galaxy[no-changelog]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Ansible collection linters
3+
'on':
4+
pull_request:
5+
jobs:
6+
lint:
7+
uses: stackhpc/.github/.github/workflows/lint-collection.yml@main
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Publish Ansible Collection
3+
'on':
4+
push:
5+
tags:
6+
- "v?[0-9]+.[0-9]+.[0-9]+"
7+
workflow_dispatch:
8+
jobs:
9+
publish_collection:
10+
uses: stackhpc/.github/.github/workflows/publish-collection.yml@main
11+
secrets:
12+
GALAXY_API_KEY: ${{ secrets.GALAXY_API_KEY }}

galaxy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace: stackhpc
66

77
# The name of the collection. Has the same character restrictions as 'namespace'
8-
name: kayobe_automation_workflows
8+
name: kayobe_workflows
99

1010
# The version of the collection. Must be compatible with semantic versioning
1111
version: 1.0.0
@@ -16,7 +16,7 @@ readme: README.md
1616
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
1717
# @nicks:irc/im.site#channel'
1818
authors:
19-
- Jack Hodgkiss <[email protected]>
19+
- Jack Hodgkiss <[email protected]>
2020

2121

2222
### OPTIONAL but strongly recommended
@@ -26,7 +26,7 @@ description: Ansible collection for templating the creation of kayobe workflows.
2626
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
2727
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
2828
license:
29-
- Apache-2.0
29+
- Apache-2.0
3030

3131
# The path to the license file for the collection. This path is relative to the root of the collection. This key is
3232
# mutually exclusive with 'license'
@@ -35,10 +35,11 @@ license:
3535
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
3636
# requirements as 'namespace' and 'name'
3737
tags:
38-
- OpenStack
39-
- Kayobe
40-
- Continuous Integration
41-
- Continuous Deployment
38+
- openstack
39+
- kayobe
40+
- tools
41+
- cloud
42+
- infrastructure
4243

4344
# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
4445
# collection label 'namespace.name'. The value is a version range
@@ -70,4 +71,3 @@ build_ignore: []
7071
# 'omit_default_directives' is a boolean that controls whether the default directives are used. Mutually exclusive
7172
# with 'build_ignore'
7273
# manifest: null
73-

roles/github/meta/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
galaxy_info:
2-
role_name: kayobe_automation_workflows
2+
role_name: github
33
author: Jack Hodgkiss
44
description: Create kayobe automation workflow files
55
company: StackHPC
@@ -13,6 +13,8 @@ galaxy_info:
1313
galaxy_tags:
1414
- openstack
1515
- kayobe
16-
- CI/CD
16+
- tools
17+
- cloud
18+
- infrastructure
1719

1820
dependencies: []

roles/github/tests/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
- hosts: localhost
2+
- name: Test github role
3+
hosts: localhost
34
remote_user: root
45
roles:
5-
- kayobe-automation-workflows
6+
- github

0 commit comments

Comments
 (0)