Skip to content

Commit 9a38fd3

Browse files
☁️ Automation
1 parent 33a7f8a commit 9a38fd3

File tree

17 files changed

+9855
-510
lines changed

17 files changed

+9855
-510
lines changed

.config/taskfiles/boilerplate/Taskfile-populate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ tasks:
103103
TMP="$(mktemp)" && jq --arg repo "$GITHUB_REPO" '.blueprint.repository.github = $repo' package.json > "$TMP" && mv "$TMP" package.json
104104
fi
105105
if [ "$(yq e '.galaxy_info.issue_tracker_url' meta/main.yml)" == 'null' ]; then
106-
ISSUE_TRACKER="$GITLAB_REPO/-/issues"
106+
export ISSUE_TRACKER="$GITLAB_REPO/-/issues"
107107
.config/log info 'Adding `issue_tracker_url` to `meta/main.yml`'
108108
yq e -i '.galaxy_info.issue_tracker_url = env(ISSUE_TRACKER)' meta/main.yml
109109
fi

.config/taskfiles/go/Taskfile-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ tasks:
99
- gotestsum --junitfile report.xml --format testname
1010

1111
convey:
12+
deps:
13+
- :install:go:goconvey
1214
desc: Run tests through the browser with GoConvey
1315
summary: |
1416
# Open Go Testing Web UI
1517
1618
[GoConvey](http://goconvey.co/) allows you to write tests in your IDE
1719
and get live updates in a browser window while writing the tests.
18-
deps:
19-
- :install:go:goconvey
2020
cmds:
2121
- goconvey

.config/variables.json

Lines changed: 47 additions & 223 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@
1212
"autodoc_variables_description": "\nThis role contains variables that you can customize. The variables you can customize are located in `defaults/main.yml`. By default, the variables use sensible defaults but you may want to customize the role depending on your use case. The variables, along with descriptions, are listed below:\n\n{{ role_variables }}\n\n### Variable Examples\n\n",
1313
"badge_style": "for-the-badge",
1414
"blueprint_requirements": [
15-
[
16-
"Variable Name",
17-
"Variable Description"
18-
],
15+
["Variable Name", "Variable Description"],
1916
[
2017
"`description`",
2118
"Short description of the role, worded in such a way that it makes sense by itself and with 'An Ansible role that ' prepended to it"
2219
],
23-
[
24-
"`group`",
25-
"This should always be set to 'ansible' for Ansible roles"
26-
],
20+
["`group`", "This should always be set to 'ansible' for Ansible roles"],
2721
[
2822
"`name`",
2923
"This should be the official name for the product that the role installs/configures. It is used in the title of the repository and throughout the documentation to refer to the product."
@@ -32,26 +26,14 @@
3226
"`overview`",
3327
"This variable should be a description of what the role installs. You can usually find a good description by Googling, \"What is Android Studio,\" for example if you were populating this variable for the [Android Studio role]({{ repository.group.ansible_roles }}/androidstudio). This text is shown at the top of the README, right below the header section and before the table of contents. Whenever possible, key products/terms should be linked to using markdown. You can see an example of us hyperlinking in this variable by checking out the [Android Studio role]({{ repository.group.ansible_roles }}/androidstudio). The idea is to make it as easy as possible for our users to figure out exactly what the role does."
3428
],
35-
[
36-
"`repository.github`",
37-
"The HTTPS URL of the GitHub mirror"
38-
],
39-
[
40-
"`repository.gitlab`",
41-
"The HTTPS URL of the GitLab repository"
42-
],
29+
["`repository.github`", "The HTTPS URL of the GitHub mirror"],
30+
["`repository.gitlab`", "The HTTPS URL of the GitLab repository"],
4331
[
4432
"`slug`",
4533
"This should generally be the ending slug of the GitHub mirror. It is used for things like filling in the package.json name."
4634
],
47-
[
48-
"`subgroup`",
49-
"This should always be set to 'role' for Ansible roles"
50-
],
51-
[
52-
"`title`",
53-
"The title of the README.md"
54-
]
35+
["`subgroup`", "This should always be set to 'role' for Ansible roles"],
36+
["`title`", "The title of the README.md"]
5537
],
5638
"commit_help_url": "https://megabyte.space/docs/contributing/commit-guidelines",
5739
"company": "Megabyte LLC",
@@ -68,42 +50,8 @@
6850
"email": {
6951
"help": "help@megabyte.space"
7052
},
71-
"emoji_beginnings": [
72-
"🚀 ",
73-
"🔥👉 ",
74-
"👉 ",
75-
"😉 ",
76-
"🆓 ",
77-
"🐴 ",
78-
"👀 ",
79-
"🎉 ",
80-
"",
81-
"",
82-
"",
83-
"",
84-
"",
85-
"",
86-
"",
87-
""
88-
],
89-
"emoji_endings": [
90-
" 🚀",
91-
" 🔥🔥🔥",
92-
" 👏",
93-
" 😉",
94-
" 🐙",
95-
" 🐴",
96-
" 👀",
97-
" 🎟",
98-
" 🎉🎉",
99-
"",
100-
"",
101-
"",
102-
"",
103-
"",
104-
"",
105-
""
106-
],
53+
"emoji_beginnings": ["🚀 ", "🔥👉 ", "👉 ", "😉 ", "🆓 ", "🐴 ", "👀 ", "🎉 ", "", "", "", "", "", "", "", ""],
54+
"emoji_endings": [" 🚀", " 🔥🔥🔥", " 👏", " 😉", " 🐙", " 🐴", " 👀", " 🎟", " 🎉🎉", "", "", "", "", "", "", ""],
10755
"github_prefix": "<i></i>",
10856
"gitlab_pipelines": [
10957
{
@@ -155,125 +103,50 @@
155103
"gomodProxy": true,
156104
"group": "common",
157105
"groups": {
158-
"angular": [
159-
"app",
160-
"website"
161-
],
162-
"ansible": [
163-
"playbook",
164-
"role"
165-
],
166-
"docker": [
167-
"ansible-molecule",
168-
"app",
169-
"ci-pipeline",
170-
"codeclimate",
171-
"software"
172-
],
173-
"go": [
174-
"cli",
175-
"library"
176-
],
177-
"npm": [
178-
"app",
179-
"cli",
180-
"config",
181-
"library",
182-
"plugin"
183-
],
184-
"packer": [
185-
"desktop",
186-
"server"
187-
],
188-
"python": [
189-
"cli",
190-
"library"
191-
]
106+
"angular": ["app", "website"],
107+
"ansible": ["playbook", "role"],
108+
"docker": ["ansible-molecule", "app", "ci-pipeline", "codeclimate", "software"],
109+
"go": ["cli", "library"],
110+
"npm": ["app", "cli", "config", "library", "plugin"],
111+
"packer": ["desktop", "server"],
112+
"python": ["cli", "library"]
192113
},
193114
"homebrew": {
194115
"folder": "Formula",
195116
"name": "homebrew-tap",
196117
"owner": "installdoc"
197118
},
198119
"hostapp_var_chart": [
199-
[
200-
"App",
201-
"Description"
202-
],
203-
[
204-
"**[Authelia](https://www.authelia.com/)**",
205-
"An authentication portal that supports SSO and 2FA"
206-
],
120+
["App", "Description"],
121+
["**[Authelia](https://www.authelia.com/)**", "An authentication portal that supports SSO and 2FA"],
207122
[
208123
"**[Homer](https://github.com/bastienwirtz/homer)**",
209124
"A very simple homepage which is customized by the playbook to automatically include links to the Docker containers you choose to host on the computer"
210125
],
211-
[
212-
"**[Portainer](https://www.portainer.io/)**",
213-
"A Docker management tool"
214-
],
126+
["**[Portainer](https://www.portainer.io/)**", "A Docker management tool"],
215127
[
216128
"**[Serve](https://github.com/vercel/serve)**",
217129
"Simple interface for viewing files located or symlinked to in the `/var/www/` folder of the machine"
218130
]
219131
],
220132
"htpc_var_chart": [
221-
[
222-
"App",
223-
"Description"
224-
],
225-
[
226-
"**[WireGuard](https://docs.linuxserver.io/images/docker-wireguard)**",
227-
"Dedicated VPN for the HTPC applications"
228-
],
229-
[
230-
"**[Bazarr](https://docs.linuxserver.io/images/docker-bazarr)**",
231-
"Manages and automatically downloads subtitles"
232-
],
233-
[
234-
"**[Heimdall](https://docs.linuxserver.io/images/docker-heimdall)**",
235-
"Start page for all the HTPC apps"
236-
],
237-
[
238-
"**[Jackett](https://docs.linuxserver.io/images/docker-jackett)**",
239-
"Request proxy server for Radarr and Sonarr"
240-
],
241-
[
242-
"**[Kodi Headless](https://hub.docker.com/r/linuxserver/kodi-headless)**",
243-
"Backend for Kodi"
244-
],
133+
["App", "Description"],
134+
["**[WireGuard](https://docs.linuxserver.io/images/docker-wireguard)**", "Dedicated VPN for the HTPC applications"],
135+
["**[Bazarr](https://docs.linuxserver.io/images/docker-bazarr)**", "Manages and automatically downloads subtitles"],
136+
["**[Heimdall](https://docs.linuxserver.io/images/docker-heimdall)**", "Start page for all the HTPC apps"],
137+
["**[Jackett](https://docs.linuxserver.io/images/docker-jackett)**", "Request proxy server for Radarr and Sonarr"],
138+
["**[Kodi Headless](https://hub.docker.com/r/linuxserver/kodi-headless)**", "Backend for Kodi"],
245139
[
246140
"**[Lidarr](https://docs.linuxserver.io/images/docker-lidarr)**",
247141
"Music collection manager that automatically downloads from BitTorrent and Usenet"
248142
],
249-
[
250-
"**[NZBGet](https://docs.linuxserver.io/images/docker-nzbget)**",
251-
"Usenet downloader"
252-
],
253-
[
254-
"**[Ombi](https://docs.linuxserver.io/images/docker-ombi)**",
255-
"Plex request and user management system"
256-
],
257-
[
258-
"**[Organizr](https://docs.linuxserver.io/images/docker-htpcmanager)**",
259-
"Front end for HTPC web applications"
260-
],
261-
[
262-
"**[Radarr](https://docs.linuxserver.io/images/docker-radarr)**",
263-
"Automatic movie downloader"
264-
],
265-
[
266-
"**[Sonarr](https://docs.linuxserver.io/images/docker-sonarr)**",
267-
"Automatic TV show downloader"
268-
],
269-
[
270-
"**[Tautulli](https://docs.linuxserver.io/images/docker-tautulli)**",
271-
"Metrics and monitoring for Plex"
272-
],
273-
[
274-
"**[Transmission](https://docs.linuxserver.io/images/docker-transmission)**",
275-
"BitTorrent client"
276-
]
143+
["**[NZBGet](https://docs.linuxserver.io/images/docker-nzbget)**", "Usenet downloader"],
144+
["**[Ombi](https://docs.linuxserver.io/images/docker-ombi)**", "Plex request and user management system"],
145+
["**[Organizr](https://docs.linuxserver.io/images/docker-htpcmanager)**", "Front end for HTPC web applications"],
146+
["**[Radarr](https://docs.linuxserver.io/images/docker-radarr)**", "Automatic movie downloader"],
147+
["**[Sonarr](https://docs.linuxserver.io/images/docker-sonarr)**", "Automatic TV show downloader"],
148+
["**[Tautulli](https://docs.linuxserver.io/images/docker-tautulli)**", "Metrics and monitoring for Plex"],
149+
["**[Transmission](https://docs.linuxserver.io/images/docker-transmission)**", "BitTorrent client"]
277150
],
278151
"idPost": "megabyte.space",
279152
"json_top_keys": "",
@@ -295,74 +168,29 @@
295168
"tinypng": "https://tinypng.com/"
296169
},
297170
"molecule_descriptions": [
298-
[
299-
"Scenario",
300-
"Description"
301-
],
302-
[
303-
"`default`",
304-
"Uses VirtualBox to run tests for all platforms in parallel."
305-
],
306-
[
307-
"`docker`",
308-
"Uses Docker to run tests for all Linux platforms and versions in parallel."
309-
],
171+
["Scenario", "Description"],
172+
["`default`", "Uses VirtualBox to run tests for all platforms in parallel."],
173+
["`docker`", "Uses Docker to run tests for all Linux platforms and versions in parallel."],
310174
[
311175
"`docker-snap`",
312176
"The same as the `docker` scenario except it excludes platforms that have trouble installing snap packages on Docker."
313177
],
314-
[
315-
"`archlinux-desktop`",
316-
"Runs the test on the latest version of Archlinux desktop using VirtualBox."
317-
],
318-
[
319-
"`centos-desktop`",
320-
"Runs the test on the latest version of CentOS desktop using VirtualBox."
321-
],
322-
[
323-
"`debian-desktop`",
324-
"Runs the test on the latest version of Debian desktop using VirtualBox."
325-
],
326-
[
327-
"`fedora-desktop`",
328-
"Runs the test on the latest version of Fedora desktop using VirtualBox."
329-
],
330-
[
331-
"`macos-desktop`",
332-
"Runs the test on the latest version of macOS desktop using VirtualBox."
333-
],
334-
[
335-
"`ubuntu-desktop`",
336-
"Runs the test on the latest version of Ubuntu desktop using VirtualBox."
337-
],
338-
[
339-
"`windows-desktop`",
340-
"Runs the test on the latest version of Windows desktop using VirtualBox."
341-
],
342-
[
343-
"`ci-docker-archlinux`",
344-
"Uses Docker to test Archlinux."
345-
],
346-
[
347-
"`ci-docker-centos`",
348-
"Uses Docker to test multiple versions of CentOS."
349-
],
350-
[
351-
"`ci-docker-debian`",
352-
"Uses Docker to test multiple versions of Debian."
353-
],
178+
["`archlinux-desktop`", "Runs the test on the latest version of Archlinux desktop using VirtualBox."],
179+
["`centos-desktop`", "Runs the test on the latest version of CentOS desktop using VirtualBox."],
180+
["`debian-desktop`", "Runs the test on the latest version of Debian desktop using VirtualBox."],
181+
["`fedora-desktop`", "Runs the test on the latest version of Fedora desktop using VirtualBox."],
182+
["`macos-desktop`", "Runs the test on the latest version of macOS desktop using VirtualBox."],
183+
["`ubuntu-desktop`", "Runs the test on the latest version of Ubuntu desktop using VirtualBox."],
184+
["`windows-desktop`", "Runs the test on the latest version of Windows desktop using VirtualBox."],
185+
["`ci-docker-archlinux`", "Uses Docker to test Archlinux."],
186+
["`ci-docker-centos`", "Uses Docker to test multiple versions of CentOS."],
187+
["`ci-docker-debian`", "Uses Docker to test multiple versions of Debian."],
354188
[
355189
"`ci-docker-debian-snap`",
356190
"Uses Docker to test Debian just like `ci-docker-debian` except it excludes versions that cannot install snap packages."
357191
],
358-
[
359-
"`ci-docker-fedora`",
360-
"Uses Docker to test multiple versions of Fedora."
361-
],
362-
[
363-
"`ci-docker-ubuntu`",
364-
"Uses Docker to test multiple versions of Ubuntu."
365-
]
192+
["`ci-docker-fedora`", "Uses Docker to test multiple versions of Fedora."],
193+
["`ci-docker-ubuntu`", "Uses Docker to test multiple versions of Ubuntu."]
366194
],
367195
"name": "[[ package.json .blueprint.name - See CONTRIBUTING.md ]]",
368196
"npm_publish_config_access": "public",
@@ -402,11 +230,7 @@
402230
"vagrant": "https://app.vagrantup.com"
403231
},
404232
"python_role_dependencies": [
405-
[
406-
"Package",
407-
"Description",
408-
"Required"
409-
],
233+
["Package", "Description", "Required"],
410234
[
411235
"<b><a href=\"https://pypi.org/project/ansible/\" title=\"ansible on pypi.org\" target=\"_blank\">ansible</a></b>",
412236
"A configuration management system that can remotely configure computers",

0 commit comments

Comments
 (0)