Skip to content

Instantly share code, notes, and snippets.

View oraNod's full-sized avatar

Don Naro oraNod

  • Red Hat
  • Galway
  • 16:53 (UTC)
View GitHub Profile
@oraNod
oraNod / release-workflow
Created April 29, 2024 15:48
variation of the package docs publishing workflow that creates a new release in the dest repo
---
name: Ansible package docs build
on:
workflow_dispatch:
inputs:
repository-owner:
description: GitHub account or org that owns the repository
required: true
default: ansible
@oraNod
oraNod / gist:a7252d6d6b32fc6d5518fc458b027f97
Created September 28, 2023 12:50
felixfontein/reqs-2.15
This file has been truncated, but you can view the full file.
[2023-09-28T11:42:39.455Z] Cloning the remote Git repository
[2023-09-28T11:42:39.469Z] Cloning repository https://github.com/felixfontein/ansible-documentation.git
[2023-09-28T11:42:39.752Z] > git init /home/jenkins/agent/workspace/Docs/Build_Ansible_Package_Docs # timeout=10
[2023-09-28T11:42:39.954Z] Fetching upstream changes from https://github.com/felixfontein/ansible-documentation.git
[2023-09-28T11:42:39.954Z] > git --version # timeout=10
[2023-09-28T11:42:39.958Z] > git --version # 'git version 2.39.3'
[2023-09-28T11:42:39.959Z] > git fetch --tags --force --progress -- https://github.com/felixfontein/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-28T11:43:46.770Z] > git config remote.origin.url https://github.com/felixfontein/ansible-documentation.git # timeout=10
[2023-09-28T11:43:46.774Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-28T11:43:49.869Z] Avoid second fetch
@oraNod
oraNod / gist:16a1ba698f805a50333b242f51ee66cb
Last active September 28, 2023 12:49
Build logs: requirements bump
This file has been truncated, but you can view the full file.
[2023-09-27T19:34:51.049Z] Cloning the remote Git repository
[2023-09-27T19:34:51.143Z] Cloning repository https://github.com/felixfontein/ansible-documentation.git
[2023-09-27T19:34:51.333Z] > git init /home/jenkins/agent/workspace/Docs/Build_Ansible_Package_Docs # timeout=10
[2023-09-27T19:34:51.542Z] Fetching upstream changes from https://github.com/felixfontein/ansible-documentation.git
[2023-09-27T19:34:51.542Z] > git --version # timeout=10
[2023-09-27T19:34:51.633Z] > git --version # 'git version 2.39.3'
[2023-09-27T19:34:51.634Z] > git fetch --tags --force --progress -- https://github.com/felixfontein/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-27T19:35:55.648Z] > git config remote.origin.url https://github.com/felixfontein/ansible-documentation.git # timeout=10
[2023-09-27T19:35:55.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-27T19:35:58.842Z] Avoid second fetch
@oraNod
oraNod / gist:7e3eadecf604ea01b4d3196a68975f02
Created September 21, 2023 14:14
Package docs build logs: Relaxed requirements pip-compile/devel/docs
This file has been truncated, but you can view the full file.
[2023-09-21T13:20:17.756Z] Cloning the remote Git repository
[2023-09-21T13:20:17.772Z] Cloning repository https://github.com/ansible/ansible-documentation.git
[2023-09-21T13:20:17.953Z] > git init /home/jenkins/agent/workspace/Docs/PR_TESTING_Build_Ansible_Package_Docs # timeout=10
[2023-09-21T13:20:18.158Z] Fetching upstream changes from https://github.com/ansible/ansible-documentation.git
[2023-09-21T13:20:18.158Z] > git --version # timeout=10
[2023-09-21T13:20:18.162Z] > git --version # 'git version 2.39.3'
[2023-09-21T13:20:18.163Z] > git fetch --tags --force --progress -- https://github.com/ansible/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-21T13:21:25.276Z] > git config remote.origin.url https://github.com/ansible/ansible-documentation.git # timeout=10
[2023-09-21T13:21:25.280Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-09-21T13:21:28.267Z] Avoid second fetch
@oraNod
oraNod / gist:5b30f8fe15817d1aa5ddc69df92a2ee6
Created September 6, 2023 14:53
code of conduct bits for the community website
conduct:
title: Code of Conduct
about: >-
Openness and inclusivity are fundamental principles for the Ansible community.<br />
We abide by a code of conduct that asks everyone to be respectful and welcoming at all times.
conduct_url: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
<div class="community-conduct">
<h3>{{ homepage.community.conduct.title }}</h3>
<p>{{ homepage.community.conduct.about }}</p>
@oraNod
oraNod / gist:363d54470dd960d08e918d7896b0057e
Created August 24, 2023 14:34
issue-321/sphinx-intl (japanese)
This file has been truncated, but you can view the full file.
[2023-08-24T10:55:26.889Z] Cloning the remote Git repository
[2023-08-24T10:55:26.984Z] Cloning repository https://github.com/oraNod/ansible-documentation.git
[2023-08-24T10:55:27.094Z] > git init /home/jenkins/agent/workspace/Docs/Build_Ansible_Package_Docs # timeout=10
[2023-08-24T10:55:27.290Z] Fetching upstream changes from https://github.com/oraNod/ansible-documentation.git
[2023-08-24T10:55:27.290Z] > git --version # timeout=10
[2023-08-24T10:55:27.372Z] > git --version # 'git version 2.31.1'
[2023-08-24T10:55:27.373Z] > git fetch --tags --force --progress -- https://github.com/oraNod/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-08-24T10:56:30.070Z] > git config remote.origin.url https://github.com/oraNod/ansible-documentation.git # timeout=10
[2023-08-24T10:56:30.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-08-24T10:56:33.074Z] Avoid second fetch
@oraNod
oraNod / gist:25eefd308634d3112229832109a02456
Created August 24, 2023 10:52
issue-321/sphinx-intl (no translations)
This file has been truncated, but you can view the full file.
[2023-08-24T09:38:56.974Z] Cloning the remote Git repository
[2023-08-24T09:38:57.068Z] Cloning repository https://github.com/oraNod/ansible-documentation.git
[2023-08-24T09:38:57.185Z] > git init /home/jenkins/agent/workspace/Docs/Build_Ansible_Package_Docs # timeout=10
[2023-08-24T09:38:57.384Z] Fetching upstream changes from https://github.com/oraNod/ansible-documentation.git
[2023-08-24T09:38:57.384Z] > git --version # timeout=10
[2023-08-24T09:38:57.469Z] > git --version # 'git version 2.31.1'
[2023-08-24T09:38:57.469Z] > git fetch --tags --force --progress -- https://github.com/oraNod/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-08-24T09:40:01.771Z] > git config remote.origin.url https://github.com/oraNod/ansible-documentation.git # timeout=10
[2023-08-24T09:40:01.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-08-24T09:40:04.792Z] Avoid second fetch
@oraNod
oraNod / gist:ca315a3e2f51e4fbcb3b4926264d8b49
Created August 23, 2023 17:07
docs build logs for issue-267/sphinx-version
This file has been truncated, but you can view the full file.
[2023-08-23T16:22:37.849Z] Cloning repository https://github.com/oraNod/ansible-documentation.git
[2023-08-23T16:22:37.960Z] > git init /home/jenkins/agent/workspace/Docs/Build_Ansible_Package_Docs # timeout=10
[2023-08-23T16:22:38.167Z] Fetching upstream changes from https://github.com/oraNod/ansible-documentation.git
[2023-08-23T16:22:38.168Z] > git --version # timeout=10
[2023-08-23T16:22:38.255Z] > git --version # 'git version 2.31.1'
[2023-08-23T16:22:38.257Z] > git fetch --tags --force --progress -- https://github.com/oraNod/ansible-documentation.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2023-08-23T16:23:48.963Z] Avoid second fetch
[2023-08-23T16:23:49.059Z] Checking out Revision a1af708ed30feb08e0bdc8df00d4310aa028549a (refs/remotes/origin/issue-267/sphinx-version)
[2023-08-23T16:23:45.352Z] > git config remote.origin.url https://github.com/oraNod/ansible-documentation.git # timeout=10
@oraNod
oraNod / DocSteps.groovy
Last active January 5, 2023 10:48
Doc publishing steps in Jenkins
package steps
import validation.PipelineParametersWrapper
class DocsSteps extends BaseSteps {
public static final String NIGHTLY_DOCS_PATH = 'nightlies.testing.ansible.com:/var/www/html/docs_7d5d0dae81129579'
public static final String RELEASE_DOCS_PATH = 'releases-master.ansible.com:/var/www/html/docs'
public static final String ANSIBLE_NIGHTLY_DOCS_PATH = "${NIGHTLY_DOCS_PATH}/ansible"
public static final String ANSIBLE_RELEASE_DOCS_PATH = "${RELEASE_DOCS_PATH}/ansible"
@oraNod
oraNod / gist:c9b4486b470564fa1d5ad1c87c876291
Created January 28, 2020 12:51
operator external access
$ oc logs infinispan-operator-5897c9c94d-6jxq4
{"level":"info","ts":1580119048.9642558,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1580119048.9645934,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"infinispan-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1580119048.9647882,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"infinispan-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1580119048.9649103,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1580119049.0700772,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"infinispan-controller"}
{"level":"info","ts":1580119049.1741352,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"infinispan-controller","worker count":1}
$ oc get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE