From cb6d31015052ea361bab2e4b19c3bcb56ac95966 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jul 2021 12:32:08 +0100 Subject: [PATCH 001/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62a9153c7..08255495b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Hari Sekhon - DevOps Python Tools [![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.gocd.yml) [![TeamCity](https://img.shields.io/badge/TeamCity-ready-blue?logo=teamcity)](https://github.com/HariSekhon/TeamCity-CI) -[![Travis CI](https://img.shields.io/travis/harisekhon/DevOps-Python-tools/master?logo=travis&label=Travis%20CI)](https://travis-ci.org/HariSekhon/DevOps-Python-tools) +[![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) [![AppVeyor](https://img.shields.io/appveyor/build/harisekhon/DevOps-Python-tools/master?logo=appveyor&label=AppVeyor)](https://ci.appveyor.com/project/HariSekhon/DevOps-Python-tools/branch/master) [![Drone](https://img.shields.io/drone/build/HariSekhon/DevOps-Python-tools/master?logo=drone&label=Drone)](https://cloud.drone.io/HariSekhon/DevOps-Python-tools) [![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) From 4253835d19bfe7ece79333793bbb8750fd606b7b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 23 Jul 2021 09:31:17 +0100 Subject: [PATCH 002/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9bfa74658..743fda601 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9bfa74658bfd271e0912306e053ec5690fa834e1 +Subproject commit 743fda60144424b8926fbd1851d5f99209c09cc0 From cfd9e884a288da2e1b70155a99f1f34fc97a2db8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 23 Jul 2021 09:31:18 +0100 Subject: [PATCH 003/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 70bd42751..2c756632a 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 70bd427512cd2f862cf7b9622e8fa32b11726a75 +Subproject commit 2c756632a83aad4b456f8f86d90de40f3c6622e4 From 40666b12c3fe7c618331ea13cbbf5fe43903c47e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 23 Jul 2021 09:31:18 +0100 Subject: [PATCH 004/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index b9c39d4e4..25e563ad7 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit b9c39d4e4e121a9f83f3a588df8bd17f94f57dde +Subproject commit 25e563ad72735fe868ed01534b3313322b68f49e From 61977ccfb5869b6c4691918930650da70cac0181 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 23 Jul 2021 09:31:18 +0100 Subject: [PATCH 005/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 994300130..9c0c67b07 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9943001302a2751781bf345584d100e6afcb5b07 +Subproject commit 9c0c67b07d55aca66986d0d2b62c7952e72f6afc From 8e8f7d10de266d884e66a46978b7f4cd860c4c2d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 1 Oct 2021 10:34:24 +0100 Subject: [PATCH 006/982] updated semaphore.yml --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 09b556190..6e5dc9f25 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -67,7 +67,7 @@ blocks: agent: machine: type: a1-standard-4 - os_image: macos-xcode11 + os_image: macos-xcode12 prologue: commands: - cache restore From 6e4f74da5f97aabbb2f32ba4a0621fa128f1833c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 1 Oct 2021 10:50:00 +0100 Subject: [PATCH 007/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 743fda601..14feb8065 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 743fda60144424b8926fbd1851d5f99209c09cc0 +Subproject commit 14feb80653901b7f59a4fc3b5ea8ca57d1e25eda From b36a00091c04c1155f112ad7fab580489a1c7fe4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 1 Oct 2021 10:50:00 +0100 Subject: [PATCH 008/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 2c756632a..bb608550d 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 2c756632a83aad4b456f8f86d90de40f3c6622e4 +Subproject commit bb608550d7163fde875e0df9e31bacbfa77350e3 From 1dcfe0cd4be79b8088cc6f8395bd0e413163ca37 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 1 Oct 2021 10:50:00 +0100 Subject: [PATCH 009/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 25e563ad7..d1989db29 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 25e563ad72735fe868ed01534b3313322b68f49e +Subproject commit d1989db297219f5fa0fa81f213a3a098df01f9fb From e386857bb0b97788938aeb8d741d287378557852 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 1 Oct 2021 10:50:00 +0100 Subject: [PATCH 010/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9c0c67b07..c0a4f0054 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9c0c67b07d55aca66986d0d2b62c7952e72f6afc +Subproject commit c0a4f005460f04e104baa1c0d8095e4fdc687696 From 93dcd18b057d9dd93321d6c36ba456479626389d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Oct 2021 16:37:58 +0100 Subject: [PATCH 011/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 14feb8065..248c4b862 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 14feb80653901b7f59a4fc3b5ea8ca57d1e25eda +Subproject commit 248c4b86270c680a38a70fc462bd35ff06dfbdb6 From 8010521b0399950ffe490acfa8cd6f545b989063 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 Nov 2021 19:08:51 +0000 Subject: [PATCH 012/982] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 70 +++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..d6aee201a --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,70 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '37 15 * * 4' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://git.io/codeql-language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From a9678fbfbefcf34f575a5be2c997d441b925f21d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 19 Nov 2021 16:47:38 +0000 Subject: [PATCH 013/982] stripped quay.io from start if found for easier pasting --- quay_show_tags.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quay_show_tags.py b/quay_show_tags.py index 5743be955..64a2167e6 100755 --- a/quay_show_tags.py +++ b/quay_show_tags.py @@ -30,6 +30,7 @@ #from __future__ import unicode_literals import os +import re import sys import traceback srcdir = os.path.abspath(os.path.dirname(__file__)) @@ -43,7 +44,7 @@ sys.exit(4) __author__ = 'Hari Sekhon' -__version__ = '0.6.2' +__version__ = '0.6.3' class QuayTags(DockerHubTags): @@ -61,7 +62,10 @@ def run(self): self.quiet = self.get_opt('quiet') if not self.quiet: print('\nQuay.io ', end='') + re_quay = re.compile('^quay.io/', re.I) for arg in self.args: + if re_quay.match(arg): + arg = re_quay.sub('', arg) self.print_tags(arg) From fbdaf03607876b6c547bca0386137ccf3998f67c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 18:41:32 +0000 Subject: [PATCH 014/982] updated README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 08255495b..68a99b2d8 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ Hari Sekhon - DevOps Python Tools [![Codacy](https://api.codacy.com/project/badge/Grade/f7af72140c3b408b9659207ced17544f)](https://www.codacy.com/app/harisekhon/devops-python-tools) [![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) +[![Codiga Grade](https://api.codiga.io/project/8839/status/svg)](https://app.codiga.io/project/8839/dashboard) +[![Codiga Score](https://api.codiga.io/project/8839/score/svg)](https://app.codiga.io/project/8839/dashboard) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/context:python) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) From 54d9a8388367bdd2ccf444a784b2f098d044558e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 18:47:57 +0000 Subject: [PATCH 015/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68a99b2d8..2c9968f30 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Hari Sekhon - DevOps Python Tools ================================= -[![Codacy](https://api.codacy.com/project/badge/Grade/f7af72140c3b408b9659207ced17544f)](https://www.codacy.com/app/harisekhon/devops-python-tools) +[![Codacy](https://app.codacy.com/project/badge/Grade/40a82d53f3394f4b99aa6eccb08e3c8d)](https://www.codacy.com/gh/HariSekhon/DevOps-Python-tools/dashboard) [![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) [![Codiga Grade](https://api.codiga.io/project/8839/status/svg)](https://app.codiga.io/project/8839/dashboard) [![Codiga Score](https://api.codiga.io/project/8839/score/svg)](https://app.codiga.io/project/8839/dashboard) From c13fb459ea57eb9080d3ffe2e40ce265835f062e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:15:35 +0000 Subject: [PATCH 016/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c9968f30..d9150f343 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ All programs come with a ```--help``` switch which includes a program descriptio Environment variables are supported for convenience and also to hide credentials from being exposed in the process list eg. ```$PASSWORD```, ```$TRAVIS_TOKEN```. These are indicated in the ```--help``` descriptions in brackets next to each option and often have more specific overrides with higher precedence eg. ```$AMBARI_HOST```, ```$HBASE_HOST``` take priority over ```$HOST```. -### DevOps Python Tools - Inventory: +### DevOps Python Tools - Inventory - Linux: - ```anonymize.py``` - anonymizes your configs / logs from files or stdin (for pasting to Apache Jira tickets or mailing lists) From 5741cb779f688b2b2983fb683803c2ceb4dc73a2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:18:20 +0000 Subject: [PATCH 017/982] updated README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d9150f343..f0d4b1863 100644 --- a/README.md +++ b/README.md @@ -463,33 +463,33 @@ Patches, improvements and even general feedback are welcome in the form of GitHu ### See Also ### -* [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - 550+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies +- [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - 550+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies -* [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery +- [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery -* [Templates](https://github.com/HariSekhon/Templates) - dozens of Code & Config templates - AWS, GCP, Docker, Jenkins, Terraform, Vagrant, Puppet, Python, Bash, Go, Perl, Java, Scala, Groovy, Maven, SBT, Gradle, Make, GitHub Actions Workflows, CircleCI, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, M4 etc. +- [Templates](https://github.com/HariSekhon/Templates) - dozens of Code & Config templates - AWS, GCP, Docker, Jenkins, Terraform, Vagrant, Puppet, Python, Bash, Go, Perl, Java, Scala, Groovy, Maven, SBT, Gradle, Make, GitHub Actions Workflows, CircleCI, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, M4 etc. -* [Kubernetes configs](https://github.com/HariSekhon/Kubernetes-configs) - Kubernetes YAML configs - Best Practices, Tips & Tricks are baked right into the templates for future deployments +- [Kubernetes configs](https://github.com/HariSekhon/Kubernetes-configs) - Kubernetes YAML configs - Best Practices, Tips & Tricks are baked right into the templates for future deployments -* [The Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins) - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux) +- [The Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins) - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux) -* [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) - 25+ DevOps CLI tools for Hadoop, HDFS, Hive, Solr/SolrCloud CLI, Log Anonymizer, Nginx stats & HTTP(S) URL watchers for load balanced web farms, Dockerfiles & SQL ReCaser (MySQL, PostgreSQL, AWS Redshift, Snowflake, Apache Drill, Hive, Impala, Cassandra CQL, Microsoft SQL Server, Oracle, Couchbase N1QL, Dockerfiles, Pig Latin, Neo4j, InfluxDB), Ambari FreeIPA Kerberos, Datameer, Linux... +- [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) - 25+ DevOps CLI tools for Hadoop, HDFS, Hive, Solr/SolrCloud CLI, Log Anonymizer, Nginx stats & HTTP(S) URL watchers for load balanced web farms, Dockerfiles & SQL ReCaser (MySQL, PostgreSQL, AWS Redshift, Snowflake, Apache Drill, Hive, Impala, Cassandra CQL, Microsoft SQL Server, Oracle, Couchbase N1QL, Dockerfiles, Pig Latin, Neo4j, InfluxDB), Ambari FreeIPA Kerberos, Datameer, Linux... -* [HAProxy Configs](https://github.com/HariSekhon/HAProxy-configs) - 80+ HAProxy Configs for Hadoop, Big Data, NoSQL, Docker, Elasticsearch, SolrCloud, HBase, Cloudera, Hortonworks, MapR, MySQL, PostgreSQL, Apache Drill, Hive, Presto, Impala, ZooKeeper, OpenTSDB, InfluxDB, Prometheus, Kibana, Graphite, SSH, RabbitMQ, Redis, Riak, Rancher etc. +- [HAProxy Configs](https://github.com/HariSekhon/HAProxy-configs) - 80+ HAProxy Configs for Hadoop, Big Data, NoSQL, Docker, Elasticsearch, SolrCloud, HBase, Cloudera, Hortonworks, MapR, MySQL, PostgreSQL, Apache Drill, Hive, Presto, Impala, ZooKeeper, OpenTSDB, InfluxDB, Prometheus, Kibana, Graphite, SSH, RabbitMQ, Redis, Riak, Rancher etc. -* [Dockerfiles](https://github.com/HariSekhon/Dockerfiles) - 50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Mesos, Consul, Riak, OpenTSDB, Jython, Advanced Nagios Plugins & DevOps Tools repos on Alpine, CentOS, Debian, Fedora, Ubuntu, Superset, H2O, Serf, Alluxio / Tachyon, FakeS3 +- [Dockerfiles](https://github.com/HariSekhon/Dockerfiles) - 50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Mesos, Consul, Riak, OpenTSDB, Jython, Advanced Nagios Plugins & DevOps Tools repos on Alpine, CentOS, Debian, Fedora, Ubuntu, Superset, H2O, Serf, Alluxio / Tachyon, FakeS3 -* [PyLib](https://github.com/harisekhon/pylib) - Python library leveraged throughout the programs in this repo as a submodule +- [PyLib](https://github.com/harisekhon/pylib) - Python library leveraged throughout the programs in this repo as a submodule -* [Perl Lib](https://github.com/harisekhon/lib) - Perl version of above library +- [Perl Lib](https://github.com/harisekhon/lib) - Perl version of above library You might also be interested in the following really nice Jupyter notebook for HDFS space analysis created by another Hortonworks guy Jonas Straub: -* https://github.com/mr-jstraub/HDFSQuota/blob/master/HDFSQuota.ipynb +- https://github.com/mr-jstraub/HDFSQuota/blob/master/HDFSQuota.ipynb ### Stargazers over time From c3e3b8c4dd03835fb73136ef925703ecc34e69c3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:36:09 +0000 Subject: [PATCH 018/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 248c4b862..9e172499f 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 248c4b86270c680a38a70fc462bd35ff06dfbdb6 +Subproject commit 9e172499fad04aff95a06af08750187adbc82293 From 6138988cce450a9b4d1585cfd342390fde3c8f3c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:36:09 +0000 Subject: [PATCH 019/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index bb608550d..ce9da2c5e 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit bb608550d7163fde875e0df9e31bacbfa77350e3 +Subproject commit ce9da2c5ed3f1b8f4c275c3349a83055a46d3c41 From 9f1dd7789fe7eb2109cabf6806e493b58e3b69d3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:36:09 +0000 Subject: [PATCH 020/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index d1989db29..53c1d53b0 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit d1989db297219f5fa0fa81f213a3a098df01f9fb +Subproject commit 53c1d53b0ff15f8d9d0b7191b522a1b0b1d0bf20 From f889d4d7ac0fd5f9c29c21393f8aba1968242837 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Jan 2022 19:36:09 +0000 Subject: [PATCH 021/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index c0a4f0054..9021150df 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit c0a4f005460f04e104baa1c0d8095e4fdc687696 +Subproject commit 9021150df83050e91ff5c72894de46305d0d54ce From c6831e3d589a98d61910d6e13c7de6d284dd74d0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Jan 2022 09:54:42 +0000 Subject: [PATCH 022/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9e172499f..46e0915c8 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9e172499fad04aff95a06af08750187adbc82293 +Subproject commit 46e0915c89142fb4c8a9f79e23d63cba1b76862f From ae5fb27cf2b11e288e0a7ebaed960797f4ce0b66 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Jan 2022 11:14:09 +0000 Subject: [PATCH 023/982] cache bust trigger test From 179e61581ff21dd644909f1f99045817181a2d6d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Jan 2022 11:50:06 +0000 Subject: [PATCH 024/982] cache bust trigger test From 57983094222a684cd3f69871ab6084a7a1447c5b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 11:39:29 +0000 Subject: [PATCH 025/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 46e0915c8..0a37c9613 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 46e0915c89142fb4c8a9f79e23d63cba1b76862f +Subproject commit 0a37c96138270c50f69ae7abdb54a8288b8e9e36 From 1215ca2c4f6924430b9e8608d858098215591748 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 12:33:16 +0000 Subject: [PATCH 026/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 0a37c9613..4ab612bd4 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 0a37c96138270c50f69ae7abdb54a8288b8e9e36 +Subproject commit 4ab612bd40b71e17441026c88ab23e3448692e81 From 01f7ff613d498b1346dd0461c1a76c7072810f50 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 12:34:06 +0000 Subject: [PATCH 027/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4ab612bd4..1db52c531 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4ab612bd40b71e17441026c88ab23e3448692e81 +Subproject commit 1db52c531988dd950c7b68a9ff5c1056b0f97b42 From d94853421163ee9f1879146220ff9a49f591dd16 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 12:34:06 +0000 Subject: [PATCH 028/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index ce9da2c5e..206facb47 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit ce9da2c5ed3f1b8f4c275c3349a83055a46d3c41 +Subproject commit 206facb472197bc91ceadb837979b187176e40b0 From 944df777149d8465d7dd0266dbbf5e5593504367 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 12:34:06 +0000 Subject: [PATCH 029/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9021150df..ef18ba7c6 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9021150df83050e91ff5c72894de46305d0d54ce +Subproject commit ef18ba7c6f7fb4c045fbe269dc5ab527155fecf0 From 1f1215b91250874c0cefaa25ca4bfaa482d8ef53 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 13:37:48 +0000 Subject: [PATCH 030/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 1db52c531..fd5702ff2 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 1db52c531988dd950c7b68a9ff5c1056b0f97b42 +Subproject commit fd5702ff25dc9b9ea35701615186f41e2606a0d0 From 3486ee77987e41e6b9177d7ca07a54a5e08eb779 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 13:37:48 +0000 Subject: [PATCH 031/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 206facb47..6747c6826 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 206facb472197bc91ceadb837979b187176e40b0 +Subproject commit 6747c6826ec494f97a1da066d1ad8ed9213fbed7 From 8e3b202a87aace9f6aada13ba84eaca27a79c163 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 16 Jan 2022 13:37:48 +0000 Subject: [PATCH 032/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index ef18ba7c6..bb698209a 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit ef18ba7c6f7fb4c045fbe269dc5ab527155fecf0 +Subproject commit bb698209ad1db770b9284ecd1d2e5eb948e4ce07 From f30bdafb0d69a424a21605e918079420bc477b6c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:12:58 +0000 Subject: [PATCH 033/982] updated .gitmodules --- .gitmodules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitmodules b/.gitmodules index f5871372d..2bb07ff73 100644 --- a/.gitmodules +++ b/.gitmodules @@ -9,6 +9,8 @@ [submodule "sql"] path = sql url = https://github.com/HariSekhon/SQL-scripts + branch = master [submodule "templates"] path = templates url = https://github.com/HariSekhon/Templates + branch = master From dcdc5062136eb9b866425ca33a23967bc8025f34 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:13:56 +0000 Subject: [PATCH 034/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index fd5702ff2..62fb7d954 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit fd5702ff25dc9b9ea35701615186f41e2606a0d0 +Subproject commit 62fb7d95497cdfcdbfb935240a746e43bbf20502 From fd98dd1225f360a5b6eef455e87a135ec2d7a1c4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:14:10 +0000 Subject: [PATCH 035/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index bb698209a..0ef3948cd 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit bb698209ad1db770b9284ecd1d2e5eb948e4ce07 +Subproject commit 0ef3948cd44e56ea996e1de66e708abde7bd4174 From 0d3c5e219cadc09bc29cae2914b10f47ee97d3a5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:18:51 +0000 Subject: [PATCH 036/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 62fb7d954..d65d2027b 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 62fb7d95497cdfcdbfb935240a746e43bbf20502 +Subproject commit d65d2027b883addebb8b839c2c7ce8b02f4b31dd From 6db5d0e8373e928fb4e7f272ab8928da98498824 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:42:20 +0000 Subject: [PATCH 037/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index d65d2027b..66bb42884 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit d65d2027b883addebb8b839c2c7ce8b02f4b31dd +Subproject commit 66bb4288488e53bda65e249301a88f45fc86242c From 86d55f6d709a00cdb3aea9352aa2144841406fb0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 13:59:56 +0000 Subject: [PATCH 038/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 66bb42884..c8671005d 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 66bb4288488e53bda65e249301a88f45fc86242c +Subproject commit c8671005d60a0e9574836b60526fbcaefef11c9e From 4604a12d84c268aae044424df96d7dbe8f88c44f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 15:10:04 +0000 Subject: [PATCH 039/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index c8671005d..baaf591a1 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit c8671005d60a0e9574836b60526fbcaefef11c9e +Subproject commit baaf591a1be91850bce33172539215a7ded76e64 From f8217ecb198d79841a2e66fe44f5b8ec904523e5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 16:32:53 +0000 Subject: [PATCH 040/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index baaf591a1..fa6c84931 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit baaf591a1be91850bce33172539215a7ded76e64 +Subproject commit fa6c84931699372f2f6ec198ed5c13bd3cae4f64 From 90114cc75f11985b8d39db79f0090dc0c18ee714 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 16:56:18 +0000 Subject: [PATCH 041/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index fa6c84931..192b08c74 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit fa6c84931699372f2f6ec198ed5c13bd3cae4f64 +Subproject commit 192b08c74d368b751f9f461a309a45dd884e57ec From 9af717fdef069798ec0bec42529b43562f1370b1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 17 Jan 2022 17:00:18 +0000 Subject: [PATCH 042/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0d4b1863..22edf4ff5 100644 --- a/README.md +++ b/README.md @@ -463,7 +463,7 @@ Patches, improvements and even general feedback are welcome in the form of GitHu ### See Also ### -- [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - 550+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies +- [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - 700+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies - [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery From acbdc9888acc312db3e6bb2c4f2e656587d4e818 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Jan 2022 10:36:52 +0000 Subject: [PATCH 043/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 192b08c74..0ad91e913 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 192b08c74d368b751f9f461a309a45dd884e57ec +Subproject commit 0ad91e913edec71d613fb0187d1e24a029e1286f From aa937d84488a7794e26b35967fa917fc77861213 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Jan 2022 10:49:13 +0000 Subject: [PATCH 044/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 0ad91e913..ed73806a8 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 0ad91e913edec71d613fb0187d1e24a029e1286f +Subproject commit ed73806a8cccc8f09aaa2d15c1f1654b6d197c43 From 634189cfba4eccbe79b75c138c621d7a7c64c341 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Jan 2022 10:49:13 +0000 Subject: [PATCH 045/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 6747c6826..d8d872aec 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 6747c6826ec494f97a1da066d1ad8ed9213fbed7 +Subproject commit d8d872aec71828b9ecf89e695f10f350ca576b41 From db58b88db0994a18eca633a44e9aded7a1c3158e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Jan 2022 10:49:13 +0000 Subject: [PATCH 046/982] updated sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 53c1d53b0..ba7b03f51 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 53c1d53b0ff15f8d9d0b7191b522a1b0b1d0bf20 +Subproject commit ba7b03f51e9a5deb3f9c388e6cbaf1aa2ba6ce3a From fe0a417e7e6c83d82d8f391e727bbe1a06ea3018 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Jan 2022 10:49:13 +0000 Subject: [PATCH 047/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 0ef3948cd..a6808f63e 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 0ef3948cd44e56ea996e1de66e708abde7bd4174 +Subproject commit a6808f63eea44b4956e49c66e940691ad2fe519b From b571b9c00604c9964b144c0a374b4691d0fa5fb2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 11:46:31 +0000 Subject: [PATCH 048/982] updated .appveyor.yml --- .appveyor.yml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index eb43a0250..f23536e32 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -41,30 +41,30 @@ on_finish: - sh: if [ "$APPVEYOR_SSH_BLOCK" = true ]; then curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -; fi install: -# workaround for: -# Some packages could not be installed. This may mean that you have -# requested an impossible situation or if you are using the unstable -# distribution that some required packages have not yet been created -# or been moved out of Incoming. -# The following information may help to resolve the situation: -# -# The following packages have unmet dependencies: -# mssql-server : Depends: libsasl2-modules-gssapi-mit but it is not going to be installed -# E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. -# devops-python-tools/Makefile.in:272: recipe for target 'apt-packages' failed -# make[2]: *** [apt-packages] Error 123 -# make[2]: Leaving directory '/home/appveyor/projects/pylib' -# devops-python-tools/Makefile.in:212: recipe for target 'system-packages' failed -# -# adding "|| :" to the end of these commands causes them to be silently ignored! -- sudo sed -i '/https:\/\/packages.microsoft.com\/ubuntu\/.*\/mssql-server/d' /etc/apt/sources.list -- sudo apt purge -qy --allow-change-held-packages mssql-server -# this prevents conflicts installing default-jdk - see https://github.com/appveyor/ci/issues/3411 -#- dpkg -l | awk '/openjdk/{print $2}' | DEBIAN_FRONTEND=noninteractive xargs sudo apt-get remove -y --allow-change-held-packages -- setup/ci_bootstrap.sh -- make + # workaround for: + # Some packages could not be installed. This may mean that you have + # requested an impossible situation or if you are using the unstable + # distribution that some required packages have not yet been created + # or been moved out of Incoming. + # The following information may help to resolve the situation: + # + # The following packages have unmet dependencies: + # mssql-server : Depends: libsasl2-modules-gssapi-mit but it is not going to be installed + # E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. + # devops-python-tools/Makefile.in:272: recipe for target 'apt-packages' failed + # make[2]: *** [apt-packages] Error 123 + # make[2]: Leaving directory '/home/appveyor/projects/pylib' + # devops-python-tools/Makefile.in:212: recipe for target 'system-packages' failed + # + # adding "|| :" to the end of these commands causes them to be silently ignored! + - sudo sed -i '/https:\/\/packages.microsoft.com\/ubuntu\/.*\/mssql-server/d' /etc/apt/sources.list + - sudo apt purge -yq --allow-change-held-packages mssql-server + # this prevents conflicts installing default-jdk - see https://github.com/appveyor/ci/issues/3411 + #- dpkg -l | awk '/openjdk/{print $2}' | DEBIAN_FRONTEND=noninteractive xargs sudo apt-get remove -y --allow-change-held-packages + - setup/ci_bootstrap.sh + - make test_script: -- make test + - make test build: off From d271f6500b45a83c990f67d2c30fea4e7e31ccca Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 11:46:50 +0000 Subject: [PATCH 049/982] updated .concourse.yml --- .concourse.yml | 76 +++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.concourse.yml b/.concourse.yml index 2abb4ac17..9ed7da3e2 100644 --- a/.concourse.yml +++ b/.concourse.yml @@ -14,45 +14,45 @@ # resources: -- name: github - icon: github-circle - type: git - source: - uri: https://github.com/harisekhon/devops-python-tools - branch: master -#- name: daily -# type: time -# source: -# interval: 1d + - name: github + icon: github-circle + type: git + source: + uri: https://github.com/harisekhon/devops-python-tools + branch: master + #- name: daily + # type: time + # source: + # interval: 1d # https://concourse-ci.org/golang-library-example.html jobs: -- name: build - public: false - plan: - - get: github # from resource above - trigger: true - #version: every # build every git commit, default: latest - - task: build - config: - platform: linux - image_resource: - type: docker-image - source: - repository: ubuntu - tag: latest - inputs: - - name: github - path: code - params: - CONCOURSE: 1 - run: - path: /bin/bash - args: - - -c - - | - cd code && - setup/ci_bootstrap.sh && - make init && - make ci test + - name: build + public: false + plan: + - get: github # from resource above + trigger: true + #version: every # build every git commit, default: latest + - task: build + config: + platform: linux + image_resource: + type: docker-image + source: + repository: ubuntu + tag: latest + inputs: + - name: github + path: code + params: + CONCOURSE: 1 + run: + path: /bin/bash + args: + - -c + - | + cd code && + setup/ci_bootstrap.sh && + make init && + make ci test From 1318871cea2024612415948592cd5b98c526fe3c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:11:14 +0000 Subject: [PATCH 050/982] updated .drone.yml --- .drone.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index beda97729..790bdcf4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,5 @@ +--- +# XXX: putting this separator further down with code causes a parsing bug in drone lint # # Author: Hari Sekhon # Date: 2020-02-29 12:05:52 +0000 (Sat, 29 Feb 2020) @@ -28,16 +30,16 @@ type: docker name: default steps: -- name: build - image: ubuntu:18.04 -# environment: -# DEBUG: 1 - commands: - - setup/ci_bootstrap.sh - - make init - - make ci - - make test + - name: build + image: ubuntu:18.04 + #environment: + # DEBUG: 1 + commands: + - setup/ci_bootstrap.sh + - make init + - make ci + - make test trigger: branch: - - master + - master From fb3eab1a9369d6119098631c0c80d5007f119375 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:11:49 +0000 Subject: [PATCH 051/982] updated .gocd.yml --- .gocd.yml | 115 +++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 57 deletions(-) diff --git a/.gocd.yml b/.gocd.yml index 54f7a3067..69d289bf4 100644 --- a/.gocd.yml +++ b/.gocd.yml @@ -16,6 +16,7 @@ # https://docs.gocd.org/current/configuration/configuration_reference.html +--- format_version: 3 pipelines: devops-python-tools: @@ -30,60 +31,60 @@ pipelines: auto_update: true branch: master stages: - - build-and-test: - fetch_materials: true - keep_artifacts: false - clean_workspace: false - approval: - type: success - allow_only_on_success: false - jobs: -# apt-update: -# timeout: 10 -# tasks: -# - exec: -# command: apt -# arguments: -# - update -# run_if: passed -# install-make: -# timeout: 10 -# tasks: -# - exec: -# command: apt -# arguments: -# - install -# - -qy -# - git -# - make -# run_if: passed - ci-bootstrap: - timeout: 10 - tasks: - - exec: - command: setup/ci_bootstrap.sh - run_if: passed - init: - timeout: 10 - tasks: - - exec: - command: make - arguments: - - init - run_if: passed - build: - timeout: 60 - tasks: - - exec: - command: make - arguments: - - ci - run_if: passed - test: - timeout: 60 - tasks: - - exec: - command: make - arguments: - - test - run_if: passed + - build-and-test: + fetch_materials: true + keep_artifacts: false + clean_workspace: false + approval: + type: success + allow_only_on_success: false + jobs: + #apt-update: + # timeout: 10 + # tasks: + # - exec: + # command: apt + # arguments: + # - update + # run_if: passed + #install-make: + # timeout: 10 + # tasks: + # - exec: + # command: apt + # arguments: + # - install + # - -qy + # - git + # - make + # run_if: passed + ci-bootstrap: + timeout: 10 + tasks: + - exec: + command: setup/ci_bootstrap.sh + run_if: passed + init: + timeout: 10 + tasks: + - exec: + command: make + arguments: + - init + run_if: passed + build: + timeout: 60 + tasks: + - exec: + command: make + arguments: + - ci + run_if: passed + test: + timeout: 60 + tasks: + - exec: + command: make + arguments: + - test + run_if: passed From 73982317e98531a54bd6d1ad86163b680c4e4e44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:12:11 +0000 Subject: [PATCH 052/982] updated azure-pipelines.yml --- azure-pipelines.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d8f0e09ac..50f6cccb2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ # https://aka.ms/yaml trigger: -- master + - master pool: # there is no /dev/stderr on this azure build! @@ -28,22 +28,22 @@ pool: #container: ubuntu:18.04 steps: -# requires script as first key, otherwise parsing breaks with error message: Unexpected value 'displayName' -- script: env | sort - displayName: env + # requires script as first key, otherwise parsing breaks with error message: Unexpected value 'displayName' + - script: env | sort + displayName: env -# doesn't work in container due to unprivileged execution and lack of sudo -#- script: sudo apt-get update && sudo apt-get install -y git make -# displayName: install git & make + # doesn't work in container due to unprivileged execution and lack of sudo + #- script: sudo apt-get update && sudo apt-get install -y git make + # displayName: install git & make -#- script: make -# displayName: build + #- script: make + # displayName: build -# doesn't work in vmImage build due to lack of access to normal /dev/stderr device -# tee: /dev/stderr: No such device or address -#- script: make test -# displayName: test + # doesn't work in vmImage build due to lack of access to normal /dev/stderr device + # tee: /dev/stderr: No such device or address + #- script: make test + # displayName: test -# hacky workaround to Azure Pipelines ubuntu environment limitations of unprivileged container and no /dev/stderr in vmImage :-( -- script: sudo docker run -v "$PWD":/code ubuntu:18.04 /bin/bash -c 'set -ex && cd /code && setup/ci_bootstrap.sh && make init && make ci test' - displayName: docker build + # hacky workaround to Azure Pipelines ubuntu environment limitations of unprivileged container and no /dev/stderr in vmImage :-( + - script: sudo docker run -v "$PWD":/code ubuntu:18.04 /bin/bash -c 'set -ex && cd /code && setup/ci_bootstrap.sh && make init && make ci test' + displayName: docker build From 81981b20d2debe8f9179e33c463d88b5583fef21 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:14:17 +0000 Subject: [PATCH 053/982] updated config.yml --- .circleci/config.yml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 69f7a6179..80c4cfbb5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,27 +14,32 @@ # https://www.linkedin.com/in/harisekhon # -# https://circleci.com/docs/2.0/configuration-reference +# Master Template with more advanced config: +# +# https://github.com/HariSekhon/Templates/blob/master/circleci_config.yml + +# Reference: +# +# https://circleci.com/docs/2.0/configuration-reference version: 2.1 + +workflows: + version: 2 + workflow: + jobs: + - build + jobs: build: - # technically a docker image is a better choice than machine - # but we want to introduce some native environment variation - # between build systems in order to test the repo's build automation is robust - machine: - image: default - #image: ubuntu-1604:201903-01 - # set to an actual docker image when running locally using circle_ci_job.sh - # docker image must have git installed to do the checkout - # so using harisekhon/dev:ubuntu instead of base ubuntu image - #image: harisekhon/dev:ubuntu + docker: + - image: cimg/base:2021.04 + resource_class: medium steps: - checkout + - setup_remote_docker: + version: 20.10.11 - run: setup/ci_bootstrap.sh - run: make init - run: make - # to allow docker networking to work - - run: sudo sysctl net.ipv4.ip_forward=1 - - run: sudo service docker restart - run: make test From e6aa90e89dd74daf8a237c04479e514854421f44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:15:49 +0000 Subject: [PATCH 054/982] updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 80c4cfbb5..37332c73c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: build: docker: - image: cimg/base:2021.04 - resource_class: medium + resource_class: small steps: - checkout - setup_remote_docker: From 8c9ee8f44f659113d1e74616378f355f46713b33 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 12:23:03 +0000 Subject: [PATCH 055/982] updated .travis.yml --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0b4f9044..71348b0bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ # https://docs.travis-ci.com/user/customizing-the-build/ +--- version: ~> 1.0 # ============================ @@ -126,10 +127,10 @@ before_cache: cache: - pip - directories: - - $HOME/.cache - - $HOME/.cpan - - $HOME/.cpanm - - $HOME/.gem + - $HOME/.cache + - $HOME/.cpan + - $HOME/.cpanm + - $HOME/.gem # ============================================== # https://docs.travis-ci.com/user/job-lifecycle/ From ea9a351a3debdf52b6c9da7bf2914f47c9cf81c7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 13:55:24 +0000 Subject: [PATCH 056/982] added validate.yaml --- .github/workflows/validate.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/validate.yaml diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 000000000..e7e6e2306 --- /dev/null +++ b/.github/workflows/validate.yaml @@ -0,0 +1,33 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +name: Validation + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + # * is a special character in YAML so you have to quote this string + - cron: '0 0 * * 1' + +jobs: + validate: + name: Validate + uses: HariSekhon/GitHub-Actions/.github/workflows/validate.yaml@master From 3d27f42fb9d6cd593d3cbcb9e43b9d62054cc5c5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:05:42 +0000 Subject: [PATCH 057/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index ed73806a8..429a989d4 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit ed73806a8cccc8f09aaa2d15c1f1654b6d197c43 +Subproject commit 429a989d41baa9926c00a7172cfa220927139575 From 5f3daceaa563fe7a18109f02ca0bde833f90575f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:05:42 +0000 Subject: [PATCH 058/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index d8d872aec..6b5c9b93e 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit d8d872aec71828b9ecf89e695f10f350ca576b41 +Subproject commit 6b5c9b93e107a321cbd1000aecbff96bf7fe952c From a9797205d5af51ed3819789d26537a83da10d8af Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:05:43 +0000 Subject: [PATCH 059/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index a6808f63e..4893b0b33 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit a6808f63eea44b4956e49c66e940691ad2fe519b +Subproject commit 4893b0b33b0d95ddc5549e8b58dcfd0d746d9d15 From 82f29b81f9183b30120b49953c501af24d5d6295 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:29:48 +0000 Subject: [PATCH 060/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 429a989d4..a2c295fb4 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 429a989d41baa9926c00a7172cfa220927139575 +Subproject commit a2c295fb4e04be4af767a69b70bcceeab164a2f7 From 66dafe2315dfb4d1d14f55df7590539ee909c401 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:35:56 +0000 Subject: [PATCH 061/982] updated compile.sh --- tests/compile.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/compile.sh b/tests/compile.sh index e235cfd70..952836a20 100755 --- a/tests/compile.sh +++ b/tests/compile.sh @@ -19,17 +19,18 @@ srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$srcdir/.."; -. ./tests/utils.sh +# shellcheck disable=SC1090 +. "$srcdir/utils.sh" hr echo "Compiling all Python files" hr echo -for x in $(find . -iname '*.py' -o -iname '*.jy'); do - isExcluded "$x" && continue - echo "compiling $x" - python -m py_compile $x -done +while read -r filename; do + isExcluded "$filename" && continue + echo "compiling $filename" + python -m py_compile "$filename" +done < <(find . -iname '*.py' -o -iname '*.jy') echo echo From 8e32bbd7f49e7f9593c73202574ac4cfe817a2cd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:37:52 +0000 Subject: [PATCH 062/982] updated test_xml_to_json.sh --- tests/test_xml_to_json.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_xml_to_json.sh b/tests/test_xml_to_json.sh index 8d01e3750..abfd23a73 100755 --- a/tests/test_xml_to_json.sh +++ b/tests/test_xml_to_json.sh @@ -15,19 +15,19 @@ set -euo pipefail [ -n "${DEBUG:-}" ] && set -x -srcdir="$(cd "$(dirname "$0")" && pwd)" +srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -cd "$srcdir"; +cd "$srcdir" -# shellcheck disable=SC1091 -. utils.sh +# shellcheck disable=SC1091,SC1090 +. "$srcdir/utils.sh" -# shellcheck disable=SC1091 -. ../bash-tools/lib/utils.sh +# shellcheck disable=SC1091,SC1090 +. "$srcdir/../bash-tools/lib/utils.sh" section "XML => JSON" -cd .. +cd "$srcdir/.." testdata="tests/data/simple.xml" From 2d3e6e29332627f1b17b99cb30831d1db917c270 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:38:43 +0000 Subject: [PATCH 063/982] updated test_xml_to_yaml.sh --- tests/test_xml_to_yaml.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_xml_to_yaml.sh b/tests/test_xml_to_yaml.sh index 6f93a6ddf..81167836d 100755 --- a/tests/test_xml_to_yaml.sh +++ b/tests/test_xml_to_yaml.sh @@ -15,19 +15,19 @@ set -euo pipefail [ -n "${DEBUG:-}" ] && set -x -srcdir="$(cd "$(dirname "$0")" && pwd)" +srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -cd "$srcdir"; +cd "$srcdir" -# shellcheck disable=SC1091 -. utils.sh +# shellcheck disable=SC1091,SC1090 +. "$srcdir/utils.sh" -# shellcheck disable=SC1091 -. ../bash-tools/lib/utils.sh +# shellcheck disable=SC1091,SC1090 +. "$srcdir/../bash-tools/lib/utils.sh" section "XML => YAML" -cd .. +cd "$srcdir/.." testdata="tests/data/simple.xml" From 7d5a3d5cb3677f8a92db35be6984667e725ba0a1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:40:14 +0000 Subject: [PATCH 064/982] updated all.sh --- tests/all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/all.sh b/tests/all.sh index b1e1957dc..103094127 100755 --- a/tests/all.sh +++ b/tests/all.sh @@ -29,8 +29,9 @@ section "Running PyTools ALL" # runs against . by default cd "$srcdir/.."; +# shellcheck disable=SC1090 # has to be included so that isExcluded function is inherited -. bash-tools/check_all.sh +. "$srcdir/../bash-tools/check_all.sh" #tests/test_yamllint.sh From 89c8f5ea5b713bb9f2a956f69a496a87c081d6c3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 14:44:42 +0000 Subject: [PATCH 065/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22edf4ff5..678fdf317 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ Hari Sekhon - DevOps Python Tools [![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.gocd.yml) [![TeamCity](https://img.shields.io/badge/TeamCity-ready-blue?logo=teamcity)](https://github.com/HariSekhon/TeamCity-CI) -[![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) [![AppVeyor](https://img.shields.io/appveyor/build/harisekhon/DevOps-Python-tools/master?logo=appveyor&label=AppVeyor)](https://ci.appveyor.com/project/HariSekhon/DevOps-Python-tools/branch/master) [![Drone](https://img.shields.io/drone/build/HariSekhon/DevOps-Python-tools/master?logo=drone&label=Drone)](https://cloud.drone.io/HariSekhon/DevOps-Python-tools) [![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) @@ -55,6 +54,8 @@ Hari Sekhon - DevOps Python Tools [![Semaphore](https://harisekhon.semaphoreci.com/badges/DevOps-Python-tools.svg)](https://harisekhon.semaphoreci.com/projects/DevOps-Python-tools) [![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) [![Buddy](https://img.shields.io/badge/Buddy-ready-1A86FD?logo=buddy)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buddy.yml) +[![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) +[![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) From d4716aa6a1d9e9e7c3dab91e7e530d0940c4a46b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 15:03:50 +0000 Subject: [PATCH 066/982] updated .ipython-notebook-pyspark.00-pyspark-setup.py --- .ipython-notebook-pyspark.00-pyspark-setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ipython-notebook-pyspark.00-pyspark-setup.py b/.ipython-notebook-pyspark.00-pyspark-setup.py index 4dde897da..1de53b3fb 100644 --- a/.ipython-notebook-pyspark.00-pyspark-setup.py +++ b/.ipython-notebook-pyspark.00-pyspark-setup.py @@ -24,4 +24,4 @@ sys.path.insert(0, os.path.join(spark_home, 'python')) for lib in glob.glob(os.path.join(spark_home, 'python/lib/py4j-*-src.zip')): sys.path.insert(0, lib) -execfile(os.path.join(spark_home, 'python/pyspark/shell.py')) +execfile(os.path.join(spark_home, 'python/pyspark/shell.py')) # pylint: disable=undefined-variable From f3e1e2727ef4372f978dd6db4e34bb2bbfcc9226 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 15:35:52 +0000 Subject: [PATCH 067/982] updated requirements.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dfef9fec9..c14c0ec49 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ avro==1.8.1 # requires Python == 3.4, build in Makefile instead #avro-python3==1.9.0 -awscli==1.16.241 +# AWS CLIv1 is obsolete and doesn't support SSO - use CLIv2 - see https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/setup/install_aws_cli.sh +#awscli==1.16.241 #bitarray==0.8.1 #boto==2.49.0 boto3==1.10.37 From 50696dcbea0700c9fc6bf53f47c8d4c335a53826 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 18:37:21 +0000 Subject: [PATCH 068/982] updated validate.yaml --- .github/workflows/validate.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index e7e6e2306..81196da71 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -24,7 +24,6 @@ on: - main workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - cron: '0 0 * * 1' jobs: From d62ecad232086b6c2785eabb0141122711c15076 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Jan 2022 19:28:27 +0000 Subject: [PATCH 069/982] added semgrep.yaml --- .github/workflows/semgrep.yaml | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/semgrep.yaml diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml new file mode 100644 index 000000000..3b145d0d1 --- /dev/null +++ b/.github/workflows/semgrep.yaml @@ -0,0 +1,43 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/harisekhon/templates +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +# ============================================================================ # +# S e m g r e p G i t H u b W o r k f l o w +# ============================================================================ # + +# https://semgrep.dev/docs/semgrep-ci/sample-ci-configs/#github-actions + +--- +name: Semgrep + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' + +jobs: + semgrep: + name: Semgrep + uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master + permissions: + actions: read + contents: read + security-events: write From 5a52ecf8835f81053d4fa1c9e9e0d7dc3f585d8a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:36:34 +0000 Subject: [PATCH 070/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index a2c295fb4..41ad03ead 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit a2c295fb4e04be4af767a69b70bcceeab164a2f7 +Subproject commit 41ad03eadbb7c87a1d65f171ff1c09a7e905246a From 6c25c1581d9f84b05e4f2748d441aef9fbec9702 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:36:34 +0000 Subject: [PATCH 071/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 6b5c9b93e..40556d510 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 6b5c9b93e107a321cbd1000aecbff96bf7fe952c +Subproject commit 40556d510e99fb25ca190376d278726c4a743a8e From 7ab1f1b803880bcd0d257c217d3ce5a936b3f5b7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:36:34 +0000 Subject: [PATCH 072/982] updated sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index ba7b03f51..c19c3de26 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit ba7b03f51e9a5deb3f9c388e6cbaf1aa2ba6ce3a +Subproject commit c19c3de26a87c2885489cd3b383c526ffc2945d9 From 0f98399148d46c44bfe7310a9d981da54781590f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:36:34 +0000 Subject: [PATCH 073/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 4893b0b33..9c48fbbb1 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 4893b0b33b0d95ddc5549e8b58dcfd0d746d9d15 +Subproject commit 9c48fbbb1235a0b43ddbb657673a7d0445e81743 From 5624548a68635bb1b735680a47bea1ce7d826151 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:51:20 +0000 Subject: [PATCH 074/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 41ad03ead..a3172a206 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 41ad03eadbb7c87a1d65f171ff1c09a7e905246a +Subproject commit a3172a206422fa1a2626ef5c422d41729c11dcb7 From 177671824ce3f9fe1cdc56f6e8ee896d2c5f86c6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 20 Jan 2022 17:53:18 +0000 Subject: [PATCH 075/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index a3172a206..befa8f0bd 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit a3172a206422fa1a2626ef5c422d41729c11dcb7 +Subproject commit befa8f0bdf7f366e41bda38379fc7865d4769cda From 244a496e95dd75086b9f0752747d410001c6eb5e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 21 Jan 2022 23:53:02 +0000 Subject: [PATCH 076/982] added semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/semgrep-cloud.yaml diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml new file mode 100644 index 000000000..df624fb33 --- /dev/null +++ b/.github/workflows/semgrep-cloud.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/harisekhon/templates +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +# ============================================================================ # +# S e m g r e p C l o u d W o r k f l o w +# ============================================================================ # + +# Logs results to https://semgrep.dev/ + +--- +name: Semgrep Cloud + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' + +jobs: + semgrep: + name: Semgrep Cloud + uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master From 7be35071169ff96605baca0ddec79e3ce4de948e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 21 Jan 2022 23:53:40 +0000 Subject: [PATCH 077/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 3b145d0d1..b319f2356 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -15,6 +15,8 @@ # S e m g r e p G i t H u b W o r k f l o w # ============================================================================ # +# Generates code scanning alerts in GitHub's Security tab -> Code scanning alerts + # https://semgrep.dev/docs/semgrep-ci/sample-ci-configs/#github-actions --- @@ -37,7 +39,3 @@ jobs: semgrep: name: Semgrep uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master - permissions: - actions: read - contents: read - security-events: write From ec70d959f23e080eadec7ef349347d5938006ecb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 21 Jan 2022 23:56:39 +0000 Subject: [PATCH 078/982] added checkov.yaml --- .github/workflows/checkov.yaml | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/checkov.yaml diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml new file mode 100644 index 000000000..90ae12ff5 --- /dev/null +++ b/.github/workflows/checkov.yaml @@ -0,0 +1,41 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/harisekhon/templates +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +# ============================================================================ # +# C h e c k o v G i t H u b W o r k f l o w +# ============================================================================ # + +# Static analysis of Terraform code - publishes report to GitHub Security tab + +# https://github.com/bridgecrewio/checkov-action + +--- +name: Checkov + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' + +jobs: + checkov: + name: Checkov + uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master From 28e285f6b11e787dbcbc2b99ab0332e49bd93a96 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:07:57 +0000 Subject: [PATCH 079/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 678fdf317..2445c90db 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,6 @@ Hari Sekhon - DevOps Python Tools [![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) [![Buddy](https://img.shields.io/badge/Buddy-ready-1A86FD?logo=buddy)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buddy.yml) [![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) -[![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) @@ -68,6 +67,8 @@ Hari Sekhon - DevOps Python Tools [![Repo on GitHub](https://img.shields.io/badge/repo-GitHub-2088FF?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools) [![Repo on GitLab](https://img.shields.io/badge/repo-GitLab-FCA121?logo=gitlab)](https://gitlab.com/HariSekhon/DevOps-Python-tools) [![Repo on BitBucket](https://img.shields.io/badge/repo-BitBucket-0052CC?logo=bitbucket)](https://bitbucket.org/HariSekhon/DevOps-Python-tools) +[![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) +[![Semgrep](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml) [![GitHub Actions Ubuntu](https://github.com/HariSekhon/DevOps-Python-tools/workflows/GitHub%20Actions%20Ubuntu/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22GitHub+Actions+Ubuntu%22) [![Mac](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Mac/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Mac%22) From 1fb2a04b416bfba1e7e8da08b9dcd97b771c5ae8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:16:05 +0000 Subject: [PATCH 080/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index befa8f0bd..14c0dc05b 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit befa8f0bdf7f366e41bda38379fc7865d4769cda +Subproject commit 14c0dc05b6fa1f41b2ccdc44eca76808ff34d893 From c6c5f8de71a28075d6bedd8e837e1ee952546ae9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:16:05 +0000 Subject: [PATCH 081/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 40556d510..e6088b82c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 40556d510e99fb25ca190376d278726c4a743a8e +Subproject commit e6088b82c68e3edbb89270a388b5d840a66d2838 From 7ef841d48d9aa87cdc6b7b217fdc9f720033cde0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:16:05 +0000 Subject: [PATCH 082/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index c19c3de26..0c8e17fc8 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit c19c3de26a87c2885489cd3b383c526ffc2945d9 +Subproject commit 0c8e17fc883761f43289b7fd834b842ef74f1d8b From 75cc86218273f99c23902ae2e832a179bd9c6445 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:16:05 +0000 Subject: [PATCH 083/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9c48fbbb1..eab20c1ec 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9c48fbbb1235a0b43ddbb657673a7d0445e81743 +Subproject commit eab20c1ec387a76265c2b1e9997a79e6764ab555 From 200fe62138230ada4ecc099b1e81172592153bd4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:19:53 +0000 Subject: [PATCH 084/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 6550283db..b38994a81 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Alpine -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: alpine - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apk add --no-cache git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Alpine + uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + #with: + # debug: 1 From 41b01f5d975ccb0a551828388a5009c0dbb91831 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:20:09 +0000 Subject: [PATCH 085/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 6c8eada80..dab96c4f0 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Alpine 3 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: alpine:3 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apk add --no-cache git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Alpine 3 + uses: HariSekhon/GitHub-Actions/.github/workflows/alpine3.yaml@master + #with: + # debug: 1 From dda0500f89eb221b555d6b205e4c014411fc5b29 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:21:25 +0000 Subject: [PATCH 086/982] updated centos.yaml --- .github/workflows/centos.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 5c214e8fd..494327e4b 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest container: centos env: - repo: devops-python-tools + repo: DevOps-Python-tools steps: # untars repo in docker container so git submodule update fails #- uses: actions/checkout@v2 From b76491185a7fc4d978bad71540669d2f7981a799 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Jan 2022 00:22:47 +0000 Subject: [PATCH 087/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index bb3c76ec6..93b146910 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest container: centos:7 env: - repo: devops-python-tools + repo: DevOps-Python-tools steps: # untars repo in docker container so git submodule update fails #- uses: actions/checkout@v2 From 300f7bb3d954a8677ef4dbf05feb351b21ff8287 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:06:58 +0000 Subject: [PATCH 088/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 14c0dc05b..388c71d13 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 14c0dc05b6fa1f41b2ccdc44eca76808ff34d893 +Subproject commit 388c71d13b511ce05230dd12b1602e1775e245c3 From 2ea8ebb0db695a09064d5229061e6e7b7e121ad4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:06:58 +0000 Subject: [PATCH 089/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index e6088b82c..bc4f4309c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit e6088b82c68e3edbb89270a388b5d840a66d2838 +Subproject commit bc4f4309ca17c0a0d9de4f656b2fbde6bb261a3a From 27dbaebc6036ae0ffa1b3a23e6ebbd9ba1887814 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:06:59 +0000 Subject: [PATCH 090/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index eab20c1ec..71efdf44a 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit eab20c1ec387a76265c2b1e9997a79e6764ab555 +Subproject commit 71efdf44afd970b14c24013dc669d876eaf86417 From 3b051d54d578465a90b73b8499c2d660732036fd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:15:50 +0000 Subject: [PATCH 091/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 388c71d13..f807763cc 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 388c71d13b511ce05230dd12b1602e1775e245c3 +Subproject commit f807763cc7b6380588de492d0fe3f828a9e91b65 From 54dc246a7284dff767396edd81fb7b3ad7496ad1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:15:50 +0000 Subject: [PATCH 092/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index bc4f4309c..a57363bf3 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit bc4f4309ca17c0a0d9de4f656b2fbde6bb261a3a +Subproject commit a57363bf30e07af15d34364bcdafc960de4cf883 From a9f6519f54d29c2a23396e178ff7368444ce7bfc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 28 Jan 2022 15:15:51 +0000 Subject: [PATCH 093/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 71efdf44a..8f35ff7ea 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 71efdf44afd970b14c24013dc669d876eaf86417 +Subproject commit 8f35ff7ea92527852dd4cdfe640958b2646ae001 From 6261545c7eefabeae1681e3a6faf1fea534d4dcf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 31 Jan 2022 18:09:49 +0000 Subject: [PATCH 094/982] updated codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 83 ++++++++++++--------------- 1 file changed, 38 insertions(+), 45 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d6aee201a..5e74ab863 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,22 +1,14 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# +--- name: "CodeQL" on: push: - branches: [ master ] + branches: + - master pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: + - master schedule: - cron: '37 15 * * 4' @@ -32,39 +24,40 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'python' ] + language: + - python # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # Command-line programs to run using the OS shell. + # https://git.io/JvXDl + + # If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From 95157166937531203f7b5e4e36c4787d9c49bf67 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 31 Jan 2022 18:10:55 +0000 Subject: [PATCH 095/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index f807763cc..19c99c629 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit f807763cc7b6380588de492d0fe3f828a9e91b65 +Subproject commit 19c99c6298a5b2f4d6d099128cc9525c917f0a82 From ebe7a4b691a03134cb6f01271058fc33af0a01bc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 31 Jan 2022 18:10:55 +0000 Subject: [PATCH 096/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index a57363bf3..23bfcebb9 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit a57363bf30e07af15d34364bcdafc960de4cf883 +Subproject commit 23bfcebb9d80f042beadc738c44154edd102752f From 5b3cda764fd4d8151078db27ce1881e8317b56be Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 31 Jan 2022 18:10:56 +0000 Subject: [PATCH 097/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 8f35ff7ea..1a693b8a1 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 8f35ff7ea92527852dd4cdfe640958b2646ae001 +Subproject commit 1a693b8a192bec6c1fdf13e55bfe4bbf3d5d1ee4 From a7a8c68ac62ded941d271d5e33a322c7423bebfb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 1 Feb 2022 11:55:33 +0000 Subject: [PATCH 098/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index b319f2356..fcf2abe13 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -37,5 +37,9 @@ on: jobs: semgrep: - name: Semgrep + name: Semgrep GitHub uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master + permission: + actions: read + contents: read + security-events: write From 2a402bfdf520c1c18139bcb0d4940ec18227ff42 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:00:53 +0000 Subject: [PATCH 099/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index b319f2356..fcf2abe13 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -37,5 +37,9 @@ on: jobs: semgrep: - name: Semgrep + name: Semgrep GitHub uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master + permission: + actions: read + contents: read + security-events: write From d97cc000ee941182b6185d0cf3ebde26eedf0b4d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:01:17 +0000 Subject: [PATCH 100/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index fcf2abe13..23a921d88 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -39,7 +39,7 @@ jobs: semgrep: name: Semgrep GitHub uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master - permission: + permissions: actions: read contents: read security-events: write From dba7169a083dcedb299f35b6cc8090ba60734c1e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:05:15 +0000 Subject: [PATCH 101/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 19c99c629..81d8e5d52 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 19c99c6298a5b2f4d6d099128cc9525c917f0a82 +Subproject commit 81d8e5d524995f05c4500f0a395edaba780b6f7e From ccb267a1bebe8ec83f02f55b7dce26f720b8aae5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:05:15 +0000 Subject: [PATCH 102/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 23bfcebb9..baffc23ac 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 23bfcebb9d80f042beadc738c44154edd102752f +Subproject commit baffc23aca45c259debcafc1e0bc80d0b22d8345 From 5c09b1af0661af032bb68b73bf0585e31bb9d4dd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:05:15 +0000 Subject: [PATCH 103/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 0c8e17fc8..5c79c102c 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 0c8e17fc883761f43289b7fd834b842ef74f1d8b +Subproject commit 5c79c102ca4aadfca314f9c098acb55d2b9bfbe7 From c9a29a5520326de018a595765990ed254475261b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 2 Feb 2022 21:05:15 +0000 Subject: [PATCH 104/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 1a693b8a1..bdebc016d 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 1a693b8a192bec6c1fdf13e55bfe4bbf3d5d1ee4 +Subproject commit bdebc016d72178a97ef09c7593e5157e15d1f9d9 From 4e2c5aee63eb7068420e240b2a0ae685f5beab56 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:06:46 +0000 Subject: [PATCH 105/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index fcf2abe13..23a921d88 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -39,7 +39,7 @@ jobs: semgrep: name: Semgrep GitHub uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master - permission: + permissions: actions: read contents: read security-events: write From 445507835f9f8592c9510ea86fd0cf9016dcea0f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:08:03 +0000 Subject: [PATCH 106/982] updated bootstrap.sh --- setup/bootstrap.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/setup/bootstrap.sh b/setup/bootstrap.sh index 5383ae1f0..306e8ecb4 100755 --- a/setup/bootstrap.sh +++ b/setup/bootstrap.sh @@ -15,11 +15,11 @@ # Alpine / Wget: # -# wget https://raw.githubusercontent.com/HariSekhon/devops-python-tools/master/setup/bootstrap.sh && sh bootstrap.sh +# wget -O- https://raw.githubusercontent.com/HariSekhon/devops-python-tools/master/setup/bootstrap.sh | sh # # Curl: # -# curl https://raw.githubusercontent.com/HariSekhon/devops-python-tools/master/setup/bootstrap.sh | sh +# curl https://raw.githubusercontent.com/HariSekhon/devops-python-tools/master/setup/bootstrap.sh | sh set -eu [ -n "${DEBUG:-}" ] && set -x @@ -40,16 +40,24 @@ if [ "$(uname -s)" = Darwin ]; then elif [ "$(uname -s)" = Linux ]; then echo "Bootstrapping on Linux: $repo" if type apk >/dev/null 2>&1; then - $sudo apk --no-cache add bash git make curl + $sudo apk --no-cache add bash git make curl wget elif type apt-get >/dev/null 2>&1; then + if [ -n "${CI:-}" ]; then + export DEBIAN_FRONTEND=noninteractive + fi opts="" if [ -z "${PS1:-}" ]; then opts="-qq" fi $sudo apt-get update $opts - $sudo apt-get install $opts -y git make curl + $sudo apt-get install $opts -y git make curl wget --no-install-recommends elif type yum >/dev/null 2>&1; then - $sudo yum install -y git make curl + if grep -qi 'NAME=.*CentOS' /etc/*release; then + echo "CentOS EOL detected, replacing yum base URL to vault to re-enable package installs" + $sudo sed -i 's/^[[:space:]]*mirrorlist/#mirrorlist/' /etc/yum.repos.d/CentOS-Linux-* + $sudo sed -i 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|' /etc/yum.repos.d/CentOS-Linux-* + fi + $sudo yum install -y git make curl wget else echo "Package Manager not found on Linux, cannot bootstrap" exit 1 From 64829ab4b40ded3fd2e7518565e360d7bebf1184 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:11:06 +0000 Subject: [PATCH 107/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 81d8e5d52..36728e719 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 81d8e5d524995f05c4500f0a395edaba780b6f7e +Subproject commit 36728e7191402d862c58732a839bda2db604699c From c9960ebe9c6311b42a04ec7b03a9e0261b24df20 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:11:06 +0000 Subject: [PATCH 108/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index baffc23ac..cf61b55f6 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit baffc23aca45c259debcafc1e0bc80d0b22d8345 +Subproject commit cf61b55f6ae953eabafaff97a71e94b3983d21c1 From 1ad2ea765cef0bcded1fa20a5070036874fc2bc7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:11:07 +0000 Subject: [PATCH 109/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 5c79c102c..2926bf822 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 5c79c102ca4aadfca314f9c098acb55d2b9bfbe7 +Subproject commit 2926bf822469f9a2d2bda6fb5705bf3b6ed52358 From ac05856fa6a2bf46e69d48c23f4d86f690093ea5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 3 Feb 2022 14:11:07 +0000 Subject: [PATCH 110/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index bdebc016d..054e52071 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit bdebc016d72178a97ef09c7593e5157e15d1f9d9 +Subproject commit 054e52071c6e9b48e8603e7abb28ce7ae89d05cb From 5f8ea90955bc40e6ccd084522312bdb673509269 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 12:08:51 +0000 Subject: [PATCH 111/982] updated LICENSE --- LICENSE | 46 ++++------------------------------------------ 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/LICENSE b/LICENSE index 03b527051..4860c1cf5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,45 +1,7 @@ -======================================= -HARI SEKHON LICENSE Revision 2013112300 -======================================= +Copyright 2015 Hari Sekhon -Copyright (c) 2006 onwards, Hari Sekhon -All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -Redistribution and use in source and binary forms, with or without -modification, is permitted provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by Hari Sekhon. -4. Neither the name Hari Sekhon nor any affiliates may be used to endorse or - promote products derived from this software without specific prior written - permission. -5. Modifications may be released to the public only with prior written permission - from Hari Sekhon. Forking on GitHub is permitted for the purpose of creating - patch pull requests back to the original repository. -6. Private modifications may be made to suit requirements, but any modifications - to this work, whether publicly disclosed or not, must be sent back to - Hari Sekhon via GitHub (https://github.com/harisekhon/devops-python-tools) or - LinkedIn (https://www.linkedin.com/in/harisekhon) - and must come under this same license. Any such modifications may be - reincorporated for the improvement of this software. -7. This work may not be sold without prior written permission from Hari Sekhon -8. This license may change at any time and the latest revision supersedes - all prior revisions. -9. Alternative licensing must be agreed in writing with Hari Sekhon prior - to public availability. +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THIS SOFTWARE IS PROVIDED BY Hari Sekhon ''AS IS'' AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL Hari Sekhon OR ANY AFFILIATED BODY BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. From 10457e5b14e2d761189ca5bada6cbf55a3ccfbd0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 15:52:32 +0000 Subject: [PATCH 112/982] updated checkov.yaml --- .github/workflows/checkov.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 90ae12ff5..a31ba133a 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -39,3 +39,7 @@ jobs: checkov: name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master + permissions: + actions: read + contents: read + security-events: write From 5c6837cf2344cb3119450e9c5f349a7ab121325a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 16:04:13 +0000 Subject: [PATCH 113/982] updated validate.yaml --- .github/workflows/validate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 81196da71..cf901ed71 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -11,6 +11,7 @@ # https://www.linkedin.com/in/harisekhon # +--- name: Validation on: From 230ce8fdfd038b0637fb0355fa090db181047d3d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 16:10:58 +0000 Subject: [PATCH 114/982] removed .github/workflows/centos6.yaml.disabled --- .github/workflows/centos6.yaml.disabled | 49 ------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/centos6.yaml.disabled diff --git a/.github/workflows/centos6.yaml.disabled b/.github/workflows/centos6.yaml.disabled deleted file mode 100644 index b78c9de3a..000000000 --- a/.github/workflows/centos6.yaml.disabled +++ /dev/null @@ -1,49 +0,0 @@ -# -# Author: Hari Sekhon -# Date: Tue Feb 4 09:53:28 2020 +0000 -# -# vim:ts=2:sts=2:sw=2:et -# -# https://github.com/harisekhon/devops-python-tools -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback -# -# https://www.linkedin.com/in/harisekhon -# - -# Not supporting RHEL6 any more because it doesn't have GNU parallel package - -name: CentOS 6 - -#env: -# DEBUG: 1 - -on: - push: - branches: - - master - schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' - -jobs: - build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: centos:6 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test From bd11ceed0dc87cea96b00e484e53c7f4a3faf858 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:17:49 +0000 Subject: [PATCH 115/982] updated semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index df624fb33..d18460b45 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -37,3 +37,5 @@ jobs: semgrep: name: Semgrep Cloud uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master + secrets: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} From 6b2dad16f356bc9adb5ebd3443080313333ed138 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:18:56 +0000 Subject: [PATCH 116/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 23a921d88..af3635d78 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -37,7 +37,7 @@ on: jobs: semgrep: - name: Semgrep GitHub + name: Semgrep GitHub Security Tab uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master permissions: actions: read From 03118a276424c549ee221bba149e30e23354b4b0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:24 +0000 Subject: [PATCH 117/982] updated centos.yaml --- .github/workflows/centos.yaml | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 494327e4b..f4bf8241b 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -11,37 +11,20 @@ # https://www.linkedin.com/in/harisekhon # +--- name: CentOS -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: centos - env: - repo: DevOps-Python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: CentOS + uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + #with: + # debug: 1 From 882930ebfe12d704d45c3d99fc0933e336b29ae4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:24 +0000 Subject: [PATCH 118/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 93b146910..3f8e5b283 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -11,37 +11,20 @@ # https://www.linkedin.com/in/harisekhon # +--- name: CentOS 7 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: centos:7 - env: - repo: DevOps-Python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: CentOS 7 + uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + #with: + # debug: 1 From 3f4a12e3b13617cf6f896ed1f8b4d615a7432798 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:25 +0000 Subject: [PATCH 119/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 070024988..255c2c66e 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: CentOS 8 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: centos:8 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: CentOS 8 + uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + #with: + # debug: 1 From 69947f9f254dcc665bb3216312886f9f28aa6608 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:25 +0000 Subject: [PATCH 120/982] updated debian.yaml --- .github/workflows/debian.yaml | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index d729ae64e..a150bb2eb 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Debian -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: debian - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Debian + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + #with: + # debug: 1 From 63b5dbcb3b876b2763ea8954beeb0ed1d0a2a502 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:26 +0000 Subject: [PATCH 121/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 35 ++++++++------------------------ 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 454fe8bb2..68e161841 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Debian 10 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: debian:10 # -slim gets java install package conflicts - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Debian 10 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian10.yaml@master + #with: + # debug: 1 From 712cb22f3ddb09b22df69000a420215fa5b6eddf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:26 +0000 Subject: [PATCH 122/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 46 ++++++------------------ 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 96673f75d..c2d8e7078 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -4,53 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # -name: CI Debian 6 +--- +name: Debian 6 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 10 - runs-on: ubuntu-latest - container: debian:6 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: | - ls -l /.dockerenv - echo "pwd is $PWD" - echo VERSION: ; cat /etc/*release /etc/*version 2>/dev/null || : - apt-get update && - apt-get install -y git make - - name: git clone - run: | - cd /tmp && - git clone "https://github.com/harisekhon/$repo" - - name: build - run: | - cd "/tmp/$repo" && - make - - name: test - run: | - cd "/tmp/$repo" && - make test + name: Debian 6 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian6.yaml@master + #with: + # debug: 1 From d9f55c88c18f604f9cc29aed9a9b886368c8ca75 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:26 +0000 Subject: [PATCH 123/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 46 ++++++------------------ 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 622715687..f6329c136 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -4,53 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # -name: CI Debian 7 +--- +name: Debian 7 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 10 - runs-on: ubuntu-latest - container: debian:7-slim - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: | - ls -l /.dockerenv - echo "pwd is $PWD" - cat /etc/*release - apt-get update && - apt-get install -y git make - - name: git clone - run: | - cd /tmp && - git clone "https://github.com/harisekhon/$repo" - - name: build - run: | - cd "/tmp/$repo" && - make - - name: test - run: | - cd "/tmp/$repo" && - make test + name: Debian 7 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian7.yaml@master + #with: + # debug: 1 From 360303edbed9b88627f2dd715f8575dbe7076cc7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:27 +0000 Subject: [PATCH 124/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 35 +++++++++------------------------ 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 99703fe57..fa99760a7 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Debian 8 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: debian:8 # -slim gets java install package conflicts - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Debian 8 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian8.yaml@master + #with: + # debug: 1 From 88bf873e28d04fb9c0c04f502137aa46bf0e790d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:27 +0000 Subject: [PATCH 125/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 35 +++++++++------------------------ 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index db7819b07..e58fd190b 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Debian 9 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: debian:9 # -slim gets java install package conflicts - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Debian 9 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian9.yaml@master + #with: + # debug: 1 From 9bbe1cf93dcdb39440869d56b274933eb99378b3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:28 +0000 Subject: [PATCH 126/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index c7ca8aaae..0d13ef9b0 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Fedora -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: fedora - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: yum install -y git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Fedora + uses: HariSekhon/GitHub-Actions/.github/workflows/fedora.yaml@master + #with: + # debug: 1 From 2707ee95abdac3719f94e919f9178774a2c0d8bb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:28 +0000 Subject: [PATCH 127/982] updated mac.yaml --- .github/workflows/mac.yaml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 02cd075cd..c2216dc2d 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Mac -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v1 - with: - path: ~/Library/Caches/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: brew update - run: which brew && brew update || echo - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Mac + uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master + #with: + # debug: 1 From 443e322d00fd214023cfa6f9466f26cf8f328705 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:29 +0000 Subject: [PATCH 128/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 33 ++++++++------------------------ 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 392688e0a..ec1d7a6f8 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Mac 10.15 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: macos-10.15 - steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v1 - with: - path: ~/Library/Caches/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: brew update - run: which brew && brew update || echo - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Mac 10.15 + uses: HariSekhon/GitHub-Actions/.github/workflows/mac10.15.yaml@master + #with: + # debug: 1 From a6ac95e17dfc62dab7244a273d5b2056c0fadee5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:29 +0000 Subject: [PATCH 129/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 38 +++++++----------------------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index f605de0f2..152523c3b 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -13,41 +13,17 @@ name: PyPy 2 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [pypy2] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: PyPy2 + uses: HariSekhon/GitHub-Actions/.github/workflows/pypy2.yaml@master + #with: + # debug: 1 From 468faaa047d756597b2fede7e4459a7bc829ace8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:29 +0000 Subject: [PATCH 130/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 38 +++++++----------------------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 1cb9ef4f7..280145926 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -13,41 +13,17 @@ name: PyPy 3 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [pypy3] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: PyPy3 + uses: HariSekhon/GitHub-Actions/.github/workflows/pypy3.yaml@master + #with: + # debug: 1 From 03c6cf189b6d1cc230cc0136e9b403877d7b5ca8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:30 +0000 Subject: [PATCH 131/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 39 +++++++------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 485e4859b..c57282060 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -4,50 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Python 2.7 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [2.7] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Python 2.7 + uses: HariSekhon/GitHub-Actions/.github/workflows/python2.7.yaml@master + #with: + # debug: 1 From 09849af56b0e76a06ed4f181065fc293fcd67b43 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:30 +0000 Subject: [PATCH 132/982] updated python3.5.yaml --- .github/workflows/python3.5.yaml | 39 +++++++------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index 15fa37297..a8b945742 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -4,50 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Python 3.5 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [3.5] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Python 3.5 + uses: HariSekhon/GitHub-Actions/.github/workflows/python3.5.yaml@master + #with: + # debug: 1 From 70226d805c18f241f2f2b8f3d17c87aa40d2e3e9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:30 +0000 Subject: [PATCH 133/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 39 +++++++------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 8eeb1a0e3..b9b3ab180 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -4,50 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Python 3.6 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [3.6] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Python 3.6 + uses: HariSekhon/GitHub-Actions/.github/workflows/python3.6.yaml@master + #with: + # debug: 1 From a74ef1b4d904106501c021ec0100ff6abb1cc3c9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:31 +0000 Subject: [PATCH 134/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 39 +++++++------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 5bc6252f7..57720b5c3 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -4,50 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Python 3.7 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [3.7] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Python 3.7 + uses: HariSekhon/GitHub-Actions/.github/workflows/python3.7.yaml@master + #with: + # debug: 1 From 2eb63a26fc41a2c3466eebd068630494f55a8a64 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:31 +0000 Subject: [PATCH 135/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 39 +++++++------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 0764a94dc..2b7abf97e 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -4,50 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Python 3.8 -#env: -# DEBUG: 1 - on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy2, pypy3] - python-version: [3.8] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # -${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: Python 3.8 + uses: HariSekhon/GitHub-Actions/.github/workflows/python3.8.yaml@master + #with: + # debug: 1 From 86241a549e8fb3ebec8447679d2966c5ad44f4e2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:32 +0000 Subject: [PATCH 136/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index cac47c8a3..204bf7572 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Ubuntu -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: ubuntu:latest - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Ubuntu + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + #with: + # debug: 1 From cd0b50a1639e7319a59c5aba0d1bc5f26cb36bfa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:32 +0000 Subject: [PATCH 137/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 35 ++++++++--------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 8e267edb4..3e01a484e 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Ubuntu 14.04 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: ubuntu:14.04 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Ubuntu 14.04 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu14.yaml@master + #with: + # debug: 1 From fbd61be719f394b6bcbf33876cfcbd2253a01d30 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:33 +0000 Subject: [PATCH 138/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 35 ++++++++--------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index d5db70c05..8184d3801 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Ubuntu 16.04 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: ubuntu:16.04 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Ubuntu 16.04 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu16.yaml@master + #with: + # debug: 1 From 00b0d4bb64d5dc40f8091d8d18cc8adcc9f88966 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:32:54 +0000 Subject: [PATCH 139/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 35 ++++++++--------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 2bf3b18a7..7d8cf7e9c 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Ubuntu 18.04 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: ubuntu:18.04 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Ubuntu 18.04 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu18.yaml@master + #with: + # debug: 1 From 08853eccd4e7045ac2f8a89d72e03862e05de81a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:33:22 +0000 Subject: [PATCH 140/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 35 ++++++++--------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index bc0c83aac..aa7c0e846 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -4,44 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: Ubuntu 20.04 -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - container: ubuntu:20.04 - env: - repo: devops-python-tools - steps: - # untars repo in docker container so git submodule update fails - #- uses: actions/checkout@v2 - - name: install git & make - run: apt-get update -qq && apt-get install -qy git make - - name: git clone - run: cd /tmp && git clone "https://github.com/harisekhon/$repo" - - name: init - run: cd "/tmp/$repo" && git submodule update --init --recursive - - name: build - run: cd "/tmp/$repo" && make ci - - name: test - run: cd "/tmp/$repo" && make test + name: Ubuntu 20.04 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu20.yaml@master + #with: + # debug: 1 From 1eeff6d3844828556254f7fb6c50c9e979c32676 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:33:23 +0000 Subject: [PATCH 141/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 33 ++++++++-------------------- 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 08b8f24a3..103fa566b 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -4,42 +4,27 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/harisekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # +--- name: GitHub Actions Ubuntu -#env: -# DEBUG: 1 - -on: # [push] +on: push: branches: - master + workflow_dispatch: schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 7 * * *' + - cron: '0 7 * * *' jobs: build: - #name: build - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-devops-python-tools # ${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip-devops-python-tools - - name: init - run: make init - - name: build - run: make ci - - name: test - run: make test + name: GitHub Ubuntu + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master + #with: + # debug: 1 From 3916d589775b46e3ba38044e7b6d4504e4a3b380 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:42:19 +0000 Subject: [PATCH 142/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 36728e719..385f229d4 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 36728e7191402d862c58732a839bda2db604699c +Subproject commit 385f229d40c19eaf7962577244f1967033c3dfbf From 4750f61a3971ab03dfaea4addcbab48ecc0a1be1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:42:19 +0000 Subject: [PATCH 143/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index cf61b55f6..22ad03fa9 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit cf61b55f6ae953eabafaff97a71e94b3983d21c1 +Subproject commit 22ad03fa9aa7627c3a8971c4f3515b067d124121 From 2202b676bee2d9ef9a08702161272c5d2408147b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:42:19 +0000 Subject: [PATCH 144/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 2926bf822..731f3d458 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 2926bf822469f9a2d2bda6fb5705bf3b6ed52358 +Subproject commit 731f3d4583b49881c1a267874acfaa6cfa6eb7e0 From d96d5348a90ea8d0b0bfef6301b38b208e5e74b3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Feb 2022 19:42:19 +0000 Subject: [PATCH 145/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 054e52071..edb86249c 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 054e52071c6e9b48e8603e7abb28ce7ae89d05cb +Subproject commit edb86249ca9efcea597a9dfd072097a4536734e5 From ef6e3c679bc3aaf230a2bec6e37c68e2cb246ccd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:25:10 +0000 Subject: [PATCH 146/982] added dockerhub_pytools_alpine.yaml --- .../workflows/dockerhub_pytools_alpine.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/dockerhub_pytools_alpine.yaml diff --git a/.github/workflows/dockerhub_pytools_alpine.yaml b/.github/workflows/dockerhub_pytools_alpine.yaml new file mode 100644 index 000000000..ff2197707 --- /dev/null +++ b/.github/workflows/dockerhub_pytools_alpine.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: 2022-01-27 18:55:16 +0000 (Thu, 27 Jan 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: DockerHub Build (Alpine) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master + with: + repo: harisekhon/pytools + tags: alpine + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-alpine + secrets: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From 4b46521c07c2da96ff0a61a6f37310366f238741 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:25:10 +0000 Subject: [PATCH 147/982] added dockerhub_pytools_centos.yaml --- .../workflows/dockerhub_pytools_centos.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/dockerhub_pytools_centos.yaml diff --git a/.github/workflows/dockerhub_pytools_centos.yaml b/.github/workflows/dockerhub_pytools_centos.yaml new file mode 100644 index 000000000..06778bd22 --- /dev/null +++ b/.github/workflows/dockerhub_pytools_centos.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: 2022-01-27 18:55:16 +0000 (Thu, 27 Jan 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: DockerHub Build (CentOS) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master + with: + repo: harisekhon/pytools + tags: latest centos + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-centos + secrets: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From f681cac11224c027728dde5824e2497880a33a08 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:25:10 +0000 Subject: [PATCH 148/982] added dockerhub_pytools_debian.yaml --- .../workflows/dockerhub_pytools_debian.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/dockerhub_pytools_debian.yaml diff --git a/.github/workflows/dockerhub_pytools_debian.yaml b/.github/workflows/dockerhub_pytools_debian.yaml new file mode 100644 index 000000000..aa9da7e6a --- /dev/null +++ b/.github/workflows/dockerhub_pytools_debian.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: 2022-01-27 18:55:16 +0000 (Thu, 27 Jan 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: DockerHub Build (Debian) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master + with: + repo: harisekhon/pytools + tags: debian + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-debian + secrets: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From b851f84d1b22ea1a9ed597b79c7d11ed9b6755d9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:25:11 +0000 Subject: [PATCH 149/982] added dockerhub_pytools_fedora.yaml --- .../workflows/dockerhub_pytools_fedora.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/dockerhub_pytools_fedora.yaml diff --git a/.github/workflows/dockerhub_pytools_fedora.yaml b/.github/workflows/dockerhub_pytools_fedora.yaml new file mode 100644 index 000000000..3aa3c800f --- /dev/null +++ b/.github/workflows/dockerhub_pytools_fedora.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: 2022-01-27 18:55:16 +0000 (Thu, 27 Jan 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: DockerHub Build (Fedora) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master + with: + repo: harisekhon/pytools + tags: fedora + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-fedora + secrets: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From 11fbd0c11c0d5ce35bab6234b38fa731b7629ebb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:25:11 +0000 Subject: [PATCH 150/982] added dockerhub_pytools_ubuntu.yaml --- .../workflows/dockerhub_pytools_ubuntu.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/dockerhub_pytools_ubuntu.yaml diff --git a/.github/workflows/dockerhub_pytools_ubuntu.yaml b/.github/workflows/dockerhub_pytools_ubuntu.yaml new file mode 100644 index 000000000..d53930274 --- /dev/null +++ b/.github/workflows/dockerhub_pytools_ubuntu.yaml @@ -0,0 +1,39 @@ +# +# Author: Hari Sekhon +# Date: 2022-01-27 18:55:16 +0000 (Thu, 27 Jan 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: DockerHub Build (Ubuntu) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master + with: + repo: harisekhon/pytools + tags: ubuntu latest + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-ubuntu + secrets: + DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From a9026344c8b7e174166b5ec1c53fb1881077525f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 18:26:31 +0000 Subject: [PATCH 151/982] added ghcr_python_ubuntu.yaml --- .github/workflows/ghcr_python_ubuntu.yaml | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ghcr_python_ubuntu.yaml diff --git a/.github/workflows/ghcr_python_ubuntu.yaml b/.github/workflows/ghcr_python_ubuntu.yaml new file mode 100644 index 000000000..fdd5ad61b --- /dev/null +++ b/.github/workflows/ghcr_python_ubuntu.yaml @@ -0,0 +1,36 @@ +# +# Author: Hari Sekhon +# Date: 2022-02-09 18:07:10 +0000 (Wed, 09 Feb 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: GHCR Build (Ubuntu) + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + docker_build: + name: Docker Build + uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build_ghcr.yaml@master + with: + image: pytools + tags: ubuntu latest + dockerfile-repo: HariSekhon/Dockerfiles + context: Dockerfiles/devops-python-tools-ubuntu + if: github.ref_name == 'master' || github.ref_name == 'main' || github.ref_name == 'docker' + permissions: + contents: read + packages: write From 25e68b03e644a0b96831062c47e9f7bc17c7d5ce Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 19:31:58 +0000 Subject: [PATCH 152/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 385f229d4..018732364 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 385f229d40c19eaf7962577244f1967033c3dfbf +Subproject commit 018732364cb003fc7cb63287b0ca08f4aa401b42 From 0f7f46084fdee8fa55cf3e3014893139d1905c3e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 19:31:58 +0000 Subject: [PATCH 153/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 22ad03fa9..8c97585a3 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 22ad03fa9aa7627c3a8971c4f3515b067d124121 +Subproject commit 8c97585a367eedb957a25de2ae37582bd8c6f32e From b85cda9a1994aa2b4392618035936a43db3343c2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 19:31:58 +0000 Subject: [PATCH 154/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 731f3d458..103a1543f 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 731f3d4583b49881c1a267874acfaa6cfa6eb7e0 +Subproject commit 103a1543fa73a0adf4f0af710fcf04d099500170 From 1f7788deaeb431263a7778a69e94c09223a81210 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Feb 2022 19:31:58 +0000 Subject: [PATCH 155/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index edb86249c..542fac6c4 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit edb86249ca9efcea597a9dfd072097a4536734e5 +Subproject commit 542fac6c4e00adcb8b885cceb07b5dfee5361c05 From f0e52eaf57ab9fc3e88accfeae0df0c6f6ceb91c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 11:18:24 +0000 Subject: [PATCH 156/982] updated requirements.txt --- requirements.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c14c0ec49..6060cbe23 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,30 @@ avro==1.8.1 + # requires Python == 3.4, build in Makefile instead #avro-python3==1.9.0 + # AWS CLIv1 is obsolete and doesn't support SSO - use CLIv2 - see https://github.com/HariSekhon/DevOps-Bash-tools/blob/master/setup/install_aws_cli.sh #awscli==1.16.241 #bitarray==0.8.1 + #boto==2.49.0 boto3==1.10.37 #cassandra-driver==3.6.0 dicttoxml==1.7.4 + # Elasticsearch library must match major version :( # for Elasticsearch 2.x #elasticsearch>=2.0.0,<3.0.0 # for Elasticsearch 1.x #elasticsearch>=1.0.0,<2.0.0 + # fails on requiring newer version of setuptools #Flask==0.10.1 GitPython==2.1.15 + # this GCP API is surprisingly awful, not using #google-api-python-client==1.11.0 + happybase==1.0.0 humanize==0.5.1 impyla==0.16.0 @@ -26,36 +33,49 @@ jinja2==2.11.3 ldif3==3.2.2 #MarkupSafe==0.23 #Markdown==2.6.8 + # Python 3.5+ #numpy==1.17.2 numpy==1.16.5 + # requires pg_config to build from source #psycopg2==2.8.4 psycopg2-binary==2.8.4 + python-cson==1.0.9 psutil==5.7.0 + # parquet support in pyarrow is weaker, gone back to using parquet-tools #pyarrow==0.6.0 #PyHive==0.6.1 + +# doesn't work with non-trivial code #PyInstaller==3.3.1 -python-ldap==3.2.0 + +# gcc compile error on Alpine, don't think this is used either +#python-ldap==3.2.0 + #python-jenkins==0.4.13 # pulled in automatically by snakebite[kerberos] #python-krbV==1.0.90 # needed by avro + python-snappy==0.5 sasl==0.2.1 sh==1.12.14 selenium==3.141.0 + # pulls in python-KrbV as a dependency which doesn't build on Mac any more # relies on python-krbV is unmaintained and unported to Python 3 # - moved to Makefile as best effort #snakebite[kerberos]==2.11.0 #snakebite==2.11.0 + thrift-sasl==0.2.1 thrift==0.9.3 thriftpy==0.3.9 toml==0.10.0 xmltodict==0.10.2 yamllint==1.15.0 + #pyyaml>=5.4 # not directly required, pinned by Snyk to avoid a vulnerability. update: this breaks Python 3.5 build where this requirement is not found From cf4afe6858e23005b9c50a0fa6f34e0803909eda Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:06 +0000 Subject: [PATCH 157/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index 152523c3b..61d7b8925 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -24,6 +24,7 @@ on: jobs: build: name: PyPy2 - uses: HariSekhon/GitHub-Actions/.github/workflows/pypy2.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: pypy2 + #debug: 1 From c6d05ecb8e505cfc1226e27e1bb3bfb2d8e3fce9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:07 +0000 Subject: [PATCH 158/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 280145926..1b8cb30ed 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -24,6 +24,7 @@ on: jobs: build: name: PyPy3 - uses: HariSekhon/GitHub-Actions/.github/workflows/pypy3.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: pypy3 + #debug: 1 From 6169e0ea374df4b5249d7633252e178bf3d18744 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:07 +0000 Subject: [PATCH 159/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index c57282060..8fc49fa55 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -25,6 +25,7 @@ on: jobs: build: name: Python 2.7 - uses: HariSekhon/GitHub-Actions/.github/workflows/python2.7.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: 2.7 + #debug: 1 From cd2f98dec3d3cbebb4a358dcd659c563f5b7546a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:08 +0000 Subject: [PATCH 160/982] updated python3.5.yaml --- .github/workflows/python3.5.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index a8b945742..f77c1fc28 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -25,6 +25,7 @@ on: jobs: build: name: Python 3.5 - uses: HariSekhon/GitHub-Actions/.github/workflows/python3.5.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: 3.5 + #debug: 1 From 8ff9c649f169bd195affd96ec3448898784e7774 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:08 +0000 Subject: [PATCH 161/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index b9b3ab180..a661b9493 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -25,6 +25,9 @@ on: jobs: build: name: Python 3.6 - uses: HariSekhon/GitHub-Actions/.github/workflows/python3.6.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master #with: # debug: 1 + with: + version: 3.5 + #debug: 1 From 6c2f481ccb08abd79ce7a0a4389c100aaa2b33e0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:09 +0000 Subject: [PATCH 162/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 57720b5c3..c621468f0 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -25,6 +25,7 @@ on: jobs: build: name: Python 3.7 - uses: HariSekhon/GitHub-Actions/.github/workflows/python3.7.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: 3.7 + #debug: 1 From feff67e17eb584476d459542bbbcdf2eccb64b90 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:02:09 +0000 Subject: [PATCH 163/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 2b7abf97e..636d06d06 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # @@ -25,6 +25,7 @@ on: jobs: build: name: Python 3.8 - uses: HariSekhon/GitHub-Actions/.github/workflows/python3.8.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: 3.8 + #debug: 1 From 97fe5e5993d895b946f8c100518f05fbefb59791 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:09 +0000 Subject: [PATCH 164/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index b38994a81..a0a127330 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -26,5 +26,6 @@ jobs: build: name: Alpine uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master - #with: - # debug: 1 + with: + version: latest + #debug: 1 From 9284c551ca19ef799dad9f46d1beb426a7fd9085 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:10 +0000 Subject: [PATCH 165/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index dab96c4f0..409fd6f68 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Alpine 3 - uses: HariSekhon/GitHub-Actions/.github/workflows/alpine3.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + with: + version: 3 + #debug: 1 From 71b2976aca14b23ad3347a780fe49a1617a7d773 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:10 +0000 Subject: [PATCH 166/982] updated centos.yaml --- .github/workflows/centos.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index f4bf8241b..10e7cb54a 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -26,5 +26,6 @@ jobs: build: name: CentOS uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master - #with: - # debug: 1 + with: + version: latest + #debug: 1 From 5b03adef213117c1cf3fd33ffc14b73d72b61a25 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:11 +0000 Subject: [PATCH 167/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 3f8e5b283..ec6f639b1 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -26,5 +26,6 @@ jobs: build: name: CentOS 7 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master - #with: - # debug: 1 + with: + version: 7 + #debug: 1 From 4d52f5b3a9ab19cabc47bcdb6a4ba13b95898eae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:11 +0000 Subject: [PATCH 168/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 255c2c66e..713ea3e67 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -26,5 +26,6 @@ jobs: build: name: CentOS 8 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master - #with: - # debug: 1 + with: + version: 8 + #debug: 1 From ec3ea8273742473f527380fc46ae733f140a461d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:12 +0000 Subject: [PATCH 169/982] updated debian.yaml --- .github/workflows/debian.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index a150bb2eb..78fc934f5 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -26,5 +26,6 @@ jobs: build: name: Debian uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master - #with: - # debug: 1 + with: + version: latest + #debug: 1 From 1a8d7666cd2beed752fb62216ead8cf83c20c940 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:12 +0000 Subject: [PATCH 170/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 68e161841..ce950e6e8 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Debian 10 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian10.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + with: + version: 10 + #debug: 1 From 661e8a8978367f2ca6fee6d28bc11f529ae5b066 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:13 +0000 Subject: [PATCH 171/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index c2d8e7078..f087db959 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -25,6 +25,7 @@ on: jobs: build: name: Debian 6 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian6.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + with: + version: 6 + #debug: 1 From e5b1c8b5e408089bf27342c9fd0f8c877dfe6e25 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:13 +0000 Subject: [PATCH 172/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index f6329c136..30677854f 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -25,6 +25,7 @@ on: jobs: build: name: Debian 7 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian7.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + with: + version: 7 + #debug: 1 From 0573d4c6038dd7440c29b855df3a2710162a511d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:14 +0000 Subject: [PATCH 173/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index fa99760a7..179419b4f 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Debian 8 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian8.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + with: + version: 8 + #debug: 1 From f57cd0a7f5efb34605b24b5dca236d5d1e30591c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:14 +0000 Subject: [PATCH 174/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index e58fd190b..38e677a76 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Debian 9 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian9.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + with: + version: 9 + #debug: 1 From 620d29e47e879b65964cdeb7f31c305271918c2c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:14 +0000 Subject: [PATCH 175/982] updated mac.yaml --- .github/workflows/mac.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index c2216dc2d..0c9454bd6 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -26,5 +26,6 @@ jobs: build: name: Mac uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master - #with: - # debug: 1 + with: + version: latest + #debug: 1 From b362f0c5dc86ad9db86792a97f8e040a96b065ed Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:15 +0000 Subject: [PATCH 176/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index ec1d7a6f8..e214adb9a 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Mac 10.15 - uses: HariSekhon/GitHub-Actions/.github/workflows/mac10.15.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master + with: + version: 10.15 + #debug: 1 From f88475880eefad06c727d8902e0bf294fd7d0b44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:16 +0000 Subject: [PATCH 177/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index a661b9493..623f85126 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -29,5 +29,5 @@ jobs: #with: # debug: 1 with: - version: 3.5 + version: 3.6 #debug: 1 From 151252eade057c51b1bfda7c681d86d41f438001 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:16 +0000 Subject: [PATCH 178/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 204bf7572..d5c6df777 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -26,5 +26,6 @@ jobs: build: name: Ubuntu uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master - #with: - # debug: 1 + with: + version: latest + #debug: 1 From 3a5a85e06a26db6e2c7b8d8f8b910eb62738f921 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:17 +0000 Subject: [PATCH 179/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 3e01a484e..cda82b285 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Ubuntu 14.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu14.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + with: + version: 14.04 + #debug: 1 From 1523c810c31b295ae00960b8930d12743dbc7210 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:17 +0000 Subject: [PATCH 180/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 8184d3801..96b935a17 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Ubuntu 16.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu16.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + with: + version: 16.04 + #debug: 1 From 03fae4d5a2e26732bc0683270be6da632644e965 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:18 +0000 Subject: [PATCH 181/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 7d8cf7e9c..0c7f11c41 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Ubuntu 18.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu18.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + with: + version: 18.04 + #debug: 1 From ecc078d643cc40ccb6ed3c3edd28cb964b71d38b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:27:18 +0000 Subject: [PATCH 182/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index aa7c0e846..56701d844 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -25,6 +25,7 @@ on: jobs: build: name: Ubuntu 20.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu20.yaml@master - #with: - # debug: 1 + uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + with: + version: 20.04 + #debug: 1 From b1cfd31ed7b749c58b6bd881f7551c7457ac35ae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:47 +0000 Subject: [PATCH 183/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index a0a127330..1b72eba8d 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Alpine From e72b4d7a4f3646026fea0fdf1821ccc923af7d5e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:48 +0000 Subject: [PATCH 184/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 409fd6f68..f041be5d2 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Alpine 3 From 658cddd6bed7feecf08f12b267f469d38bb943fa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:48 +0000 Subject: [PATCH 185/982] updated centos.yaml --- .github/workflows/centos.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 10e7cb54a..5949b16cf 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: CentOS From 478e890aff50ed02b081c01cdac42d8e883048c5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:48 +0000 Subject: [PATCH 186/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index ec6f639b1..77815b813 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: CentOS 7 From 0046681a0849112f5a34fcd0912512b4ffa0c2c5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:49 +0000 Subject: [PATCH 187/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 713ea3e67..4df3a4cba 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: CentOS 8 From 83bf8fa04a09067df1c7999fa5e307ab8f2e4daa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:49 +0000 Subject: [PATCH 188/982] updated debian.yaml --- .github/workflows/debian.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 78fc934f5..13418a6ab 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian From 7383d246bea930dc9599839cbe17732b937aefe9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:49 +0000 Subject: [PATCH 189/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index ce950e6e8..8b5c32f96 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian 10 From 6f8d28ec9e54820ec4179a85cb92fa6f9d41789f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:50 +0000 Subject: [PATCH 190/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index f087db959..5023bbe64 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian 6 From 14dcfb70f54abbed925da137abd3f7376d407b8b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:50 +0000 Subject: [PATCH 191/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 30677854f..232c2893a 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian 7 From c4ab9e1ca04bd5e7d518acce84d8cd21f56a33f0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:50 +0000 Subject: [PATCH 192/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 179419b4f..65bb383ba 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian 8 From d67da6d7a5af06423b34835d1816b02306075943 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:51 +0000 Subject: [PATCH 193/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 38e677a76..5308750e8 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Debian 9 From 55f744986525aef20bf3adcb57624bb5b74d4e61 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:51 +0000 Subject: [PATCH 194/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index 61d7b8925..52c08058b 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -21,6 +21,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: PyPy2 From a8cb330177767d6023e06c16949576edf5fa5c39 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:51 +0000 Subject: [PATCH 195/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 1b8cb30ed..62afbfb46 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -21,6 +21,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: PyPy3 From 645f274ea43cdff7a81a78f81a03a21694eb7339 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:52 +0000 Subject: [PATCH 196/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 8fc49fa55..8381f774f 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Python 2.7 From b8237f82369ddef17eb56d68b4ab565dd8bd3590 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:52 +0000 Subject: [PATCH 197/982] updated python3.5.yaml --- .github/workflows/python3.5.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index f77c1fc28..b735cfd0c 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Python 3.5 From eb105a91052e39e63202dcb496a9a8dd785d1b0e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:52 +0000 Subject: [PATCH 198/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 623f85126..3cedc3c2c 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Python 3.6 From 6d08d020ba9bdf257731c25bc6f07b38306f42f5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:53 +0000 Subject: [PATCH 199/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index c621468f0..1414475c1 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Python 3.7 From 72b852a90e505f5bc967904050c049de4e9326af Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:53 +0000 Subject: [PATCH 200/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 636d06d06..14bf646cd 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Python 3.8 From 142e19864a57032f98390e55fa5c902017db45d6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:54 +0000 Subject: [PATCH 201/982] updated mac.yaml --- .github/workflows/mac.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 0c9454bd6..7224f71c2 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Mac From 94ac28ca6936a6817fd312ac2735a30e4e50ede2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:54 +0000 Subject: [PATCH 202/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index e214adb9a..8753027af 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Mac 10.15 From 4515aac87bbf060dfa23657c3170b89aaa161b66 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:54 +0000 Subject: [PATCH 203/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index d5c6df777..5768ae6e7 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Ubuntu From 0276f66b7797aaae4e5855e0a09ffc9b8da2bda5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:55 +0000 Subject: [PATCH 204/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index cda82b285..428f23491 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Ubuntu 14.04 From 54745a99f7ccd298fd902bd5181fb548be4cdce7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:55 +0000 Subject: [PATCH 205/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 96b935a17..b61a9202d 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Ubuntu 16.04 From b050e50986ae4f738ccd534b9c75ff25c1251941 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:55 +0000 Subject: [PATCH 206/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 0c7f11c41..49c5cf96c 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Ubuntu 18.04 From 5cfdea1deb89c07d88041a129d3b87fcad993c13 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:56 +0000 Subject: [PATCH 207/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 56701d844..41d7d9d3f 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Ubuntu 20.04 From a101b530eee066e481f277fb9bfa70bbd3306349 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:34:56 +0000 Subject: [PATCH 208/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 103fa566b..be5a946d8 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: GitHub Ubuntu From bc7a188b8d2f555fdb093fea22276c9860235f54 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 12:36:56 +0000 Subject: [PATCH 209/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 0d13ef9b0..99b3e8f79 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -22,6 +22,10 @@ on: schedule: - cron: '0 7 * * *' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + jobs: build: name: Fedora From 7e3c85a3d2e1d4d0dc9f4890b314ae6dada1cbef Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:18 +0000 Subject: [PATCH 210/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 1b72eba8d..a92204784 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 9ad486a7b40fabe657f642ff050dfc23459fd6a0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:18 +0000 Subject: [PATCH 211/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index f041be5d2..4b0cb4170 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 71888452fd4ce66f778ac9816adbd0a7a81c07c2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 212/982] updated centos.yaml --- .github/workflows/centos.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 5949b16cf..ff1e33598 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 0e4b8776c6dd48cb5c277aacc7fc34b790aef626 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 213/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 77815b813..588f5de59 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From eff5e66fe0406f2ee4aa17f61471c4a260d0296c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 214/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 4df3a4cba..23aeb1c79 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From b36e324ec7982d45d664269c5a1f4c4cef055322 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 215/982] updated debian.yaml --- .github/workflows/debian.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 13418a6ab..0ac7e1f3e 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 0da43423e5c05179ad938e28b8aaeb79de50bf2e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 216/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 8b5c32f96..7763b32f2 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 3623d46a49026f7c073e54f3ec26f46b112e60f0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 217/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 5023bbe64..99015df89 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From e4ad04e9336418aa45c3f6bbc853406581d057af Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 218/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 232c2893a..3dea635f2 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 13fda2a38079378cc47156c3618ccac1737d979d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 219/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 65bb383ba..8d043b023 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 48f562024119d487ec55d74a76a32e40cb2531ae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 220/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 5308750e8..6a9c34723 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 12904c3ff136c9ec52890cf16943282f206b429f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 221/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 99b3e8f79..c893bc2cf 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 1879a606cd8836dcbb98f325a9a87ac39ed64ae5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 222/982] updated mac.yaml --- .github/workflows/mac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 7224f71c2..ea6c12828 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From af632352f89908ef440908ca63569ad5525e2d0a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 223/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 8753027af..b5c50bc4c 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 73c8a1ec8063f5a53846da89294cc2f7a5f25de4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 224/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index 52c08058b..489d1bcc4 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -23,7 +23,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 249928a26f492a9a4f611f0d474bbafbfb61760a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:19 +0000 Subject: [PATCH 225/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 62afbfb46..5c0e12095 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -23,7 +23,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 27d3c1170459d081081675da55cb5707fac900ae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 226/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 8381f774f..c58d3aaa9 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From bbcf69a3380403d97d99c74331871d2b4c811a80 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 227/982] updated python3.5.yaml --- .github/workflows/python3.5.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index b735cfd0c..659bbc6f6 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 255b2e110bd07e67a9912507db2d5ab66adfb09f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 228/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 3cedc3c2c..b325c9523 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 504a7fd05586cbd767996eef43c4eb85440a10e0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 229/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 1414475c1..413e03916 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 9d58ee7f5a8580e3b87db085929994bc73124ee4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 230/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 14bf646cd..9621587bb 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From af83242bba9e9d4ee30fb1bd20fa186db391054d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 231/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 5768ae6e7..07c4af459 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 04f01563b59622c7da5ca4d275f51f83570eb540 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 232/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 428f23491..561d7cfda 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From b17c666e25d841628123c0c58479bbffc9ac5c96 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 233/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index b61a9202d..59d45e0ae 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 2fbd28187fcb209637d067315f4e4f3c9126062a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 234/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 49c5cf96c..d3818d27d 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 996ea9a0b800e4fc974d3fc25f8385e3e5b57ed0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 235/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 41d7d9d3f..7ceee32d7 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 79c9b6a7f4840eb15f24ce8e07768eaea360e314 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:15:20 +0000 Subject: [PATCH 236/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index be5a946d8..4c463496a 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -24,7 +24,7 @@ on: concurrency: group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: false # build auto-cancellation - enabling this causes false-positive badge failure statuses + cancel-in-progress: true jobs: build: From 3b37de4bff5f37abf98f65b9d51536b568e4fe74 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:27:16 +0000 Subject: [PATCH 237/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 018732364..e71685633 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 018732364cb003fc7cb63287b0ca08f4aa401b42 +Subproject commit e71685633a9bf9d8aa19dc9f9597194e4ce5eae4 From 2269bb68cf2f48e114f1ef3a9654de697f87ab6d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:27:16 +0000 Subject: [PATCH 238/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 8c97585a3..4fa30554f 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 8c97585a367eedb957a25de2ae37582bd8c6f32e +Subproject commit 4fa30554fc746d5eb90e374c7782bc1bef7f6c47 From 493f0d25b80d28fdbeb32c00f7595bf0bd7a6e83 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 10 Feb 2022 14:27:16 +0000 Subject: [PATCH 239/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 542fac6c4..9b14e6b9b 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 542fac6c4e00adcb8b885cceb07b5dfee5361c05 +Subproject commit 9b14e6b9be41fd29ba76a585bd490721be05b2d6 From 1520679f301aa861d16c8b709d63ed4a90413668 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 16 Feb 2022 17:29:09 +0000 Subject: [PATCH 240/982] added CODEOWNERS --- .github/CODEOWNERS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..636853854 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,20 @@ +# +# Author: Hari Sekhon +# Date: 2021-11-09 15:14:59 +0000 (Tue, 09 Nov 2021) +# +# vim:ts=4:sts=4:sw=4:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners + +# Good in theory, to alert on PR changes to these code paths, but for public repos which may be forked and run .github/workflows/fork-update.yaml, this will result in a lot of spam + +#* @harisekhon From 17475b8329b4be392ed748bd9014ecdff5b77392 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 11:12:46 +0000 Subject: [PATCH 241/982] added fork-update.yaml --- .github/workflows/fork-update.yaml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/fork-update.yaml diff --git a/.github/workflows/fork-update.yaml b/.github/workflows/fork-update.yaml new file mode 100644 index 000000000..7239ea515 --- /dev/null +++ b/.github/workflows/fork-update.yaml @@ -0,0 +1,34 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: Fork Update + +on: + workflow_dispatch: + inputs: + debug: + type: string + required: false + schedule: + - cron: '0 10 * * 2' + +jobs: + fork_update: + name: Fork Update + uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update.yaml@master + with: + debug: ${{ github.event.inputs.debug }} + permissions: + contents: write + pull-requests: write From d54611586c5524480da75511b609da6d3bf637ab Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:49:09 +0000 Subject: [PATCH 242/982] added fork-sync.yaml --- .github/workflows/fork-sync.yaml | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/fork-sync.yaml diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml new file mode 100644 index 000000000..aa17a532e --- /dev/null +++ b/.github/workflows/fork-sync.yaml @@ -0,0 +1,34 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: Fork Sync + +on: + workflow_dispatch: + inputs: + debug: + type: string + required: false + schedule: + - cron: '0 * * * *' + +jobs: + fork_sync: + if: github.repository_owner != 'HariSekhon' + name: Fork Sync + uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master + with: + debug: ${{ github.event.inputs.debug }} + permissions: + contents: write From 865e37884ce7472f216a015fcd650811ed28560b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:49:10 +0000 Subject: [PATCH 243/982] added fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/fork-update-pr.yaml diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml new file mode 100644 index 000000000..66315c238 --- /dev/null +++ b/.github/workflows/fork-update-pr.yaml @@ -0,0 +1,36 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/harisekhon +# + +--- +name: Fork Update PR + +on: + workflow_dispatch: + inputs: + debug: + type: string + required: false + schedule: + # fork-sync happens for default branch every hour, so just after that, run PRs for branches + - cron: '2 10 * * 2' + +jobs: + fork_update_pr: + if: github.repository_owner != 'HariSekhon' + name: Fork Update PR + uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update-pr.yaml@master + with: + debug: ${{ github.event.inputs.debug }} + permissions: + contents: write + pull-requests: write From 29b997ba45497e1726f6497ebfbbe56494e07490 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:49:37 +0000 Subject: [PATCH 244/982] removed .github/workflows/fork-update.yaml --- .github/workflows/fork-update.yaml | 34 ------------------------------ 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/fork-update.yaml diff --git a/.github/workflows/fork-update.yaml b/.github/workflows/fork-update.yaml deleted file mode 100644 index 7239ea515..000000000 --- a/.github/workflows/fork-update.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# -# Author: Hari Sekhon -# Date: Tue Feb 4 09:53:28 2020 +0000 -# -# vim:ts=2:sts=2:sw=2:et -# -# https://github.com/HariSekhon/DevOps-Python-tools -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback -# -# https://www.linkedin.com/in/harisekhon -# - ---- -name: Fork Update - -on: - workflow_dispatch: - inputs: - debug: - type: string - required: false - schedule: - - cron: '0 10 * * 2' - -jobs: - fork_update: - name: Fork Update - uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update.yaml@master - with: - debug: ${{ github.event.inputs.debug }} - permissions: - contents: write - pull-requests: write From 0215861686be3ee86ae89b6ca2d4de8b087b424f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:49 +0000 Subject: [PATCH 245/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index a92204784..d15d6b66b 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Alpine uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master with: From a7039159e2839a128fcfc223f59c1efadffe54d4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:50 +0000 Subject: [PATCH 246/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 4b0cb4170..bbcd13ce3 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Alpine 3 uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master with: From 4124f8dc89b2e5d09edbee7a8a7592feaae3d20e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:50 +0000 Subject: [PATCH 247/982] updated centos.yaml --- .github/workflows/centos.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index ff1e33598..050cf439d 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: CentOS uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: From 4f207ced80d45d2bfa8c8bbcde54c26d35fa9b86 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:50 +0000 Subject: [PATCH 248/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 588f5de59..876a9b969 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: CentOS 7 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: From 2a28ec495b2ce83011962023f60efb5fc11edcfd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:51 +0000 Subject: [PATCH 249/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 23aeb1c79..a5ec3ec2a 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: CentOS 8 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: From 0ffb0b317883095ab4851936beba920394ac953c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:51 +0000 Subject: [PATCH 250/982] updated checkov.yaml --- .github/workflows/checkov.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index a31ba133a..acb4d2f98 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -37,6 +37,7 @@ on: jobs: checkov: + if: github.repository_owner == 'HariSekhon' name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master permissions: From bbf6a1fc07cadd63dff00f7a1674bf8822abd758 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:51 +0000 Subject: [PATCH 251/982] updated debian.yaml --- .github/workflows/debian.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 0ac7e1f3e..80950d765 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From 553b673faaf1d44fd1eef2f89dcac8174f572e67 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:52 +0000 Subject: [PATCH 252/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 7763b32f2..bc2d060e1 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian 10 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From d53f5159a9951fae92799854f6e4ac7eb5b4071d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:52 +0000 Subject: [PATCH 253/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 8d043b023..426904fbe 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian 8 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From 36d86213770922e4fd401edf45418537893ccff6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 18:51:52 +0000 Subject: [PATCH 254/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 6a9c34723..490f89be6 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian 9 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From fd931e99636e5b1baa003acedb4a9112cf060ebc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:02:18 +0000 Subject: [PATCH 255/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index e71685633..9fa298875 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit e71685633a9bf9d8aa19dc9f9597194e4ce5eae4 +Subproject commit 9fa298875fe72586ff61dc2816fb0bc2b0683f93 From 75d5e1f01f342a1199338c3ed8b6eded844ed60a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:02:18 +0000 Subject: [PATCH 256/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 4fa30554f..aaf5fd06b 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 4fa30554fc746d5eb90e374c7782bc1bef7f6c47 +Subproject commit aaf5fd06bfa092b87cfbe02557a39678177f8ef6 From a3ebc23158feb58e7210dc97548dd839319122c9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:02:18 +0000 Subject: [PATCH 257/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 103a1543f..5b548e01b 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 103a1543fa73a0adf4f0af710fcf04d099500170 +Subproject commit 5b548e01bb60dd9a3660e5934f9930f4de10a3b5 From 3b4ea49f097b0dffc89dd0b1cf894cb0c1a5b6a2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:02:18 +0000 Subject: [PATCH 258/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9b14e6b9b..2e4052f28 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9b14e6b9be41fd29ba76a585bd490721be05b2d6 +Subproject commit 2e4052f282510229f388b3a9b589373a11cf1afd From 5449c6c9b5be5626ccf61e8bd326990d878c73e8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:15 +0000 Subject: [PATCH 259/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 99015df89..e00e7a596 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian 6 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From 340211a6bf77974c55f5a79b1431be4fc2c73c60 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:15 +0000 Subject: [PATCH 260/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 3dea635f2..9b43ff3d6 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Debian 7 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: From cc5f606baf71839ae1ce02616aaf5751c002339a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:15 +0000 Subject: [PATCH 261/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index c893bc2cf..605ea0075 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Fedora uses: HariSekhon/GitHub-Actions/.github/workflows/fedora.yaml@master #with: From 73963c1c732510de80c034b76200e707459ee3ab Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:17 +0000 Subject: [PATCH 262/982] updated mac.yaml --- .github/workflows/mac.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index ea6c12828..9a815ad32 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Mac uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: From 10ef68716bc728022dd80874eb1e9fb19675da92 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:17 +0000 Subject: [PATCH 263/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index b5c50bc4c..89cb7efbc 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Mac 10.15 uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: From 1e0b033015eadc849368c40939e01c6a5ff8e1c5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:17 +0000 Subject: [PATCH 264/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index 489d1bcc4..a680ff327 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -27,6 +27,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: PyPy2 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From 47bb0171e97ff9de9d50db4fd03c6276c5665255 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:18 +0000 Subject: [PATCH 265/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 5c0e12095..451646399 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -27,6 +27,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: PyPy3 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From 72934f8236afea4a8b83cc739c6189865650d1f0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:18 +0000 Subject: [PATCH 266/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index c58d3aaa9..6915ea644 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Python 2.7 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From 27e1b6e85389944c97f5868bbdd40d9566c36111 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:18 +0000 Subject: [PATCH 267/982] updated python3.5.yaml --- .github/workflows/python3.5.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index 659bbc6f6..c0e6338f9 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Python 3.5 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From bdaec41a4b9235efc09f87211233136a5fbf8eb7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:19 +0000 Subject: [PATCH 268/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index b325c9523..697177f9d 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -28,10 +28,9 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Python 3.6 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master - #with: - # debug: 1 with: version: 3.6 #debug: 1 From 091212ddf8c2a0f7e8bdc59e4d8586fd27035a72 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:19 +0000 Subject: [PATCH 269/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 413e03916..1af8b107b 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Python 3.7 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From f606e8fcb39eec9ab7e53fce4dda05664640407e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:19 +0000 Subject: [PATCH 270/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 9621587bb..84178955e 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Python 3.8 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: From 2cd4e2861042109654a16fc27f1130efa89627a7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:20 +0000 Subject: [PATCH 271/982] updated semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index d18460b45..2de0d75c4 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -35,6 +35,7 @@ on: jobs: semgrep: + if: github.repository_owner == 'HariSekhon' name: Semgrep Cloud uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master secrets: From 84a4076e254cf64e3b992e172d9258c010884e94 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:20 +0000 Subject: [PATCH 272/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index af3635d78..692b735f5 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -37,6 +37,7 @@ on: jobs: semgrep: + if: github.repository_owner == 'HariSekhon' name: Semgrep GitHub Security Tab uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master permissions: From 76c380520b2ab92c42cbddeab9bf74aa7cf97cda Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:20 +0000 Subject: [PATCH 273/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 07c4af459..5a803936b 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Ubuntu uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: From 63cb1babaf2aacfd5e8c9a40b4dca6c1e1acf6fd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:20 +0000 Subject: [PATCH 274/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 561d7cfda..40f27c66a 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Ubuntu 14.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: From 2cec6d28290145168f4e9848cc6673c0c9caa2a4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:21 +0000 Subject: [PATCH 275/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 59d45e0ae..d5a04dc36 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Ubuntu 16.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: From 685a4ed5ad26bcbc37e00ea81248067f506f99e9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:21 +0000 Subject: [PATCH 276/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index d3818d27d..da34f3b15 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Ubuntu 18.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: From 1e85ac81707ac26e979c576eee257ace838b319d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:21 +0000 Subject: [PATCH 277/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 7ceee32d7..589268833 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: Ubuntu 20.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: From 5501698916ff88f0b73642037689c1bca20f0729 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:12:22 +0000 Subject: [PATCH 278/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 4c463496a..c136b4300 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -28,6 +28,7 @@ concurrency: jobs: build: + if: github.repository_owner == 'HariSekhon' name: GitHub Ubuntu uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master #with: From 4cd5d13d059bdc212433041431f127822d55cab9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:15:42 +0000 Subject: [PATCH 279/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9fa298875..ddc454546 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9fa298875fe72586ff61dc2816fb0bc2b0683f93 +Subproject commit ddc4545469696c0f6e85370312bf95262c720764 From 04c5f7896e45c77f4a05f6af7e5b43f459924ee0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:15:42 +0000 Subject: [PATCH 280/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index aaf5fd06b..5fa1537ed 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit aaf5fd06bfa092b87cfbe02557a39678177f8ef6 +Subproject commit 5fa1537ed9358b5bba786c80826d3dd71485bd39 From 26be37c87b3019e7cf3b3eed19361f22948de81b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:15:42 +0000 Subject: [PATCH 281/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 5b548e01b..93f740043 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 5b548e01bb60dd9a3660e5934f9930f4de10a3b5 +Subproject commit 93f740043fc57911b4927172f98c7e74f6d1916f From d5a9d19af5fc728d7176b925e87f943c5c180449 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Feb 2022 19:15:42 +0000 Subject: [PATCH 282/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 2e4052f28..02a6260ff 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 2e4052f282510229f388b3a9b589373a11cf1afd +Subproject commit 02a6260ff23b207e9d42506a2b016b9093243018 From b3ec6524b4c0f5469f1e066f07a081e0bde4e75b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 18:51:04 +0000 Subject: [PATCH 283/982] switched to more generic disabling repository forks --- .github/workflows/alpine.yaml | 2 +- .github/workflows/alpine_3.yaml | 2 +- .github/workflows/centos.yaml | 2 +- .github/workflows/centos7.yaml | 2 +- .github/workflows/centos8.yaml | 2 +- .github/workflows/checkov.yaml | 2 +- .github/workflows/debian.yaml | 2 +- .github/workflows/debian_10.yaml | 2 +- .github/workflows/debian_8.yaml | 2 +- .github/workflows/debian_9.yaml | 2 +- .github/workflows/fedora.yaml | 2 +- .github/workflows/mac.yaml | 2 +- .github/workflows/mac_10.15.yaml | 2 +- .github/workflows/pypy2.yaml | 2 +- .github/workflows/pypy3.yaml | 2 +- .github/workflows/python2.7.yaml | 2 +- .github/workflows/python3.5.yaml | 2 +- .github/workflows/python3.6.yaml | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/semgrep-cloud.yaml | 2 +- .github/workflows/semgrep.yaml | 2 +- .github/workflows/ubuntu.yaml | 2 +- .github/workflows/ubuntu_14.04.yaml | 2 +- .github/workflows/ubuntu_16.04.yaml | 2 +- .github/workflows/ubuntu_18.04.yaml | 2 +- .github/workflows/ubuntu_20.04.yaml | 2 +- .github/workflows/ubuntu_github.yaml | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index d15d6b66b..0e8afe880 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Alpine uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master with: diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index bbcd13ce3..0f9112eb1 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Alpine 3 uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master with: diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 050cf439d..9e3f071e7 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: CentOS uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 876a9b969..275c52047 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: CentOS 7 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index a5ec3ec2a..4fa2d3a34 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: CentOS 8 uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master with: diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index acb4d2f98..c1a53e190 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -37,7 +37,7 @@ on: jobs: checkov: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master permissions: diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 80950d765..827ba4458 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index bc2d060e1..c251bb27b 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian 10 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 426904fbe..30b677c31 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian 8 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 490f89be6..4eb3965b2 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian 9 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 605ea0075..1ebb473dc 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Fedora uses: HariSekhon/GitHub-Actions/.github/workflows/fedora.yaml@master #with: diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 9a815ad32..eac5b8d7d 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Mac uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 89cb7efbc..840fc38c3 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Mac 10.15 uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index a680ff327..e3631d1e9 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -27,7 +27,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: PyPy2 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 451646399..a8fba700c 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -27,7 +27,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: PyPy3 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 6915ea644..9a73aedad 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Python 2.7 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index c0e6338f9..5797d5469 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Python 3.5 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 697177f9d..d561a026c 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Python 3.6 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 1af8b107b..2bef6faf8 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Python 3.7 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 84178955e..c1432111c 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Python 3.8 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 2de0d75c4..9437a66a8 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -35,7 +35,7 @@ on: jobs: semgrep: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Semgrep Cloud uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master secrets: diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 692b735f5..216ce7971 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -37,7 +37,7 @@ on: jobs: semgrep: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Semgrep GitHub Security Tab uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master permissions: diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 5a803936b..9139cdf3a 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Ubuntu uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 40f27c66a..0ecd25dcd 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Ubuntu 14.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index d5a04dc36..fca6a638d 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Ubuntu 16.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index da34f3b15..47f30eb7b 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Ubuntu 18.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 589268833..5343bf74d 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Ubuntu 20.04 uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master with: diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index c136b4300..6d938de27 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: GitHub Ubuntu uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master #with: From 38146c5d2827314d7b9a1d9e3caf3e2f4e4c9045 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 19:24:00 +0000 Subject: [PATCH 284/982] updated workflows --- .github/workflows/alpine.yaml | 4 ++-- .github/workflows/alpine_3.yaml | 4 ++-- .github/workflows/centos.yaml | 4 ++-- .github/workflows/centos7.yaml | 4 ++-- .github/workflows/centos8.yaml | 4 ++-- .github/workflows/checkov.yaml | 4 ++-- .github/workflows/debian.yaml | 4 ++-- .github/workflows/debian_10.yaml | 4 ++-- .github/workflows/debian_6.yaml.disabled | 6 +++--- .github/workflows/debian_7.yaml.disabled | 6 +++--- .github/workflows/debian_8.yaml | 4 ++-- .github/workflows/debian_9.yaml | 4 ++-- .github/workflows/fedora.yaml | 4 ++-- .github/workflows/fork-sync.yaml | 2 +- .github/workflows/fork-update-pr.yaml | 2 +- .github/workflows/mac.yaml | 4 ++-- .github/workflows/mac_10.15.yaml | 4 ++-- .github/workflows/pypy2.yaml | 2 +- .github/workflows/pypy3.yaml | 2 +- .github/workflows/python2.7.yaml | 2 +- .github/workflows/python3.5.yaml | 2 +- .github/workflows/python3.6.yaml | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/semgrep-cloud.yaml | 4 ++-- .github/workflows/semgrep.yaml | 4 ++-- .github/workflows/ubuntu.yaml | 4 ++-- .github/workflows/ubuntu_14.04.yaml | 4 ++-- .github/workflows/ubuntu_16.04.yaml | 4 ++-- .github/workflows/ubuntu_18.04.yaml | 4 ++-- .github/workflows/ubuntu_20.04.yaml | 4 ++-- .github/workflows/ubuntu_github.yaml | 4 ++-- 32 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 0e8afe880..bf4134967 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 0f9112eb1..c6de94896 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 9e3f071e7..8aae78cc4 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 275c52047..5ae6adf3d 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 4fa2d3a34..3fddfa1c0 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index c1a53e190..12bcbb362 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/templates +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # ============================================================================ # diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 827ba4458..d022f6947 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index c251bb27b..fbf1f1c8d 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index e00e7a596..1f09cf7b4 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian 6 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 9b43ff3d6..2f5e67683 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- @@ -28,7 +28,7 @@ concurrency: jobs: build: - if: github.repository_owner == 'HariSekhon' + if: github.event.repository.fork == false name: Debian 7 uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master with: diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 30b677c31..92410bbb5 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 4eb3965b2..6cb201a1e 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 1ebb473dc..5cae17abe 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index aa17a532e..6d6501c3c 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 66315c238..d3f47e00a 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index eac5b8d7d..83fd21b69 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 840fc38c3..c982de7ec 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index e3631d1e9..dd1e67dd8 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # name: PyPy 2 diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index a8fba700c..3ab09c687 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # name: PyPy 3 diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 9a73aedad..76ddb6c87 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index 5797d5469..cccd0f02e 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index d561a026c..7f6e22b37 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 2bef6faf8..12c884d26 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index c1432111c..64940428c 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 9437a66a8..50d6a29ce 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/templates +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # ============================================================================ # diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 216ce7971..0de705b2d 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/templates +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # ============================================================================ # diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 9139cdf3a..ccbf75603 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 0ecd25dcd..a3e08b941 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index fca6a638d..f1ebcd56b 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 47f30eb7b..d412b867f 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 5343bf74d..56b89774a 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 6d938de27..74a224dc3 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -4,11 +4,11 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/DevOps-Python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- From ab151897c3f141533988778a727858353a7c5199 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 19:27:07 +0000 Subject: [PATCH 285/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index ddc454546..706664f7b 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit ddc4545469696c0f6e85370312bf95262c720764 +Subproject commit 706664f7bb88c512bdada2b9480496238896ac35 From 24f6d722c85d5e135445944b78956df9c2ea3378 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 19:27:07 +0000 Subject: [PATCH 286/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 5fa1537ed..77cf6f982 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 5fa1537ed9358b5bba786c80826d3dd71485bd39 +Subproject commit 77cf6f9821c1056c890e845d2044c634f0f6903c From dc49b29e5266a97ef4df5517179d38b646b01171 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 19:27:07 +0000 Subject: [PATCH 287/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 93f740043..1774fc022 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 93f740043fc57911b4927172f98c7e74f6d1916f +Subproject commit 1774fc022907673f5c2690bab98dff2e6bbadc50 From c542dcc0745bae6000e4715de53f8e0a88e9a476 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 19:27:07 +0000 Subject: [PATCH 288/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 02a6260ff..2118def3c 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 02a6260ff23b207e9d42506a2b016b9093243018 +Subproject commit 2118def3c6c352018d9e630753314397bf9a5511 From 8d5cb4da7623b7d905f17f62fab589f1e4a4e97b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:33:14 +0000 Subject: [PATCH 289/982] switched to make reusable workflow --- .github/workflows/alpine.yaml | 8 ++++---- .github/workflows/alpine_3.yaml | 8 ++++---- .github/workflows/centos.yaml | 8 ++++---- .github/workflows/centos7.yaml | 8 ++++---- .github/workflows/centos8.yaml | 8 ++++---- .github/workflows/debian.yaml | 8 ++++---- .github/workflows/debian_10.yaml | 8 ++++---- .github/workflows/debian_6.yaml.disabled | 8 ++++---- .github/workflows/debian_7.yaml.disabled | 8 ++++---- .github/workflows/debian_8.yaml | 8 ++++---- .github/workflows/debian_9.yaml | 8 ++++---- .github/workflows/fedora.yaml | 11 ++++++----- .github/workflows/ubuntu.yaml | 8 ++++---- .github/workflows/ubuntu_14.04.yaml | 8 ++++---- .github/workflows/ubuntu_16.04.yaml | 8 ++++---- .github/workflows/ubuntu_18.04.yaml | 8 ++++---- .github/workflows/ubuntu_20.04.yaml | 8 ++++---- .github/workflows/ubuntu_github.yaml | 4 ++-- 18 files changed, 72 insertions(+), 71 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index bf4134967..e1ccb2f59 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Alpine - uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest + container: alpine:latest #debug: 1 diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index c6de94896..d09654eca 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Alpine 3 - uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3 + container: alpine:3 #debug: 1 diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 8aae78cc4..5c7547a49 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest + container: centos:latest #debug: 1 diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 5ae6adf3d..8c4dc9246 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS 7 - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 7 + container: centos:7 #debug: 1 diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 3fddfa1c0..910f3728d 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS 8 - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 8 + container: centos:8 #debug: 1 diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index d022f6947..e8b5b2cdb 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest + container: debian:latest #debug: 1 diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index fbf1f1c8d..523a7487f 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 10 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 10 + container: debian:10 #debug: 1 diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 1f09cf7b4..1192fe4f7 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 6 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 6 + container: debian:6 #debug: 1 diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 2f5e67683..037d7b786 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 7 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 7 + container: debian:7 #debug: 1 diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 92410bbb5..514676132 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 8 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 8 + container: debian:8 #debug: 1 diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 6cb201a1e..3e2bbcbca 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 9 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 9 + container: debian:9 #debug: 1 diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 5cae17abe..91ff894ce 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -27,9 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Fedora - uses: HariSekhon/GitHub-Actions/.github/workflows/fedora.yaml@master - #with: - # debug: 1 + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master + with: + container: fedora + #debug: 1 diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index ccbf75603..9aad63ce7 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest + container: ubuntu:latest #debug: 1 diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index a3e08b941..b586ad6aa 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 14.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 14.04 + container: ubuntu:14.04 #debug: 1 diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index f1ebcd56b..b021f2b27 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 16.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 16.04 + container: ubuntu:16.04 #debug: 1 diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index d412b867f..c56f3f0af 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 18.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 18.04 + container: ubuntu:18.04 #debug: 1 diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 56b89774a..8812e844c 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -27,10 +27,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 20.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 20.04 + container: ubuntu:20.04 #debug: 1 diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 74a224dc3..7d7d473f3 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -27,9 +27,9 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: GitHub Ubuntu + name: Make uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master #with: # debug: 1 From a8c3f391a7a59b8c58a37bda8f8ad093814dc8e6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:42:13 +0000 Subject: [PATCH 290/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 706664f7b..ce2cb27e3 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 706664f7bb88c512bdada2b9480496238896ac35 +Subproject commit ce2cb27e36aec14f01a89269793a7311d9e3588b From 688101213e83fdc174406851f82a1b5e40c557fd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:42:13 +0000 Subject: [PATCH 291/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 77cf6f982..970d9f9fc 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 77cf6f9821c1056c890e845d2044c634f0f6903c +Subproject commit 970d9f9fc46d4d0c45952f83f7a0c53b5a959269 From 67653e6f7f59de7767a0117bb6dde88720c83be3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:42:13 +0000 Subject: [PATCH 292/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 2118def3c..e0212e355 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 2118def3c6c352018d9e630753314397bf9a5511 +Subproject commit e0212e35502da33ecfeb2be88513c9053a6eab78 From aad5ba39ca788874abce90d692a3e0e005b29f2d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:48:32 +0000 Subject: [PATCH 293/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index ce2cb27e3..1db94d597 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit ce2cb27e36aec14f01a89269793a7311d9e3588b +Subproject commit 1db94d597a27f6afe7c74e1d9c83ae3102c94bf7 From 5ff3247784627ea858d93284e7b1240b45d04405 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:48:32 +0000 Subject: [PATCH 294/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 970d9f9fc..d86ca01bc 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 970d9f9fc46d4d0c45952f83f7a0c53b5a959269 +Subproject commit d86ca01bcfc1f293310bc956c167fdb0c7dc6a2e From 635e14f3f3bd5a6096164fbde553a30d0e9869a7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:48:33 +0000 Subject: [PATCH 295/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index e0212e355..2d710885e 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit e0212e35502da33ecfeb2be88513c9053a6eab78 +Subproject commit 2d710885e8c010f4de5e852cd91b0be9fc24e3f3 From fa8c87b916392eebe1c72780551025e5d79268cb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:54:19 +0000 Subject: [PATCH 296/982] added yaml.yaml --- .github/workflows/yaml.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/yaml.yaml diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml new file mode 100644 index 000000000..e939446a6 --- /dev/null +++ b/.github/workflows/yaml.yaml @@ -0,0 +1,34 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: YAML + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' + +jobs: + check_yaml: + if: github.event.repository.fork == false + name: Check YAML + uses: HariSekhon/GitHub-Actions/.github/workflows/yaml.yaml@master From 12646de550ba296cf26e4a058e9a1cc1cc723c8f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 18 Feb 2022 23:57:45 +0000 Subject: [PATCH 297/982] added json.yaml --- .github/workflows/json.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/json.yaml diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml new file mode 100644 index 000000000..d42ced6d8 --- /dev/null +++ b/.github/workflows/json.yaml @@ -0,0 +1,34 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: JSON + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' + +jobs: + check_json: + if: github.event.repository.fork == false + name: Check JSON + uses: HariSekhon/GitHub-Actions/.github/workflows/json.yaml@master From 6f5a551e7b3328c53ddb3653998c3646fe7b7f3f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 16:27:43 +0000 Subject: [PATCH 298/982] added .checkov.yaml --- .checkov.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .checkov.yaml diff --git a/.checkov.yaml b/.checkov.yaml new file mode 100644 index 000000000..8962e2283 --- /dev/null +++ b/.checkov.yaml @@ -0,0 +1,48 @@ +# +# Author: Hari Sekhon +# Date: 2022-02-21 16:53:29 +0000 (Mon, 21 Feb 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# C h e c k o v c o n f i g +# ============================================================================ # + +# https://github.com/bridgecrewio/checkov#configuration-using-a-config-file +# +# This is not well documented but the fields seem to be the same as: +# +# checkov --help +# +# See master template at: +# +# https://github.com/HariSekhon/Templates/blob/master/.checkov.yaml + +--- +compact: true +directory: + - . +skip-path: + - bash-tools + - pylib + - sql + - templates +docker-image: harisekhon/pytools +download-external-modules: true # without this gets lots of annoying warning lines such as '2022-02-22 16:14:40,180 [MainThread ] [WARNI] Failed to download module x/y/z:n.n.n' +framework: + - all +no-guide: true +output: cli +quiet: true +repo-id: HariSekhon/DevOps-Python-tools # what to report to Bridgecrew Cloud - without this gets annoying duplicate repos such as 'harisekhon_cli_repo/pytools' +skip-suppressions: true +soft-fail: true From c7467b25b97c47b926929be4d804120d5349b5ce Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 18:41:44 +0000 Subject: [PATCH 299/982] added .editorconfig --- .editorconfig | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..268166e72 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,78 @@ +# vim:ts=4:sts=4:sw=4:et +# +# Author: Hari Sekhon +# Date: 2015-10-31 19:04:34 +0000 (Sat, 31 Oct 2015) +# +# https://github.com/harisekhon/devops-python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# to help improve or steer this or other code I publish +# +# http://www.linkedin.com/in/harisekhon +# + +# http://EditorConfig.org + +# stop recursing upwards for other .editorconfig files +root = true + +# Unix-style newlines with a newline ending every file +[*] +indent_size = 4 +indent_style = space +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.go] +indent_size = 4 +indent_style = tab +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[Makefile] +indent_size = 4 +indent_style = tab +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +indent_size = 2 +indent_style = space +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[.*] +indent_size = 4 +indent_style = space +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +# ============================================================================ # +# Older Stuff, don't think I use this any more +# ============================================================================ # + +# Matches multiple files with brace expansion notation +# Set default charset +#[*.{js,py}] +#charset = utf-8 + +# Indentation override for all JS under lib directory +#[lib/**.js] +#indent_style = space +#indent_size = 2 + +# Matches the exact files either package.json or .travis.yml +#[{package.json,.travis.yml}] +#indent_style = space +#indent_size = 2 + +#[*.xml] +#indent_style = space +#indent_size = 2 From bd70bc0208c6ad538db66d2bebfc8a712164ff67 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 19:01:49 +0000 Subject: [PATCH 300/982] added debug passthrough --- .github/workflows/alpine.yaml | 15 ++++++++++----- .github/workflows/alpine_3.yaml | 15 ++++++++++----- .github/workflows/centos.yaml | 15 ++++++++++----- .github/workflows/centos7.yaml | 15 ++++++++++----- .github/workflows/centos8.yaml | 15 ++++++++++----- .github/workflows/checkov.yaml | 5 +++++ .github/workflows/debian.yaml | 15 ++++++++++----- .github/workflows/debian_10.yaml | 15 ++++++++++----- .github/workflows/debian_6.yaml.disabled | 15 ++++++++++----- .github/workflows/debian_7.yaml.disabled | 15 ++++++++++----- .github/workflows/debian_8.yaml | 15 ++++++++++----- .github/workflows/debian_9.yaml | 15 ++++++++++----- .github/workflows/fedora.yaml | 16 +++++++++++----- .github/workflows/fork-sync.yaml | 3 ++- .github/workflows/fork-update-pr.yaml | 3 ++- .github/workflows/mac.yaml | 7 ++++++- .github/workflows/mac_10.15.yaml | 7 ++++++- .github/workflows/pypy2.yaml | 7 ++++++- .github/workflows/pypy3.yaml | 7 ++++++- .github/workflows/python2.7.yaml | 7 ++++++- .github/workflows/python3.5.yaml | 7 ++++++- .github/workflows/python3.6.yaml | 7 ++++++- .github/workflows/python3.7.yaml | 7 ++++++- .github/workflows/python3.8.yaml | 7 ++++++- .github/workflows/semgrep-cloud.yaml | 5 +++++ .github/workflows/semgrep.yaml | 5 +++++ .github/workflows/ubuntu.yaml | 15 ++++++++++----- .github/workflows/ubuntu_14.04.yaml | 15 ++++++++++----- .github/workflows/ubuntu_16.04.yaml | 15 ++++++++++----- .github/workflows/ubuntu_18.04.yaml | 15 ++++++++++----- .github/workflows/ubuntu_20.04.yaml | 15 ++++++++++----- .github/workflows/ubuntu_github.yaml | 13 +++++++++---- 32 files changed, 253 insertions(+), 100 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index bf4134967..659a61612 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Alpine - uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest - #debug: 1 + container: alpine:latest + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index c6de94896..26088e8ec 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Alpine 3 - uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3 - #debug: 1 + container: alpine:3 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 8aae78cc4..901a90e9f 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest - #debug: 1 + container: centos:latest + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 5ae6adf3d..6e3ebb0e6 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS 7 - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 7 - #debug: 1 + container: centos:7 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 3fddfa1c0..e782ababf 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: CentOS 8 - uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 8 - #debug: 1 + container: centos:8 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 12bcbb362..85e629364 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -32,6 +32,11 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index d022f6947..ed706c124 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest - #debug: 1 + container: debian:latest + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index fbf1f1c8d..e2aa2395d 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 10 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 10 - #debug: 1 + container: debian:10 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 1f09cf7b4..c04220d48 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 6 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 6 - #debug: 1 + container: debian:6 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 2f5e67683..26f23cce1 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 7 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 7 - #debug: 1 + container: debian:7 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 92410bbb5..d551a85c0 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 8 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 8 - #debug: 1 + container: debian:8 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 6cb201a1e..d92ec4607 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Debian 9 - uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 9 - #debug: 1 + container: debian:9 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 5cae17abe..a83cad0c7 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,9 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Fedora - uses: HariSekhon/GitHub-Actions/.github/workflows/fedora.yaml@master - #with: - # debug: 1 + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master + with: + container: fedora + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 6d6501c3c..98331b7d8 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -18,8 +18,9 @@ on: workflow_dispatch: inputs: debug: - type: string + type: boolean required: false + default: false schedule: - cron: '0 * * * *' diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index d3f47e00a..d3b156e38 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -18,8 +18,9 @@ on: workflow_dispatch: inputs: debug: - type: string + type: boolean required: false + default: false schedule: # fork-sync happens for default branch every hour, so just after that, run PRs for branches - cron: '2 10 * * 2' diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 83fd21b69..09049616c 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: version: latest - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index c982de7ec..8f328ca80 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: version: 10.15 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index dd1e67dd8..a625697b6 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -18,6 +18,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -32,4 +37,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy2 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 3ab09c687..c0ba3825e 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -18,6 +18,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -32,4 +37,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy3 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 76ddb6c87..beca7bcda 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 2.7 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index cccd0f02e..fa0f7ddbf 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.5 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 7f6e22b37..5639271ab 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.6 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 12c884d26..25a455a85 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.7 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 64940428c..095e991ac 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -33,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.8 - #debug: 1 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 50d6a29ce..0b7e88f01 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -30,6 +30,11 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 0de705b2d..ecb59b85f 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -32,6 +32,11 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index ccbf75603..ff42db345 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest - #debug: 1 + container: ubuntu:latest + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index a3e08b941..53a46cf08 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 14.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 14.04 - #debug: 1 + container: ubuntu:14.04 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index f1ebcd56b..44c7399e7 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 16.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 16.04 - #debug: 1 + container: ubuntu:16.04 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index d412b867f..e8aca96c3 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 18.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 18.04 - #debug: 1 + container: ubuntu:18.04 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 56b89774a..f5e017c96 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,10 +32,10 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Ubuntu 20.04 - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 20.04 - #debug: 1 + container: ubuntu:20.04 + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 74a224dc3..f6a2a69f4 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -19,6 +19,11 @@ on: branches: - master workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 7 * * *' @@ -27,9 +32,9 @@ concurrency: cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: GitHub Ubuntu + name: Make uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master - #with: - # debug: 1 + with: + # debug: true From f8ba2a996acadf6c110c383806f218a1f73d8851 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 19:53:56 +0000 Subject: [PATCH 301/982] moved permissions key to top and added missing concurrency build auto-cancellations --- .github/workflows/checkov.yaml | 11 +++++++---- .github/workflows/fork-sync.yaml | 9 +++++++-- .github/workflows/fork-update-pr.yaml | 11 ++++++++--- .github/workflows/semgrep-cloud.yaml | 4 ++++ .github/workflows/semgrep.yaml | 13 +++++++++---- .github/workflows/ubuntu_github.yaml | 2 +- 6 files changed, 36 insertions(+), 14 deletions(-) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 85e629364..d05b53148 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -40,12 +40,15 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + actions: read + contents: read + security-events: write + jobs: checkov: if: github.event.repository.fork == false name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master - permissions: - actions: read - contents: read - security-events: write + with: + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 98331b7d8..fd91109e2 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -24,6 +24,13 @@ on: schedule: - cron: '0 * * * *' +permissions: + contents: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false + jobs: fork_sync: if: github.repository_owner != 'HariSekhon' @@ -31,5 +38,3 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master with: debug: ${{ github.event.inputs.debug }} - permissions: - contents: write diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index d3b156e38..12449fb36 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -25,6 +25,14 @@ on: # fork-sync happens for default branch every hour, so just after that, run PRs for branches - cron: '2 10 * * 2' +permissions: + contents: write + pull-requests: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: false + jobs: fork_update_pr: if: github.repository_owner != 'HariSekhon' @@ -32,6 +40,3 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update-pr.yaml@master with: debug: ${{ github.event.inputs.debug }} - permissions: - contents: write - pull-requests: write diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 0b7e88f01..da4ccbdbd 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -38,6 +38,10 @@ on: schedule: - cron: '0 0 * * 1' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: semgrep: if: github.event.repository.fork == false diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index ecb59b85f..410e63c0f 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -40,12 +40,17 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + actions: read + contents: read + security-events: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: semgrep: if: github.event.repository.fork == false name: Semgrep GitHub Security Tab uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master - permissions: - actions: read - contents: read - security-events: write diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index f6a2a69f4..83a9e46c8 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -37,4 +37,4 @@ jobs: name: Make uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master with: - # debug: true + debug: ${{ github.event.inputs.debug }} From bbf552ad3fbf71333816f360c1c55daaaada8640 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 20:06:59 +0000 Subject: [PATCH 302/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 1db94d597..57ea4e7cf 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 1db94d597a27f6afe7c74e1d9c83ae3102c94bf7 +Subproject commit 57ea4e7cf483d6faecf630bc0b1173f80ab127d4 From acc023e945f335442b2256472144cc9983e05802 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 20:06:59 +0000 Subject: [PATCH 303/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index d86ca01bc..eae777b99 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit d86ca01bcfc1f293310bc956c167fdb0c7dc6a2e +Subproject commit eae777b99fb25d19587b0c0f3d22c1f838ecf169 From 132b991b108146fd9813f212229aa409e3c86c08 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 20:06:59 +0000 Subject: [PATCH 304/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 1774fc022..dc6c1cd42 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 1774fc022907673f5c2690bab98dff2e6bbadc50 +Subproject commit dc6c1cd4278bda75c73dad895daa72846f4ff8e9 From b118ae872145afa0b07ad8dd5814ab11ca80e145 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 22 Feb 2022 20:06:59 +0000 Subject: [PATCH 305/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 2d710885e..1afa44055 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 2d710885e8c010f4de5e852cd91b0be9fc24e3f3 +Subproject commit 1afa44055e21a2ec8631f298e13898e7f1c8bdc3 From 72b56ece611667531b519adcf600f52a97395912 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 23 Feb 2022 00:01:01 +0000 Subject: [PATCH 306/982] tweaked debug pass through as github.event.inputs.debug isn't present in scheduled runs --- .github/workflows/alpine.yaml | 2 +- .github/workflows/alpine_3.yaml | 2 +- .github/workflows/centos.yaml | 2 +- .github/workflows/centos7.yaml | 2 +- .github/workflows/centos8.yaml | 2 +- .github/workflows/checkov.yaml | 2 +- .github/workflows/debian.yaml | 2 +- .github/workflows/debian_10.yaml | 2 +- .github/workflows/debian_6.yaml.disabled | 2 +- .github/workflows/debian_7.yaml.disabled | 2 +- .github/workflows/debian_8.yaml | 2 +- .github/workflows/debian_9.yaml | 2 +- .github/workflows/fedora.yaml | 2 +- .github/workflows/fork-sync.yaml | 2 +- .github/workflows/fork-update-pr.yaml | 2 +- .github/workflows/json.yaml | 5 +++++ .github/workflows/mac.yaml | 2 +- .github/workflows/mac_10.15.yaml | 2 +- .github/workflows/pypy2.yaml | 2 +- .github/workflows/pypy3.yaml | 2 +- .github/workflows/python2.7.yaml | 2 +- .github/workflows/python3.5.yaml | 2 +- .github/workflows/python3.6.yaml | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/ubuntu.yaml | 2 +- .github/workflows/ubuntu_14.04.yaml | 2 +- .github/workflows/ubuntu_16.04.yaml | 2 +- .github/workflows/ubuntu_18.04.yaml | 2 +- .github/workflows/ubuntu_20.04.yaml | 2 +- .github/workflows/ubuntu_github.yaml | 2 +- .github/workflows/yaml.yaml | 9 +++++++++ 32 files changed, 44 insertions(+), 30 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 659a61612..21aacec90 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:latest - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 26088e8ec..6aaab2a03 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:3 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 901a90e9f..1c611d673 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:latest - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 6e3ebb0e6..4454ab3d9 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:7 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index e782ababf..4ba82161d 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:8 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index d05b53148..2e57716ad 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -51,4 +51,4 @@ jobs: name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master with: - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index ed706c124..a733a4647 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:latest - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index e2aa2395d..813fbd9f9 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:10 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index c04220d48..94a1d5176 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:6 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 26f23cce1..5ccf6bb63 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:7 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index d551a85c0..613e1e15e 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:8 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index d92ec4607..398709d88 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:9 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index a83cad0c7..49924b3fb 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: fedora - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index fd91109e2..187feb41e 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -37,4 +37,4 @@ jobs: name: Fork Sync uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master with: - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 12449fb36..e4d89e440 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -39,4 +39,4 @@ jobs: name: Fork Update PR uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update-pr.yaml@master with: - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index d42ced6d8..4dab279cc 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -24,6 +24,11 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 09049616c..08766ad90 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: version: latest - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 8f328ca80..4d0316349 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master with: version: 10.15 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index a625697b6..cb0cfc3af 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -37,4 +37,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy2 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index c0ba3825e..fdfc2d794 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -37,4 +37,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy3 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index beca7bcda..e1d3fced4 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 2.7 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.5.yaml index fa0f7ddbf..5ebb24d18 100644 --- a/.github/workflows/python3.5.yaml +++ b/.github/workflows/python3.5.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.5 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 5639271ab..60a3b9840 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.6 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 25a455a85..093d7d27b 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.7 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 095e991ac..c925e6db7 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.8 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index ff42db345..9deae95db 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:latest - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 53a46cf08..be93c352b 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:14.04 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 44c7399e7..d5c3a1924 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:16.04 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index e8aca96c3..b363c2a92 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:18.04 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index f5e017c96..f0d393ffc 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -38,4 +38,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:20.04 - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 83a9e46c8..0f6866651 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -37,4 +37,4 @@ jobs: name: Make uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master with: - debug: ${{ github.event.inputs.debug }} + debug: ${{ github.event.inputs.debug || false }} diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index e939446a6..d416105c6 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -24,9 +24,18 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: check_yaml: if: github.event.repository.fork == false From be079535eb00b469161bc52bf3345730edd31d63 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 23 Feb 2022 23:37:09 +0000 Subject: [PATCH 307/982] updated fork-sync.yaml --- .github/workflows/fork-sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 187feb41e..f139e9617 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -22,7 +22,7 @@ on: required: false default: false schedule: - - cron: '0 * * * *' + - cron: '0 9 * * *' permissions: contents: write From 2953d2da34054e172c99dd37bd5d8aad2d7217e2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 11:35:07 +0000 Subject: [PATCH 308/982] updated validate.yaml --- .github/workflows/validate.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index cf901ed71..0594bda8b 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- @@ -24,10 +24,20 @@ on: - master - main workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false schedule: - cron: '0 0 * * 1' +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: validate: + if: github.event.repository.fork == false name: Validate uses: HariSekhon/GitHub-Actions/.github/workflows/validate.yaml@master From bcbfaa4460c4edf6073325a9203624620d8281ae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 14:00:01 +0000 Subject: [PATCH 309/982] updated CODEOWNERS --- .github/CODEOWNERS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 636853854..962ae64c7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -17,4 +17,10 @@ # Good in theory, to alert on PR changes to these code paths, but for public repos which may be forked and run .github/workflows/fork-update.yaml, this will result in a lot of spam -#* @harisekhon +# * includes changes under .github/ + +#* @harisekhon +#* @myorg/platform-engineering # team based is the way to go +#* @myorg/devops +#k8s @myorg/devops +#src/* @myorg/developers From 198336c212933ea4d17dad22b54ab9927cf6a586 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 14:50:22 +0000 Subject: [PATCH 310/982] updated CODEOWNERS --- .github/CODEOWNERS | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 962ae64c7..ad861088b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -17,10 +17,22 @@ # Good in theory, to alert on PR changes to these code paths, but for public repos which may be forked and run .github/workflows/fork-update.yaml, this will result in a lot of spam +# Tips: +# # * includes changes under .github/ +# dir/* only matches first level file changes but doesn't recurse +# dir/ recurses +# +# - CODEOWNERS in base branch of PR determines review request +# - paths are case sensitive +# - last match wins, use * at top for overall owner then override with more specific teams -#* @harisekhon -#* @myorg/platform-engineering # team based is the way to go -#* @myorg/devops -#k8s @myorg/devops -#src/* @myorg/developers +#* @harisekhon # username or email address +#* @myorg/platform-engineering # team based is the way to go - team must have Write access to the repo regardless of if individuals have access +#* @myorg/devops +#k8s @myorg/devops @myorg/sre-team +#apps/ @myorg/developers +#apps/dir2 # ignores dir2 as no owner/team specified on this line +#src/ @myorg/developers +#docs/ docs@example.com +#.github/workflows @ci-cd-team From 57d47f1ed5133cef5d9f04abdfa22fcd34404e99 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 20:29:47 +0000 Subject: [PATCH 311/982] added codeowners.yaml --- .github/workflows/codeowners.yaml | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/codeowners.yaml diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml new file mode 100644 index 000000000..c0ae12715 --- /dev/null +++ b/.github/workflows/codeowners.yaml @@ -0,0 +1,43 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Codeowners + +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 0 * * 1' + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + validate: + if: github.event.repository.fork == false + name: Validate CODEOWNERS + uses: HariSekhon/GitHub-Actions/.github/workflows/codeowners.yaml@master From ed2d55fb11c9fc94dd622d3958ce957c50af1360 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 20:56:55 +0000 Subject: [PATCH 312/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 57ea4e7cf..fcd7360af 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 57ea4e7cf483d6faecf630bc0b1173f80ab127d4 +Subproject commit fcd7360af7320590dcae536dafabfbfa3afae11e From 899248b936162e84d0fa5035838830bf42ce07d3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 20:56:55 +0000 Subject: [PATCH 313/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index eae777b99..6e7b0b552 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit eae777b99fb25d19587b0c0f3d22c1f838ecf169 +Subproject commit 6e7b0b552fd5ef9d0ad885f9909c6d8e5b765d2f From 14dc0fe8aabb0353b9f4c12436adc0b145b50df9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 20:56:55 +0000 Subject: [PATCH 314/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index dc6c1cd42..0ca10f23b 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit dc6c1cd4278bda75c73dad895daa72846f4ff8e9 +Subproject commit 0ca10f23bde76e0533c5dc85cfc325dd641de9ee From 8339dc2c903550a25907181ea8cbc1344a90398d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Feb 2022 20:56:55 +0000 Subject: [PATCH 315/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 1afa44055..c45cb02b5 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 1afa44055e21a2ec8631f298e13898e7f1c8bdc3 +Subproject commit c45cb02b56adec293d593ea501cf51821a24c090 From dacbcedd624f659676edbccb952c539e636adf51 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 25 Feb 2022 10:45:30 +0000 Subject: [PATCH 316/982] renamed .github/workflows/python3.5.yaml to .github/workflows/python3.10.yaml --- .github/workflows/{python3.5.yaml => python3.10.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{python3.5.yaml => python3.10.yaml} (100%) diff --git a/.github/workflows/python3.5.yaml b/.github/workflows/python3.10.yaml similarity index 100% rename from .github/workflows/python3.5.yaml rename to .github/workflows/python3.10.yaml From 028eca92ea47ec8f2ebdccba6c7ff160c53497da Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 25 Feb 2022 10:45:54 +0000 Subject: [PATCH 317/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 5ebb24d18..59657673a 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -12,7 +12,7 @@ # --- -name: Python 3.5 +name: Python 3.10 on: push: @@ -34,8 +34,8 @@ concurrency: jobs: build: if: github.event.repository.fork == false - name: Python 3.5 + name: Python 3.10 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: - version: 3.5 + version: 3.10 debug: ${{ github.event.inputs.debug || false }} From b7960babb4b69af2181d1f24410c12470f7e028c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 25 Feb 2022 10:47:21 +0000 Subject: [PATCH 318/982] added python3.9.yaml --- .github/workflows/python3.9.yaml | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/python3.9.yaml diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml new file mode 100644 index 000000000..f1ae3982c --- /dev/null +++ b/.github/workflows/python3.9.yaml @@ -0,0 +1,41 @@ +# +# Author: Hari Sekhon +# Date: 2020-02-04 21:40:04 +0000 (Tue, 04 Feb 2020) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Python 3.9 + +on: + push: + branches: + - master + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 7 * * *' + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + if: github.event.repository.fork == false + name: Python 3.9 + uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + with: + version: 3.9 + debug: ${{ github.event.inputs.debug || false }} From afc0fdf8f8d6d3b00e9ea5bc8ceefe8057869abf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 25 Feb 2022 10:48:10 +0000 Subject: [PATCH 319/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2445c90db..ae1ff5cdb 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,11 @@ Hari Sekhon - DevOps Python Tools [![Python versions](https://img.shields.io/badge/Python-2.7+-3776AB?logo=python&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools) [![Python 2.7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%202.7/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+2.7%22) -[![Python 3.5](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.5/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.5%22) [![Python 3.6](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.6/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.6%22) [![Python 3.7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.7/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.7%22) [![Python 3.8](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.8/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.8%22) +[![Python 3.9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.9/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.9%22) +[![Python 3.10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.10/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.10%22) [![PyPy 2](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%202/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+2%22) [![PyPy 3](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%203/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+3%22) From 9d797c6972f3379773e77c9d00f2b6076c9927c1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 13:28:18 +0000 Subject: [PATCH 320/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 0f6866651..906236af4 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -35,6 +35,6 @@ jobs: make: if: github.event.repository.fork == false name: Make - uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu_github.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: debug: ${{ github.event.inputs.debug || false }} From e633e2a6e5f2485886d698b402b801d6b6b8270f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:02 +0000 Subject: [PATCH 321/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 21aacec90..ed007352a 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:latest + caches: apk pip cpanm debug: ${{ github.event.inputs.debug || false }} From 5b2b31359a3e1a05e9ba20a67f3cf5a956d47ded Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 322/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 6aaab2a03..45290c0db 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:3 + caches: apk pip cpanm debug: ${{ github.event.inputs.debug || false }} From 04e7be1742349530646bed0ad8b494a17b3ba697 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 323/982] updated centos.yaml --- .github/workflows/centos.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 1c611d673..9e3306bfc 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:latest + caches: yum pip cpanm debug: ${{ github.event.inputs.debug || false }} From 1e4ea79fc79a5a0b34274828c1175909ff468636 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 324/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 4454ab3d9..7f116373b 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:7 + caches: yum pip cpanm debug: ${{ github.event.inputs.debug || false }} From 39fb995f35275e7c7bb5597bc3e078f302fb61b4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 325/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 4ba82161d..20dfc35c4 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:8 + caches: yum pip cpanm debug: ${{ github.event.inputs.debug || false }} From a3638521c5c848280b50141cacb50704297ec094 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 326/982] updated codeowners.yaml --- .github/workflows/codeowners.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index c0ae12715..d4e575f30 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -32,6 +32,9 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 15c0be92da5ab97a5002f833821ae79611c77ae4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:03 +0000 Subject: [PATCH 327/982] updated debian.yaml --- .github/workflows/debian.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index a733a4647..c3fd4fc9b 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:latest + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From fb319ef5d2c89609c9a55a3f5f159573a7013877 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:04 +0000 Subject: [PATCH 328/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 813fbd9f9..b76dcd103 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:10 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From c6655dae1c7a791a247f70c93f3e82e6c7a63807 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:04 +0000 Subject: [PATCH 329/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 94a1d5176..b11a56258 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:6 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From e82dfd8d2ed275527c78a0e0a00a3168dfcdfa81 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:04 +0000 Subject: [PATCH 330/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 5ccf6bb63..e523af78f 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:7 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 364a8dded1efecb9b39d0c75fe597788c07c580a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:04 +0000 Subject: [PATCH 331/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 613e1e15e..fe764801c 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:8 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 1dd4ddaf2f51b546e784a5ea057e24b7e629f762 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:04 +0000 Subject: [PATCH 332/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 398709d88..f473395da 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:9 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 7abd77f2fed7bbaff7c7502c5de8ba3efa2ed796 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:05 +0000 Subject: [PATCH 333/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 49924b3fb..b29f4c229 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: fedora + caches: yum pip cpanm debug: ${{ github.event.inputs.debug || false }} From 05a4812c47c89ecfda6f4ce3c0600e8cbe0e0975 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:05 +0000 Subject: [PATCH 334/982] updated json.yaml --- .github/workflows/json.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index 4dab279cc..b66e8cee6 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -32,6 +32,9 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + contents: read + jobs: check_json: if: github.event.repository.fork == false From 985f82224ea0755d8343c91bce5c3b2956adf4e1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:05 +0000 Subject: [PATCH 335/982] updated mac.yaml --- .github/workflows/mac.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 08766ad90..bbee846e8 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -27,15 +27,19 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Mac - uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: latest + runs-on: macos-latest + caches: brew pip cpanm debug: ${{ github.event.inputs.debug || false }} From 5be50a20225e0ffc971588c2564668c55461fa3e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:05 +0000 Subject: [PATCH 336/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index 4d0316349..f2f6a57ac 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -27,15 +27,19 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true jobs: - build: + make: if: github.event.repository.fork == false - name: Mac 10.15 - uses: HariSekhon/GitHub-Actions/.github/workflows/mac.yaml@master + name: Make + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 10.15 + runs-on: macos-10.15 + caches: brew pip cpanm debug: ${{ github.event.inputs.debug || false }} From 56a1eb7cc5e4b4fc4037c4853ddbe96e0e70bbdc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:05 +0000 Subject: [PATCH 337/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index cb0cfc3af..c89f841fa 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -26,6 +26,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 21c36b043001da8af2014039880750cab988ef62 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 338/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index fdfc2d794..ecdf83762 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -26,6 +26,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 6361ac5869bed7de5c42a6f20191db8443aadcfd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 339/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index e1d3fced4..53b6b6171 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From accbbef60a0336d5c6bd7ec017d639fce60add68 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 340/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 59657673a..3552a5a98 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -37,5 +40,5 @@ jobs: name: Python 3.10 uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: - version: 3.10 + version: "3.10" debug: ${{ github.event.inputs.debug || false }} From cea4bb065d3c595153700cc7af6c1259cc979aef Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 341/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 60a3b9840..b3e23f7fa 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From b985dce49d26e14b539918c4e30692e6c7730319 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 342/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 093d7d27b..168caa2e8 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From fc716d57a8a07692fe2952cd5f3e295a6e7e8b7f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:06 +0000 Subject: [PATCH 343/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index c925e6db7..b8ae52619 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From d579d1734efff4a3b0ac8d6a9dc8b822deff5d7d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:07 +0000 Subject: [PATCH 344/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index f1ae3982c..580830e31 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 9f83f0bbdd25288c15c806a4a50183fab050692b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:07 +0000 Subject: [PATCH 345/982] updated semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index da4ccbdbd..1e8278f7e 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -38,6 +38,9 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From b4ec7c3d6393a8e87af2d87e4d56c1186e6c78d1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:07 +0000 Subject: [PATCH 346/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 9deae95db..20c11bc5e 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:latest + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From ac808c2b717941eccdfbdc89645106856bde240b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:07 +0000 Subject: [PATCH 347/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index be93c352b..433a138f5 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:14.04 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From f7651ec3b60ceb6d508e6ac157e30f7dbe87a243 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:07 +0000 Subject: [PATCH 348/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index d5c3a1924..46daed829 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:16.04 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 1c113092e3aa8979b36d043c2383e4914293238f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:08 +0000 Subject: [PATCH 349/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index b363c2a92..b22c72cd9 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:18.04 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From de492e31675c57a903257018e443f6abf07fa8d2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:08 +0000 Subject: [PATCH 350/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index f0d393ffc..cc27c8016 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -38,4 +41,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:20.04 + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From f89e3967dc0e99ee20748de1ae4e3c2b73bbf920 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:08 +0000 Subject: [PATCH 351/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 906236af4..323631dca 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -27,6 +27,9 @@ on: schedule: - cron: '0 7 * * *' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -37,4 +40,5 @@ jobs: name: Make uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: + caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 5b9740262c95f478d89fd83655326f18fa4b69d8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:08 +0000 Subject: [PATCH 352/982] updated validate.yaml --- .github/workflows/validate.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 0594bda8b..bbdc02826 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -32,6 +32,9 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 376e27aee3256e04d38d325a10a20735122dd9f3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:39:08 +0000 Subject: [PATCH 353/982] updated yaml.yaml --- .github/workflows/yaml.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index d416105c6..c11764e11 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -32,6 +32,9 @@ on: schedule: - cron: '0 0 * * 1' +permissions: + contents: read + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true From 09a740dc794c03556ab0503bf60e8df6b25c7e59 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:47:56 +0000 Subject: [PATCH 354/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index b11a56258..bb6698b9a 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -41,5 +41,6 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:6 - caches: apt pip cpanm + # causes nodejs errors + #caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From b42d05f595a680ed4a097a3ef883bcf54e2b27f1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:47:57 +0000 Subject: [PATCH 355/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index e523af78f..216adb436 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -41,5 +41,6 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:7 - caches: apt pip cpanm + # causes nodejs errors + #caches: apt pip cpanm debug: ${{ github.event.inputs.debug || false }} From 850f12f5d9a678c6438009a78d54fa68eddd0606 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:52:40 +0000 Subject: [PATCH 356/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index fcd7360af..1f9ee12e5 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit fcd7360af7320590dcae536dafabfbfa3afae11e +Subproject commit 1f9ee12e52063c59c0620842bfe7186e91bec5a8 From e7c80a8460b1d227ac466d3a41da480505e5f374 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:52:40 +0000 Subject: [PATCH 357/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 6e7b0b552..aec17428f 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 6e7b0b552fd5ef9d0ad885f9909c6d8e5b765d2f +Subproject commit aec17428f1a946d4b2ead6b37379b84c9b625a33 From b16b3c9c5d249f98c60d01dab8e777443421f93b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:52:40 +0000 Subject: [PATCH 358/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 0ca10f23b..69aff25cb 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 0ca10f23bde76e0533c5dc85cfc325dd641de9ee +Subproject commit 69aff25cbac90c8fc97a66c0d9e4351ea659c54e From 06840d5c99cc0a788d18705e5498e118dd112712 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Mar 2022 19:52:40 +0000 Subject: [PATCH 359/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index c45cb02b5..e444f83ec 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit c45cb02b56adec293d593ea501cf51821a24c090 +Subproject commit e444f83ecb0082c0639c4df23ca24e7790955d7b From 34e75fb374570061730abff675e28baac361566c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 20 Mar 2022 19:04:09 +0000 Subject: [PATCH 360/982] updated .pylintrc --- .pylintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 65e97ab22..cd3e053f6 100644 --- a/.pylintrc +++ b/.pylintrc @@ -59,7 +59,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" -disable=import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iterating,using-cmp-argument,useless-suppression,range-builtin-not-iterating,suppressed-message,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,hex-method,nonzero-method,map-builtin-not-iterating,C0111 +disable=import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iterating,using-cmp-argument,useless-suppression,range-builtin-not-iterating,suppressed-message,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,hex-method,nonzero-method,map-builtin-not-iterating,C0111,consider-using-f-string [REPORTS] @@ -108,7 +108,7 @@ name-group= include-naming-hint=no # Regular expression matching correct function names -function-rgx=[a-z_][a-z0-9_]{2,30}$ +function-rgx=[A-Za-z_][A-Za-z0-9_]{2,30}$ # Naming hint for function names function-name-hint=[a-z_][a-z0-9_]{2,30}$ From 629beaff5a425be174916121208bc981d50ceb3c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 20 Mar 2022 19:08:08 +0000 Subject: [PATCH 361/982] updated .pylintrc --- .pylintrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index cd3e053f6..c20ac8f94 100644 --- a/.pylintrc +++ b/.pylintrc @@ -274,7 +274,15 @@ ignored-modules= # List of classes names for which member attributes should not be checked # (useful for classes with attributes dynamically set). This supports can work # with qualified names. -ignored-classes= +# +# avoids the following error: +# +# pylint -E ./check_zookeeper_version.py +# +# E: 69,12: Instance of '_socketobject' has no 'sendall' member (no-member) +# E: 70,19: Instance of '_socketobject' has no 'recv' member (no-member) +# +ignored-classes=SQLObject,_socketobject # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E1101 when accessed. Python regular From 0a61737c56e004ea6cb0a3a2293b9a5ba7001919 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 24 Mar 2022 18:47:59 +0000 Subject: [PATCH 362/982] updated debug passthrough --- .github/workflows/alpine.yaml | 2 +- .github/workflows/alpine_3.yaml | 2 +- .github/workflows/centos.yaml | 2 +- .github/workflows/centos7.yaml | 2 +- .github/workflows/centos8.yaml | 2 +- .github/workflows/checkov.yaml | 2 +- .github/workflows/debian.yaml | 2 +- .github/workflows/debian_10.yaml | 2 +- .github/workflows/debian_6.yaml.disabled | 2 +- .github/workflows/debian_7.yaml.disabled | 2 +- .github/workflows/debian_8.yaml | 2 +- .github/workflows/debian_9.yaml | 2 +- .github/workflows/fedora.yaml | 2 +- .github/workflows/fork-sync.yaml | 2 +- .github/workflows/fork-update-pr.yaml | 2 +- .github/workflows/mac.yaml | 2 +- .github/workflows/mac_10.15.yaml | 2 +- .github/workflows/pypy2.yaml | 2 +- .github/workflows/pypy3.yaml | 2 +- .github/workflows/python2.7.yaml | 2 +- .github/workflows/python3.10.yaml | 2 +- .github/workflows/python3.6.yaml | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/python3.9.yaml | 2 +- .github/workflows/ubuntu.yaml | 2 +- .github/workflows/ubuntu_14.04.yaml | 2 +- .github/workflows/ubuntu_16.04.yaml | 2 +- .github/workflows/ubuntu_18.04.yaml | 2 +- .github/workflows/ubuntu_20.04.yaml | 2 +- .github/workflows/ubuntu_github.yaml | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index ed007352a..287b2d490 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -42,4 +42,4 @@ jobs: with: container: alpine:latest caches: apk pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 45290c0db..96f31e3ab 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -42,4 +42,4 @@ jobs: with: container: alpine:3 caches: apk pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index 9e3306bfc..ed6372ec7 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -42,4 +42,4 @@ jobs: with: container: centos:latest caches: yum pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 7f116373b..681be974f 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -42,4 +42,4 @@ jobs: with: container: centos:7 caches: yum pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 20dfc35c4..9c4311285 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -42,4 +42,4 @@ jobs: with: container: centos:8 caches: yum pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 2e57716ad..d05b53148 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -51,4 +51,4 @@ jobs: name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master with: - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index c3fd4fc9b..ae2afe46e 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -42,4 +42,4 @@ jobs: with: container: debian:latest caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index b76dcd103..2656f55fd 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -42,4 +42,4 @@ jobs: with: container: debian:10 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index bb6698b9a..dff981bd2 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -43,4 +43,4 @@ jobs: container: debian:6 # causes nodejs errors #caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 216adb436..74b06b44e 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -43,4 +43,4 @@ jobs: container: debian:7 # causes nodejs errors #caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index fe764801c..6b2a6f979 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -42,4 +42,4 @@ jobs: with: container: debian:8 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index f473395da..3641c892c 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -42,4 +42,4 @@ jobs: with: container: debian:9 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index b29f4c229..2128939b8 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -42,4 +42,4 @@ jobs: with: container: fedora caches: yum pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index f139e9617..556bd80d9 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -37,4 +37,4 @@ jobs: name: Fork Sync uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master with: - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index e4d89e440..12449fb36 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -39,4 +39,4 @@ jobs: name: Fork Update PR uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update-pr.yaml@master with: - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index bbee846e8..81aaec5b1 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -42,4 +42,4 @@ jobs: with: runs-on: macos-latest caches: brew pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index f2f6a57ac..db4781fab 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -42,4 +42,4 @@ jobs: with: runs-on: macos-10.15 caches: brew pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index c89f841fa..ae3774daf 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -40,4 +40,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy2 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index ecdf83762..966741006 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -40,4 +40,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: pypy3 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 53b6b6171..bb03008d4 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 2.7 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 3552a5a98..4ba2d2cdf 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: "3.10" - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index b3e23f7fa..d94daf551 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.6 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 168caa2e8..9e2167f91 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.7 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index b8ae52619..0adb02bb5 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.8 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 580830e31..04a325e29 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master with: version: 3.9 - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 20c11bc5e..927f7edc2 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -42,4 +42,4 @@ jobs: with: container: ubuntu:latest caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 433a138f5..fff40eaa6 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -42,4 +42,4 @@ jobs: with: container: ubuntu:14.04 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 46daed829..cd96b0858 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -42,4 +42,4 @@ jobs: with: container: ubuntu:16.04 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index b22c72cd9..385bcfff6 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -42,4 +42,4 @@ jobs: with: container: ubuntu:18.04 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index cc27c8016..360a8db4e 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -42,4 +42,4 @@ jobs: with: container: ubuntu:20.04 caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 323631dca..59a9c9110 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -41,4 +41,4 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: caches: apt pip cpanm - debug: ${{ github.event.inputs.debug || false }} + debug: ${{ github.event.inputs.debug }} From 11a554febd4d3764100e4494217e214e2c5a93c1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 12:26:46 +0100 Subject: [PATCH 363/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae1ff5cdb..b0e453c94 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,13 @@ Hari Sekhon - DevOps Python Tools [![Drone](https://img.shields.io/drone/build/HariSekhon/DevOps-Python-tools/master?logo=drone&label=Drone)](https://cloud.drone.io/HariSekhon/DevOps-Python-tools) [![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) [![Codeship Status for HariSekhon/DevOps-Python-tools](https://app.codeship.com/projects/b281baa0-3c5f-0138-caef-66210e546d42/status?branch=master)](https://app.codeship.com/projects/387251) -[![Shippable](https://img.shields.io/shippable/5e52c63445c70f0007ff5144/master?label=Shippable&logo=jfrog)](https://app.shippable.com/github/HariSekhon/DevOps-Python-tools/dashboard/jobs) [![Codefresh](https://g.codefresh.io/api/badges/pipeline/harisekhon/GitHub%2FDevOps-Python-tools?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWU1MmM5OGNiM2FiOWUzM2Y3ZDZmYjM3.O69674cW7vYom3v5JOGKXDbYgCVIJU9EWhXUMHl3zwA&type=cf-1)](https://g.codefresh.io/pipelines/edit/new/builds?id=5e58e2e6353f5d1ada385bf2&pipeline=DevOps-Python-tools&projects=GitHub&projectId=5e52ca8ea284e00f882ea992&context=github&filter=page:1;pageSize:10;timeFrameStart:week) [![BuildKite](https://img.shields.io/buildkite/8377537d0d9dddf4bf32826a6bf1c4e9ab88bc265007e1882c/master?label=BuildKite&logo=buildkite)](https://buildkite.com/hari-sekhon/devops-python-tools) [![Cirrus CI](https://img.shields.io/cirrus/github/HariSekhon/DevOps-Python-tools/master?logo=Cirrus%20CI&label=Cirrus%20CI)](https://cirrus-ci.com/github/HariSekhon/DevOps-Python-tools) [![Semaphore](https://harisekhon.semaphoreci.com/badges/DevOps-Python-tools.svg)](https://harisekhon.semaphoreci.com/projects/DevOps-Python-tools) [![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) [![Buddy](https://img.shields.io/badge/Buddy-ready-1A86FD?logo=buddy)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buddy.yml) +[![Shippable](https://img.shields.io/badge/Shippable-legacy-lightgrey?logo=jfrog&label=Shippable)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/shippable.yml) [![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) From 5b51de257400d01702714b56e5786d2569ca3f55 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 12:31:39 +0100 Subject: [PATCH 364/982] updated README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0e453c94..ec5ba95b9 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,12 @@ Hari Sekhon - DevOps Python Tools [![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.gocd.yml) [![TeamCity](https://img.shields.io/badge/TeamCity-ready-blue?logo=teamcity)](https://github.com/HariSekhon/TeamCity-CI) +[![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) +[![BuildKite](https://img.shields.io/buildkite/8377537d0d9dddf4bf32826a6bf1c4e9ab88bc265007e1882c/master?label=BuildKite&logo=buildkite)](https://buildkite.com/hari-sekhon/devops-python-tools) [![AppVeyor](https://img.shields.io/appveyor/build/harisekhon/DevOps-Python-tools/master?logo=appveyor&label=AppVeyor)](https://ci.appveyor.com/project/HariSekhon/DevOps-Python-tools/branch/master) [![Drone](https://img.shields.io/drone/build/HariSekhon/DevOps-Python-tools/master?logo=drone&label=Drone)](https://cloud.drone.io/HariSekhon/DevOps-Python-tools) -[![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) [![Codeship Status for HariSekhon/DevOps-Python-tools](https://app.codeship.com/projects/b281baa0-3c5f-0138-caef-66210e546d42/status?branch=master)](https://app.codeship.com/projects/387251) [![Codefresh](https://g.codefresh.io/api/badges/pipeline/harisekhon/GitHub%2FDevOps-Python-tools?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWU1MmM5OGNiM2FiOWUzM2Y3ZDZmYjM3.O69674cW7vYom3v5JOGKXDbYgCVIJU9EWhXUMHl3zwA&type=cf-1)](https://g.codefresh.io/pipelines/edit/new/builds?id=5e58e2e6353f5d1ada385bf2&pipeline=DevOps-Python-tools&projects=GitHub&projectId=5e52ca8ea284e00f882ea992&context=github&filter=page:1;pageSize:10;timeFrameStart:week) -[![BuildKite](https://img.shields.io/buildkite/8377537d0d9dddf4bf32826a6bf1c4e9ab88bc265007e1882c/master?label=BuildKite&logo=buildkite)](https://buildkite.com/hari-sekhon/devops-python-tools) [![Cirrus CI](https://img.shields.io/cirrus/github/HariSekhon/DevOps-Python-tools/master?logo=Cirrus%20CI&label=Cirrus%20CI)](https://cirrus-ci.com/github/HariSekhon/DevOps-Python-tools) [![Semaphore](https://harisekhon.semaphoreci.com/badges/DevOps-Python-tools.svg)](https://harisekhon.semaphoreci.com/projects/DevOps-Python-tools) [![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) From 9e32b2e011867d59a73cb650fe887c95fdc4ac7b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:14:50 +0100 Subject: [PATCH 365/982] renamed dockerhub_pytools_alpine.yaml to docker_pytools_alpine.yaml --- .../{dockerhub_pytools_alpine.yaml => docker_pytools_alpine.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dockerhub_pytools_alpine.yaml => docker_pytools_alpine.yaml} (100%) diff --git a/.github/workflows/dockerhub_pytools_alpine.yaml b/.github/workflows/docker_pytools_alpine.yaml similarity index 100% rename from .github/workflows/dockerhub_pytools_alpine.yaml rename to .github/workflows/docker_pytools_alpine.yaml From 5155a7898353142de3a40954d1323315d8d5040e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:14:50 +0100 Subject: [PATCH 366/982] renamed dockerhub_pytools_centos.yaml to docker_pytools_centos.yaml --- .../{dockerhub_pytools_centos.yaml => docker_pytools_centos.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dockerhub_pytools_centos.yaml => docker_pytools_centos.yaml} (100%) diff --git a/.github/workflows/dockerhub_pytools_centos.yaml b/.github/workflows/docker_pytools_centos.yaml similarity index 100% rename from .github/workflows/dockerhub_pytools_centos.yaml rename to .github/workflows/docker_pytools_centos.yaml From 90d8b86bc867116df6489163321cfe504f2062fa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:14:50 +0100 Subject: [PATCH 367/982] renamed dockerhub_pytools_debian.yaml to docker_pytools_debian.yaml --- .../{dockerhub_pytools_debian.yaml => docker_pytools_debian.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dockerhub_pytools_debian.yaml => docker_pytools_debian.yaml} (100%) diff --git a/.github/workflows/dockerhub_pytools_debian.yaml b/.github/workflows/docker_pytools_debian.yaml similarity index 100% rename from .github/workflows/dockerhub_pytools_debian.yaml rename to .github/workflows/docker_pytools_debian.yaml From 33a93df4781346aedf83f7ae33fe5cf9ef8f50fc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:14:50 +0100 Subject: [PATCH 368/982] renamed dockerhub_pytools_fedora.yaml to docker_pytools_fedora.yaml --- .../{dockerhub_pytools_fedora.yaml => docker_pytools_fedora.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dockerhub_pytools_fedora.yaml => docker_pytools_fedora.yaml} (100%) diff --git a/.github/workflows/dockerhub_pytools_fedora.yaml b/.github/workflows/docker_pytools_fedora.yaml similarity index 100% rename from .github/workflows/dockerhub_pytools_fedora.yaml rename to .github/workflows/docker_pytools_fedora.yaml From 0f8f7a486e261d442b3aa8d1af7338895b77085f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:14:50 +0100 Subject: [PATCH 369/982] renamed dockerhub_pytools_ubuntu.yaml to docker_pytools_ubuntu.yaml --- .../{dockerhub_pytools_ubuntu.yaml => docker_pytools_ubuntu.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dockerhub_pytools_ubuntu.yaml => docker_pytools_ubuntu.yaml} (100%) diff --git a/.github/workflows/dockerhub_pytools_ubuntu.yaml b/.github/workflows/docker_pytools_ubuntu.yaml similarity index 100% rename from .github/workflows/dockerhub_pytools_ubuntu.yaml rename to .github/workflows/docker_pytools_ubuntu.yaml From 338a6c8bc3886c233dcbb9ea394fc4349c8f8c2d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:16:25 +0100 Subject: [PATCH 370/982] updated docker_pytools_alpine.yaml --- .github/workflows/docker_pytools_alpine.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_pytools_alpine.yaml b/.github/workflows/docker_pytools_alpine.yaml index ff2197707..c3687b351 100644 --- a/.github/workflows/docker_pytools_alpine.yaml +++ b/.github/workflows/docker_pytools_alpine.yaml @@ -12,7 +12,7 @@ # --- -name: DockerHub Build (Alpine) +name: Docker Build (Alpine) on: push: @@ -26,8 +26,9 @@ jobs: name: Docker Build uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master with: - repo: harisekhon/pytools - tags: alpine + repo_tags: | + harisekhon/pytools:alpine + ghcr.io/harisekhon/pytools:alpine dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-alpine secrets: From fe9bed2863a05acd3df3b931a193faa55afb17bb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:16:26 +0100 Subject: [PATCH 371/982] updated docker_pytools_centos.yaml --- .github/workflows/docker_pytools_centos.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_pytools_centos.yaml b/.github/workflows/docker_pytools_centos.yaml index 06778bd22..92b36e7d5 100644 --- a/.github/workflows/docker_pytools_centos.yaml +++ b/.github/workflows/docker_pytools_centos.yaml @@ -12,7 +12,7 @@ # --- -name: DockerHub Build (CentOS) +name: Docker Build (CentOS) on: push: @@ -26,8 +26,9 @@ jobs: name: Docker Build uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master with: - repo: harisekhon/pytools - tags: latest centos + repo_tags: | + harisekhon/pytools:centos + ghcr.io/harisekhon/pytools:centos dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-centos secrets: From cdfa7e53803c7558f64d9e8932d4a1384120640e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:16:29 +0100 Subject: [PATCH 372/982] updated docker_pytools_debian.yaml --- .github/workflows/docker_pytools_debian.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_pytools_debian.yaml b/.github/workflows/docker_pytools_debian.yaml index aa9da7e6a..8b34df315 100644 --- a/.github/workflows/docker_pytools_debian.yaml +++ b/.github/workflows/docker_pytools_debian.yaml @@ -12,7 +12,7 @@ # --- -name: DockerHub Build (Debian) +name: Docker Build (Debian) on: push: @@ -26,8 +26,9 @@ jobs: name: Docker Build uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master with: - repo: harisekhon/pytools - tags: debian + repo_tags: | + harisekhon/pytools:debian + ghcr.io/harisekhon/pytools:debian dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-debian secrets: From e808440babee55333beea4a93dd027c71ed585e5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:16:31 +0100 Subject: [PATCH 373/982] updated docker_pytools_fedora.yaml --- .github/workflows/docker_pytools_fedora.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_pytools_fedora.yaml b/.github/workflows/docker_pytools_fedora.yaml index 3aa3c800f..190cf703b 100644 --- a/.github/workflows/docker_pytools_fedora.yaml +++ b/.github/workflows/docker_pytools_fedora.yaml @@ -12,7 +12,7 @@ # --- -name: DockerHub Build (Fedora) +name: Docker Build (Fedora) on: push: @@ -26,8 +26,9 @@ jobs: name: Docker Build uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master with: - repo: harisekhon/pytools - tags: fedora + repo_tags: | + harisekhon/pytools:fedora + ghcr.io/harisekhon/pytools:fedora dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-fedora secrets: From 3deb0857ff51081a3eda899d25a93975e095a213 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:16:32 +0100 Subject: [PATCH 374/982] updated docker_pytools_ubuntu.yaml --- .github/workflows/docker_pytools_ubuntu.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_pytools_ubuntu.yaml b/.github/workflows/docker_pytools_ubuntu.yaml index d53930274..fe5e51a95 100644 --- a/.github/workflows/docker_pytools_ubuntu.yaml +++ b/.github/workflows/docker_pytools_ubuntu.yaml @@ -12,7 +12,7 @@ # --- -name: DockerHub Build (Ubuntu) +name: Docker Build (Ubuntu) on: push: @@ -26,8 +26,11 @@ jobs: name: Docker Build uses: HariSekhon/GitHub-Actions/.github/workflows/docker_build.yaml@master with: - repo: harisekhon/pytools - tags: ubuntu latest + repo_tags: | + harisekhon/pytools:latest + harisekhon/pytools:ubuntu + ghcr.io/harisekhon/pytools:latest + ghcr.io/harisekhon/pytools:ubuntu dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-ubuntu secrets: From da4664c347c765612a4ca40c698f18c191c80231 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:23:37 +0100 Subject: [PATCH 375/982] updated README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ec5ba95b9..908e5d1b1 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ Hari Sekhon - DevOps Python Tools [![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Semgrep](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml) +[![Docker Build (Alpine)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml) +[![Docker Build (CentOS)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml) +[![Docker Build (Debian)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml) +[![Docker Build (Fedora)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_fedora.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_fedora.yaml) +[![Docker Build (Ubuntu)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_ubuntu.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_ubuntu.yaml) + [![GitHub Actions Ubuntu](https://github.com/HariSekhon/DevOps-Python-tools/workflows/GitHub%20Actions%20Ubuntu/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22GitHub+Actions+Ubuntu%22) [![Mac](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Mac/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Mac%22) [![Mac 10.15](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Mac%2010.15/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Mac+10.15%22) From 7dae166c5609f775c8a60e77a1d7fc166d4fc3c2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:40:23 +0100 Subject: [PATCH 376/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 1f9ee12e5..4f58bb28f 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 1f9ee12e52063c59c0620842bfe7186e91bec5a8 +Subproject commit 4f58bb28f8f2d16cadbf921522ccc044d643728b From d1d84c8a4f2e24d005c199aee8768dfdd6d2e005 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:40:23 +0100 Subject: [PATCH 377/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index aec17428f..85ed84469 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit aec17428f1a946d4b2ead6b37379b84c9b625a33 +Subproject commit 85ed84469db95f2e66b5f1e3d0a044a80a49885f From 317a75c51d787d24f0a590a550ad5b09a843ae1f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:40:23 +0100 Subject: [PATCH 378/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 69aff25cb..0c8255344 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 69aff25cbac90c8fc97a66c0d9e4351ea659c54e +Subproject commit 0c825534472969e6a41770e9246ede7861dbbb10 From 89766f027592e0e3d657e37261a6c27abf77b508 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 6 Apr 2022 19:40:23 +0100 Subject: [PATCH 379/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index e444f83ec..3417faa70 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit e444f83ecb0082c0639c4df23ca24e7790955d7b +Subproject commit 3417faa7035c29de864f101c730a01176f563f38 From 9d5f41536225ef8e93b644898119b5347e273b27 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 7 Apr 2022 22:27:27 +0100 Subject: [PATCH 380/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 908e5d1b1..57a606b7b 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Hari Sekhon - DevOps Python Tools [![MicroBadger](https://images.microbadger.com/badges/image/harisekhon/pytools.svg)](http://microbadger.com/#/images/harisekhon/pytools) --> -[![CI Builds Overview](https://img.shields.io/badge/CI%20Builds-Overview%20Page-blue?logo=circleci)](https://bitbucket.org/harisekhon/devops-bash-tools/src/master/STATUS.md) +[![CI Builds Overview](https://img.shields.io/badge/CI%20Builds-Overview%20Page-blue?logo=circleci)](https://harisekhon.github.io/CI-CD/) [![Jenkins](https://img.shields.io/badge/Jenkins-ready-blue?logo=jenkins&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/Jenkinsfile) [![Concourse](https://img.shields.io/badge/Concourse-ready-blue?logo=concourse)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.concourse.yml) [![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.gocd.yml) From cdaa1d3707cb8593421091ac92a0a74cf31c81ea Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 7 Apr 2022 22:30:29 +0100 Subject: [PATCH 381/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4f58bb28f..07871b12f 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4f58bb28f8f2d16cadbf921522ccc044d643728b +Subproject commit 07871b12f83f5870d7ada82fa3de8b43ed0b56d4 From 945574937e48a2554487e1324c1953b174cde83d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 7 Apr 2022 22:30:29 +0100 Subject: [PATCH 382/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 85ed84469..965905dd6 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 85ed84469db95f2e66b5f1e3d0a044a80a49885f +Subproject commit 965905dd62b8c402f36a546c043fad07d4ae9d92 From 452d52c2f0c6d4650061485e653e1c0a5965a985 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 7 Apr 2022 22:30:30 +0100 Subject: [PATCH 383/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 3417faa70..e116df4dd 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 3417faa7035c29de864f101c730a01176f563f38 +Subproject commit e116df4ddff7d917fa28291cbca1f1744c8bc664 From 22760c05091ab30ac7d394214904e1d1db7a625b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 10:36:57 +0100 Subject: [PATCH 384/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57a606b7b..b972256b0 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Hari Sekhon - DevOps Python Tools [![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) [![Buddy](https://img.shields.io/badge/Buddy-ready-1A86FD?logo=buddy)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buddy.yml) [![Shippable](https://img.shields.io/badge/Shippable-legacy-lightgrey?logo=jfrog&label=Shippable)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/shippable.yml) -[![Travis CI](https://img.shields.io/badge/TravisCI-legacy-lightgrey?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) +[![Travis CI](https://img.shields.io/badge/TravisCI-ready-blue?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) From a26a0cc966cb71d66ecc03d7300e69077e688110 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:12 +0100 Subject: [PATCH 385/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index 287b2d490..a2dfe24e2 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From d183af7d3fe3279cccfe876a19c12268963b5067 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:13 +0100 Subject: [PATCH 386/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 96f31e3ab..2a7fbaff0 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From b9127c3d25bf64329361d9bddd88adb95c6aaea0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:14 +0100 Subject: [PATCH 387/982] updated centos.yaml --- .github/workflows/centos.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index ed6372ec7..fbaf19c4f 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 56ed0ad957eebdf7931345efe48cec969f552bdf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:14 +0100 Subject: [PATCH 388/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 681be974f..ebaf5fae2 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 007cf727eb4d8bd6b9c1ca30286385675463b061 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:14 +0100 Subject: [PATCH 389/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 9c4311285..fada215de 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From c931a9e1bc77899cc161faea6074940022e52ec8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:15 +0100 Subject: [PATCH 390/982] updated checkov.yaml --- .github/workflows/checkov.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index d05b53148..26be616d6 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -27,10 +27,14 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' pull_request: branches: - master - main + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 21daa159117d7b16b845fcb2bfe9c2459874a64b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:15 +0100 Subject: [PATCH 391/982] updated codeowners.yaml --- .github/workflows/codeowners.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index d4e575f30..934d09b92 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -19,10 +19,16 @@ on: branches: - master - main + paths: + - CODEOWNERS + - .github/CODEOWNERS pull_request: branches: - master - main + paths: + - CODEOWNERS + - .github/CODEOWNERS workflow_dispatch: inputs: debug: From 7656bda959896e8b68d1b45ba321b518efeb7008 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:15 +0100 Subject: [PATCH 392/982] updated debian.yaml --- .github/workflows/debian.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index ae2afe46e..e993c7222 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 9a5c9408ed80b2b874c75589e49ea33edab99248 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:16 +0100 Subject: [PATCH 393/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 2656f55fd..b120564e9 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From b8e0debfd788747913737985f936a6b1763127b2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:16 +0100 Subject: [PATCH 394/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index dff981bd2..2e8c06e55 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From ddcbd8312c126630c576b86cfc9fdf2302507fb4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:16 +0100 Subject: [PATCH 395/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 74b06b44e..65fe55cca 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 8e76ebbe7956dfd59daaebf459ed25f2ea34f40d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:17 +0100 Subject: [PATCH 396/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 6b2a6f979..ae2bc9f9b 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From d4f65ff7955209a09a20185f32b192b00f2f819e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:17 +0100 Subject: [PATCH 397/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 3641c892c..9223474c1 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From a823e30859dbee0eb6d60b61c5c8ccc15940c961 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:17 +0100 Subject: [PATCH 398/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 2128939b8..fe6bcbe6f 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 4d496a1955bfa19a95949f22df958272b346ac91 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:18 +0100 Subject: [PATCH 399/982] updated json.yaml --- .github/workflows/json.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index b66e8cee6..5a9df06b5 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -19,10 +19,14 @@ on: branches: - master - main + paths: + - '**/*.json' pull_request: branches: - master - main + paths: + - '**/*.json' workflow_dispatch: inputs: debug: From 19cf93bff84c4f0befe5657cece5530619581e16 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:18 +0100 Subject: [PATCH 400/982] updated mac.yaml --- .github/workflows/mac.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 81aaec5b1..92e326bcb 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 2bae838d15d705147545257da15ccb89b14815cb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:19 +0100 Subject: [PATCH 401/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index db4781fab..b8feb60c0 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 61d92389ae1a26f11e498a7d765705cd02f4cd43 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:19 +0100 Subject: [PATCH 402/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index ae3774daf..707dd82f0 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -17,6 +17,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 531040f2624195c209434d5652a9ea626d4e933d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:20 +0100 Subject: [PATCH 403/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 966741006..c379246c9 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -17,6 +17,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 08a217b29f5d3cfa77fe45e6f4d0d2016e830ecd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:20 +0100 Subject: [PATCH 404/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index bb03008d4..a850b2b84 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From d1cf2e7c7c99f81af2c791d7ed46d406dbd49be5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:20 +0100 Subject: [PATCH 405/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 4ba2d2cdf..da5b11f35 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 65919da01b1375e3228520ca50a2b645cb3eed26 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:21 +0100 Subject: [PATCH 406/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index d94daf551..32e3089e2 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 636e1258db0c350109ec72fa3ba70de681a70f42 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:21 +0100 Subject: [PATCH 407/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 9e2167f91..d6efcf883 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 9db851fdc24075bf69f22df58bf862bc20bd13f0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:21 +0100 Subject: [PATCH 408/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 0adb02bb5..f0eb8fa2b 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From 21f40ffdd707e62456771c7a39509cd41e5e899c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:22 +0100 Subject: [PATCH 409/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 04a325e29..df374c960 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -18,6 +18,12 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' workflow_dispatch: inputs: debug: From d4ba19a16ee1346e6b1856cb44acff99da51b5d0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:22 +0100 Subject: [PATCH 410/982] updated semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 1e8278f7e..47fe5fcf5 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -25,10 +25,14 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' pull_request: branches: - master - main + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 374acc85391a98039f23afd172bf6f6b8fad7128 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:22 +0100 Subject: [PATCH 411/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 410e63c0f..ea33c7f40 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -27,10 +27,14 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' pull_request: branches: - master - main + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 541276e36f87f19734af2300e0bc98f74a331ff0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:23 +0100 Subject: [PATCH 412/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 927f7edc2..6a623c6da 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From cd2ef8bfae5853d3363be2cc7d5af6ff0423b87a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:23 +0100 Subject: [PATCH 413/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index fff40eaa6..915f04ae9 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From c2f35969f7ee49177cf2b697c532cce0bc811824 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:23 +0100 Subject: [PATCH 414/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index cd96b0858..f459f4398 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From df957eaa9e121ab791f9f61801390b173207998b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:24 +0100 Subject: [PATCH 415/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 385bcfff6..926c7e0a5 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 8370c6011bcdec7d2cee8c5455ad23dd4a033031 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:24 +0100 Subject: [PATCH 416/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 360a8db4e..ad419846f 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 654d37ca583fa97480860ab36c5b5d7ad2eee017 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:25 +0100 Subject: [PATCH 417/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 59a9c9110..85bb7dd48 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -18,6 +18,8 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 520778e57013988327c8c298cff3be492e88909d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:25 +0100 Subject: [PATCH 418/982] updated validate.yaml --- .github/workflows/validate.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index bbdc02826..b9634e4ae 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -19,10 +19,14 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' pull_request: branches: - master - main + paths-ignore: + - '**/*.md' workflow_dispatch: inputs: debug: From 5862e20bb9cf0e6c8e3d027a0d721f9f33caa96f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:23:25 +0100 Subject: [PATCH 419/982] updated yaml.yaml --- .github/workflows/yaml.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index c11764e11..42f1aae0e 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -19,10 +19,16 @@ on: branches: - master - main + paths: + - '**/*.yml' + - '**/*.yaml' pull_request: branches: - master - main + paths: + - '**/*.yml' + - '**/*.yaml' workflow_dispatch: inputs: debug: From cad5cf8bef2f789d86619ee6ea6c2c52fd1baa3b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 14:26:38 +0100 Subject: [PATCH 420/982] renamed ghcr_python_ubuntu.yaml to ghcr_python_ubuntu.yaml.disabled --- .../{ghcr_python_ubuntu.yaml => ghcr_python_ubuntu.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ghcr_python_ubuntu.yaml => ghcr_python_ubuntu.yaml.disabled} (100%) diff --git a/.github/workflows/ghcr_python_ubuntu.yaml b/.github/workflows/ghcr_python_ubuntu.yaml.disabled similarity index 100% rename from .github/workflows/ghcr_python_ubuntu.yaml rename to .github/workflows/ghcr_python_ubuntu.yaml.disabled From be9fcb18e46359a1befced1c8f96ef9d934ad53f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:39 +0100 Subject: [PATCH 421/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index a2dfe24e2..c07877011 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:latest From 002e00ed5fbd3d40ac861b88d7bfaf338735cf2f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:39 +0100 Subject: [PATCH 422/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index 2a7fbaff0..e692d25b1 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: alpine:3 From 20a03a92addf21803a0c03bcf21f40b1e8bfd89e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:39 +0100 Subject: [PATCH 423/982] updated centos.yaml --- .github/workflows/centos.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index fbaf19c4f..d4147ea01 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:latest From 211ed21ca520d9754d2a4f018348db986f3141f6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:39 +0100 Subject: [PATCH 424/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index ebaf5fae2..5a588f28d 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:7 From 024e14c8e2c24e1645ac3d34de9afc9135f71a69 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:40 +0100 Subject: [PATCH 425/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index fada215de..56fdbba13 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: centos:8 From ea3718ed1bc35ddf15dfe757ee6096bbdac46fd5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:40 +0100 Subject: [PATCH 426/982] updated debian.yaml --- .github/workflows/debian.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index e993c7222..98f6d7414 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:latest From dae14434eecd8f00ed847f645aa559dcd95f07da Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:40 +0100 Subject: [PATCH 427/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index b120564e9..b45963ac3 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:10 From cb0fd02a788b269b924d816c226827c74a2ae4e9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:40 +0100 Subject: [PATCH 428/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 2e8c06e55..bcfb2efca 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:6 From 3b81f25ffc19f84aa4f4b902acca14d82f7ef399 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:40 +0100 Subject: [PATCH 429/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index 65fe55cca..f09fdf524 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:7 From c4930b32f7160b574b5133118fd479cd8c64f15a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 430/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index ae2bc9f9b..043bc389b 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:8 From ac421dffa9eabf26f492a3d84610ead2627507fc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 431/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 9223474c1..6503faeeb 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: debian:9 From 737e740ec8b3e50ad90eb9be15e57aff3944dddc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 432/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index fe6bcbe6f..71d54f26a 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: fedora From 490e2a8ef76bbdab824ab66a2a69d293a13683c8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 433/982] updated mac.yaml --- .github/workflows/mac.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 92e326bcb..fef39007c 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: runs-on: macos-latest From 542ec9e11554d900442ace3251d2e09f516e7ca0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 434/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index b8feb60c0..fcc669e97 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: runs-on: macos-10.15 From 48cb53b8f6da9cefd0d96c659f835a05254984f4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:41 +0100 Subject: [PATCH 435/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index 707dd82f0..b6436c968 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -11,12 +11,24 @@ # https://www.linkedin.com/in/HariSekhon # +--- name: PyPy 2 on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -43,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: PyPy2 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: pypy2 + python-version: pypy2 debug: ${{ github.event.inputs.debug }} From 4d23cfcbc9d9d0b85b36aa2b1d89260824f0eca1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:42 +0100 Subject: [PATCH 436/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index c379246c9..6c7d2a402 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -11,12 +11,24 @@ # https://www.linkedin.com/in/HariSekhon # +--- name: PyPy 3 on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -43,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: PyPy3 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: pypy3 + python-version: pypy3 debug: ${{ github.event.inputs.debug }} From 8de68c7f994ed783f09f88d23a10b6055dd9121c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:42 +0100 Subject: [PATCH 437/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index a850b2b84..727e300f0 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 2.7 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 2.7 + python-version: 2.7 debug: ${{ github.event.inputs.debug }} From 92bb5125370cbf97d08ac5f237a9bd97f142df5d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:42 +0100 Subject: [PATCH 438/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index da5b11f35..31bf6e30c 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 3.10 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: "3.10" + python-version: "3.10" debug: ${{ github.event.inputs.debug }} From 20ec0d435277be90e08b840163fcc8485a7b9a0f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:42 +0100 Subject: [PATCH 439/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 32e3089e2..3bb00c01d 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 3.6 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3.6 + python-version: 3.6 debug: ${{ github.event.inputs.debug }} From 004bf873069e33a4748a44835a57d9a5ec404f99 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:42 +0100 Subject: [PATCH 440/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index d6efcf883..0d463f1f0 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 3.7 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3.7 + python-version: 3.7 debug: ${{ github.event.inputs.debug }} From c920da17656d53446508dab674afdcae8a358ffc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 441/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index f0eb8fa2b..4a1df9f81 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 3.8 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3.8 + python-version: 3.8 debug: ${{ github.event.inputs.debug }} From c6236581ffe418815c6157e7a7884e079da991eb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 442/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index df374c960..e4aa45470 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -18,6 +18,17 @@ on: push: branches: - master + - main + paths-ignore: + - '**/*.md' + - '**/*.pl' + - '**/*.rb' + - '**/*.go' + - '**/*.sh' + pull_request: + branches: + - master + - main paths-ignore: - '**/*.md' - '**/*.pl' @@ -44,7 +55,7 @@ jobs: build: if: github.event.repository.fork == false name: Python 3.9 - uses: HariSekhon/GitHub-Actions/.github/workflows/python.yaml@master + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: - version: 3.9 + python-version: 3.9 debug: ${{ github.event.inputs.debug }} From a19439b6e56fd29c84334552ebdd1c30e7362c0d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 443/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 6a623c6da..b7d2f2e1c 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:latest From 9a67e78b8e7e703ab60fdddb9794cff899391c30 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 444/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index 915f04ae9..b38f1bfcd 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:14.04 From a4ee6d97c9f1c7366ffadea18e1ba8a5e6b6c1ee Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 445/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index f459f4398..26802e404 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:16.04 From 46f1972f7732ec55e4d04216653bdf1ad9a8629a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:43 +0100 Subject: [PATCH 446/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 926c7e0a5..70bc87eb6 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:18.04 From 50e84e49625b5481987bfa49f0dbaacc8247bcd7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:44 +0100 Subject: [PATCH 447/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index ad419846f..46fa80dc6 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: container: ubuntu:20.04 From 8a32413be768268fa1f469fc419199feb8448674 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:44:44 +0100 Subject: [PATCH 448/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 85bb7dd48..5b736dffc 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -37,9 +37,9 @@ concurrency: cancel-in-progress: true jobs: - make: + build: if: github.event.repository.fork == false - name: Make + name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: caches: apt pip cpanm From 22b6a697b212e0a4528d7c4b69556c1f8c121117 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:49:17 +0100 Subject: [PATCH 449/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 07871b12f..9e7f34224 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 07871b12f83f5870d7ada82fa3de8b43ed0b56d4 +Subproject commit 9e7f342243b5514ed0d9b3e04228538d2ee98330 From c3a6cf2d9ce61ff83222f900aaf7722f2e9b8f37 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:49:17 +0100 Subject: [PATCH 450/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 965905dd6..d23609649 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 965905dd62b8c402f36a546c043fad07d4ae9d92 +Subproject commit d2360964912b643102ac73433cbbe8cc542d4c40 From 58ae9294804702179e0cff0d31c8a1c6cb969700 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:49:17 +0100 Subject: [PATCH 451/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 0c8255344..282fb3eb0 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 0c825534472969e6a41770e9246ede7861dbbb10 +Subproject commit 282fb3eb06ee967f0bc308b4506b5d72d8cbccd0 From a886e32a52c31c0e863db35095d39f321c6fbb8f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:49:17 +0100 Subject: [PATCH 452/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index e116df4dd..94b23ae15 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit e116df4ddff7d917fa28291cbca1f1744c8bc664 +Subproject commit 94b23ae1575080d1771f67bf0f3ee4e0f490b99d From 83bedbaa955264ce3502b29ae53e07ac61596aca Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:57 +0100 Subject: [PATCH 453/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index b6436c968..d21626a61 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: pypy2 + caches: apt pip debug: ${{ github.event.inputs.debug }} From 420f6e3159ab1ce6a2cfe72a0bff6e0d4afadcfe Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:57 +0100 Subject: [PATCH 454/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 6c7d2a402..9c558f16a 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: pypy3 + caches: apt pip debug: ${{ github.event.inputs.debug }} From faae953eb96cafa4af86ada0ecf4bc08608674bd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:57 +0100 Subject: [PATCH 455/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 727e300f0..707543308 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: 2.7 + caches: apt pip debug: ${{ github.event.inputs.debug }} From 3758fbb2015b2822587b5a8bc4570eea4781eb44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:58 +0100 Subject: [PATCH 456/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 31bf6e30c..fda309782 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: "3.10" + caches: apt pip debug: ${{ github.event.inputs.debug }} From 69da3a6fb05a1d3fea8e3b99e70bc61cec19cd0f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:58 +0100 Subject: [PATCH 457/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 3bb00c01d..84c61bc5f 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: 3.6 + caches: apt pip debug: ${{ github.event.inputs.debug }} From b68c897a33154a98c032f03e340caaaa6fda0246 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:58 +0100 Subject: [PATCH 458/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 0d463f1f0..6a4191bcc 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: 3.7 + caches: apt pip debug: ${{ github.event.inputs.debug }} From d099da0e894e4ef138049ef975be6a7279023059 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:58 +0100 Subject: [PATCH 459/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 4a1df9f81..de4668018 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: 3.8 + caches: apt pip debug: ${{ github.event.inputs.debug }} From 337bb7202dfed79d5e35d4b8543ed55e31ff09b8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:55:58 +0100 Subject: [PATCH 460/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index e4aa45470..97914800c 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -58,4 +58,5 @@ jobs: uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: python-version: 3.9 + caches: apt pip debug: ${{ github.event.inputs.debug }} From d70b960e126ee5948f8e7b3425a0a2956368b6e8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:58:13 +0100 Subject: [PATCH 461/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9e7f34224..fc1c416f5 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9e7f342243b5514ed0d9b3e04228538d2ee98330 +Subproject commit fc1c416f5a808fc5bf42b369c46e70ee3410286e From 937b9981b9663a090a6640057b089a0cf22c7b60 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:58:13 +0100 Subject: [PATCH 462/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index d23609649..3bf8af87c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit d2360964912b643102ac73433cbbe8cc542d4c40 +Subproject commit 3bf8af87c27ed8e9babef1bbd5c414aa0678e021 From 43fd53a7c4dd592c7e2d10b3acc839e72e3ecc4e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 15:58:13 +0100 Subject: [PATCH 463/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 94b23ae15..26c0a409b 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 94b23ae1575080d1771f67bf0f3ee4e0f490b99d +Subproject commit 26c0a409b8d18d3fdea3eb68db5d8c8af87908f7 From 04c3bb05d4bb816769795536bd137752efc36dcc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 18:41:22 +0100 Subject: [PATCH 464/982] updated README.md --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index b972256b0..3aa702615 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,11 @@ Hari Sekhon - DevOps Python Tools ================================= -[![Codacy](https://app.codacy.com/project/badge/Grade/40a82d53f3394f4b99aa6eccb08e3c8d)](https://www.codacy.com/gh/HariSekhon/DevOps-Python-tools/dashboard) -[![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) -[![Codiga Grade](https://api.codiga.io/project/8839/status/svg)](https://app.codiga.io/project/8839/dashboard) -[![Codiga Score](https://api.codiga.io/project/8839/score/svg)](https://app.codiga.io/project/8839/dashboard) -[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/context:python) -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) -[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) -[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) -[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=security_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) -[![Total alerts](https://img.shields.io/lgtm/alerts/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/alerts/) [![GitHub stars](https://img.shields.io/github/stars/harisekhon/devops-python-tools?logo=github)](https://github.com/harisekhon/devops-python-tools/stargazers) [![GitHub forks](https://img.shields.io/github/forks/harisekhon/devops-python-tools?logo=github)](https://github.com/harisekhon/devops-python-tools/network) -[![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/DevOps-Python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/commits/master) +[![License](https://img.shields.io/github/license/HariSekhon/DevOps-Python-tools)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/LICENSE) [![Lines of Code](https://img.shields.io/badge/lines%20of%20code-26k-lightgrey?logo=codecademy)](https://github.com/HariSekhon/DevOps-Python-tools) +[![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/DevOps-Python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/commits/master) @@ -24,6 +15,17 @@ Hari Sekhon - DevOps Python Tools [![Python 3](https://pyup.io/repos/github/HariSekhon/DevOps-Python-tools/python-3-shield.svg)](https://pyup.io/repos/github/HariSekhon/DevOps-Python-tools/) --> +[![Codacy](https://app.codacy.com/project/badge/Grade/40a82d53f3394f4b99aa6eccb08e3c8d)](https://www.codacy.com/gh/HariSekhon/DevOps-Python-tools/dashboard) +[![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) +[![Codiga Grade](https://api.codiga.io/project/8839/status/svg)](https://app.codiga.io/project/8839/dashboard) +[![Codiga Score](https://api.codiga.io/project/8839/score/svg)](https://app.codiga.io/project/8839/dashboard) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/context:python) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) +[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) +[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) +[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=security_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/alerts/) + [![Linux](https://img.shields.io/badge/OS-Linux-blue?logo=linux)](https://github.com/HariSekhon/DevOps-Python-tools) [![Mac](https://img.shields.io/badge/OS-Mac-blue?logo=apple)](https://github.com/HariSekhon/DevOps-Python-tools) [![Docker](https://img.shields.io/badge/container-Docker-blue?logo=docker&logoColor=white)](https://hub.docker.com/r/harisekhon/github/) From e332dd04dd88f32c49b75e9b8962c4537472c929 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:23:28 +0100 Subject: [PATCH 465/982] added .werckerignore --- .werckerignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .werckerignore diff --git a/.werckerignore b/.werckerignore new file mode 100644 index 000000000..ff8fb8247 --- /dev/null +++ b/.werckerignore @@ -0,0 +1 @@ +**/.md From 73c1f49ab95c412844cafa43cd4971e23cd227a8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:24:53 +0100 Subject: [PATCH 466/982] updated .cirrus.yml --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 46de8ac49..7ea506862 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -19,6 +19,7 @@ container: image: ubuntu:18.04 task: + skip: "!changesInclude('**/*.md')" script: - setup/ci_bootstrap.sh - make init From 6675defaaecc6592ebe734de7f6ee91e81a86464 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:25:30 +0100 Subject: [PATCH 467/982] updated .appveyor.yml --- .appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index f23536e32..1551a3473 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -17,6 +17,11 @@ image: Ubuntu +skip_commits: + files: + - docs/* + - '**/*.md' + # https://www.appveyor.com/docs/how-to/ssh-to-build-worker/ environment: APPVEYOR_SSH_KEY: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvihSRU+YjBKvKiacDfUoZ7ghoVMcwNh4cWIYUNFGZosXOzNtyOcBpIb71TCgLFhOd+aMWKXCEC67BpNSIjt+a/FLD27AwmgVHv6cPlE3G0JJ9zmIrNmx9511dshTsxUW2O0SbYG+3InuO7FUkSrld+kA1OucyjgmZU7/+Cs9shpAEOaIVYmGlpDGRucAHpwtckvdgRTtnA3WNZ/Qg1vU6Ik4Xm03vjrW6lSiuTffYO1kbdcMQ4IZBlzfmovOtXQ0PomvN5NMCpgOyQuoNlvyS11tOXoqNiWOkiLE15XEzAQth9hHbNiH8jHJbAtkHqWWh0KK4IUyNGvoL6QfNxsTlw== hari@anotherdimension From a5b27a7d95d37062038dabd5c300afd6b39baee3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:26:08 +0100 Subject: [PATCH 468/982] updated semaphore.yml --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 6e5dc9f25..99040a203 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -26,7 +26,7 @@ execution_time_limit: blocks: - name: Linux build run: - when: "branch = 'master'" + when: "branch = 'master' AND change_in('/', {exclude: ['**/*.md']})" #execution_time_limit: # hours: 2 task: From 33613dcb26325f085651eb7aa1f84517c65aac32 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:35:27 +0100 Subject: [PATCH 469/982] updated .cirrus.yml --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7ea506862..7f1425a4c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -19,7 +19,8 @@ container: image: ubuntu:18.04 task: - skip: "!changesInclude('**/*.md')" + # doesn't work properly + #skip: "!changesInclude('**/*.md')" script: - setup/ci_bootstrap.sh - make init From 54a6e3b9b8a94ee0161a84ebb3fdd7aafc9f0855 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:38:15 +0100 Subject: [PATCH 470/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index fc1c416f5..9d6404984 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit fc1c416f5a808fc5bf42b369c46e70ee3410286e +Subproject commit 9d640498465c747e94e8e2e281e252af2cf3096f From cdaef5573a767373b4e49dd36e583c83c462b4e0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:38:15 +0100 Subject: [PATCH 471/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 3bf8af87c..c7887c4bb 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 3bf8af87c27ed8e9babef1bbd5c414aa0678e021 +Subproject commit c7887c4bbce54d0cbc2dec40676fcf39209ad992 From fbcbb926aea17b127c413706e041e05c6a312473 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:38:15 +0100 Subject: [PATCH 472/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 282fb3eb0..fb98e0a2f 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 282fb3eb06ee967f0bc308b4506b5d72d8cbccd0 +Subproject commit fb98e0a2fa84f94916d02336d9eee323e96e34b9 From 3fcc6510f18532fbf15dffd8d20cbb299728f638 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 8 Apr 2022 19:38:15 +0100 Subject: [PATCH 473/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 26c0a409b..9a8db2f6e 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 26c0a409b8d18d3fdea3eb68db5d8c8af87908f7 +Subproject commit 9a8db2f6e480766c35ad3332171cfa0aaa697d1a From 615319007021fd79410ffb215bcb65a7c62baefb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 11 Apr 2022 15:58:48 +0100 Subject: [PATCH 474/982] updated Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66b95292f..b7f961b67 100644 --- a/Makefile +++ b/Makefile @@ -210,7 +210,8 @@ test-lib: cd pylib && $(MAKE) test .PHONY: test -test: test-lib +#test: test-lib +test: tests/all.sh .PHONY: basic-test From 1a9f9b484f6485ac508868005e9e7239f49ad825 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:39:23 +0100 Subject: [PATCH 475/982] updated fork-sync.yaml --- .github/workflows/fork-sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 556bd80d9..cad44a536 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -22,7 +22,7 @@ on: required: false default: false schedule: - - cron: '0 9 * * *' + - cron: '30 9 * * 2' permissions: contents: write From 1099646495a4a0779ac722f18fd52e2ac4acde67 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:39:24 +0100 Subject: [PATCH 476/982] updated fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 12449fb36..1897533a2 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -22,8 +22,8 @@ on: required: false default: false schedule: - # fork-sync happens for default branch every hour, so just after that, run PRs for branches - - cron: '2 10 * * 2' + # fork-sync happens 9:30 every tuesday, so after that run PRs for branches + - cron: '0 10 * * 2' permissions: contents: write From b6161858a07af7d574f5bf8c3c32eaa70cadd34e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:44:10 +0100 Subject: [PATCH 477/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9d6404984..62a152225 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9d640498465c747e94e8e2e281e252af2cf3096f +Subproject commit 62a152225697e0c05244aa52ab875dc2978baf20 From 6316b262c9cbda7f73db4a57112eaf5adce021ff Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:44:10 +0100 Subject: [PATCH 478/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index c7887c4bb..8ae4d15e2 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit c7887c4bbce54d0cbc2dec40676fcf39209ad992 +Subproject commit 8ae4d15e20b0f061385485abea2369e2b3e634e6 From 6cbd8eaea51bd48bb4865c9f3e68a8dab207dc82 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:44:10 +0100 Subject: [PATCH 479/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index fb98e0a2f..6f5a26d58 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit fb98e0a2fa84f94916d02336d9eee323e96e34b9 +Subproject commit 6f5a26d58504258b2749a8316ae92b3836d27bf8 From 6874f264b882f5218d5002d8e67ee09aa8829f10 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 16:44:10 +0100 Subject: [PATCH 480/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9a8db2f6e..68441f7ed 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9a8db2f6e480766c35ad3332171cfa0aaa697d1a +Subproject commit 68441f7edeeedd5408c95e3969eaa0f3721b5296 From afaabdab1a225543a8a1ed5d183debc3e456b312 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:39 +0100 Subject: [PATCH 481/982] updated alpine.yaml --- .github/workflows/alpine.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index c07877011..39e4a4497 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 83d72dd0ebc14e8a3c59d6d99af36f33b09d6e1e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:39 +0100 Subject: [PATCH 482/982] updated alpine_3.yaml --- .github/workflows/alpine_3.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index e692d25b1..0b1cbea05 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 4ed362a170e37faa5313e28b30019e9e623cb576 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:39 +0100 Subject: [PATCH 483/982] updated centos.yaml --- .github/workflows/centos.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml index d4147ea01..6f3dd2b27 100644 --- a/.github/workflows/centos.yaml +++ b/.github/workflows/centos.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From f820794229afbb69248abbef61b1857162052f16 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:39 +0100 Subject: [PATCH 484/982] updated centos7.yaml --- .github/workflows/centos7.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml index 5a588f28d..46c3ca212 100644 --- a/.github/workflows/centos7.yaml +++ b/.github/workflows/centos7.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From a28ea1564a505b0ae01555f5e85215215ba02170 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:39 +0100 Subject: [PATCH 485/982] updated centos8.yaml --- .github/workflows/centos8.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml index 56fdbba13..782ab12ff 100644 --- a/.github/workflows/centos8.yaml +++ b/.github/workflows/centos8.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 13c981adaa13d0fd56cd93a313da5e68c96e86b8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 486/982] updated checkov.yaml --- .github/workflows/checkov.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 26be616d6..8f31b2672 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -51,7 +51,9 @@ permissions: jobs: checkov: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Checkov uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master with: From 0122b4e055177136184ebafc95fccf2929eafbcf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 487/982] updated codeowners.yaml --- .github/workflows/codeowners.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index 934d09b92..5fdb3401e 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -47,6 +47,8 @@ concurrency: jobs: validate: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Validate CODEOWNERS uses: HariSekhon/GitHub-Actions/.github/workflows/codeowners.yaml@master From a44c53e059acecf61c0f4534fb5b9c8b32b1847e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 488/982] updated debian.yaml --- .github/workflows/debian.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 98f6d7414..6ded416ad 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 47a6dd8652512e6409d43862f934431f8fd70993 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 489/982] updated debian_10.yaml --- .github/workflows/debian_10.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index b45963ac3..debc3945d 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 913f5c50420810c7289add8da7610690e6eefad0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 490/982] updated debian_6.yaml.disabled --- .github/workflows/debian_6.yaml.disabled | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index bcfb2efca..1cb4e5431 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 6eb8c5a5a2188ad2b331c70fe0344a7cbacd3702 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 491/982] updated debian_7.yaml.disabled --- .github/workflows/debian_7.yaml.disabled | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index f09fdf524..e987d7e46 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 45bc93d322d763fb16fa99cf07686ee70a6e98e6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 492/982] updated debian_8.yaml --- .github/workflows/debian_8.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml index 043bc389b..e8fc5595a 100644 --- a/.github/workflows/debian_8.yaml +++ b/.github/workflows/debian_8.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 04c216e6037e3558ff2ae3be261d627b7d1d349f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 493/982] updated debian_9.yaml --- .github/workflows/debian_9.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian_9.yaml b/.github/workflows/debian_9.yaml index 6503faeeb..5c14364d9 100644 --- a/.github/workflows/debian_9.yaml +++ b/.github/workflows/debian_9.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 000a39bda485bf53f61c4f92573caff780115946 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:40 +0100 Subject: [PATCH 494/982] updated fedora.yaml --- .github/workflows/fedora.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 71d54f26a..0c29aeccb 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 615ae322dbb8ec544ef53e584c0eab2e2fb5aa2a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:41 +0100 Subject: [PATCH 495/982] updated fork-sync.yaml --- .github/workflows/fork-sync.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index cad44a536..f1e605236 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -33,6 +33,8 @@ concurrency: jobs: fork_sync: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == true if: github.repository_owner != 'HariSekhon' name: Fork Sync uses: HariSekhon/GitHub-Actions/.github/workflows/fork-sync.yaml@master From 61cb4a4f7a7f81ea7c16769d6fe84f512be378f3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:41 +0100 Subject: [PATCH 496/982] updated fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 1897533a2..1767b3e33 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -35,6 +35,8 @@ concurrency: jobs: fork_update_pr: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == true if: github.repository_owner != 'HariSekhon' name: Fork Update PR uses: HariSekhon/GitHub-Actions/.github/workflows/fork-update-pr.yaml@master From d03abe30fdf50b23c05b8276d9cc3f25df81c1e1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:41 +0100 Subject: [PATCH 497/982] updated json.yaml --- .github/workflows/json.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index 5a9df06b5..5d70a6e2a 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -41,6 +41,8 @@ permissions: jobs: check_json: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Check JSON uses: HariSekhon/GitHub-Actions/.github/workflows/json.yaml@master From b42654902236e939461b57f76655bc185a061589 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:41 +0100 Subject: [PATCH 498/982] updated mac.yaml --- .github/workflows/mac.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index fef39007c..06e696b85 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 367958487167f57e5a1070c7de6a597e218c66c4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 499/982] updated mac_10.15.yaml --- .github/workflows/mac_10.15.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mac_10.15.yaml b/.github/workflows/mac_10.15.yaml index fcc669e97..4f42839e7 100644 --- a/.github/workflows/mac_10.15.yaml +++ b/.github/workflows/mac_10.15.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 3d33c7d16aea8d3d7e6780959b26b1a6187d0d95 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 500/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index d21626a61..ff7ebfc1f 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: PyPy2 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 0a66d7b7646a10df5a2e9c852e7015e33ca2e777 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 501/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index 9c558f16a..be648b6b7 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: PyPy3 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From a93c9abd53b99757035206d12eaf6bfec5f84cdf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 502/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 707543308..6f6a3cc13 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 2.7 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 352a8ad47386e38b2771bb75df4d0f23a39c0880 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 503/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index fda309782..c7710cc6d 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 3.10 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 38b2abd4f786a6623b4272cc6bbaf9cb6b63ee29 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 504/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index 84c61bc5f..a37f4b538 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 3.6 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 4605089e36a3d17be5b4e9d805fcec38326296e7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 505/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 6a4191bcc..8c19509a2 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 3.7 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 4cd40000afa4f288642c08881c98b3a7a8417c70 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 506/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index de4668018..025424851 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 3.8 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 1e8f850467fc1e016ae78214be928ed74916b7ae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 507/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 97914800c..862e2eccf 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -53,7 +53,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Python 3.9 uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From e1599fcee8a4ea5b9994bfe2db2216038767ec3d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 508/982] updated semgrep-cloud.yaml --- .github/workflows/semgrep-cloud.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 47fe5fcf5..9bb52df1a 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -51,7 +51,9 @@ concurrency: jobs: semgrep: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Semgrep Cloud uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master secrets: From 26983c4b3328b23e0f7dece4e4e4399ef87c831b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 509/982] updated semgrep.yaml --- .github/workflows/semgrep.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index ea33c7f40..cacc83e09 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -55,6 +55,8 @@ concurrency: jobs: semgrep: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Semgrep GitHub Security Tab uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep.yaml@master From db5dc7a745c81da469a2a21831c4909095db5a09 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:42 +0100 Subject: [PATCH 510/982] updated ubuntu.yaml --- .github/workflows/ubuntu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index b7d2f2e1c..d6acb8902 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 81a4ff08c879b0f243c9a77a95164bae199c46bb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 511/982] updated ubuntu_14.04.yaml --- .github/workflows/ubuntu_14.04.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml index b38f1bfcd..da84dee9c 100644 --- a/.github/workflows/ubuntu_14.04.yaml +++ b/.github/workflows/ubuntu_14.04.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 2745c6081b0003bc43c800c77d337c3e278df4aa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 512/982] updated ubuntu_16.04.yaml --- .github/workflows/ubuntu_16.04.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml index 26802e404..a77170ded 100644 --- a/.github/workflows/ubuntu_16.04.yaml +++ b/.github/workflows/ubuntu_16.04.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 08c56418776425a67ae79de8ff474c7fd9748e06 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 513/982] updated ubuntu_18.04.yaml --- .github/workflows/ubuntu_18.04.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml index 70bc87eb6..5e66ef8d3 100644 --- a/.github/workflows/ubuntu_18.04.yaml +++ b/.github/workflows/ubuntu_18.04.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 19f3b31a1875a5cc11b7d69a9e6307998306adec Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 514/982] updated ubuntu_20.04.yaml --- .github/workflows/ubuntu_20.04.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 46fa80dc6..7da14d8bc 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From acfddac39d122371223af906eeb7f5fdbaa489c0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 515/982] updated ubuntu_github.yaml --- .github/workflows/ubuntu_github.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 5b736dffc..5a24bd177 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -38,7 +38,9 @@ concurrency: jobs: build: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Build uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master with: From 21adc74146717bbeca517c5e4856ec749a201b2a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 516/982] updated validate.yaml --- .github/workflows/validate.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index b9634e4ae..a2daad965 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -45,6 +45,8 @@ concurrency: jobs: validate: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Validate uses: HariSekhon/GitHub-Actions/.github/workflows/validate.yaml@master From 7767f1c7d3a77a1094c1d5d476b9fbca8eca70c1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 17:58:43 +0100 Subject: [PATCH 517/982] updated yaml.yaml --- .github/workflows/yaml.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index 42f1aae0e..81a6578a6 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -47,6 +47,8 @@ concurrency: jobs: check_yaml: - if: github.event.repository.fork == false + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' name: Check YAML uses: HariSekhon/GitHub-Actions/.github/workflows/yaml.yaml@master From 6b71f80bd0b4c07e0a54f46a3219e993ac2fe9fb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 19:32:08 +0100 Subject: [PATCH 518/982] updated fork-sync.yaml --- .github/workflows/fork-sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index f1e605236..4d4ebd577 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -22,7 +22,7 @@ on: required: false default: false schedule: - - cron: '30 9 * * 2' + - cron: '0 */3 * * *' permissions: contents: write From 00a4cadd8711a2ad22e4e43f89cc3eddb1ff9335 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 21 Apr 2022 19:32:08 +0100 Subject: [PATCH 519/982] updated fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 1767b3e33..eff67422c 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -22,7 +22,6 @@ on: required: false default: false schedule: - # fork-sync happens 9:30 every tuesday, so after that run PRs for branches - cron: '0 10 * * 2' permissions: From 899f6498e290a1c65f8ec31e33a0a6ea34a4a712 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Apr 2022 12:34:44 +0100 Subject: [PATCH 520/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 62a152225..c9878cdf5 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 62a152225697e0c05244aa52ab875dc2978baf20 +Subproject commit c9878cdf5cb52eea7366c73967e415a2a25cb62a From d7678a89275e50e4022eff301e27cbc20dd3c1a2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Apr 2022 12:34:44 +0100 Subject: [PATCH 521/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 8ae4d15e2..1dc4ec7c5 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 8ae4d15e20b0f061385485abea2369e2b3e634e6 +Subproject commit 1dc4ec7c57ea82317910cb6d9a550837af120a68 From c749b62f069144e277b62a12e0a0e4a3ed98b2d0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Apr 2022 12:34:44 +0100 Subject: [PATCH 522/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 6f5a26d58..9ac92d3dc 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 6f5a26d58504258b2749a8316ae92b3836d27bf8 +Subproject commit 9ac92d3dcb3c2f72d0b9ab896604e932f5d43aa7 From 17c617a928901140f5262de94b77ee1b5188d815 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Apr 2022 12:34:44 +0100 Subject: [PATCH 523/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 68441f7ed..7330e7ab9 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 68441f7edeeedd5408c95e3969eaa0f3721b5296 +Subproject commit 7330e7ab958a08a3f22a70dfdb4d807dc9276d74 From 14923853f2771751c179cd867a0d94b9ea418bac Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Apr 2022 18:44:33 +0100 Subject: [PATCH 524/982] updated fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index eff67422c..00479ecb7 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -22,7 +22,7 @@ on: required: false default: false schedule: - - cron: '0 10 * * 2' + - cron: '0 10 * * 1' permissions: contents: write From af2e0f141749df2aeac0f488ebbd129453d5ecdc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Apr 2022 19:01:13 +0100 Subject: [PATCH 525/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index c9878cdf5..4bc47ad4e 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit c9878cdf5cb52eea7366c73967e415a2a25cb62a +Subproject commit 4bc47ad4e3dc0d23f08054b6f4687a92869ec9f5 From 1999b1bbabccf27c89a7ea9c06dfaff42bce782d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Apr 2022 19:01:13 +0100 Subject: [PATCH 526/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 1dc4ec7c5..b22457e26 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 1dc4ec7c57ea82317910cb6d9a550837af120a68 +Subproject commit b22457e26204158f537524111be4e45669b82663 From 504eb8b6c3a39f38e2b683a9328e988dd4da7a77 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Apr 2022 19:01:13 +0100 Subject: [PATCH 527/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 9ac92d3dc..300fd2a80 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 9ac92d3dcb3c2f72d0b9ab896604e932f5d43aa7 +Subproject commit 300fd2a80741eaf8dcf3e2900f507a5531355bd7 From 749bd6a88cd56ff6c69c59d0aa0e44e282f6b8ec Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 27 Apr 2022 19:01:13 +0100 Subject: [PATCH 528/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 7330e7ab9..9a3f5c616 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 7330e7ab958a08a3f22a70dfdb4d807dc9276d74 +Subproject commit 9a3f5c616667cab76f98c13f2d8576610b877d1f From ed6feacd0214d212eaa0eb96a55fecde0798809b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:27 +0100 Subject: [PATCH 529/982] updated pypy2.yaml --- .github/workflows/pypy2.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml index ff7ebfc1f..7dbc25c7f 100644 --- a/.github/workflows/pypy2.yaml +++ b/.github/workflows/pypy2.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 3e3a05b93f242a81ae2943d73087e9ff2085e529 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:27 +0100 Subject: [PATCH 530/982] updated pypy3.yaml --- .github/workflows/pypy3.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml index be648b6b7..ac669813c 100644 --- a/.github/workflows/pypy3.yaml +++ b/.github/workflows/pypy3.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 058b98407d0b1b131ba6e9ce01ea2059c5a6ef0c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:27 +0100 Subject: [PATCH 531/982] updated python2.7.yaml --- .github/workflows/python2.7.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 6f6a3cc13..60b31b6bc 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 973c93960cd0793efa8f9dd739c4c5249ae8ea66 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:28 +0100 Subject: [PATCH 532/982] updated python3.10.yaml --- .github/workflows/python3.10.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index c7710cc6d..939ae7337 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 6516c90d6b7eb00bc64f96b00fb14acd049f0b4d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:28 +0100 Subject: [PATCH 533/982] updated python3.6.yaml --- .github/workflows/python3.6.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index a37f4b538..d6a61ea45 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 6bcf6787f950225bf13bce535cd23accce2a1f62 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:28 +0100 Subject: [PATCH 534/982] updated python3.7.yaml --- .github/workflows/python3.7.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 8c19509a2..70ca1f828 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From edb68351bd5881970da4e00050cd28a202fb53a8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:28 +0100 Subject: [PATCH 535/982] updated python3.8.yaml --- .github/workflows/python3.8.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 025424851..fd6dcefb2 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 11bf3fe84c23f316d212bd93bcde98cbd237bc4a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 15:19:29 +0100 Subject: [PATCH 536/982] updated python3.9.yaml --- .github/workflows/python3.9.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 862e2eccf..e8d331278 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -19,22 +19,14 @@ on: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' pull_request: branches: - master - main - paths-ignore: - - '**/*.md' - - '**/*.pl' - - '**/*.rb' - - '**/*.go' - - '**/*.sh' + paths: + - '**/*.py' workflow_dispatch: inputs: debug: From 9180bb752833e6178946378de108889c49fcd9dc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:37:12 +0100 Subject: [PATCH 537/982] added pylib and requirements.txt --- .github/workflows/python2.7.yaml | 6 ++++++ .github/workflows/python3.10.yaml | 6 ++++++ .github/workflows/python3.6.yaml | 6 ++++++ .github/workflows/python3.7.yaml | 6 ++++++ .github/workflows/python3.8.yaml | 6 ++++++ .github/workflows/python3.9.yaml | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml index 60b31b6bc..ff3e51dd1 100644 --- a/.github/workflows/python2.7.yaml +++ b/.github/workflows/python2.7.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python2.7.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python2.7.yaml workflow_dispatch: inputs: debug: diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 939ae7337..de6f79440 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.10.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.10.yaml workflow_dispatch: inputs: debug: diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml index d6a61ea45..84dce85e0 100644 --- a/.github/workflows/python3.6.yaml +++ b/.github/workflows/python3.6.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.6.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.6.yaml workflow_dispatch: inputs: debug: diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 70ca1f828..58ad6c210 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.7.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.7.yaml workflow_dispatch: inputs: debug: diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index fd6dcefb2..f1c806dc2 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.8.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.8.yaml workflow_dispatch: inputs: debug: diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index e8d331278..31c7d0ab8 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -21,12 +21,18 @@ on: - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.9.yaml pull_request: branches: - master - main paths: - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.9.yaml workflow_dispatch: inputs: debug: From 2fe17870b260fb815a2db3e63c0e7138b925f6b8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:48:31 +0100 Subject: [PATCH 538/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4bc47ad4e..b352785d0 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4bc47ad4e3dc0d23f08054b6f4687a92869ec9f5 +Subproject commit b352785d0250a833a1b77f18f3efbd8d0a9038eb From 1f7dd4b40204da6a26f91bb930fbf3fb36674694 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:48:31 +0100 Subject: [PATCH 539/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index b22457e26..ffe46e95e 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit b22457e26204158f537524111be4e45669b82663 +Subproject commit ffe46e95e258b70b9e66f1e928291a273b93973b From 1d29f187221e74e7e05c9322a00402b8f9d865a4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:48:31 +0100 Subject: [PATCH 540/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 300fd2a80..ad25bcb23 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 300fd2a80741eaf8dcf3e2900f507a5531355bd7 +Subproject commit ad25bcb23280f7307d8897111a238cc6b688f876 From 2ae16a579a126f1d43d69d9f4748a83bef4ec77a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:48:31 +0100 Subject: [PATCH 541/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 9a3f5c616..de060e1aa 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 9a3f5c616667cab76f98c13f2d8576610b877d1f +Subproject commit de060e1aa016757a2411b5ab8e8d35bf4750c9cb From 13675e4f89ec8b98b31c552cca802c7e3199c4c0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:54:31 +0100 Subject: [PATCH 542/982] updated docker_pytools_alpine.yaml --- .github/workflows/docker_pytools_alpine.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/docker_pytools_alpine.yaml b/.github/workflows/docker_pytools_alpine.yaml index c3687b351..252e76f7b 100644 --- a/.github/workflows/docker_pytools_alpine.yaml +++ b/.github/workflows/docker_pytools_alpine.yaml @@ -19,7 +19,22 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' + - .github/ + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + - .github/ workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false jobs: docker_build: @@ -31,6 +46,7 @@ jobs: ghcr.io/harisekhon/pytools:alpine dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-alpine + debug: ${{ github.event.inputs.debug }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} From 3204f55973046b07e10b5148d85074e6a0498dbd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:54:31 +0100 Subject: [PATCH 543/982] updated docker_pytools_centos.yaml --- .github/workflows/docker_pytools_centos.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/docker_pytools_centos.yaml b/.github/workflows/docker_pytools_centos.yaml index 92b36e7d5..88474229f 100644 --- a/.github/workflows/docker_pytools_centos.yaml +++ b/.github/workflows/docker_pytools_centos.yaml @@ -19,7 +19,22 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' + - .github/ + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + - .github/ workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false jobs: docker_build: @@ -31,6 +46,7 @@ jobs: ghcr.io/harisekhon/pytools:centos dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-centos + debug: ${{ github.event.inputs.debug }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} From 4fb936a61ebc471c3abb1bc378235ce3c343eeaf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:54:31 +0100 Subject: [PATCH 544/982] updated docker_pytools_debian.yaml --- .github/workflows/docker_pytools_debian.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/docker_pytools_debian.yaml b/.github/workflows/docker_pytools_debian.yaml index 8b34df315..876ccce1f 100644 --- a/.github/workflows/docker_pytools_debian.yaml +++ b/.github/workflows/docker_pytools_debian.yaml @@ -19,7 +19,22 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' + - .github/ + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + - .github/ workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false jobs: docker_build: @@ -31,6 +46,7 @@ jobs: ghcr.io/harisekhon/pytools:debian dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-debian + debug: ${{ github.event.inputs.debug }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} From d4196934562d74e6a72599ec297fccd8003c1d10 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:54:31 +0100 Subject: [PATCH 545/982] updated docker_pytools_fedora.yaml --- .github/workflows/docker_pytools_fedora.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/docker_pytools_fedora.yaml b/.github/workflows/docker_pytools_fedora.yaml index 190cf703b..0299270f3 100644 --- a/.github/workflows/docker_pytools_fedora.yaml +++ b/.github/workflows/docker_pytools_fedora.yaml @@ -19,7 +19,22 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' + - .github/ + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + - .github/ workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false jobs: docker_build: @@ -31,6 +46,7 @@ jobs: ghcr.io/harisekhon/pytools:fedora dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-fedora + debug: ${{ github.event.inputs.debug }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} From 9e62e14fb9aa565b9dc08bb46e8f8814df9d4bfb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 18:54:32 +0100 Subject: [PATCH 546/982] updated docker_pytools_ubuntu.yaml --- .github/workflows/docker_pytools_ubuntu.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/docker_pytools_ubuntu.yaml b/.github/workflows/docker_pytools_ubuntu.yaml index fe5e51a95..535621a81 100644 --- a/.github/workflows/docker_pytools_ubuntu.yaml +++ b/.github/workflows/docker_pytools_ubuntu.yaml @@ -19,7 +19,22 @@ on: branches: - master - main + paths-ignore: + - '**/*.md' + - .github/ + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + - .github/ workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false jobs: docker_build: @@ -33,6 +48,7 @@ jobs: ghcr.io/harisekhon/pytools:ubuntu dockerfile-repo: HariSekhon/Dockerfiles context: Dockerfiles/devops-python-tools-ubuntu + debug: ${{ github.event.inputs.debug }} secrets: DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} From 898775ec901b4d4cb8ad6204c98c59a69fdd8d1a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 19:01:47 +0100 Subject: [PATCH 547/982] added kics.yaml --- .github/workflows/kics.yaml | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/kics.yaml diff --git a/.github/workflows/kics.yaml b/.github/workflows/kics.yaml new file mode 100644 index 000000000..b73bedf6f --- /dev/null +++ b/.github/workflows/kics.yaml @@ -0,0 +1,54 @@ +# +# Author: Hari Sekhon +# Date: 2022-02-01 19:36:08 +0000 (Tue, 01 Feb 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Kics + +on: + push: + branches: + - master + - main + paths-ignore: + - '**/*.md' + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 0 * * 1' + +permissions: + actions: read + contents: read + security-events: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + kics: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Kics + uses: HariSekhon/GitHub-Actions/.github/workflows/kics.yaml@master From 6216db9880e0ce935a1e264566dad52a911a1e3e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 19:05:30 +0100 Subject: [PATCH 548/982] updated README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3aa702615..1561bd333 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ Hari Sekhon - DevOps Python Tools [![Repo on BitBucket](https://img.shields.io/badge/repo-BitBucket-0052CC?logo=bitbucket)](https://bitbucket.org/HariSekhon/DevOps-Python-tools) [![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Semgrep](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml) +[![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) [![Docker Build (Alpine)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml) [![Docker Build (CentOS)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml) From f3cc7f678f6a75a4dba04b47ac38c59a5ae28d9a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 19:31:49 +0100 Subject: [PATCH 549/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index b352785d0..df5a509bb 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit b352785d0250a833a1b77f18f3efbd8d0a9038eb +Subproject commit df5a509bb8c679914a137c8ff21597863fdd21ac From 131c4a984cb3848411c15b2036216c70ec5dbfbe Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 19:31:49 +0100 Subject: [PATCH 550/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index ffe46e95e..548ebc658 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit ffe46e95e258b70b9e66f1e928291a273b93973b +Subproject commit 548ebc658c20f56600cac1bbd87ee1f267274696 From fbed6887015c0207021ef28ce82a4376260a009d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 28 Apr 2022 19:31:49 +0100 Subject: [PATCH 551/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index de060e1aa..b81a01bca 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit de060e1aa016757a2411b5ab8e8d35bf4750c9cb +Subproject commit b81a01bca4cca15dd9cf495bb253d1e27693cc7d From d3b9407383090a554a75ec40f452155c4895765b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 10 May 2022 12:01:24 +0100 Subject: [PATCH 552/982] updated URLs --- .appveyor.yml | 4 +- .buildkite/pipeline.yml | 4 +- .circleci/config.yml | 4 +- .cirrus.yml | 4 +- .concourse.yml | 6 +-- .drone.yml | 4 +- .editorconfig | 2 +- .github/ISSUE_TEMPLATE.md | 2 +- .github/workflows/docker_pytools_alpine.yaml | 2 +- .github/workflows/docker_pytools_centos.yaml | 2 +- .github/workflows/docker_pytools_debian.yaml | 2 +- .github/workflows/docker_pytools_fedora.yaml | 2 +- .github/workflows/docker_pytools_ubuntu.yaml | 2 +- .../ghcr_python_ubuntu.yaml.disabled | 2 +- .gitlab-ci.yml | 2 +- .gitmodules | 2 +- .gocd.yml | 6 +-- .semaphore/semaphore.yml | 4 +- .travis.yml | 4 +- .yamllint | 4 +- Jenkinsfile | 6 +-- Makefile | 10 ++--- README.md | 38 +++++++++---------- ambari_ams_metrics.sh | 4 +- ambari_blueprints.py | 4 +- ambari_cancel_all_requests.sh | 4 +- ambari_trigger_service_checks.py | 4 +- anonymize.py | 8 ++-- anonymize_custom.conf | 8 +++- anonymize_ignore.conf | 2 +- anonymize_parallel.sh | 4 +- aws_s3_presign.py | 4 +- aws_users_access_key_age.py | 8 ++-- aws_users_last_used.py | 8 ++-- aws_users_pw_last_used.py | 8 ++-- aws_users_unused_access_keys.py | 8 ++-- azure-pipelines.yml | 2 +- bitbucket-pipelines.yml | 4 +- buddy.yml | 6 +-- buildspec.yml | 2 +- center.py | 4 +- cloudbuild.yaml | 2 +- cloudera_navigator_tables_used.py | 4 +- cloudera_navigator_tables_used_postgres.py | 4 +- codefresh.yml | 4 +- codeship.yml | 2 +- crunch_accounting_csv_statement_converter.py | 4 +- ...unch_accounting_csv_statement_converter.sh | 2 +- ...unch_accounting_csv_statement_converter.sh | 2 +- .../lib.sh | 2 +- docker_pull_all_images.sh | 4 +- docker_pull_all_images_all_tags.sh | 4 +- docker_pull_all_tags.sh | 4 +- docker_registry_show_tags.py | 4 +- dockerfiles_check_git_branches.py | 4 +- dockerfiles_check_git_tags.py | 4 +- dockerhub_search.py | 6 +-- dockerhub_show_tags.py | 4 +- find_active_apache_drill.py | 4 +- find_active_apache_drill2.py | 4 +- find_active_cassandra.py | 4 +- find_active_elasticsearch.py | 4 +- find_active_hadoop2_namenode.py | 4 +- find_active_hadoop_namenode.py | 4 +- find_active_hadoop_yarn_resource_manager.py | 4 +- find_active_hbase_master.py | 4 +- find_active_hbase_stargate.py | 4 +- find_active_hbase_thrift.py | 4 +- find_active_impala.py | 4 +- find_active_impala_catalog.py | 4 +- find_active_impala_statestore.py | 4 +- find_active_kubernetes_api.py | 4 +- find_active_oozie.py | 4 +- find_active_presto_coordinator.py | 4 +- find_active_server.py | 6 +-- find_active_solrcloud.py | 4 +- find_duplicate_files.py | 4 +- find_missing_files_in_sequence.py | 2 +- getent.py | 4 +- git_check_branches_upstream.py | 6 +-- hbase_compact_tables.py | 4 +- hbase_flush_tables.py | 4 +- hbase_generate_data.py | 4 +- hbase_region_requests.py | 4 +- hbase_regions_by_memstore_size.py | 4 +- hbase_regions_by_size.py | 4 +- hbase_regions_least_used.py | 4 +- hbase_regionserver_requests.py | 4 +- hbase_scan_table_column_names.sh | 4 +- hbase_show_table_region_ranges.py | 4 +- hbase_table_region_row_distribution.py | 4 +- hbase_table_regions_by_regionserver.sh | 4 +- hbase_table_regionserver_distribution.sh | 4 +- hbase_table_row_key_distribution.py | 4 +- hbase_uncompacted_regions.sh | 4 +- hdfs_files_native_checksums.jy | 4 +- hdfs_files_stats.jy | 4 +- hdfs_find_replication_factor_1.py | 4 +- hdfs_time_block_reads.jy | 4 +- headtail.py | 4 +- hexanonymize.py | 2 +- hive_compute_table_stats.py | 4 +- hive_foreach_table.py | 4 +- hive_schemas_csv.py | 4 +- hive_tables_column_counts.py | 4 +- hive_tables_list.py | 4 +- hive_tables_locations.py | 4 +- hive_tables_metadata.py | 4 +- hive_tables_null_columns.py | 4 +- hive_tables_null_rows.py | 4 +- hive_tables_row_column_counts.py | 4 +- hive_tables_row_counts.py | 4 +- hive_tables_row_counts_any_nulls.py | 4 +- impala_compute_table_stats.py | 4 +- impala_foreach_table.py | 4 +- impala_schemas_csv.py | 4 +- impala_tables_column_counts.py | 4 +- impala_tables_list.py | 4 +- impala_tables_locations.py | 4 +- impala_tables_metadata.py | 4 +- impala_tables_null_columns.py | 4 +- impala_tables_null_rows.py | 4 +- impala_tables_row_column_counts.py | 4 +- impala_tables_row_counts.py | 4 +- impala_tables_row_counts_any_nulls.py | 4 +- ipython_notebook_pyspark.py | 4 +- json_docs_to_bulk_multiline.py | 4 +- json_to_xml.py | 2 +- json_to_yaml.py | 2 +- jython_autoinstall.exp | 4 +- jython_install.sh | 4 +- lib/hive_impala_cli.py | 4 +- lib/postgres_cli.py | 4 +- opentsdb_import_metric_distribution.py | 4 +- opentsdb_list_metrics.sh | 4 +- opentsdb_list_metrics_hbase.sh | 4 +- pig_udfs.jy | 2 +- python_find_library_path.py | 4 +- pythonpath.py | 4 +- quay_show_tags.py | 4 +- serf_event_handler.py | 4 +- setup/apk-packages-dev.txt | 4 +- setup/apk-packages-pip.txt | 4 +- setup/apk-packages.txt | 4 +- setup/bootstrap.sh | 6 +-- setup/brew-packages.txt | 4 +- setup/ci_bootstrap.sh | 4 +- setup/deb-packages-dev.txt | 4 +- setup/deb-packages-optional.txt | 4 +- setup/deb-packages-pip.txt | 4 +- setup/deb-packages.txt | 4 +- setup/gocd_config_repo.json | 2 +- setup/jenkins-job.xml | 4 +- setup/rpm-packages-dev.txt | 4 +- setup/rpm-packages-optional.txt | 4 +- setup/rpm-packages-pip.txt | 4 +- setup/rpm-packages.txt | 4 +- shippable.yml | 4 +- sonar-project.properties | 10 ++--- spark_avro_to_parquet.py | 4 +- spark_csv_to_avro.py | 4 +- spark_csv_to_parquet.py | 4 +- spark_json_to_avro.py | 4 +- spark_json_to_parquet.py | 4 +- spark_parquet_to_avro.py | 4 +- strip_ansi_escape_codes.py | 4 +- tests/all.sh | 4 +- tests/check.sh | 4 +- tests/compile.sh | 4 +- tests/data/add_ou.ldif | 4 +- tests/data/ldap_download.sh | 2 +- tests/data/ldap_upload.sh | 2 +- tests/docker/apache-drill-docker-compose.yml | 4 +- tests/docker/common.yml | 4 +- tests/docker/elasticsearch-docker-compose.yml | 4 +- ...lasticsearch-elastic.co-docker-compose.yml | 4 +- tests/docker/hadoop-docker-compose.yml | 4 +- tests/docker/hbase-docker-compose.yml | 4 +- tests/docker/presto-dev-docker-compose.yml | 4 +- tests/docker/presto-docker-compose.yml | 4 +- tests/docker/registry-docker-compose.yml | 4 +- tests/docker/solrcloud-docker-compose.yml | 4 +- tests/excluded.sh | 4 +- tests/help.sh | 4 +- tests/python3.sh | 4 +- tests/syntax.sh | 4 +- tests/test_anonymize.sh | 4 +- tests/test_apache-drill.sh | 4 +- tests/test_center.sh | 2 +- tests/test_docker.sh | 4 +- tests/test_docker_registry_show_tags.sh | 4 +- tests/test_dockerfiles_check_git_branches.sh | 6 +-- tests/test_dockerfiles_check_git_tags.sh | 6 +-- tests/test_dockerhub_search.sh | 4 +- tests/test_dockerhub_show_tags.sh | 4 +- tests/test_elasticsearch.sh | 4 +- tests/test_find_active_server.sh | 2 +- tests/test_find_duplicate_files.sh | 4 +- tests/test_find_python_library_path.sh | 4 +- tests/test_getent.sh | 4 +- tests/test_git_check_branches_upstream.sh | 6 +-- tests/test_hadoop.sh | 4 +- tests/test_hbase.sh | 4 +- tests/test_headtail.sh | 4 +- tests/test_json.sh | 4 +- tests/test_json_docs_to_bulk_multiline.sh | 4 +- tests/test_json_to_xml.sh | 4 +- tests/test_json_to_yaml.sh | 4 +- tests/test_opentsdb.sh | 4 +- tests/test_presto.sh | 4 +- tests/test_quay_show_tags.sh | 4 +- tests/test_serf_event_handler.sh | 4 +- tests/test_solrcloud.sh | 4 +- tests/test_spark_csv_to_avro.sh | 4 +- tests/test_spark_csv_to_parquet.sh | 4 +- tests/test_spark_json_to_avro.sh | 4 +- tests/test_spark_json_to_parquet.sh | 4 +- tests/test_spark_z_avro_to_parquet.sh | 4 +- tests/test_spark_z_parquet_to_avro.sh | 4 +- tests/test_timeout.sh | 2 +- tests/test_validate_avro.sh | 4 +- tests/test_validate_cson.sh | 4 +- tests/test_validate_csv.sh | 4 +- tests/test_validate_ini.sh | 4 +- tests/test_validate_json.sh | 4 +- tests/test_validate_ldap_ldif.sh | 4 +- tests/test_validate_multimedia.sh | 4 +- tests/test_validate_parquet.sh | 4 +- tests/test_validate_toml.sh | 4 +- tests/test_validate_xml.sh | 4 +- tests/test_validate_yaml.sh | 4 +- tests/test_welcome.sh | 4 +- tests/test_xml_to_json.sh | 4 +- tests/test_xml_to_yaml.sh | 4 +- tests/test_yamllint.sh | 4 +- tests/utils.sh | 4 +- timeout.py | 4 +- travis_debug_session.py | 4 +- travis_last_log.py | 4 +- urldecode.py | 4 +- urlencode.py | 4 +- validate_avro.py | 4 +- validate_cson.py | 4 +- validate_csv.py | 4 +- validate_ini.py | 4 +- validate_ini2.py | 4 +- validate_json.py | 4 +- validate_ldap_ldif.py | 4 +- validate_multimedia.py | 4 +- validate_parquet.py | 4 +- validate_toml.py | 4 +- validate_xml.py | 4 +- validate_yaml.py | 4 +- welcome.py | 4 +- wercker.yml | 4 +- xml_to_json.py | 2 +- xml_to_yaml.py | 2 +- yaml_to_json.py | 2 +- 258 files changed, 532 insertions(+), 528 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 1551a3473..b706d6f72 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,13 +4,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # https://www.appveyor.com/docs/appveyor-yml/ diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 53dd7405b..93f047c02 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -4,13 +4,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # BuildKite Pipeline diff --git a/.circleci/config.yml b/.circleci/config.yml index 37332c73c..5dbde36b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,13 +5,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # Master Template with more advanced config: diff --git a/.cirrus.yml b/.cirrus.yml index 7f1425a4c..d544aeb85 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,13 +4,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # https://cirrus-ci.org/guide/writing-tasks/ diff --git a/.concourse.yml b/.concourse.yml index 9ed7da3e2..42b806f26 100644 --- a/.concourse.yml +++ b/.concourse.yml @@ -4,13 +4,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # resources: @@ -18,7 +18,7 @@ resources: icon: github-circle type: git source: - uri: https://github.com/harisekhon/devops-python-tools + uri: https://github.com/HariSekhon/DevOps-Python-tools branch: master #- name: daily # type: time diff --git a/.drone.yml b/.drone.yml index 790bdcf4c..4d36c9db2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,13 +6,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # https://docs.drone.io/quickstart/cli/ diff --git a/.editorconfig b/.editorconfig index 268166e72..aac36b310 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,7 @@ # Author: Hari Sekhon # Date: 2015-10-31 19:04:34 +0000 (Sat, 31 Oct 2015) # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 5f04c0a58..aa46b9847 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,3 @@ Please be specific about your issue and include debug output from running with `-v -v -v` or for shell scripts after setting `export DEBUG=1` in your shell. -You can anonymize hostnames / FQDNs, IP / MAC addresses, Kerberos principals, email addresses and almost anything else using `anonymize.pl` or the newer `anonymize.py` available in the [DevOps Perl Tools](https://github.com/HariSekhon/DevOps-Perl-Tools) and [DevOps Python Tools](https://github.com/HariSekhon/DevOps-Python-Tools) respectively. +You can anonymize hostnames / FQDNs, IP / MAC addresses, Kerberos principals, email addresses and almost anything else using `anonymize.pl` or the newer `anonymize.py` available in the [DevOps Perl Tools](https://github.com/HariSekhon/DevOps-Perl-tools) and [DevOps Python Tools](https://github.com/HariSekhon/DevOps-Python-tools) respectively. diff --git a/.github/workflows/docker_pytools_alpine.yaml b/.github/workflows/docker_pytools_alpine.yaml index 252e76f7b..8ce10e111 100644 --- a/.github/workflows/docker_pytools_alpine.yaml +++ b/.github/workflows/docker_pytools_alpine.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/docker_pytools_centos.yaml b/.github/workflows/docker_pytools_centos.yaml index 88474229f..e8db3ff9c 100644 --- a/.github/workflows/docker_pytools_centos.yaml +++ b/.github/workflows/docker_pytools_centos.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/docker_pytools_debian.yaml b/.github/workflows/docker_pytools_debian.yaml index 876ccce1f..2b92c8282 100644 --- a/.github/workflows/docker_pytools_debian.yaml +++ b/.github/workflows/docker_pytools_debian.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/docker_pytools_fedora.yaml b/.github/workflows/docker_pytools_fedora.yaml index 0299270f3..92a93a6b4 100644 --- a/.github/workflows/docker_pytools_fedora.yaml +++ b/.github/workflows/docker_pytools_fedora.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/docker_pytools_ubuntu.yaml b/.github/workflows/docker_pytools_ubuntu.yaml index 535621a81..d6a4ddcb0 100644 --- a/.github/workflows/docker_pytools_ubuntu.yaml +++ b/.github/workflows/docker_pytools_ubuntu.yaml @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.github/workflows/ghcr_python_ubuntu.yaml.disabled b/.github/workflows/ghcr_python_ubuntu.yaml.disabled index fdd5ad61b..c4503bc13 100644 --- a/.github/workflows/ghcr_python_ubuntu.yaml.disabled +++ b/.github/workflows/ghcr_python_ubuntu.yaml.disabled @@ -8,7 +8,7 @@ # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af2a6a22b..f9a691721 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ # Author: Hari Sekhon # Date: Sun Feb 23 19:02:10 2020 +0000 # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # diff --git a/.gitmodules b/.gitmodules index 2bb07ff73..455bce3c9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "pylib"] path = pylib - url = https://github.com/harisekhon/pylib + url = https://github.com/HariSekhon/pylib branch = master [submodule "bash-tools"] path = bash-tools diff --git a/.gocd.yml b/.gocd.yml index 69d289bf4..d3a89a0ef 100644 --- a/.gocd.yml +++ b/.gocd.yml @@ -3,13 +3,13 @@ # Author: Hari Sekhon # Date: 2020-03-21 11:14:07 +0000 (Sat, 21 Mar 2020) # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help improve or steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # https://github.com/tomzo/gocd-yaml-config-plugin#setup @@ -26,7 +26,7 @@ pipelines: display_order: -1 materials: git: - git: https://github.com/harisekhon/devops-python-tools + git: https://github.com/HariSekhon/DevOps-Python-tools shallow_clone: false auto_update: true branch: master diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 99040a203..dd256f26c 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -4,13 +4,13 @@ # # vim:ts=2:sts=2:sw=2:et # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # https://docs.semaphoreci.com/reference/pipeline-yaml-reference/ diff --git a/.travis.yml b/.travis.yml index 71348b0bc..47f2f80b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,14 @@ # Author: Hari Sekhon # Date: 2014-11-29 01:02:47 +0000 (Sat, 29 Nov 2014) # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # to help improve or steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # ============================================================================ # diff --git a/.yamllint b/.yamllint index b5e6f8448..e29153b7f 100644 --- a/.yamllint +++ b/.yamllint @@ -3,13 +3,13 @@ # Author: Hari Sekhon # Date: 2019-02-26 14:42:07 +0000 (Tue, 26 Feb 2019) # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # --- diff --git a/Jenkinsfile b/Jenkinsfile index 7739f92e3..c4ff34fb2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,13 +4,13 @@ // Author: Hari Sekhon // Date: 2017-06-28 12:39:02 +0200 (Wed, 28 Jun 2017) // -// https://github.com/harisekhon/devops-python-tools +// https://github.com/HariSekhon/DevOps-Python-tools // // License: see accompanying Hari Sekhon LICENSE file // // If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish // -// https://www.linkedin.com/in/harisekhon +// https://www.linkedin.com/in/HariSekhon // // ========================================================================== // @@ -49,7 +49,7 @@ pipeline { stages { stage ('Checkout') { steps { - checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '', url: 'https://github.com/harisekhon/devops-python-tools']]]) + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '', url: 'https://github.com/HariSekhon/DevOps-Python-tools']]]) } } diff --git a/Makefile b/Makefile index b7f961b67..ae61cbc5e 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ # Author: Hari Sekhon # Date: 2013-02-03 10:25:36 +0000 (Sun, 03 Feb 2013) # -# https://github.com/harisekhon/devops-python-tools +# https://github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying LICENSE file # -# https://www.linkedin.com/in/harisekhon +# https://www.linkedin.com/in/HariSekhon # # Travis has custom python install earlier in $PATH even in Perl builds so need to install PyPI modules to non-system python otherwise they're not found by programs. @@ -21,15 +21,15 @@ # # Alpine: # -# apk add --no-cache git make && git clone https://github.com/harisekhon/devops-python-tools pytools && cd pytools && make +# apk add --no-cache git make && git clone https://github.com/HariSekhon/DevOps-Python-tools pytools && cd pytools && make # # Debian / Ubuntu: # -# apt-get update && apt-get install -y make git && git clone https://github.com/harisekhon/devops-python-tools pytools && cd pytools && make +# apt-get update && apt-get install -y make git && git clone https://github.com/HariSekhon/DevOps-Python-tools pytools && cd pytools && make # # RHEL / CentOS: # -# yum install -y make git && git clone https://github.com/harisekhon/devops-python-tools pytools && cd pytools && make +# yum install -y make git && git clone https://github.com/HariSekhon/DevOps-Python-tools pytools && cd pytools && make # =================== diff --git a/README.md b/README.md index 1561bd333..535e5389a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ Hari Sekhon - DevOps Python Tools ================================= -[![GitHub stars](https://img.shields.io/github/stars/harisekhon/devops-python-tools?logo=github)](https://github.com/harisekhon/devops-python-tools/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/harisekhon/devops-python-tools?logo=github)](https://github.com/harisekhon/devops-python-tools/network) +[![GitHub stars](https://img.shields.io/github/stars/harisekhon/devops-python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/harisekhon/devops-python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/network) [![License](https://img.shields.io/github/license/HariSekhon/DevOps-Python-tools)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/LICENSE) [![Lines of Code](https://img.shields.io/badge/lines%20of%20code-26k-lightgrey?logo=codecademy)](https://github.com/HariSekhon/DevOps-Python-tools) [![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/DevOps-Python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/commits/master) @@ -116,10 +116,10 @@ DevOps, Cloud, Big Data, NoSQL, Python & Linux tools. All programs have `--help` See Also: - - [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - - [DevOps Perl Tools](https://github.com/harisekhon/devops-perl-tools) + - [DevOps Bash Tools](https://github.com/HariSekhon/DevOps-Bash-tools) + - [DevOps Perl Tools](https://github.com/HariSekhon/DevOps-Perl-tools) - [DevOps Golang Tools](https://github.com/HariSekhon/DevOps-Golang-tools) - - [Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins) + - [Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) repos which contains hundreds more scripts and programs for Cloud, Big Data, SQL, NoSQL, Web and Linux. @@ -127,7 +127,7 @@ Hari Sekhon Cloud & Big Data Contractor, United Kingdom -[![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=linkedin)](https://www.linkedin.com/in/harisekhon/) +[![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=linkedin)](https://www.linkedin.com/in/HariSekhon/) ###### (you're welcome to connect with me on LinkedIn) ##### Make sure you run ```make update``` if updating and not just ```git pull``` as you will often need the latest library submodule and possibly new upstream libraries. ##### @@ -156,7 +156,7 @@ curl -L https://git.io/python-bootstrap | sh or manually: ``` -git clone https://github.com/harisekhon/devops-python-tools pytools +git clone https://github.com/HariSekhon/DevOps-Python-tools pytools cd pytools make ``` @@ -166,9 +166,9 @@ To only install pip dependencies for a single script, you can just type make and make anonymize.pyc ``` -Make sure to read [Detailed Build Instructions](https://github.com/HariSekhon/devops-python-tools#detailed-build-instructions) further down for more information. +Make sure to read [Detailed Build Instructions](https://github.com/HariSekhon/DevOps-Python-tools#detailed-build-instructions) further down for more information. -Some Hadoop tools with require Jython, see [Jython for Hadoop Utils](https://github.com/harisekhon/devops-python-tools#jython-for-hadoop-utils) for details. +Some Hadoop tools with require Jython, see [Jython for Hadoop Utils](https://github.com/HariSekhon/DevOps-Python-tools#jython-for-hadoop-utils) for details. ### Usage @@ -290,7 +290,7 @@ Environment variables are supported for convenience and also to hide credentials - ```find_active_oozie.py``` - returns first active [Oozie](http://oozie.apache.org/) server - ```find_active_solrcloud.py``` - returns first available [Solr](http://lucene.apache.org/solr/) / [SolrCloud](https://wiki.apache.org/solr/SolrCloud) node - ```find_active_elasticsearch.py``` - returns first available [Elasticsearch](https://www.elastic.co/products/elasticsearch) node - - see also: [Advanced HAProxy configurations](https://github.com/harisekhon/haproxy-configs) which are part of the [Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins) + - see also: [Advanced HAProxy configurations](https://github.com/HariSekhon/HAProxy-configs) which are part of the [Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) - [Travis CI](https://travis-ci.org/): - ```travis_last_log.py``` - fetches [Travis CI](https://travis-ci.org/) latest running / completed / failed build log for given repo - useful for quickly getting the log of the last failed build when CCMenu or BuildNotify applets turn red - ```travis_debug_session.py``` - launches a [Travis CI](https://travis-ci.org/) interactive debug build session via Travis API, tracks session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot debug launcher for Travis CI @@ -321,7 +321,7 @@ The automated build will use 'sudo' to install required Python PyPI libraries to Enter the pytools directory and run git submodule init and git submodule update to fetch my library repo: ``` -git clone https://github.com/harisekhon/devops-python-tools pytools +git clone https://github.com/HariSekhon/DevOps-Python-tools pytools cd pytools git submodule init git submodule update @@ -333,7 +333,7 @@ sudo pip install -r requirements.txt Download the DevOps Python Tools and Pylib git repos as zip files: -https://github.com/HariSekhon/devops-python-tools/archive/master.zip +https://github.com/HariSekhon/DevOps-Python-tools/archive/master.zip https://github.com/HariSekhon/pylib/archive/master.zip @@ -433,7 +433,7 @@ Then add the Jython install bin directory to the $PATH or specify the full path #### Configuration for Strict Domain / FQDN validation #### -Strict validations include host/domain/FQDNs using TLDs which are populated from the official IANA list is done via my [PyLib](https://github.com/harisekhon/pylib) library submodule - see there for details on configuring this to permit custom TLDs like `.local`, `.intranet`, `.vm`, `.cloud` etc. (all already included in there because they're common across companies internal environments). +Strict validations include host/domain/FQDNs using TLDs which are populated from the official IANA list is done via my [PyLib](https://github.com/HariSekhon/pylib) library submodule - see there for details on configuring this to permit custom TLDs like `.local`, `.intranet`, `.vm`, `.cloud` etc. (all already included in there because they're common across companies internal environments). #### Python SSL certificate verification problems @@ -457,9 +457,9 @@ If you update often and want to just quickly git pull + submodule update but ski ### Testing [Continuous Integration](https://travis-ci.org/HariSekhon/devops-python-tools) is run on this repo with tests for success and failure scenarios: -- unit tests for the custom supporting [python library](https://github.com/harisekhon/pylib) +- unit tests for the custom supporting [python library](https://github.com/HariSekhon/pylib) - integration tests of the top level programs using the libraries for things like option parsing -- [functional tests](https://github.com/HariSekhon/devops-python-tools/tree/master/tests) for the top level programs using local test data and [Docker containers](https://hub.docker.com/u/harisekhon/) +- [functional tests](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/tests) for the top level programs using local test data and [Docker containers](https://hub.docker.com/u/harisekhon/) To trigger all tests run: @@ -475,7 +475,7 @@ Patches, improvements and even general feedback are welcome in the form of GitHu ### See Also ### -- [DevOps Bash Tools](https://github.com/harisekhon/devops-bash-tools) - 700+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies +- [DevOps Bash Tools](https://github.com/HariSekhon/DevOps-Bash-tools) - 700+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies - [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery @@ -483,7 +483,7 @@ Patches, improvements and even general feedback are welcome in the form of GitHu - [Kubernetes configs](https://github.com/HariSekhon/Kubernetes-configs) - Kubernetes YAML configs - Best Practices, Tips & Tricks are baked right into the templates for future deployments -- [The Advanced Nagios Plugins Collection](https://github.com/harisekhon/nagios-plugins) - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux) +- [The Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux) - [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) - 25+ DevOps CLI tools for Hadoop, HDFS, Hive, Solr/SolrCloud CLI, Log Anonymizer, Nginx stats & HTTP(S) URL watchers for load balanced web farms, Dockerfiles & SQL ReCaser (MySQL, PostgreSQL, AWS Redshift, Snowflake, Apache Drill, Hive, Impala, Cassandra CQL, Microsoft SQL Server, Oracle, Couchbase N1QL, Dockerfiles, Pig Latin, Neo4j, InfluxDB), Ambari FreeIPA Kerberos, Datameer, Linux... @@ -491,9 +491,9 @@ Patches, improvements and even general feedback are welcome in the form of GitHu - [Dockerfiles](https://github.com/HariSekhon/Dockerfiles) - 50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Mesos, Consul, Riak, OpenTSDB, Jython, Advanced Nagios Plugins & DevOps Tools repos on Alpine, CentOS, Debian, Fedora, Ubuntu, Superset, H2O, Serf, Alluxio / Tachyon, FakeS3 -- [PyLib](https://github.com/harisekhon/pylib) - Python library leveraged throughout the programs in this repo as a submodule +- [PyLib](https://github.com/HariSekhon/pylib) - Python library leveraged throughout the programs in this repo as a submodule -- [Perl Lib](https://github.com/harisekhon/lib) - Perl version of above library +- [Perl Lib](https://github.com/HariSekhon/lib) - Perl version of above library From bccc01b7473cf51d3a5be02a09f379fe3ff569fe Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:04:42 +0100 Subject: [PATCH 690/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 0caddf7a5..5e7dfbdc8 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 0caddf7a58297dd75d19ecfea71eb2206853d4c4 +Subproject commit 5e7dfbdc8cea422b6856153eea3c01df4c84a60c From 5a0a33122adaa05720ea69222186feae21887c6f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:04:42 +0100 Subject: [PATCH 691/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 357fcd97c..4515bb958 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 357fcd97c3ccf3b6f89aa07ef71c994504e7c7c8 +Subproject commit 4515bb958f4b27c7c5854ba77ee665b41852dd5b From cf3544f48c0168b9be909b530a3c071d9b46aad7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:04:43 +0100 Subject: [PATCH 692/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index ff707a116..d4eedc0e2 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit ff707a1168889fb3ad759c030f3fc633d23d800f +Subproject commit d4eedc0e2c68c9a43838c89a1d09abf10927a566 From 194ca3daa90416a88ee399a7b9e7c3f0d7bd90c7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:04:43 +0100 Subject: [PATCH 693/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 7373f570f..8d838daa6 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 7373f570ffb1a790ec576ef4c6cf52dcf0785ba0 +Subproject commit 8d838daa669dc05d497d5fb2fa1aef631c613acf From 2b13a79338d74de5b5ea78f59cd02f79484e1c61 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:28:26 +0100 Subject: [PATCH 694/982] renamed debian_8.yaml to debian_8.yaml.disabled --- .github/workflows/{debian_8.yaml => debian_8.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{debian_8.yaml => debian_8.yaml.disabled} (100%) diff --git a/.github/workflows/debian_8.yaml b/.github/workflows/debian_8.yaml.disabled similarity index 100% rename from .github/workflows/debian_8.yaml rename to .github/workflows/debian_8.yaml.disabled From 8ef52b84f1c5e3aa90439b660ec903ee8c132e05 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:37:40 +0100 Subject: [PATCH 695/982] added debian_11.yaml --- .github/workflows/debian_11.yaml | 85 ++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflows/debian_11.yaml diff --git a/.github/workflows/debian_11.yaml b/.github/workflows/debian_11.yaml new file mode 100644 index 000000000..de3b4b96f --- /dev/null +++ b/.github/workflows/debian_11.yaml @@ -0,0 +1,85 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Debian 11 + +on: + push: + branches: + - master + paths-ignore: + - '**/*.md' + - '.github/workflows/*' + - '!.github/workflows/debian_11.yaml' + - '**/Dockerfile' + - '**/Jenkinsfile' + - '**/.envrc*' + - .checkov.yaml + - .dockerignore + - .gcloudignore + - .editorconfig + - '.gitconfig*' + - .gitignore + - .grype.yaml + - .hound.yml + - .terraformignore + - Jenkinsfile + - .appveyor.yml + - .buildkite/pipeline.yml + - .circleci/config.yml + - .cirrus.yml + - .concourse.yml + - .drone.yml + - .gitlab-ci.yml + - .gocd.yml + - .scrutinizer.yml + - .semaphore/semaphore.yml + - .travis.yml + - .werckerignore + - azure-pipelines.yml + - bitbucket-pipelines.yml + - buddy.yml + - buildspec.yml + - cloudbuild.yaml + - codefresh.yml + - codeship.yml + - shippable.yml + - wercker.yml + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 7 * * *' + +permissions: + contents: read + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Build + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master + with: + container: debian:11 + caches: apt pip cpanm + debug: ${{ github.event.inputs.debug }} From ed38e3efe36f2d5fc3eae3f90b6f50d82d538a47 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 22:49:50 +0100 Subject: [PATCH 696/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 152556544..af9216972 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ [![Ubuntu 18.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2018.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+18.04%22) [![Ubuntu 20.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2020.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+20.04%22) [![Debian](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian%22) -[![Debian 8](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%208/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+8%22) [![Debian 9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%209/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+9%22) [![Debian 10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%2010/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+10%22) +[![Debian 11](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%2011/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+11%22) [![CentOS](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS%22) [![CentOS 7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS%207/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS+7%22) [![CentOS 8](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS%208/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS+8%22) From 5ba4480dc89627d3c39d1f8de03f3450d709fa7c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:42:16 +0100 Subject: [PATCH 697/982] updated README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index af9216972..c6ae3495f 100644 --- a/README.md +++ b/README.md @@ -51,11 +51,9 @@ [![Codefresh](https://g.codefresh.io/api/badges/pipeline/harisekhon/GitHub%2FDevOps-Python-tools?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NWU1MmM5OGNiM2FiOWUzM2Y3ZDZmYjM3.O69674cW7vYom3v5JOGKXDbYgCVIJU9EWhXUMHl3zwA&type=cf-1)](https://g.codefresh.io/pipelines/edit/new/builds?id=5e58e2e6353f5d1ada385bf2&pipeline=DevOps-Python-tools&projects=GitHub&projectId=5e52ca8ea284e00f882ea992&context=github&filter=page:1;pageSize:10;timeFrameStart:week) [![Cirrus CI](https://img.shields.io/cirrus/github/HariSekhon/DevOps-Python-tools/master?logo=Cirrus%20CI&label=Cirrus%20CI)](https://cirrus-ci.com/github/HariSekhon/DevOps-Python-tools) [![Semaphore](https://harisekhon.semaphoreci.com/badges/DevOps-Python-tools.svg)](https://harisekhon.semaphoreci.com/projects/DevOps-Python-tools) -[![Wercker](https://app.wercker.com/status/b40735fb89e7d989dbaf5659a9af9a20/s/master "wercker status")](https://app.wercker.com/harisekhon/DevOps-Python-tools/runs) [![Buddy](https://img.shields.io/badge/Buddy-ready-1A86FD?logo=buddy)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buddy.yml) [![Shippable](https://img.shields.io/badge/Shippable-legacy-lightgrey?logo=jfrog&label=Shippable)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/shippable.yml) [![Travis CI](https://img.shields.io/badge/TravisCI-ready-blue?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) - [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) [![GitLab Pipeline](https://img.shields.io/gitlab/pipeline/harisekhon/DevOps-Python-tools?logo=gitlab&label=GitLab%20CI)](https://gitlab.com/HariSekhon/DevOps-Python-tools/pipelines) From 824e98dd0d38a3382c69dac5eb7e85b1056836ff Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:49:30 +0100 Subject: [PATCH 698/982] renamed python3.6.yaml to python3.6.yaml.disabled --- .github/workflows/{python3.6.yaml => python3.6.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{python3.6.yaml => python3.6.yaml.disabled} (100%) diff --git a/.github/workflows/python3.6.yaml b/.github/workflows/python3.6.yaml.disabled similarity index 100% rename from .github/workflows/python3.6.yaml rename to .github/workflows/python3.6.yaml.disabled From 7408f3ce0898dea20692929e949e336edd98dfe8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:49:36 +0100 Subject: [PATCH 699/982] renamed python2.7.yaml to python2.7.yaml.disabled --- .github/workflows/{python2.7.yaml => python2.7.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{python2.7.yaml => python2.7.yaml.disabled} (100%) diff --git a/.github/workflows/python2.7.yaml b/.github/workflows/python2.7.yaml.disabled similarity index 100% rename from .github/workflows/python2.7.yaml rename to .github/workflows/python2.7.yaml.disabled From 83b8b0506a21b3636ba4f75627f965c01fb0545f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:51:59 +0100 Subject: [PATCH 700/982] added python3.11.yaml --- .github/workflows/python3.11.yaml | 62 +++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/workflows/python3.11.yaml diff --git a/.github/workflows/python3.11.yaml b/.github/workflows/python3.11.yaml new file mode 100644 index 000000000..8e2d041ac --- /dev/null +++ b/.github/workflows/python3.11.yaml @@ -0,0 +1,62 @@ +# +# Author: Hari Sekhon +# Date: 2020-02-04 21:40:04 +0000 (Tue, 04 Feb 2020) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Python 3.11 + +on: + push: + branches: + - master + - main + paths: + - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.11.yaml + pull_request: + branches: + - master + - main + paths: + - '**/*.py' + - pylib + - requirements.txt + - .github/workflows/python3.11.yaml + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 7 * * *' + +permissions: + contents: read + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Python 3.11 + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master + with: + python-version: "3.11" + caches: apt pip + debug: ${{ github.event.inputs.debug }} From 1cfb67773c00608d7fe6fc109f46a968747f63bc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:53:20 +0100 Subject: [PATCH 701/982] updated README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index c6ae3495f..5b9392d62 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,11 @@ [![Alpine 3](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Alpine%203/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Alpine+3%22) [![Python versions](https://img.shields.io/badge/Python-2.7+-3776AB?logo=python&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools) -[![Python 2.7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%202.7/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+2.7%22) -[![Python 3.6](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.6/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.6%22) [![Python 3.7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.7/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.7%22) [![Python 3.8](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.8/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.8%22) [![Python 3.9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.9/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.9%22) [![Python 3.10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.10/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.10%22) +[![Python 3.11](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.11/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.11%22) [![PyPy 2](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%202/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+2%22) [![PyPy 3](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%203/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+3%22) From d824e50952a1bb22fef5061544e37305f6b37623 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:56:31 +0100 Subject: [PATCH 702/982] renamed pypy2.yaml to pypy2.yaml.disabled --- .github/workflows/{pypy2.yaml => pypy2.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{pypy2.yaml => pypy2.yaml.disabled} (100%) diff --git a/.github/workflows/pypy2.yaml b/.github/workflows/pypy2.yaml.disabled similarity index 100% rename from .github/workflows/pypy2.yaml rename to .github/workflows/pypy2.yaml.disabled From 9091c212bd734a1eb605f29d3ecf516fcb12cbcb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:56:31 +0100 Subject: [PATCH 703/982] renamed pypy3.yaml to pypy3.yaml.disabled --- .github/workflows/{pypy3.yaml => pypy3.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{pypy3.yaml => pypy3.yaml.disabled} (100%) diff --git a/.github/workflows/pypy3.yaml b/.github/workflows/pypy3.yaml.disabled similarity index 100% rename from .github/workflows/pypy3.yaml rename to .github/workflows/pypy3.yaml.disabled From 8bfd91c7b4649060b5704ac3f092d62ae667ca11 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:58:28 +0100 Subject: [PATCH 704/982] renamed ubuntu_14.04.yaml to ubuntu_14.04.yaml.disabled --- .../workflows/{ubuntu_14.04.yaml => ubuntu_14.04.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_14.04.yaml => ubuntu_14.04.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_14.04.yaml b/.github/workflows/ubuntu_14.04.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_14.04.yaml rename to .github/workflows/ubuntu_14.04.yaml.disabled From a4139b161723a350733d1ce22aab019e536a4c80 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:58:28 +0100 Subject: [PATCH 705/982] renamed ubuntu_16.04.yaml to ubuntu_16.04.yaml.disabled --- .../workflows/{ubuntu_16.04.yaml => ubuntu_16.04.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_16.04.yaml => ubuntu_16.04.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_16.04.yaml b/.github/workflows/ubuntu_16.04.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_16.04.yaml rename to .github/workflows/ubuntu_16.04.yaml.disabled From 46ab2bf3cf7fbb872f451c9d0590a9b2dc8ce803 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:58:28 +0100 Subject: [PATCH 706/982] renamed ubuntu_18.04.yaml to ubuntu_18.04.yaml.disabled --- .../workflows/{ubuntu_18.04.yaml => ubuntu_18.04.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_18.04.yaml => ubuntu_18.04.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_18.04.yaml rename to .github/workflows/ubuntu_18.04.yaml.disabled From d3e2d0be996674fe5ccedc47a9bce75b436532fb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:58:28 +0100 Subject: [PATCH 707/982] renamed ubuntu_20.04.yaml to ubuntu_20.04.yaml.disabled --- .../workflows/{ubuntu_20.04.yaml => ubuntu_20.04.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_20.04.yaml => ubuntu_20.04.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_20.04.yaml rename to .github/workflows/ubuntu_20.04.yaml.disabled From 1f744ad1dbf1d66fddae98a6244c7f1f35ece41b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 18 Apr 2023 23:58:28 +0100 Subject: [PATCH 708/982] renamed ubuntu_github.yaml to ubuntu_github.yaml.disabled --- .../workflows/{ubuntu_github.yaml => ubuntu_github.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_github.yaml => ubuntu_github.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_github.yaml rename to .github/workflows/ubuntu_github.yaml.disabled From 72c62d30af56d108aa1554fb4884dd6abe635ba0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:02:48 +0100 Subject: [PATCH 709/982] renamed ubuntu_18.04.yaml.disabled to ubuntu_18.04.yaml --- .../workflows/{ubuntu_18.04.yaml.disabled => ubuntu_18.04.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_18.04.yaml.disabled => ubuntu_18.04.yaml} (100%) diff --git a/.github/workflows/ubuntu_18.04.yaml.disabled b/.github/workflows/ubuntu_18.04.yaml similarity index 100% rename from .github/workflows/ubuntu_18.04.yaml.disabled rename to .github/workflows/ubuntu_18.04.yaml From 62d24176064c6b4dac09d71938d5f0d6e2b34c58 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:03:08 +0100 Subject: [PATCH 710/982] renamed ubuntu_20.04.yaml.disabled to ubuntu_20.04.yaml --- .../workflows/{ubuntu_20.04.yaml.disabled => ubuntu_20.04.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_20.04.yaml.disabled => ubuntu_20.04.yaml} (100%) diff --git a/.github/workflows/ubuntu_20.04.yaml.disabled b/.github/workflows/ubuntu_20.04.yaml similarity index 100% rename from .github/workflows/ubuntu_20.04.yaml.disabled rename to .github/workflows/ubuntu_20.04.yaml From 209f3bfd5641f436862ffca3dece34d0bf81b3fd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:05:48 +0100 Subject: [PATCH 711/982] updated README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 5b9392d62..32ee3ce53 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,6 @@ [![Mac 11](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_11.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_11.yaml) [![Mac 12](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_12.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_12.yaml) [![Ubuntu](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu%22) -[![Ubuntu 14.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2014.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+14.04%22) -[![Ubuntu 16.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2016.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+16.04%22) [![Ubuntu 18.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2018.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+18.04%22) [![Ubuntu 20.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2020.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+20.04%22) [![Debian](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian%22) From e550318685f87e7e2c25b400e634175915a8debe Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:06:12 +0100 Subject: [PATCH 712/982] renamed ubuntu_github.yaml.disabled to ubuntu_github.yaml --- .../workflows/{ubuntu_github.yaml.disabled => ubuntu_github.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_github.yaml.disabled => ubuntu_github.yaml} (100%) diff --git a/.github/workflows/ubuntu_github.yaml.disabled b/.github/workflows/ubuntu_github.yaml similarity index 100% rename from .github/workflows/ubuntu_github.yaml.disabled rename to .github/workflows/ubuntu_github.yaml From c0e1bb251c0c9028b9f5b0907788e7766f346acf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:07:38 +0100 Subject: [PATCH 713/982] renamed ubuntu_18.04.yaml to ubuntu_18.04.yaml.disabled --- .../workflows/{ubuntu_18.04.yaml => ubuntu_18.04.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu_18.04.yaml => ubuntu_18.04.yaml.disabled} (100%) diff --git a/.github/workflows/ubuntu_18.04.yaml b/.github/workflows/ubuntu_18.04.yaml.disabled similarity index 100% rename from .github/workflows/ubuntu_18.04.yaml rename to .github/workflows/ubuntu_18.04.yaml.disabled From cbf21a97aabc95628d71f773f08229cab9ac8614 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:10:29 +0100 Subject: [PATCH 714/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32ee3ce53..138775975 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ [![Mac 11](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_11.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_11.yaml) [![Mac 12](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_12.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/mac_12.yaml) [![Ubuntu](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu%22) -[![Ubuntu 18.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2018.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+18.04%22) [![Ubuntu 20.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2020.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+20.04%22) +[![Ubuntu 22.04](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Ubuntu%2022.04/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Ubuntu+22.04%22) [![Debian](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian%22) [![Debian 9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%209/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+9%22) [![Debian 10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%2010/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+10%22) From a5ad66e4090134ecc51d4dbb869251e63f8f27c1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:26:40 +0100 Subject: [PATCH 715/982] renamed centos.yaml to centos.yaml.disabled --- .github/workflows/{centos.yaml => centos.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{centos.yaml => centos.yaml.disabled} (100%) diff --git a/.github/workflows/centos.yaml b/.github/workflows/centos.yaml.disabled similarity index 100% rename from .github/workflows/centos.yaml rename to .github/workflows/centos.yaml.disabled From af02db5511f56a40b40a90702619c5dfd8f600a3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:26:40 +0100 Subject: [PATCH 716/982] renamed centos7.yaml to centos7.yaml.disabled --- .github/workflows/{centos7.yaml => centos7.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{centos7.yaml => centos7.yaml.disabled} (100%) diff --git a/.github/workflows/centos7.yaml b/.github/workflows/centos7.yaml.disabled similarity index 100% rename from .github/workflows/centos7.yaml rename to .github/workflows/centos7.yaml.disabled From 5b91ee48587426db040ac1afb31fbfef8f1fbeff Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:26:41 +0100 Subject: [PATCH 717/982] renamed centos8.yaml to centos8.yaml.disabled --- .github/workflows/{centos8.yaml => centos8.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{centos8.yaml => centos8.yaml.disabled} (100%) diff --git a/.github/workflows/centos8.yaml b/.github/workflows/centos8.yaml.disabled similarity index 100% rename from .github/workflows/centos8.yaml rename to .github/workflows/centos8.yaml.disabled From 79fa99d693ea366638e1ee6c38bd5dec65e4ee43 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:28:28 +0100 Subject: [PATCH 718/982] updated README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 138775975..72b1c3aab 100644 --- a/README.md +++ b/README.md @@ -91,9 +91,6 @@ [![Debian 9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%209/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+9%22) [![Debian 10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%2010/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+10%22) [![Debian 11](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Debian%2011/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Debian+11%22) -[![CentOS](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS%22) -[![CentOS 7](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS%207/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS+7%22) -[![CentOS 8](https://github.com/HariSekhon/DevOps-Python-tools/workflows/CentOS%208/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22CentOS+8%22) [![Fedora](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Fedora/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Fedora%22) [![Alpine](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Alpine/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Alpine%22) [![Alpine 3](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Alpine%203/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Alpine+3%22) From 78ba04ce9d93aedfee00e09cb99c083884a53e1a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:48:44 +0100 Subject: [PATCH 719/982] updated serf_event_handler.py --- serf_event_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serf_event_handler.py b/serf_event_handler.py index 455d7bee1..c0d5cacbb 100755 --- a/serf_event_handler.py +++ b/serf_event_handler.py @@ -61,7 +61,7 @@ sys.exit(4) __author__ = 'Hari Sekhon' -__version__ = '0.2.2' +__version__ = '0.2.3' class SerfEventHandler(CLI): @@ -95,7 +95,7 @@ def add_options(self): def enable_commands(self): if self.event in ['query', 'event']: - cmd = None + cmd = '' if self.event == 'query': cmd = self.query_name elif self.event == 'user': From f66248cc4545fe236327911857290247eba1a701 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:49:41 +0100 Subject: [PATCH 720/982] updated spark_json_to_avro.py --- spark_json_to_avro.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spark_json_to_avro.py b/spark_json_to_avro.py index 2922c7f7f..d53a4bffa 100755 --- a/spark_json_to_avro.py +++ b/spark_json_to_avro.py @@ -109,7 +109,6 @@ def run(self): die("Spark version couldn't be determined. " + support_msg('pytools')) # pylint: disable=invalid-name - df = None if isMinVersion(spark_version, 1.4): df = sqlContext.read.json(json_file) else: From 8446d976d4efcee77aad458c5086d16c86a74255 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 00:53:59 +0100 Subject: [PATCH 721/982] updated README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 72b1c3aab..e12942015 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=security_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) +[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=HariSekhon_DevOps-Python-tools) [![Total alerts](https://img.shields.io/lgtm/alerts/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/alerts/) [![Linux](https://img.shields.io/badge/OS-Linux-blue?logo=linux)](https://github.com/HariSekhon/DevOps-Python-tools) From d80f92c71f9aefed3a161dc9cf719766ad4c1eef Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:05:15 +0100 Subject: [PATCH 722/982] renamed docker_pytools_centos.yaml to *_centos.yaml.disabled --- .../{docker_pytools_centos.yaml => *_centos.yaml.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{docker_pytools_centos.yaml => *_centos.yaml.disabled} (100%) diff --git a/.github/workflows/docker_pytools_centos.yaml b/.github/workflows/*_centos.yaml.disabled similarity index 100% rename from .github/workflows/docker_pytools_centos.yaml rename to .github/workflows/*_centos.yaml.disabled From 930a2c341a40292160d34cfc827a6b8358f306a9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:06:10 +0100 Subject: [PATCH 723/982] updated README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e12942015..c301b354d 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,6 @@ [![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) [![Docker Build (Alpine)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml) -[![Docker Build (CentOS)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_centos.yaml) [![Docker Build (Debian)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml) [![Docker Build (Fedora)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_fedora.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_fedora.yaml) [![Docker Build (Ubuntu)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_ubuntu.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_ubuntu.yaml) From 2f629017ce6a08b0db62bff40c1a90f5f801ab53 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:11:11 +0100 Subject: [PATCH 724/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 5e7dfbdc8..bccee5cd7 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 5e7dfbdc8cea422b6856153eea3c01df4c84a60c +Subproject commit bccee5cd73f9bb86ab84609681defcea0ec23b9d From a109075a96e1d21f3dbe6cc21dd76b4a0706359e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:11:11 +0100 Subject: [PATCH 725/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 4515bb958..47048ee0c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 4515bb958f4b27c7c5854ba77ee665b41852dd5b +Subproject commit 47048ee0c39d1e88a10d09fec64333b2de8e906b From 5bdc0c0db940cbc74019b7b37508c6943e0b65f4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:33:03 +0100 Subject: [PATCH 726/982] updated README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index c301b354d..edb49e6b1 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,6 @@ [![Python 3.9](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.9/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.9%22) [![Python 3.10](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.10/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.10%22) [![Python 3.11](https://github.com/HariSekhon/DevOps-Python-tools/workflows/Python%203.11/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22Python+3.11%22) -[![PyPy 2](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%202/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+2%22) -[![PyPy 3](https://github.com/HariSekhon/DevOps-Python-tools/workflows/PyPy%203/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions?query=workflow%3A%22PyPy+3%22) [git.io/pytools](https://git.io/pytools) From e2f37bf682f28263a993209c5e52bcef272025d8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:36:37 +0100 Subject: [PATCH 727/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index bccee5cd7..995ad2de8 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit bccee5cd73f9bb86ab84609681defcea0ec23b9d +Subproject commit 995ad2de8486a96487e68c859c4f353a381b91d7 From 8bb7bc784d8f0ad98dbefd691ee8bc460f727330 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 01:36:37 +0100 Subject: [PATCH 728/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 47048ee0c..7c0ba3afe 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 47048ee0c39d1e88a10d09fec64333b2de8e906b +Subproject commit 7c0ba3afe47f47af186cadab75b508a69d4411fe From 383114f4538c6ccc9f2443d5c53d96e6f2c3d526 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 14:39:36 +0100 Subject: [PATCH 729/982] added ubuntu_22.04.yaml --- .github/workflows/ubuntu_22.04.yaml | 85 +++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflows/ubuntu_22.04.yaml diff --git a/.github/workflows/ubuntu_22.04.yaml b/.github/workflows/ubuntu_22.04.yaml new file mode 100644 index 000000000..b9bf17a95 --- /dev/null +++ b/.github/workflows/ubuntu_22.04.yaml @@ -0,0 +1,85 @@ +# +# Author: Hari Sekhon +# Date: Tue Feb 4 09:53:28 2020 +0000 +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +--- +name: Ubuntu 22.04 + +on: + push: + branches: + - master + paths-ignore: + - '**/*.md' + - '.github/workflows/*' + - '!.github/workflows/ubuntu_22.04.yaml' + - '**/Dockerfile' + - '**/Jenkinsfile' + - '**/.envrc*' + - .checkov.yaml + - .dockerignore + - .gcloudignore + - .editorconfig + - '.gitconfig*' + - .gitignore + - .grype.yaml + - .hound.yml + - .terraformignore + - Jenkinsfile + - .appveyor.yml + - .buildkite/pipeline.yml + - .circleci/config.yml + - .cirrus.yml + - .concourse.yml + - .drone.yml + - .gitlab-ci.yml + - .gocd.yml + - .scrutinizer.yml + - .semaphore/semaphore.yml + - .travis.yml + - .werckerignore + - azure-pipelines.yml + - bitbucket-pipelines.yml + - buddy.yml + - buildspec.yml + - cloudbuild.yaml + - codefresh.yml + - codeship.yml + - shippable.yml + - wercker.yml + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 7 * * *' + +permissions: + contents: read + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Build + uses: HariSekhon/GitHub-Actions/.github/workflows/make.yaml@master + with: + container: ubuntu:22.04 + caches: apt pip cpanm + debug: ${{ github.event.inputs.debug }} From 2769fba289020e9b94311b1f1bee3bcefc02f60e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 14:43:07 +0100 Subject: [PATCH 730/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 995ad2de8..fe25b15b0 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 995ad2de8486a96487e68c859c4f353a381b91d7 +Subproject commit fe25b15b096e5e667b0451ebc9f68cc86c87384f From 6bfe3eb1a41357c469d3895b6739dfea28d7fab3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 14:43:07 +0100 Subject: [PATCH 731/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 7c0ba3afe..0a225da5c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 7c0ba3afe47f47af186cadab75b508a69d4411fe +Subproject commit 0a225da5c8aa09653d53dd1aaad545d200ec7e7a From 55827d1746db9186a49880e91d4f6d711058e7fc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 18:50:55 +0100 Subject: [PATCH 732/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index fe25b15b0..2295778d8 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit fe25b15b096e5e667b0451ebc9f68cc86c87384f +Subproject commit 2295778d8039333abc3e159754641b348cf79d94 From 5491f93ea4295dd3a87c7541a5182b146baadfe7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 18:50:56 +0100 Subject: [PATCH 733/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 0a225da5c..6e5e84d30 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 0a225da5c8aa09653d53dd1aaad545d200ec7e7a +Subproject commit 6e5e84d301329d0386b8a3468e4f7b34700d3e32 From a9c81105474dbfad815563507e21fa7b6f5d8785 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 19:07:39 +0100 Subject: [PATCH 734/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 2295778d8..37dede02a 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 2295778d8039333abc3e159754641b348cf79d94 +Subproject commit 37dede02a5a184087798740bfbb36b90cf5ed685 From 3680e4c7ab65c6ef873bdf8151fe86efe68fd16a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 19 Apr 2023 19:07:39 +0100 Subject: [PATCH 735/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 6e5e84d30..5f2f181a9 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 6e5e84d301329d0386b8a3468e4f7b34700d3e32 +Subproject commit 5f2f181a96f884acd0340125aab776414c343b68 From 8865ba8731144538dd0baba23d1ccb787c5988a9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 1 May 2023 17:50:27 +0100 Subject: [PATCH 736/982] added --unspace functionality --- center.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/center.py b/center.py index 4856ea0f7..b9cbac5f1 100755 --- a/center.py +++ b/center.py @@ -44,7 +44,8 @@ sys.exit(4) __author__ = 'Hari Sekhon' -__version__ = '0.4.2' +__version__ = '0.5.0' + class Center(CLI): @@ -56,7 +57,9 @@ def __init__(self): # this doesn't put enough spaces around ampersands, eg. in "Auth & Config" #self.re_bound = re.compile(r'(\b)') self.re_spaces = re.compile(r'(\s)') + self.re_multiple_spaces = re.compile(r'(\s){2}') self.re_chars = re.compile(r'([^\s])(?!\s)') + self.re_chars_spaced = re.compile(r'([^\s])\s') self.timeout_default = None def add_options(self): @@ -66,11 +69,16 @@ def add_options(self): help='No comment prefix handling') self.add_opt('-s', '--space', action='store_true', default=False, help='Space all chars out, makes bigger headings') + self.add_opt('-u', '--unspace', action='store_true', default=False, + help='Removes spaces betweeen chars out, the inverse of --space') def run(self): log_option('width', self.get_opt('width')) log_option('no comment prefix', self.get_opt('no_comment')) log_option('space chars', self.get_opt('space')) + log_option('unspace chars', self.get_opt('unspace')) + if self.get_opt('space') and self.get_opt('unspace'): + self.usage("--space and --unspace are mutually exclusive!") if self.args: self.process_line(' '.join(self.args)) else: @@ -83,6 +91,11 @@ def space(self, line): line = self.re_chars.sub(r'\1 ', line) return line + def unspace(self, line): + line = self.re_chars_spaced.sub(r'\1', line) + line = self.re_multiple_spaces.sub(r'\1', line) + return line + def process_line(self, line): char = '' if not line: @@ -102,9 +115,12 @@ def process_line(self, line): line = line.lstrip(char) if self.get_opt('space'): line = self.space(line) + if self.get_opt('unspace'): + line = self.unspace(line) line = line.strip() side = int(max((self.get_opt('width') - len(line)) / 2, 0)) print(char + ' ' * side + line) + if __name__ == '__main__': Center().main() From ad1c2e05e9ebe50dcc9829209328c2fa9c3b9016 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 1 May 2023 17:50:49 +0100 Subject: [PATCH 737/982] updated .pylintrc --- .pylintrc | 751 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 508 insertions(+), 243 deletions(-) diff --git a/.pylintrc b/.pylintrc index c20ac8f94..1c56d5de1 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,386 +1,651 @@ -[MASTER] +# vim:ts=4:sts=4:sw=4:et +# +# Author: Hari Sekhon +# Date: 2006-06-28 23:25:09 +0100 (Wed, 28 Jun 2006) +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# P y L i n t C o n f i g +# ============================================================================ # + +# pylint --generate-rcfile >> .pylintrc + +[MAIN] + +# Analyse import fallback blocks. This can be used to support both Python 2 and +# 3 compatible code, which means that the block might have code that exists +# only in one or another interpreter, leading to false positives when analysed. +analyse-fallback-blocks=no + +# Clear in-memory caches upon conclusion of linting. Useful if running pylint +# in a server-like mode. +clear-cache-post-run=no + +# Load and enable all available extensions. Use --list-extensions to see a list +# all available extensions. +#enable-all-extensions= + +# In error mode, messages with a category besides ERROR or FATAL are +# suppressed, and no reports are done by default. Error mode is compatible with +# disabling specific errors. +#errors-only= + +# Always return a 0 (non-error) status code, even if lint errors are found. +# This is primarily useful in continuous integration scripts. +#exit-zero= + +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code. +extension-pkg-allow-list= + +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code. (This is an alternative name to extension-pkg-allow-list +# for backward compatibility.) +extension-pkg-whitelist= + +# Return non-zero exit code if any of these messages/categories are detected, +# even if score is above --fail-under value. Syntax same as enable. Messages +# specified are enabled, while categories only check already-enabled messages. +fail-on= + +# Specify a score threshold under which the program will exit with error. +fail-under=10 + +# Interpret the stdin as a python script, whose filename needs to be passed as +# the module_or_package argument. +#from-stdin= -# Specify a configuration file. -#rcfile= +# Files or directories to be skipped. They should be base names, not paths. +ignore=CVS + +# Add files or directories matching the regular expressions patterns to the +# ignore-list. The regex matches against paths and can be in Posix or Windows +# format. Because '\\' represents the directory delimiter on Windows systems, +# it can't be used as an escape character. +ignore-paths= + +# Files or directories matching the regular expression patterns are skipped. +# The regex matches against base names, not paths. The default value ignores +# Emacs file locks +ignore-patterns=^\.# + +# List of module names for which member attributes should not be checked +# (useful for modules/projects where namespaces are manipulated during runtime +# and thus existing member attributes cannot be deduced by static analysis). It +# supports qualified module names, as well as Unix pattern matching. +ignored-modules= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). #init-hook= -# Add files or directories to the blacklist. They should be base names, not -# paths. -ignore=CVS +# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the +# number of processors available to use, and will cap the count on Windows to +# avoid hangs. +jobs=1 -# Pickle collected data for later comparisons. -persistent=yes +# Control the amount of potential inferred values when inferring a single +# object. This can help the performance when dealing with large functions or +# complex, nested conditions. +limit-inference-results=100 -# List of plugins (as comma separated values of python modules names) to load, +# List of plugins (as comma separated values of python module names) to load, # usually to register additional checkers. load-plugins= -# Use multiple processes to speed up Pylint. -jobs=1 +# Pickle collected data for later comparisons. +persistent=yes + +# Minimum Python version to use for version dependent checks. Will default to +# the version used to run pylint. +py-version=3.11 + +# Discover python modules and packages in the file system subtree. +recursive=no + +# Add paths to the list of the source roots. Supports globbing patterns. The +# source root is an absolute path or a path relative to the current working +# directory used to determine a package namespace for modules located under the +# source root. +source-roots= + +# When enabled, pylint would attempt to guess common misconfiguration and emit +# user-friendly hints instead of false-positive error messages. +suggestion-mode=yes # Allow loading of arbitrary C extensions. Extensions are imported into the # active Python interpreter and may run arbitrary code. unsafe-load-any-extension=no -# A comma-separated list of package or module names from where C extensions may -# be loaded. Extensions are loading into the active Python interpreter and may -# run arbitrary code -extension-pkg-whitelist= +# In verbose mode, extra non-checker-related info will be displayed. +#verbose= -# Allow optimization of some AST trees. This will activate a peephole AST -# optimizer, which will apply various small optimizations. For instance, it can -# be used to obtain the result of joining multiple strings with the addition -# operator. Joining a lot of strings can lead to a maximum recursion error in -# Pylint and this flag can prevent that. It has one side effect, the resulting -# AST will be different than the one from reality. -optimize-ast=no +[BASIC] -[MESSAGES CONTROL] +# Naming style matching correct argument names. +argument-naming-style=snake_case -# Only show warnings with the listed confidence levels. Leave empty to show -# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED -confidence= +# Regular expression matching correct argument names. Overrides argument- +# naming-style. If left empty, argument names will be checked with the set +# naming style. +#argument-rgx= -# Enable the message, report, category or checker with the given id(s). You can -# either give multiple identifier separated by comma (,) or put this option -# multiple time. See also the "--disable" option for examples. -#enable= +# Naming style matching correct attribute names. +attr-naming-style=snake_case -# Disable the message, report, category or checker with the given id(s). You -# can either give multiple identifiers separated by comma (,) or put this -# option multiple times (only on the command line, not in the configuration -# file where it should appear only once).You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if -# you want to run only the similarities checker, you can use "--disable=all -# --enable=similarities". If you want to run only the classes checker, but have -# no Warning level messages displayed, use"--disable=all --enable=classes -# --disable=W" -disable=import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iterating,using-cmp-argument,useless-suppression,range-builtin-not-iterating,suppressed-message,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,hex-method,nonzero-method,map-builtin-not-iterating,C0111,consider-using-f-string +# Regular expression matching correct attribute names. Overrides attr-naming- +# style. If left empty, attribute names will be checked with the set naming +# style. +#attr-rgx= +# Bad variable names which should always be refused, separated by a comma. +bad-names=foo, + bar, + baz, + toto, + tutu, + tata -[REPORTS] +# Bad variable names regexes, separated by a comma. If names match any regex, +# they will always be refused +bad-names-rgxs= -# Set the output format. Available formats are text, parseable, colorized, msvs -# (visual studio) and html. You can also give a reporter class, eg -# mypackage.mymodule.MyReporterClass. -output-format=text +# Naming style matching correct class attribute names. +class-attribute-naming-style=any -# Put messages in a separate file for each module / package specified on the -# command line instead of printing them on stdout. Reports (if any) will be -# written in a file name "pylint_global.[txt|html]". -files-output=no +# Regular expression matching correct class attribute names. Overrides class- +# attribute-naming-style. If left empty, class attribute names will be checked +# with the set naming style. +#class-attribute-rgx= -# Tells whether to display a full report or only the messages -reports=yes +# Naming style matching correct class constant names. +class-const-naming-style=UPPER_CASE -# Python expression which should return a note less than 10 (10 is the highest -# note). You have access to the variables errors warning, statement which -# respectively contain the number of errors / warnings messages and the total -# number of statements analyzed. This is used by the global evaluation report -# (RP0004). -evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) +# Regular expression matching correct class constant names. Overrides class- +# const-naming-style. If left empty, class constant names will be checked with +# the set naming style. +#class-const-rgx= -# Template used to display messages. This is a python new-style format string -# used to format the message information. See doc for all details -#msg-template= +# Naming style matching correct class names. +class-naming-style=PascalCase +# Regular expression matching correct class names. Overrides class-naming- +# style. If left empty, class names will be checked with the set naming style. +#class-rgx= -[BASIC] +# Naming style matching correct constant names. +const-naming-style=UPPER_CASE + +# Regular expression matching correct constant names. Overrides const-naming- +# style. If left empty, constant names will be checked with the set naming +# style. +#const-rgx= + +# Minimum line length for functions/classes that require docstrings, shorter +# ones are exempt. +docstring-min-length=-1 + +# Naming style matching correct function names. +function-naming-style=snake_case + +# Regular expression matching correct function names. Overrides function- +# naming-style. If left empty, function names will be checked with the set +# naming style. +#function-rgx= + +# Good variable names which should always be accepted, separated by a comma. +good-names=i, + j, + k, + ex, + Run, + _ + +# Good variable names regexes, separated by a comma. If names match any regex, +# they will always be accepted +good-names-rgxs= + +# Include a hint for the correct naming format with invalid-name. +include-naming-hint=no + +# Naming style matching correct inline iteration names. +inlinevar-naming-style=any -# List of builtins function names that should not be used, separated by a comma -bad-functions=map,filter,input +# Regular expression matching correct inline iteration names. Overrides +# inlinevar-naming-style. If left empty, inline iteration names will be checked +# with the set naming style. +#inlinevar-rgx= -# Good variable names which should always be accepted, separated by a comma -good-names=i,j,k,ex,Run,_ +# Naming style matching correct method names. +method-naming-style=snake_case -# Bad variable names which should always be refused, separated by a comma -bad-names=foo,bar,baz,toto,tutu,tata +# Regular expression matching correct method names. Overrides method-naming- +# style. If left empty, method names will be checked with the set naming style. +#method-rgx= + +# Naming style matching correct module names. +module-naming-style=snake_case + +# Regular expression matching correct module names. Overrides module-naming- +# style. If left empty, module names will be checked with the set naming style. +#module-rgx= # Colon-delimited sets of names that determine each other's naming style when # the name regexes allow several styles. name-group= -# Include a hint for the correct naming format with invalid-name -include-naming-hint=no +# Regular expression which should only match function or class names that do +# not require a docstring. +no-docstring-rgx=^_ -# Regular expression matching correct function names -function-rgx=[A-Za-z_][A-Za-z0-9_]{2,30}$ +# List of decorators that produce properties, such as abc.abstractproperty. Add +# to this list to register other decorators that produce valid properties. +# These decorators are taken in consideration only for invalid-name. +property-classes=abc.abstractproperty -# Naming hint for function names -function-name-hint=[a-z_][a-z0-9_]{2,30}$ +# Regular expression matching correct type alias names. If left empty, type +# alias names will be checked with the set naming style. +#typealias-rgx= -# Regular expression matching correct variable names -variable-rgx=[a-z_][a-z0-9_]{2,30}$ +# Regular expression matching correct type variable names. If left empty, type +# variable names will be checked with the set naming style. +#typevar-rgx= -# Naming hint for variable names -variable-name-hint=[a-z_][a-z0-9_]{2,30}$ +# Naming style matching correct variable names. +variable-naming-style=snake_case -# Regular expression matching correct constant names -const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$ +# Regular expression matching correct variable names. Overrides variable- +# naming-style. If left empty, variable names will be checked with the set +# naming style. +#variable-rgx= -# Naming hint for constant names -const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$ -# Regular expression matching correct attribute names -attr-rgx=[a-z_][a-z0-9_]{2,30}$ +[CLASSES] -# Naming hint for attribute names -attr-name-hint=[a-z_][a-z0-9_]{2,30}$ +# Warn about protected attribute access inside special methods +check-protected-access-in-special-methods=no -# Regular expression matching correct argument names -argument-rgx=[a-z_][a-z0-9_]{2,30}$ +# List of method names used to declare (i.e. assign) instance attributes. +defining-attr-methods=__init__, + __new__, + setUp, + asyncSetUp, + __post_init__ -# Naming hint for argument names -argument-name-hint=[a-z_][a-z0-9_]{2,30}$ +# List of member names, which should be excluded from the protected access +# warning. +exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit -# Regular expression matching correct class attribute names -class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ +# List of valid names for the first argument in a class method. +valid-classmethod-first-arg=cls -# Naming hint for class attribute names -class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ +# List of valid names for the first argument in a metaclass class method. +valid-metaclass-classmethod-first-arg=mcs -# Regular expression matching correct inline iteration names -inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ -# Naming hint for inline iteration names -inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$ +[DESIGN] -# Regular expression matching correct class names -class-rgx=[A-Z_][a-zA-Z0-9]+$ +# List of regular expressions of class ancestor names to ignore when counting +# public methods (see R0903) +exclude-too-few-public-methods= -# Naming hint for class names -class-name-hint=[A-Z_][a-zA-Z0-9]+$ +# List of qualified class names to ignore when counting class parents (see +# R0901) +ignored-parents= -# Regular expression matching correct module names -module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ +# Maximum number of arguments for function / method. +max-args=5 -# Naming hint for module names -module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ +# Maximum number of attributes for a class (see R0902). +max-attributes=7 -# Regular expression matching correct method names -method-rgx=[a-z_][a-z0-9_]{2,30}$ +# Maximum number of boolean expressions in an if statement (see R0916). +max-bool-expr=5 -# Naming hint for method names -method-name-hint=[a-z_][a-z0-9_]{2,30}$ +# Maximum number of branch for function / method body. +max-branches=12 -# Regular expression which should only match function or class names that do -# not require a docstring. -no-docstring-rgx=^_ +# Maximum number of locals for function / method body. +max-locals=15 -# Minimum line length for functions/classes that require docstrings, shorter -# ones are exempt. -docstring-min-length=-1 +# Maximum number of parents for a class (see R0901). +max-parents=7 + +# Maximum number of public methods for a class (see R0904). +max-public-methods=20 +# Maximum number of return / yield for function / method body. +max-returns=6 -[ELIF] +# Maximum number of statements in function / method body. +max-statements=50 -# Maximum number of nested blocks for function / method body -max-nested-blocks=5 +# Minimum number of public methods for a class (see R0903). +min-public-methods=2 + + +[EXCEPTIONS] + +# Exceptions that will emit a warning when caught. +overgeneral-exceptions=builtins.BaseException,builtins.Exception [FORMAT] -# Maximum number of characters on a single line. -max-line-length=120 +# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. +expected-line-ending-format= # Regexp for a line that is allowed to be longer than the limit. ignore-long-lines=^\s*(# )??$ +# Number of spaces of indent required inside a hanging or continued line. +indent-after-paren=4 + +# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 +# tab). +indent-string=' ' + +# Maximum number of characters on a single line. +max-line-length=120 + +# Maximum number of lines in a module. +max-module-lines=1000 + +# Allow the body of a class to be on the same line as the declaration if body +# contains single statement. +single-line-class-stmt=no + # Allow the body of an if to be on the same line as the test if there is no # else. single-line-if-stmt=no -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check=trailing-comma,dict-separator -# Maximum number of lines in a module -max-module-lines=1000 +[IMPORTS] -# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 -# tab). -indent-string=' ' +# List of modules that can be imported at any level, not just the top level +# one. +allow-any-import-level= -# Number of spaces of indent required inside a hanging or continued line. -indent-after-paren=4 +# Allow explicit reexports by alias from a package __init__. +allow-reexport-from-package=no -# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. -expected-line-ending-format= +# Allow wildcard imports from modules that define __all__. +allow-wildcard-with-all=no + +# Deprecated modules which should not be used, separated by a comma. +deprecated-modules= + +# Output a graph (.gv or any supported image format) of external dependencies +# to the given file (report RP0402 must not be disabled). +ext-import-graph= + +# Output a graph (.gv or any supported image format) of all (i.e. internal and +# external) dependencies to the given file (report RP0402 must not be +# disabled). +import-graph= + +# Output a graph (.gv or any supported image format) of internal dependencies +# to the given file (report RP0402 must not be disabled). +int-import-graph= + +# Force import order to recognize a module as part of the standard +# compatibility libraries. +known-standard-library= + +# Force import order to recognize a module as part of a third party library. +known-third-party=enchant + +# Couples of modules and preferred modules, separated by a comma. +preferred-modules= [LOGGING] +# The type of string formatting that logging methods do. `old` means using % +# formatting, `new` is for `{}` formatting. +logging-format-style=old + # Logging modules to check that the string format arguments are in logging -# function parameter format +# function parameter format. logging-modules=logging +[MESSAGES CONTROL] + +# Only show warnings with the listed confidence levels. Leave empty to show +# all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, +# UNDEFINED. +confidence=HIGH, + CONTROL_FLOW, + INFERENCE, + INFERENCE_FAILURE, + UNDEFINED + +# Disable the message, report, category or checker with the given id(s). You +# can either give multiple identifiers separated by comma (,) or put this +# option multiple times (only on the command line, not in the configuration +# file where it should appear only once). You can also use "--disable=all" to +# disable everything first and then re-enable specific checks. For example, if +# you want to run only the similarities checker, you can use "--disable=all +# --enable=similarities". If you want to run only the classes checker, but have +# no Warning level messages displayed, use "--disable=all --enable=classes +# --disable=W". +disable=raw-checker-failed, + bad-inline-option, + locally-disabled, + file-ignored, + suppressed-message, + useless-suppression, + deprecated-pragma, + use-symbolic-message-instead + +# Enable the message, report, category or checker with the given id(s). You can +# either give multiple identifier separated by comma (,) or put this option +# multiple time (only on the command line, not in the configuration file where +# it should appear only once). See also the "--disable" option for examples. +enable=c-extension-no-member + + +[METHOD_ARGS] + +# List of qualified names (i.e., library.method) which require a timeout +# parameter e.g. 'requests.api.get,requests.api.post' +timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request + + [MISCELLANEOUS] # List of note tags to take in consideration, separated by a comma. -notes=FIXME,XXX,TODO +notes=FIXME, + XXX, + TODO +# Regular expression of note tags to take in consideration. +notes-rgx= -[SIMILARITIES] -# Minimum lines number of a similarity. -min-similarity-lines=4 +[REFACTORING] -# Ignore comments when computing similarities. -ignore-comments=yes +# Maximum number of nested blocks for function / method body +max-nested-blocks=5 -# Ignore docstrings when computing similarities. -ignore-docstrings=yes +# Complete name of functions that never returns. When checking for +# inconsistent-return-statements if a never returning function is called then +# it will be considered as an explicit return statement and no message will be +# printed. +never-returning-functions=sys.exit,argparse.parse_error -# Ignore imports when computing similarities. -ignore-imports=no +[REPORTS] -[SPELLING] +# Python expression which should return a score less than or equal to 10. You +# have access to the variables 'fatal', 'error', 'warning', 'refactor', +# 'convention', and 'info' which contain the number of messages in each +# category, as well as 'statement' which is the total number of statements +# analyzed. This score is used by the global evaluation report (RP0004). +evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)) -# Spelling dictionary name. Available dictionaries: none. To make it working -# install python-enchant package. -spelling-dict= +# Template used to display messages. This is a python new-style format string +# used to format the message information. See doc for all details. +msg-template= -# List of comma separated words that should not be checked. -spelling-ignore-words= +# Set the output format. Available formats are text, parseable, colorized, json +# and msvs (visual studio). You can also give a reporter class, e.g. +# mypackage.mymodule.MyReporterClass. +#output-format= -# A path to a file that contains private dictionary; one word per line. -spelling-private-dict-file= +# Tells whether to display a full report or only the messages. +reports=no -# Tells whether to store unknown words to indicated private dictionary in -# --spelling-private-dict-file option instead of raising a message. -spelling-store-unknown-words=no +# Activate the evaluation score. +score=yes -[TYPECHECK] +[SIMILARITIES] -# Tells whether missing members accessed in mixin class should be ignored. A -# mixin class is detected if its name ends with "mixin" (case insensitive). -ignore-mixin-members=yes +# Comments are removed from the similarity computation +ignore-comments=yes -# List of module names for which member attributes should not be checked -# (useful for modules/projects where namespaces are manipulated during runtime -# and thus existing member attributes cannot be deduced by static analysis. It -# supports qualified module names, as well as Unix pattern matching. -ignored-modules= +# Docstrings are removed from the similarity computation +ignore-docstrings=yes -# List of classes names for which member attributes should not be checked -# (useful for classes with attributes dynamically set). This supports can work -# with qualified names. -# -# avoids the following error: -# -# pylint -E ./check_zookeeper_version.py -# -# E: 69,12: Instance of '_socketobject' has no 'sendall' member (no-member) -# E: 70,19: Instance of '_socketobject' has no 'recv' member (no-member) -# -ignored-classes=SQLObject,_socketobject +# Imports are removed from the similarity computation +ignore-imports=yes -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E1101 when accessed. Python regular -# expressions are accepted. -generated-members= +# Signatures are removed from the similarity computation +ignore-signatures=yes +# Minimum lines number of a similarity. +min-similarity-lines=4 -[VARIABLES] -# Tells whether we should check for unused import in __init__ files. -init-import=no +[SPELLING] -# A regular expression matching the name of dummy variables (i.e. expectedly -# not used). -dummy-variables-rgx=_$|dummy +# Limits count of emitted suggestions for spelling mistakes. +max-spelling-suggestions=4 -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid to define new builtins when possible. -additional-builtins= +# Spelling dictionary name. No available dictionaries : You need to install +# both the python package and the system dependency for enchant to work.. +spelling-dict= -# List of strings which can identify a callback function by name. A callback -# name must start or end with one of those strings. -callbacks=cb_,_cb +# List of comma separated words that should be considered directives if they +# appear at the beginning of a comment and should not be checked. +spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy: +# List of comma separated words that should not be checked. +spelling-ignore-words= -[CLASSES] +# A path to a file that contains the private dictionary; one word per line. +spelling-private-dict-file= -# List of method names used to declare (i.e. assign) instance attributes. -defining-attr-methods=__init__,__new__,setUp +# Tells whether to store unknown words to the private dictionary (see the +# --spelling-private-dict-file option) instead of raising a message. +spelling-store-unknown-words=no -# List of valid names for the first argument in a class method. -valid-classmethod-first-arg=cls -# List of valid names for the first argument in a metaclass class method. -valid-metaclass-classmethod-first-arg=mcs +[STRING] -# List of member names, which should be excluded from the protected access -# warning. -exclude-protected=_asdict,_fields,_replace,_source,_make +# This flag controls whether inconsistent-quotes generates a warning when the +# character used as a quote delimiter is used inconsistently within a module. +check-quote-consistency=no +# This flag controls whether the implicit-str-concat should generate a warning +# on implicit string concatenation in sequences defined over several lines. +check-str-concat-over-line-jumps=no -[DESIGN] -# Maximum number of arguments for function / method -max-args=5 +[TYPECHECK] -# Argument names that match this expression will be ignored. Default to name -# with leading underscore -ignored-argument-names=_.* +# List of decorators that produce context managers, such as +# contextlib.contextmanager. Add to this list to register other decorators that +# produce valid context managers. +contextmanager-decorators=contextlib.contextmanager -# Maximum number of locals for function / method body -max-locals=15 +# List of members which are set dynamically and missed by pylint inference +# system, and so shouldn't trigger E1101 when accessed. Python regular +# expressions are accepted. +generated-members= -# Maximum number of return / yield for function / method body -max-returns=6 +# Tells whether to warn about missing members when the owner of the attribute +# is inferred to be None. +ignore-none=yes -# Maximum number of branch for function / method body -max-branches=12 +# This flag controls whether pylint should warn about no-member and similar +# checks whenever an opaque object is returned when inferring. The inference +# can return multiple potential results while evaluating a Python object, but +# some branches might not be evaluated, which results in partial inference. In +# that case, it might be useful to still emit no-member and other checks for +# the rest of the inferred objects. +ignore-on-opaque-inference=yes -# Maximum number of statements in function / method body -max-statements=50 +# List of symbolic message names to ignore for Mixin members. +ignored-checks-for-mixins=no-member, + not-async-context-manager, + not-context-manager, + attribute-defined-outside-init -# Maximum number of parents for a class (see R0901). -max-parents=7 +# List of class names for which member attributes should not be checked (useful +# for classes with dynamically set attributes). This supports the use of +# qualified names. +ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace -# Maximum number of attributes for a class (see R0902). -max-attributes=7 +# Show a hint with possible names when a member name was not found. The aspect +# of finding the hint is based on edit distance. +missing-member-hint=yes -# Minimum number of public methods for a class (see R0903). -min-public-methods=2 +# The minimum edit distance a name should have in order to be considered a +# similar match for a missing member name. +missing-member-hint-distance=1 -# Maximum number of public methods for a class (see R0904). -max-public-methods=20 +# The total number of similar names that should be taken in consideration when +# showing a hint for a missing member. +missing-member-max-choices=1 -# Maximum number of boolean expressions in a if statement -max-bool-expr=5 +# Regex pattern to define which classes are considered mixins. +mixin-class-rgx=.*[Mm]ixin +# List of decorators that change the signature of a decorated function. +signature-mutators= -[IMPORTS] -# Deprecated modules which should not be used, separated by a comma -deprecated-modules=regsub,TERMIOS,Bastion,rexec +[VARIABLES] -# Create a graph of every (i.e. internal and external) dependencies in the -# given file (report RP0402 must not be disabled) -import-graph= +# List of additional names supposed to be defined in builtins. Remember that +# you should avoid defining new builtins when possible. +additional-builtins= -# Create a graph of external dependencies in the given file (report RP0402 must -# not be disabled) -ext-import-graph= +# Tells whether unused global variables should be treated as a violation. +allow-global-unused-variables=yes -# Create a graph of internal dependencies in the given file (report RP0402 must -# not be disabled) -int-import-graph= +# List of names allowed to shadow builtins +allowed-redefined-builtins= +# List of strings which can identify a callback function by name. A callback +# name must start or end with one of those strings. +callbacks=cb_, + _cb -[EXCEPTIONS] +# A regular expression matching the name of dummy variables (i.e. expected to +# not be used). +dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ + +# Argument names that match this expression will be ignored. +ignored-argument-names=_.*|^ignored_|^unused_ + +# Tells whether we should check for unused import in __init__ files. +init-import=no -# Exceptions that will emit a warning when being caught. Defaults to -# "Exception" -overgeneral-exceptions=Exception +# List of qualified module names which can have objects that can redefine +# builtins. +redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io From 64b326acbcea84535f033b706e6bfb5b289a5f32 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 03:29:52 +0100 Subject: [PATCH 738/982] updated README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index edb49e6b1..f064e78b0 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ [![Codacy](https://app.codacy.com/project/badge/Grade/40a82d53f3394f4b99aa6eccb08e3c8d)](https://www.codacy.com/gh/HariSekhon/DevOps-Python-tools/dashboard) [![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) -[![Codiga Grade](https://api.codiga.io/project/8839/status/svg)](https://app.codiga.io/project/8839/dashboard) -[![Codiga Score](https://api.codiga.io/project/8839/score/svg)](https://app.codiga.io/project/8839/dashboard) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/context:python) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) From 0487abce888a1fdd84a18f853ef1871e17772147 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 17:32:12 +0100 Subject: [PATCH 739/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 37dede02a..09a50e7e1 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 37dede02a5a184087798740bfbb36b90cf5ed685 +Subproject commit 09a50e7e1810c856eff735279a83c00116a7fcd5 From 493c6d1afb562ca7eca054bde3d48fd90b9586c0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 17:32:12 +0100 Subject: [PATCH 740/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 5f2f181a9..c3ab2659f 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 5f2f181a96f884acd0340125aab776414c343b68 +Subproject commit c3ab2659f369a3af7ee16344ef52e222fcd7a555 From a0fed602600e01b0aa97e35e6824560e71de1bb9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 17:32:12 +0100 Subject: [PATCH 741/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 8d838daa6..0d8bd4872 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 8d838daa669dc05d497d5fb2fa1aef631c613acf +Subproject commit 0d8bd48723672bbfec6eb549c80e564b28725a7b From dd64db0434d294fc3bd53a2858e4da7920667009 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 19:04:10 +0100 Subject: [PATCH 742/982] added kics.config --- kics.config | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 kics.config diff --git a/kics.config b/kics.config new file mode 100644 index 000000000..5fafd16d2 --- /dev/null +++ b/kics.config @@ -0,0 +1,36 @@ +# +# Author: Hari Sekhon +# Date: 2023-05-05 18:05:53 +0100 (Fri, 05 May 2023) +# +# vim:ts=2:sts=2:sw=2:et:filetype=yaml +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# K i c s C o n f i g +# ============================================================================ # + +# https://github.com/Checkmarx/kics/blob/master/docs/configuration-file.md + +--- +#path: assets/iac_samples +verbose: true +log-file: true +#type: +# - Dockerfile +# - Kubernetes +#queries-path: "assets/queries" +exclude-paths: + # ignore submodules - handle them in the source repos only + - bash-tools/ + - pylib/ + - sql/ + - templates/ +#output-path: "results" From fee21a0c50c83186949d1ae3253f0882ae642054 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 19:22:19 +0100 Subject: [PATCH 743/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 09a50e7e1..b2bcc4c93 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 09a50e7e1810c856eff735279a83c00116a7fcd5 +Subproject commit b2bcc4c93fcfc3e89421d8d264e6a863d623cf32 From 131da36d872ec1e3b2013de15589703b594f5323 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 19:22:19 +0100 Subject: [PATCH 744/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index c3ab2659f..e137295ce 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit c3ab2659f369a3af7ee16344ef52e222fcd7a555 +Subproject commit e137295ce7ae4c484c705a7e800c3577af823cef From 0ba9caa0aa08f5e044c5e340b195ad008944fb1e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 19:22:19 +0100 Subject: [PATCH 745/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 0d8bd4872..73d5f3b1f 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 0d8bd48723672bbfec6eb549c80e564b28725a7b +Subproject commit 73d5f3b1fa54a3900493417637652f057fab3b61 From 5c929d22aa11b8553ec809a1b11172b933047ec2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 21:54:57 +0100 Subject: [PATCH 746/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index b2bcc4c93..9112b3d95 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit b2bcc4c93fcfc3e89421d8d264e6a863d623cf32 +Subproject commit 9112b3d957ce48300a139fc94c1da963c2fa8bf0 From 62046edaf17c3d87f6e7d1f281813e0ec1b2aaf2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 21:54:57 +0100 Subject: [PATCH 747/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index e137295ce..6a6b9cf72 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit e137295ce7ae4c484c705a7e800c3577af823cef +Subproject commit 6a6b9cf7211121fa2bb3d8f72dd1ef8ba19bcdf5 From 6f96ebf189863beae3e9612a6deb2743044dee24 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 5 May 2023 22:51:14 +0100 Subject: [PATCH 748/982] updated README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f064e78b0..9c78001bb 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ [![Travis CI](https://img.shields.io/badge/TravisCI-ready-blue?logo=travis&label=Travis%20CI)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.travis.yml) [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) -[![GitLab Pipeline](https://img.shields.io/gitlab/pipeline/harisekhon/DevOps-Python-tools?logo=gitlab&label=GitLab%20CI)](https://gitlab.com/HariSekhon/DevOps-Python-tools/pipelines) -[![BitBucket Pipeline](https://img.shields.io/bitbucket/pipelines/harisekhon/devops-python-tools/master?logo=bitbucket&label=BitBucket%20CI)](https://bitbucket.org/harisekhon/devops-python-tools/addon/pipelines/home#!/) +[![GitLab Pipeline](https://img.shields.io/badge/GitLab%20CI-legacy-lightgrey?logo=gitlab)](https://gitlab.com/HariSekhon/DevOps-Python-tools/pipelines) +[![BitBucket Pipeline](https://img.shields.io/badge/Bitbucket%20CI-legacy-lightgrey?logo=bitbucket)](https://bitbucket.org/harisekhon/devops-python-tools/addon/pipelines/home#!/) [![AWS CodeBuild](https://img.shields.io/badge/AWS%20CodeBuild-ready-blue?logo=amazon%20aws)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buildspec.yml) [![GCP Cloud Build](https://img.shields.io/badge/GCP%20Cloud%20Build-ready-blue?logo=google%20cloud&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cloudbuild.yaml) From afe9d7a35dc370d604111a9e15c824e4d63f6fe2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:20:48 +0100 Subject: [PATCH 749/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9112b3d95..a3750afbd 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9112b3d957ce48300a139fc94c1da963c2fa8bf0 +Subproject commit a3750afbd00c67a0c497367be19bd807f05c242b From c9ac6b65bb38bbb6d5fa2375b5810d03fa9e46a9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:20:48 +0100 Subject: [PATCH 750/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 6a6b9cf72..5f2c84abb 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 6a6b9cf7211121fa2bb3d8f72dd1ef8ba19bcdf5 +Subproject commit 5f2c84abb142dfa218cc29fab89d11ddffa2011f From b2d609d7192f656094daf38192d4a396e5afee3a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:20:49 +0100 Subject: [PATCH 751/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 73d5f3b1f..590fd1816 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 73d5f3b1fa54a3900493417637652f057fab3b61 +Subproject commit 590fd18169dfed69dd5861d1b33d9c23b4a71a03 From 0341c77f80096ce8a3c7171d5e92ced882d973e3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:25:24 +0100 Subject: [PATCH 752/982] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 9c78001bb..2ccdff67a 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,11 @@ [![Codacy](https://app.codacy.com/project/badge/Grade/40a82d53f3394f4b99aa6eccb08e3c8d)](https://www.codacy.com/gh/HariSekhon/DevOps-Python-tools/dashboard) [![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools/badge)](https://www.codefactor.io/repository/github/harisekhon/DevOps-Python-tools) -[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/context:python) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=security_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_DevOps-Python-tools) [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_DevOps-Python-tools&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=HariSekhon_DevOps-Python-tools) -[![Total alerts](https://img.shields.io/lgtm/alerts/g/HariSekhon/DevOps-Python-tools.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/HariSekhon/DevOps-Python-tools/alerts/) [![Linux](https://img.shields.io/badge/OS-Linux-blue?logo=linux)](https://github.com/HariSekhon/DevOps-Python-tools) [![Mac](https://img.shields.io/badge/OS-Mac-blue?logo=apple)](https://github.com/HariSekhon/DevOps-Python-tools) From 472331bac11a4d00a39cb865dcc41540e3cdbc8d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:29:06 +0100 Subject: [PATCH 753/982] updated .pylintrc --- .pylintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 1c56d5de1..b35a5fccc 100644 --- a/.pylintrc +++ b/.pylintrc @@ -448,7 +448,10 @@ disable=raw-checker-failed, suppressed-message, useless-suppression, deprecated-pragma, - use-symbolic-message-instead + use-symbolic-message-instead, + missing-function-docstring, + super-with-arguments, + consider-using-f-string # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option From 93b2c4f3353810ae7a53f4b6707ec9e1c371b7a5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 02:30:27 +0100 Subject: [PATCH 754/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 5f2c84abb..0f48c7572 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 5f2c84abb142dfa218cc29fab89d11ddffa2011f +Subproject commit 0f48c7572c549bb109c3d946c7908048854dec73 From 2c42d10e551497e571f0297b36636f04bfb1025a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:45:22 +0100 Subject: [PATCH 755/982] updated .pylintrc --- .pylintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.pylintrc b/.pylintrc index b35a5fccc..2006619da 100644 --- a/.pylintrc +++ b/.pylintrc @@ -449,6 +449,7 @@ disable=raw-checker-failed, useless-suppression, deprecated-pragma, use-symbolic-message-instead, + missing-class-docstring, missing-function-docstring, super-with-arguments, consider-using-f-string From 7a42f40f3dfa0d0a02658d82f630a59d3f5d5e8b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:47:54 +0100 Subject: [PATCH 756/982] updated spark_csv_to_avro.py --- spark_csv_to_avro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark_csv_to_avro.py b/spark_csv_to_avro.py index fb56e18cf..93ea98595 100755 --- a/spark_csv_to_avro.py +++ b/spark_csv_to_avro.py @@ -166,7 +166,6 @@ def create_struct(arg): die("Spark version couldn't be determined. " + support_msg('pytools')) # pylint: disable=invalid-name - df = None if isMinVersion(spark_version, 1.4): if has_header and not schema: log.info('inferring schema from CSV headers') @@ -198,5 +197,6 @@ def create_struct(arg): # the databricks avro driver df.write.format('com.databricks.spark.avro').save(avro_dir) + if __name__ == '__main__': SparkCSVToAvro().main() From a282dda7d3eb16d5d8777db108bec344e3d90fff Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:43 +0100 Subject: [PATCH 757/982] updated spark_avro_to_parquet.py --- spark_avro_to_parquet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spark_avro_to_parquet.py b/spark_avro_to_parquet.py index 9300c4fd1..8528af1a6 100755 --- a/spark_avro_to_parquet.py +++ b/spark_avro_to_parquet.py @@ -52,6 +52,7 @@ os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages com.databricks:spark-avro_2.10:2.0.1 %s' \ % os.getenv('PYSPARK_SUBMIT_ARGS', '') pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error From 246d4df8036306782234ed6c1c4d47a7dee9d44e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:43 +0100 Subject: [PATCH 758/982] updated spark_csv_to_avro.py --- spark_csv_to_avro.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spark_csv_to_avro.py b/spark_csv_to_avro.py index 93ea98595..d41717b4f 100755 --- a/spark_csv_to_avro.py +++ b/spark_csv_to_avro.py @@ -57,6 +57,7 @@ 'com.databricks:spark-avro_2.10:2.0.1 %s' \ % os.getenv('PYSPARK_SUBMIT_ARGS', '') pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error From dad1bce7ddc6cc5972ba5df65df8ff0138b1f659 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:44 +0100 Subject: [PATCH 759/982] updated spark_csv_to_parquet.py --- spark_csv_to_parquet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spark_csv_to_parquet.py b/spark_csv_to_parquet.py index 8e3b0da1c..e70f014f6 100755 --- a/spark_csv_to_parquet.py +++ b/spark_csv_to_parquet.py @@ -49,6 +49,7 @@ os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages com.databricks:spark-csv_2.11:1.5.0 %s' \ % os.getenv('PYSPARK_SUBMIT_ARGS', '') pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error @@ -157,9 +158,7 @@ def create_struct(arg): if not isVersionLax(spark_version): die("Spark version couldn't be determined. " + support_msg('pytools')) - # pylint: disable=invalid-name - - df = None + # pylint: disable=invalid-name if isMinVersion(spark_version, 1.4): if has_header and not schema: log.info('inferring schema from CSV headers') From 49c66be7fd0cc50d196ba7e6c1f0a503c14c1771 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:44 +0100 Subject: [PATCH 760/982] updated spark_json_to_avro.py --- spark_json_to_avro.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spark_json_to_avro.py b/spark_json_to_avro.py index d53a4bffa..db9d069ed 100755 --- a/spark_json_to_avro.py +++ b/spark_json_to_avro.py @@ -52,6 +52,7 @@ os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages com.databricks:spark-avro_2.10:2.0.1 %s' \ % os.getenv('PYSPARK_SUBMIT_ARGS', '') pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error From 7fb4da436c7016412fe3b7426ab4ea06b676e2e1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:44 +0100 Subject: [PATCH 761/982] updated spark_json_to_parquet.py --- spark_json_to_parquet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spark_json_to_parquet.py b/spark_json_to_parquet.py index 2ed935917..6976ce153 100755 --- a/spark_json_to_parquet.py +++ b/spark_json_to_parquet.py @@ -43,6 +43,7 @@ print("Alternatively perhaps you tried to copy this program out without it's adjacent libraries?", file=sys.stderr) sys.exit(4) pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error From 86727ce5e22f53fa4d84627865c4cad83dddf70e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 6 May 2023 03:49:44 +0100 Subject: [PATCH 762/982] updated spark_parquet_to_avro.py --- spark_parquet_to_avro.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spark_parquet_to_avro.py b/spark_parquet_to_avro.py index 0186981f5..030816963 100755 --- a/spark_parquet_to_avro.py +++ b/spark_parquet_to_avro.py @@ -52,6 +52,7 @@ os.environ['PYSPARK_SUBMIT_ARGS'] = '--packages com.databricks:spark-avro_2.10:2.0.1 %s' \ % os.getenv('PYSPARK_SUBMIT_ARGS', '') pyspark_path() +# pylint: disable=import-outside-toplevel from pyspark import SparkContext # pylint: disable=wrong-import-position,import-error from pyspark import SparkConf # pylint: disable=wrong-import-position,import-error from pyspark.sql import SQLContext # pylint: disable=wrong-import-position,import-error From ec22d9ca18fbd0ec75d1137a2ae11c8001247286 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 01:57:50 +0100 Subject: [PATCH 763/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index a3750afbd..1b0b1149f 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit a3750afbd00c67a0c497367be19bd807f05c242b +Subproject commit 1b0b1149fabbbdb4a1c07cd25d2c1941034eb0a1 From f81d2e16df704a4fee44f20a3a48658b0e1f7c17 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 01:57:51 +0100 Subject: [PATCH 764/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 0f48c7572..e53f962a7 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 0f48c7572c549bb109c3d946c7908048854dec73 +Subproject commit e53f962a7d0eee7cf1f89ca98552d90c0d6226cb From 1643e01fddfd93d2c301a9a6ca925c1192389ef2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 01:57:51 +0100 Subject: [PATCH 765/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 590fd1816..3a74368ea 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 590fd18169dfed69dd5861d1b33d9c23b4a71a03 +Subproject commit 3a74368ead1544983ac21af7500b380b9fc20b9f From dbc5cec14dea46ef3f851d56988ab9173f8ace9e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 02:00:01 +0100 Subject: [PATCH 766/982] updated Makefile --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a67a168a9..13e4c9b27 100644 --- a/Makefile +++ b/Makefile @@ -86,12 +86,12 @@ init: # @$(MAKE) $@c %.pyc:: %.py @# this utility script supports taking .pyc or .pyo names and still does the right thing - @PIP=$(PIP) bash-tools/python_pip_install_for_script.sh $@ --exclude harisekhon && \ + @PIP=$(PIP) bash-tools/python/python_pip_install_for_script.sh $@ --exclude harisekhon && \ python -m py_compile $< && \ echo && \ echo Generated $@ %.pyo:: %.py - @PIP=$(PIP) bash-tools/python_pip_install_for_script.sh $@ --exclude harisekhon && \ + @PIP=$(PIP) bash-tools/python/python_pip_install_for_script.sh $@ --exclude harisekhon && \ python -O -m py_compile $< && \ echo && \ echo Generated $@ @@ -118,15 +118,15 @@ python: pylib @# only install pip packages not installed via system packages @#$(SUDO_PIP) $(PIP) install --upgrade -r requirements.txt @#$(SUDO_PIP) $(PIP) install -r requirements.txt - @PIP=$(PIP) PIP_OPTS="--ignore-installed" bash-tools/python_pip_install_if_absent.sh requirements.txt + @PIP=$(PIP) PIP_OPTS="--ignore-installed" bash-tools/python/python_pip_install_if_absent.sh requirements.txt @# python-krbV dependency doesn't build on Mac any more and is unmaintained and not ported to Python 3 @# python_pip_install_if_absent.sh would import snakebite module and not trigger to build the enhanced snakebite with [kerberos] bit PIP=$(PIP) bash-tools/setup/python_install_snakebite.sh || : # Python >= 3.4 - try but accept failure in case we're not on the right version of Python - @#if [ "$$(echo "$$(python -V 2>&1 | grep -Eo '[[:digit:]]+\.[[:digit:]]+') >= 3.4" | bc -l)" = 1 ]; then PIP=$(PIP) bash-tools/python_pip_install.sh "avro-python3"; fi - PIP=$(PIP) bash-tools/python_pip_install.sh "avro-python3" || : + @#if [ "$$(echo "$$(python -V 2>&1 | grep -Eo '[[:digit:]]+\.[[:digit:]]+') >= 3.4" | bc -l)" = 1 ]; then PIP=$(PIP) bash-tools/python/python_pip_install.sh "avro-python3"; fi + PIP=$(PIP) bash-tools/python/python_pip_install.sh "avro-python3" || : @# for impyla @#$(SUDO_PIP) $(PIP) install --upgrade setuptools || : @@ -154,7 +154,7 @@ python: pylib @#if [ "$$(python -c 'import sys; sys.path.append("pylib"); import harisekhon; print(harisekhon.utils.getPythonVersion())')" = "2.6" ]; then $(SUDO_PIP) $(PIP) install --upgrade "happybase==0.9"; fi @# Python >= 2.7 - won't build on 2.6, handle separately and accept failure - @PIP=$(PIP) bash-tools/python_pip_install.sh "ipython[notebook]" || : + @PIP=$(PIP) bash-tools/python/python_pip_install.sh "ipython[notebook]" || : @echo $(MAKE) pycompile @echo @@ -216,7 +216,7 @@ test: .PHONY: basic-test basic-test: test-lib - bash-tools/check_all.sh + bash-tools/checks/check_all.sh .PHONY: install install: build From bf4934fe8873bc1153ac2fef4f796a112fc93483 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 02:00:38 +0100 Subject: [PATCH 767/982] updated all.sh --- tests/all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/all.sh b/tests/all.sh index 33452eb7c..dbac7b8fb 100755 --- a/tests/all.sh +++ b/tests/all.sh @@ -31,7 +31,7 @@ section "Running PyTools ALL" cd "$srcdir/.."; # shellcheck disable=SC1090 # has to be included so that isExcluded function is inherited -. "$srcdir/../bash-tools/check_all.sh" +. "$srcdir/../bash-tools/checks/check_all.sh" #tests/test_yamllint.sh @@ -41,4 +41,4 @@ exit 0 # pyspark not found tests/help.sh -bash-tools/run_tests.sh +bash-tools/checks/run_tests.sh From 9a1f9be8ea238a1bc7cb04291f1eb743308bc09b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 10 May 2023 02:00:47 +0100 Subject: [PATCH 768/982] updated anonymize_parallel.sh --- anonymize_parallel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anonymize_parallel.sh b/anonymize_parallel.sh index 1f34f863a..abb7e9d21 100755 --- a/anonymize_parallel.sh +++ b/anonymize_parallel.sh @@ -68,7 +68,7 @@ for filename in $file_list; do echo "Removing any pre-existing parts:" rm -v "$filename".* 2>/dev/null || : echo - "$srcdir/bash-tools/split.sh" --parts "$parallelism" "$filename" + "$srcdir/bash-tools/bin/split.sh" --parts "$parallelism" "$filename" echo "Anonymizing parts" for file_part in "$filename".*; do cmd="$srcdir/anonymize.py -a $file_part > $file_part.anonymized" From 7251c68560d2f1f605475a8fb0df98e28c18353f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 11 May 2023 23:02:38 +0100 Subject: [PATCH 769/982] updated sonar-project.properties --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 270ec8ac7..7189b1a16 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -21,7 +21,7 @@ sonar.projectDescription=Python / Jython Tools sonar.links.homepage=https://github.com/HariSekhon/DevOps-Python-tools sonar.links.scm=https://github.com/HariSekhon/DevOps-Python-tools sonar.links.issue=https://github.com/HariSekhon/DevOps-Python-tools/issues -sonar.links.ci=https://travis-ci.org/HariSekhon/devops-python-tools +sonar.links.ci=https://github.com/HariSekhon/DevOps-Python-tools/actions sonar.sources=. From 754947957d53ef5ed572bdcbb2b91a6f4f4b583c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 11 May 2023 23:59:10 +0100 Subject: [PATCH 770/982] updated README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2ccdff67a..56a02a41e 100644 --- a/README.md +++ b/README.md @@ -469,6 +469,10 @@ Patches, improvements and even general feedback are welcome in the form of GitHu - [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery +- [Jenkins](https://github.com/HariSekhon/Jenkins) - Advanced Jenkinsfile & Jenkins Groovy Shared Library + +- [GitHub-Actions](https://github.com/HariSekhon/GitHub-Actions) - GitHub Actions master template & GitHub Actions Shared Workflows library + - [Templates](https://github.com/HariSekhon/Templates) - dozens of Code & Config templates - AWS, GCP, Docker, Jenkins, Terraform, Vagrant, Puppet, Python, Bash, Go, Perl, Java, Scala, Groovy, Maven, SBT, Gradle, Make, GitHub Actions Workflows, CircleCI, Jenkinsfile, Makefile, Dockerfile, docker-compose.yml, M4 etc. - [Kubernetes configs](https://github.com/HariSekhon/Kubernetes-configs) - Kubernetes YAML configs - Best Practices, Tips & Tricks are baked right into the templates for future deployments From 01af37704aed0bcbe5eeb78d0bbcd3e849358b63 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 13 May 2023 00:37:00 +0100 Subject: [PATCH 771/982] added trivy.yaml --- .github/workflows/trivy.yaml | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/trivy.yaml diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml new file mode 100644 index 000000000..5c9475308 --- /dev/null +++ b/.github/workflows/trivy.yaml @@ -0,0 +1,60 @@ +# +# Author: Hari Sekhon +# Date: Date: 2022-02-02 11:27:37 +0000 (Wed, 02 Feb 2022) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# T r i v y +# ============================================================================ # + +--- +name: Trivy + +on: + push: + branches: + - master + - main + paths-ignore: + - '**/*.md' + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 0 * * 1' + +permissions: + actions: read + contents: read + security-events: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + trivy: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Trivy Filesystem Scan + uses: HariSekhon/GitHub-Actions/.github/workflows/trivy.yaml@master + with: + debug: ${{ github.event.inputs.debug }} From 0d560dd9f6634ad3ef668f2aa8ee52ab20d0f204 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 13 May 2023 00:47:26 +0100 Subject: [PATCH 772/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56a02a41e..aeab7f613 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,10 @@ [![YAML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml) [![XML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml) [![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) +[![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) [![Semgrep](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml) [![Semgrep Cloud](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep-cloud.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep-cloud.yaml) -[![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) +[![Trivy](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/trivy.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/trivy.yaml) [![Docker Build (Alpine)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_alpine.yaml) [![Docker Build (Debian)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/docker_pytools_debian.yaml) From 585e9050a905151a82746a4a8bfe42b993bf7ed6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 13 May 2023 01:08:50 +0100 Subject: [PATCH 773/982] updated trivy.yaml --- .github/workflows/trivy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 5c9475308..8af2aeb39 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -1,6 +1,6 @@ # # Author: Hari Sekhon -# Date: Date: 2022-02-02 11:27:37 +0000 (Wed, 02 Feb 2022) +# Date: 2022-02-02 11:27:37 +0000 (Wed, 02 Feb 2022) # # vim:ts=2:sts=2:sw=2:et # @@ -54,7 +54,7 @@ jobs: # github.event.repository context not available in scheduled workflows #if: github.event.repository.fork == false if: github.repository_owner == 'HariSekhon' - name: Trivy Filesystem Scan + name: Trivy uses: HariSekhon/GitHub-Actions/.github/workflows/trivy.yaml@master with: debug: ${{ github.event.inputs.debug }} From 92b23f826de7fcdab498eb6b9e0ac26b306f09d3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 13 May 2023 01:41:06 +0100 Subject: [PATCH 774/982] updated README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aeab7f613..a41120672 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ [![XML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml) [![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) +[![Grype](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/grype.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/grype.yaml) [![Semgrep](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep.yaml) [![Semgrep Cloud](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep-cloud.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/semgrep-cloud.yaml) [![Trivy](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/trivy.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/trivy.yaml) From 9fe0d3ca28260ec2c4414a6f77c6ebbd0e5c390f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 13 May 2023 07:15:53 +0100 Subject: [PATCH 775/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a41120672..36f322455 100644 --- a/README.md +++ b/README.md @@ -467,7 +467,7 @@ Patches, improvements and even general feedback are welcome in the form of GitHu ## Related Repositories -- [DevOps Bash Tools](https://github.com/HariSekhon/DevOps-Bash-tools) - 800+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies +- [DevOps Bash Tools](https://github.com/HariSekhon/DevOps-Bash-tools) - 1000+ DevOps Bash Scripts, Advanced `.bashrc`, `.vimrc`, `.screenrc`, `.tmux.conf`, `.gitconfig`, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Docker, Kafka, Hadoop, SQL, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, DockerHub, Jenkins, Spotify API & MP3 tools, Git tricks, GitHub API, GitLab API, BitBucket API, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies - [SQL Scripts](https://github.com/HariSekhon/SQL-scripts) - 100+ SQL Scripts - PostgreSQL, MySQL, AWS Athena, Google BigQuery From b8c21da103ec580fb9b26ade93ad3eeb664cd2db Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 14 May 2023 04:18:31 +0100 Subject: [PATCH 776/982] added grype.yaml --- .github/workflows/grype.yaml | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/grype.yaml diff --git a/.github/workflows/grype.yaml b/.github/workflows/grype.yaml new file mode 100644 index 000000000..6a321f86e --- /dev/null +++ b/.github/workflows/grype.yaml @@ -0,0 +1,60 @@ +# +# Author: Hari Sekhon +# Date: 2023-05-13 01:07:56 +0100 (Sat, 13 May 2023) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# G r y p e +# ============================================================================ # + +--- +name: Grype + +on: + push: + branches: + - master + - main + paths-ignore: + - '**/*.md' + pull_request: + branches: + - master + - main + paths-ignore: + - '**/*.md' + workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false + schedule: + - cron: '0 0 * * 1' + +permissions: + actions: read + contents: read + security-events: write + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + Grype: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Grype + uses: HariSekhon/GitHub-Actions/.github/workflows/grype.yaml@master + with: + debug: ${{ github.event.inputs.debug }} From a8c29b46dd6d8b0659fb64bbbc41c1d2cd6666e9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 29 May 2023 02:06:58 +0100 Subject: [PATCH 777/982] updated center.py --- center.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/center.py b/center.py index b9cbac5f1..379353e68 100755 --- a/center.py +++ b/center.py @@ -44,7 +44,7 @@ sys.exit(4) __author__ = 'Hari Sekhon' -__version__ = '0.5.0' +__version__ = '0.5.1' class Center(CLI): @@ -104,7 +104,7 @@ def process_line(self, line): char = ' ' # preliminary strip() to be able to pick up # if it isn't the first char and their are spaces before it line = line.strip() - if isChars(line[0], '#'): + if line and isChars(line[0], '#'): char = line[0] line = line.lstrip(char) elif len(line) > 1 and isChars(line[0:1], '/'): From f9abc5f8321e73b34e0be59079823ce850b50362 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:01:24 +0100 Subject: [PATCH 778/982] removed codeship.yml --- codeship.yml | 58 ---------------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 codeship.yml diff --git a/codeship.yml b/codeship.yml deleted file mode 100644 index f466bd6a7..000000000 --- a/codeship.yml +++ /dev/null @@ -1,58 +0,0 @@ -# -# Author: Hari Sekhon -# Date: 2021-04-12 18:33:44 +0100 (Mon, 12 Apr 2021) -# -# vim:ts=2:sts=2:sw=2:et -# -# https://github.com/HariSekhon/DevOps-Python-tools -# -# License: see accompanying Hari Sekhon LICENSE file -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish -# -# https://www.linkedin.com/in/HariSekhon -# - -# ============================================================================ # -# C o d e S h i p -# ============================================================================ # - -# LEGACY - CloudBees has removed free plans as of 1st March 2023 - -# 3rd party way of doing IaC on CodeShip CI as the free edition doesn't support this - -# https://github.com/painless-software/codeship-yaml - -# Requires setting up the CodeShip commands like so: -# -# pip install codeship-yaml -# codeship-yaml -# -# or seaparately in sections: -# -# Project Settings > Test Settings > Setup Commands: -# -# pip install codeship-yaml -# codeship-yaml install -# -# Project Settings > Test Settings > Test Commands: -# -# codeship-yaml before_script script -# -# Project Settings > Deployment > (branch name) -# -# codeship-yaml after_success - ---- -install: - # these cause package installation breakages due to GPG or 403 errors, old addresses etc. - - sudo rm -fv -- /etc/apt/sources.list.d/cli_assets_heroku_com_branches_stable_apt.list - - sudo rm -fv -- /etc/apt/sources.list.d/apache_bintray_com_couchdb_deb.list - - sudo rm -fv -- /etc/apt/sources.list.d/www_apache_org_dist_cassandra_debian.list - - make -#before_script: -# - somecommand -script: - - make test -#after_success: -# - echo "Now we can deploy" From c4c513b66715f87bbed88320deda71205f84ce96 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:01:32 +0100 Subject: [PATCH 779/982] removed wercker.yml --- wercker.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 wercker.yml diff --git a/wercker.yml b/wercker.yml deleted file mode 100644 index c27be30ed..000000000 --- a/wercker.yml +++ /dev/null @@ -1,33 +0,0 @@ -# -# Author: Hari Sekhon -# Date: 2020-02-24 15:41:04 +0000 (Mon, 24 Feb 2020) -# -# vim:ts=2:sts=2:sw=2:et -# -# https://github.com/HariSekhon/DevOps-Python-tools -# -# License: see accompanying Hari Sekhon LICENSE file -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish -# -# https://www.linkedin.com/in/HariSekhon -# - -# https://devcenter.wercker.com/reference/wercker-yml/ - -box: debian - -build: - steps: - - script: - name: ci bootstrap - code: setup/ci_bootstrap.sh - - script: - name: init - code: make init - - script: - name: build - code: make ci - - script: - name: test - code: make test From 116cdfda1b85dbd8803e21a3e126c1d4d58d8ab6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:01:38 +0100 Subject: [PATCH 780/982] removed .werckerignore --- .werckerignore | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .werckerignore diff --git a/.werckerignore b/.werckerignore deleted file mode 100644 index ff8fb8247..000000000 --- a/.werckerignore +++ /dev/null @@ -1 +0,0 @@ -**/.md From 5ba24dc535c907d2d574d652da6517e3ec2cf75a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:03:08 +0100 Subject: [PATCH 781/982] moved .teamcity.vcs.json to teamcity/ --- .teamcity.vcs.json => teamcity/.teamcity.vcs.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .teamcity.vcs.json => teamcity/.teamcity.vcs.json (100%) diff --git a/.teamcity.vcs.json b/teamcity/.teamcity.vcs.json similarity index 100% rename from .teamcity.vcs.json rename to teamcity/.teamcity.vcs.json From 1730b699555891aff16137749cfbd88f7559f21b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:03:09 +0100 Subject: [PATCH 782/982] moved .teamcity.vcs.oauth.json to teamcity/ --- .teamcity.vcs.oauth.json => teamcity/.teamcity.vcs.oauth.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .teamcity.vcs.oauth.json => teamcity/.teamcity.vcs.oauth.json (100%) diff --git a/.teamcity.vcs.oauth.json b/teamcity/.teamcity.vcs.oauth.json similarity index 100% rename from .teamcity.vcs.oauth.json rename to teamcity/.teamcity.vcs.oauth.json From 21d86fe66caa9b86030bedd0155287ad263ba17f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:03:09 +0100 Subject: [PATCH 783/982] moved .teamcity.vcs.ssh.json to teamcity/ --- .teamcity.vcs.ssh.json => teamcity/.teamcity.vcs.ssh.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .teamcity.vcs.ssh.json => teamcity/.teamcity.vcs.ssh.json (100%) diff --git a/.teamcity.vcs.ssh.json b/teamcity/.teamcity.vcs.ssh.json similarity index 100% rename from .teamcity.vcs.ssh.json rename to teamcity/.teamcity.vcs.ssh.json From 637c5ade2863627f66f26bd6ee354416c698e69d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:05:11 +0100 Subject: [PATCH 784/982] moved .concourse.yml to cicd/ --- .concourse.yml => cicd/.concourse.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .concourse.yml => cicd/.concourse.yml (100%) diff --git a/.concourse.yml b/cicd/.concourse.yml similarity index 100% rename from .concourse.yml rename to cicd/.concourse.yml From 424a095fedc3298d2ce34a63f6a4296b2acb8140 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:05:11 +0100 Subject: [PATCH 785/982] moved .gocd.yml to cicd/ --- .gocd.yml => cicd/.gocd.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .gocd.yml => cicd/.gocd.yml (100%) diff --git a/.gocd.yml b/cicd/.gocd.yml similarity index 100% rename from .gocd.yml rename to cicd/.gocd.yml From 2451e74fd432d4cdac907970369e2c9059608f3f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:05:11 +0100 Subject: [PATCH 786/982] moved buildspec.yml to cicd/ --- buildspec.yml => cicd/buildspec.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename buildspec.yml => cicd/buildspec.yml (100%) diff --git a/buildspec.yml b/cicd/buildspec.yml similarity index 100% rename from buildspec.yml rename to cicd/buildspec.yml From fca148ae783746b8452a26818344156c5a1bcdae Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:05:11 +0100 Subject: [PATCH 787/982] moved cloudbuild.yaml to cicd/ --- cloudbuild.yaml => cicd/cloudbuild.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cloudbuild.yaml => cicd/cloudbuild.yaml (100%) diff --git a/cloudbuild.yaml b/cicd/cloudbuild.yaml similarity index 100% rename from cloudbuild.yaml rename to cicd/cloudbuild.yaml From caf90ee899ba2b558bdbab7d28c87ae28c5da7ab Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:41:46 +0100 Subject: [PATCH 788/982] removed shippable.yml --- shippable.yml | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 shippable.yml diff --git a/shippable.yml b/shippable.yml deleted file mode 100644 index 1fa06bc06..000000000 --- a/shippable.yml +++ /dev/null @@ -1,50 +0,0 @@ -# -# Author: Hari Sekhon -# Date: 2020-02-23 23:20:54 +0000 (Sun, 23 Feb 2020) -# -# vim:ts=2:sts=2:sw=2:et -# -# https://github.com/HariSekhon/DevOps-Python-tools -# -# License: see accompanying Hari Sekhon LICENSE file -# -# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish -# -# https://www.linkedin.com/in/HariSekhon -# - -# http://docs.shippable.com/platform/workflow/config/ - -# http://docs.shippable.com/ci/advancedOptions/environmentVariables/ - -language: none - -branches: - only: - - master - -build: - ci: - # workaround to broken repos - # W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://downloads.apache.org/cassandra/debian 311x InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E91335D77E3E87CB - # W: GPG error: http://dl.yarnpkg.com/debian stable Release: The following signatures were invalid: KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983 KEYEXPIRED 1580619281 KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983 KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983 - # E: The repository 'http://dl.yarnpkg.com/debian stable Release' is no longer signed. - # DevOps-Python-tools/Makefile.in:272: recipe for target 'apt-packages' failed - - rm -fv -- /etc/apt/sources.list.d/cassandra.sources.list* - - rm -fv -- /etc/apt/sources.list.d/yarn.list* - # Basho repo is giving a '402 payment required' error - # https://github.com/Shippable/support/issues/5172 - - rm -fv -- /etc/apt/sources.list.d/basho_riak.list - #- shippable_retry make - - setup/ci_bootstrap.sh - - make init - - make ci - - make test - -integrations: - notifications: - - integrationName: email - type: email - on_success: never - on_failure: never - on_pull_request: never From 7d04cce80786cc6c4f278ce4a773f7d6a6f69ae3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:01 +0100 Subject: [PATCH 789/982] updated .appveyor.yml --- .appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index f4b36fba0..c459fd55a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# A p p V e y o r C I +# ============================================================================ # + # https://www.appveyor.com/docs/appveyor-yml/ image: Ubuntu From 00b3cf9ae996e7b5a8f5bc7577adfd9b420b9381 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:02 +0100 Subject: [PATCH 790/982] updated pipeline.yml --- .buildkite/pipeline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 93f047c02..eb0d641fd 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# B u i l d K i t e C I +# ============================================================================ # + # BuildKite Pipeline # # add this command to the UI and it will read the rest of the steps from here: From 526798d5606da7d44e405fb9931b9d27c9c39b71 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:03 +0100 Subject: [PATCH 791/982] updated config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5dbde36b7..09026fc6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# C i r c l e C I +# ============================================================================ # + # Master Template with more advanced config: # # https://github.com/HariSekhon/Templates/blob/master/circleci_config.yml From 126ad67b87f9f2ada233929556a37d3ee479126e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:04 +0100 Subject: [PATCH 792/982] updated .cirrus.yml --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index d544aeb85..6916e2577 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# C i r r u s C I +# ============================================================================ # + # https://cirrus-ci.org/guide/writing-tasks/ container: From 243482c43161216eb1c278c64a0451f731347385 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:05 +0100 Subject: [PATCH 793/982] updated .drone.yml --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4d36c9db2..d105ab57a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# D r o n e C I +# ============================================================================ # + # https://docs.drone.io/quickstart/cli/ # # https://docs.drone.io/cli/install/ From 84d0b04dff32333bb7da8058de7c36b98bab6015 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 02:50:06 +0100 Subject: [PATCH 794/982] updated .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 477b32c3e..625220b32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,14 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# G i t L a b C I +# ============================================================================ # + # https://docs.gitlab.com/ee/ci/yaml/README.html +#include: '.gitlab/*.y*ml' + image: ubuntu:18.04 job: From c21088d44d170cf28533c2af5633c753b3a493ff Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:15:38 +0100 Subject: [PATCH 795/982] updated sonar-project.properties --- sonar-project.properties | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 7189b1a16..9b1539430 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,7 +1,7 @@ # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon -# Date: 2016-07-19 18:18:27 +0100 (Tue, 19 Jul 2016) +# Date: 2016-07-19 18:31:17 +0100 (Tue, 19 Jul 2016) # # https://github.com/HariSekhon/DevOps-Python-tools # @@ -12,21 +12,30 @@ # https://www.linkedin.com/in/HariSekhon # -sonar.projectName=DevOps Python Tools -sonar.projectKey=pytools +# ============================================================================ # +# S o n a r Q u b e +# ============================================================================ # + +sonar.host.url=https://sonarcloud.io + +# Required metadata +sonar.organization=harisekhon +sonar.projectName=DevOps-Python-tools +sonar.projectKey=HariSekhon_DevOps-Python-tools sonar.projectVersion=1.0 -sonar.projectDescription=Python / Jython Tools +sonar.projectDescription=DevOps-Python-tools sonar.links.homepage=https://github.com/HariSekhon/DevOps-Python-tools sonar.links.scm=https://github.com/HariSekhon/DevOps-Python-tools sonar.links.issue=https://github.com/HariSekhon/DevOps-Python-tools/issues sonar.links.ci=https://github.com/HariSekhon/DevOps-Python-tools/actions +# directories to scan (defaults to sonar-project.properties dir otherwise) sonar.sources=. #sonar.language=py sonar.sourceEncoding=UTF-8 -sonar.exclusions=**/tests/spark*/**/* +sonar.exclusions=**/tests/** From 2c93d263101b61483ad2189406aefe87efe53ecf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:39 +0100 Subject: [PATCH 796/982] updated sonar-project.properties --- sonar-project.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 9b1539430..319cc6897 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -38,4 +38,5 @@ sonar.sources=. sonar.sourceEncoding=UTF-8 -sonar.exclusions=**/tests/** +#sonar.exclusions=**/tests/** +sonar.exclusions=**/zookeeper-*/**/* From 3b6c0b0324ba01c6596adb589c86ad6790225fbd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:50 +0100 Subject: [PATCH 797/982] updated semaphore.yml --- .semaphore/semaphore.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e86c4f36e..761ef0697 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# S e m a p h o r e C I +# ============================================================================ # + # https://docs.semaphoreci.com/reference/pipeline-yaml-reference/ version: v1.0 From 7e975e2cda81ac8b0177401bc8766caf7db9bf6c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:51 +0100 Subject: [PATCH 798/982] updated README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 36f322455..35a30a739 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ [![CI Builds Overview](https://img.shields.io/badge/CI%20Builds-Overview%20Page-blue?logo=circleci)](https://harisekhon.github.io/CI-CD/) [![Jenkins](https://img.shields.io/badge/Jenkins-ready-blue?logo=jenkins&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/Jenkinsfile) -[![Concourse](https://img.shields.io/badge/Concourse-ready-blue?logo=concourse)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.concourse.yml) -[![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/.gocd.yml) +[![Concourse](https://img.shields.io/badge/Concourse-ready-blue?logo=concourse)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/.concourse.yml) +[![GoCD](https://img.shields.io/badge/GoCD-ready-blue?logo=go)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/.gocd.yml) [![TeamCity](https://img.shields.io/badge/TeamCity-ready-blue?logo=teamcity)](https://github.com/HariSekhon/TeamCity-CI) [![CircleCI](https://circleci.com/gh/HariSekhon/DevOps-Python-tools.svg?style=svg)](https://circleci.com/gh/HariSekhon/DevOps-Python-tools) @@ -55,8 +55,8 @@ [![Azure DevOps Pipeline](https://dev.azure.com/harisekhon/GitHub/_apis/build/status/HariSekhon.DevOps-Python-tools?branchName=master)](https://dev.azure.com/harisekhon/GitHub/_build/latest?definitionId=8&branchName=master) [![GitLab Pipeline](https://img.shields.io/badge/GitLab%20CI-legacy-lightgrey?logo=gitlab)](https://gitlab.com/HariSekhon/DevOps-Python-tools/pipelines) [![BitBucket Pipeline](https://img.shields.io/badge/Bitbucket%20CI-legacy-lightgrey?logo=bitbucket)](https://bitbucket.org/harisekhon/devops-python-tools/addon/pipelines/home#!/) -[![AWS CodeBuild](https://img.shields.io/badge/AWS%20CodeBuild-ready-blue?logo=amazon%20aws)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/buildspec.yml) -[![GCP Cloud Build](https://img.shields.io/badge/GCP%20Cloud%20Build-ready-blue?logo=google%20cloud&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cloudbuild.yaml) +[![AWS CodeBuild](https://img.shields.io/badge/AWS%20CodeBuild-ready-blue?logo=amazon%20aws)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/buildspec.yml) +[![GCP Cloud Build](https://img.shields.io/badge/GCP%20Cloud%20Build-ready-blue?logo=google%20cloud&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/cloudbuild.yaml) [![Repo on Azure DevOps](https://img.shields.io/badge/repo-Azure%20DevOps-0078D7?logo=azure%20devops)](https://dev.azure.com/harisekhon/GitHub/_git/DevOps-Python-tools) [![Repo on GitHub](https://img.shields.io/badge/repo-GitHub-2088FF?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools) From 97a95b048ddff13a76f31a2687f62a8c3f4ee10f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:52 +0100 Subject: [PATCH 799/982] updated azure-pipelines.yml --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 76ad8f1f0..e26e7f760 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# A z u r e D e v O p s P i p e l i n e +# ============================================================================ # + # https://aka.ms/yaml trigger: From e7b73f1e14052b5e152d8934fddd83e11929db02 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:53 +0100 Subject: [PATCH 800/982] updated buddy.yml --- buddy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buddy.yml b/buddy.yml index f901a6425..e0b57451f 100644 --- a/buddy.yml +++ b/buddy.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# B u d d y C I +# ============================================================================ # + # https://buddy.works/docs/yaml/yaml-schema --- From 3f82815fe59aae0a425f870296787d9206c161c3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:16:59 +0100 Subject: [PATCH 801/982] updated .concourse.yml --- cicd/.concourse.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cicd/.concourse.yml b/cicd/.concourse.yml index 42b806f26..92847121e 100644 --- a/cicd/.concourse.yml +++ b/cicd/.concourse.yml @@ -13,6 +13,14 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# C o n c o u r s e C I +# ============================================================================ # + +# https://concourse-ci.org/golang-library-example.html + +# https://resource-types.concourse-ci.org/ +# https://concourse-ci.org/resource-types.html resources: - name: github icon: github-circle @@ -25,8 +33,7 @@ resources: # source: # interval: 1d -# https://concourse-ci.org/golang-library-example.html - +# https://concourse-ci.org/jobs.html jobs: - name: build public: false From 3851ded922052a5aa98677a3045fcbca03a13aa3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:17:00 +0100 Subject: [PATCH 802/982] updated .gocd.yml --- cicd/.gocd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cicd/.gocd.yml b/cicd/.gocd.yml index f3ed9fd19..65583a818 100644 --- a/cicd/.gocd.yml +++ b/cicd/.gocd.yml @@ -12,6 +12,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# G o C D +# ============================================================================ # + # https://github.com/tomzo/gocd-yaml-config-plugin#setup # https://docs.gocd.org/current/configuration/configuration_reference.html From f7dda886aad2cdcd0374877ca6b5ab9dae4bd2d8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:17:00 +0100 Subject: [PATCH 803/982] updated codefresh.yml --- codefresh.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codefresh.yml b/codefresh.yml index 5326f6e51..7cddcaf7c 100644 --- a/codefresh.yml +++ b/codefresh.yml @@ -13,6 +13,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# C o d e f r e s h C I +# ============================================================================ # + # https://codefresh.io/docs/docs/codefresh-yaml/ version: "1.0" From 0865b14f7edd4a67a348af0139713a706fa67e3a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:17:01 +0100 Subject: [PATCH 804/982] updated kics.config --- kics.config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kics.config b/kics.config index 5fafd16d2..51ac5712e 100644 --- a/kics.config +++ b/kics.config @@ -30,7 +30,15 @@ log-file: true exclude-paths: # ignore submodules - handle them in the source repos only - bash-tools/ + - github-actions/ + - haproxy-configs/ + - jenkins/ + - kubernetes-templates/ + - lib/ - pylib/ + - spotify-tools/ - sql/ + - sql-keywords/ - templates/ + - terraform-templates/ #output-path: "results" From 0ba05249f4a515b998110738105078ef6cb4d003 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:17:02 +0100 Subject: [PATCH 805/982] updated gocd_config_repo.json --- setup/gocd_config_repo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/gocd_config_repo.json b/setup/gocd_config_repo.json index 4c1639b4d..ce63bf63d 100644 --- a/setup/gocd_config_repo.json +++ b/setup/gocd_config_repo.json @@ -12,7 +12,7 @@ "configuration": [ { "key": "file_pattern", - "value": "*.gocd.y*ml" + "value": "cicd/*.gocd.y*ml" } ], "rules": [ From f605276d04c77181fa4e8cf71c85cf6002752a35 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:25:05 +0100 Subject: [PATCH 806/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 1b0b1149f..36e0eabe2 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 1b0b1149fabbbdb4a1c07cd25d2c1941034eb0a1 +Subproject commit 36e0eabe2b02207f51cd807fa6dafd18abdab234 From 37b79941c2329f2de041cab714d08851c1eaa5f8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:25:06 +0100 Subject: [PATCH 807/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index e53f962a7..af52e8795 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit e53f962a7d0eee7cf1f89ca98552d90c0d6226cb +Subproject commit af52e87958755d74d9b96cd373aab8cc810ab6a6 From 0d7d8060f515735afca206920e275643934e4867 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:25:06 +0100 Subject: [PATCH 808/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index d4eedc0e2..b96c184fd 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit d4eedc0e2c68c9a43838c89a1d09abf10927a566 +Subproject commit b96c184fdda9b2ad607d222ec5663a087769b561 From d1ef74ffebc27e32ec9afeb5bca7debd4fedb64b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 03:25:06 +0100 Subject: [PATCH 809/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 3a74368ea..d58140c42 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 3a74368ead1544983ac21af7500b380b9fc20b9f +Subproject commit d58140c424a83a440fa1480e878c45a00920c0f4 From a3634ecf1e18a624af24814f4540cba15623a642 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:32 +0100 Subject: [PATCH 810/982] updated codeowners.yaml --- .github/workflows/codeowners.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index 6b9eaf3b9..4dc3a09c3 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -11,8 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# C o d e O w n e r s +# ============================================================================ # + --- -name: Codeowners +name: CodeOwners on: push: From 79fdd3ef11e57c87b703255fc61789aedd083080 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:33 +0100 Subject: [PATCH 811/982] updated fork-sync.yaml --- .github/workflows/fork-sync.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 4d4ebd577..c7ff16fd4 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# F o r k S y n c +# ============================================================================ # + +# For a fork of the original repo, activate to keep it up to date via straight GitHub sync to the default branch + --- name: Fork Sync From 6900c0b4ca31f052e94e7caffb77c16ec8dd7938 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:34 +0100 Subject: [PATCH 812/982] updated fork-update-pr.yaml --- .github/workflows/fork-update-pr.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 00479ecb7..94398083f 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -11,6 +11,14 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# F o r k U p d a t e P R +# ============================================================================ # + +# For a fork of the original repo, activate to keep its branches up to date via Pull Requests +# +# To be used in conjunction with the adjacent fork-sync.yaml which keeps the default branch up to date + --- name: Fork Update PR From 02e4b41f7117802742d8af57107da9aa09677982 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:35 +0100 Subject: [PATCH 813/982] updated json.yaml --- .github/workflows/json.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index 6ed4b92d1..f68e309e5 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# J S O N +# ============================================================================ # + +# Validate any JSON files found in the repo + --- name: JSON From 77f1608b618c75c87ad51006dfddba709aabdf37 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:35 +0100 Subject: [PATCH 814/982] updated kics.yaml --- .github/workflows/kics.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/kics.yaml b/.github/workflows/kics.yaml index 399cc40f0..033f4331e 100644 --- a/.github/workflows/kics.yaml +++ b/.github/workflows/kics.yaml @@ -11,6 +11,10 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# K i c s +# ============================================================================ # + --- name: Kics From 70a101b1ae1095ba49d05a182d3a77a7eb352f73 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:36 +0100 Subject: [PATCH 815/982] updated shellcheck.yaml --- .github/workflows/shellcheck.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index 98e53bfe4..753a6a495 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# S h e l l C h e c k +# ============================================================================ # + +# Validate any shell scripts found in the repo + --- name: ShellCheck From 55a9f677eb8afdb95879e413b15da0b3d5543b27 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:36 +0100 Subject: [PATCH 816/982] updated trivy.yaml --- .github/workflows/trivy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 8af2aeb39..26f01fa94 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -15,6 +15,8 @@ # T r i v y # ============================================================================ # +# Scan files in the local repo + --- name: Trivy From b5f76c8c6c099ca81c0e0d6885d41f1195d85379 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:37 +0100 Subject: [PATCH 817/982] updated validate.yaml --- .github/workflows/validate.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 5d924b77b..94a8c007a 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# V a l i d a t i o n +# ============================================================================ # + +# Run all custom validations against files in the repo + --- name: Validation From 88ac6b6661928c5f272515fe0700576d04b6f279 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:37 +0100 Subject: [PATCH 818/982] updated xml.yaml --- .github/workflows/xml.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/xml.yaml b/.github/workflows/xml.yaml index f4d3b7035..8b07ed256 100644 --- a/.github/workflows/xml.yaml +++ b/.github/workflows/xml.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# X M L +# ============================================================================ # + +# Validate any XML files found in the repo + --- name: XML From 2c992b85d84bb9dd9ebd7ea2e3ab57dfafe13ab2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:12:38 +0100 Subject: [PATCH 819/982] updated yaml.yaml --- .github/workflows/yaml.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index bee8be84c..d252f67d2 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -11,6 +11,12 @@ # https://www.linkedin.com/in/HariSekhon # +# ============================================================================ # +# Y A M L +# ============================================================================ # + +# Validate any YAML files found in the repo + --- name: YAML From a2a575ec7dec99394aab6b8572f42953129e3e43 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:18:49 +0100 Subject: [PATCH 820/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 36e0eabe2..815d75082 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 36e0eabe2b02207f51cd807fa6dafd18abdab234 +Subproject commit 815d75082d4faa8494e9500727ebd13e2c5abcae From 202d2ed1a86e2bd72f131fdd262eb6b88a846132 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:18:50 +0100 Subject: [PATCH 821/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index af52e8795..ae8aa8753 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit af52e87958755d74d9b96cd373aab8cc810ab6a6 +Subproject commit ae8aa875359ddea2c9b5cf6ccc422e12a0740949 From 25abbfdedc8b9832c507f970f7c1a8ef29643a27 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:18:50 +0100 Subject: [PATCH 822/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index b96c184fd..e11486ebd 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit b96c184fdda9b2ad607d222ec5663a087769b561 +Subproject commit e11486ebd436802d22d1b88bda00c0a9eb3d41b6 From 24407a2473022336a734c95d262203780f75df87 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:18:50 +0100 Subject: [PATCH 823/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index d58140c42..3af953c9a 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit d58140c424a83a440fa1480e878c45a00920c0f4 +Subproject commit 3af953c9ae196d4ba5e59637e9668bd1bc6e9953 From 82da083e55bda834adf1802587856c6ff5b8b95c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:26:01 +0100 Subject: [PATCH 824/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 815d75082..38901a555 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 815d75082d4faa8494e9500727ebd13e2c5abcae +Subproject commit 38901a555d2ce114f0e7df6d4a31a3fdc1a3dc41 From 4b432be8807c49caa2682b2f04ad492d403f2f0a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:26:02 +0100 Subject: [PATCH 825/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index ae8aa8753..aa20abd72 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit ae8aa875359ddea2c9b5cf6ccc422e12a0740949 +Subproject commit aa20abd72ceef27723ad8c461f4d9321ad12e779 From e14414287476521c71efa1ca3cb1095d2886ca62 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 04:26:02 +0100 Subject: [PATCH 826/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 3af953c9a..15d1e3bc8 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 3af953c9ae196d4ba5e59637e9668bd1bc6e9953 +Subproject commit 15d1e3bc8a594171b3c70ce0bf04979eceb8630a From baec6ac43c0a3bf03cd7d78bb35d9972d470c922 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Jun 2023 17:46:12 +0100 Subject: [PATCH 827/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 35a30a739..eb8e5fe12 100644 --- a/README.md +++ b/README.md @@ -493,7 +493,7 @@ Patches, improvements and even general feedback are welcome in the form of GitHu - [Perl Lib](https://github.com/HariSekhon/lib) - Perl version of above library -- [Diagrams-as-Code](https://github.com/HariSekhon/Diagrams-as-Code) - Cloud & Open Source architecture diagrams with Python source code provided - automatically regenerated via GitHub Actions CI/CD - AWS, GCP, Kubernetes, ArgoCD, Kong API Gateway, Nginx, Redis, PostgreSQL, Kafka, Spark, web farms, event processing... +- [Diagrams-as-Code](https://github.com/HariSekhon/Diagrams-as-Code) - Cloud & Open Source architecture diagrams with Python & D2 source code provided - automatically regenerated via GitHub Actions CI/CD - AWS, GCP, Kubernetes, Jenkins, ArgoCD, Traefik, Kong API Gateway, Nginx, Redis, PostgreSQL, Kafka, Spark, web farms, event processing... From b5db3cb80db2ddc5dcc980a844939766452dc308 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 24 Apr 2024 12:32:47 +0400 Subject: [PATCH 861/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index da278a058..1438f07bd 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit da278a05823c78709d831a4e6ba9cce4e5a481a7 +Subproject commit 1438f07bd9fe762752cfd986718e30797cff5650 From 8e50ccbc1c4ec668a1cea00152de7c700b584d24 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 24 Apr 2024 12:32:47 +0400 Subject: [PATCH 862/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index a43798fe9..6f9e99389 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit a43798fe986928bffe4fe5952efdce408d012562 +Subproject commit 6f9e993896910c320c571918a635dc049e757e73 From a2d58fac6ac19b0d1b5f663aab5939eefe2b9f28 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 24 Apr 2024 12:33:56 +0400 Subject: [PATCH 863/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 1438f07bd..b69edeada 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 1438f07bd9fe762752cfd986718e30797cff5650 +Subproject commit b69edeadadf0774fc6444c552f3a89d407ca24d4 From 39a4591fa22b1a6c0ffe94e0f8451fa3a5a60f1a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 27 May 2024 21:55:51 +0400 Subject: [PATCH 864/982] added .envrc --- .envrc | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 000000000..6fa553de2 --- /dev/null +++ b/.envrc @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +# vim:ts=4:sts=4:sw=4:et +# +# Author: Hari Sekhon +# Date: Mon Feb 22 17:42:01 2021 +0000 +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# D i r e n v +# ============================================================================ # + +# .envrc to auto-load the virtualenv inside the 'venv' directory if present + +# https://direnv.net/man/direnv-stdlib.1.html + +# See more .envrc files in: +# +# https://github.com/HariSekhon/DevOps-Bash-tools +# +# .envrc-aws +# .envrc-gcp +# .envrc-kubernetes + +set -euo pipefail +[ -n "${DEBUG:-}" ] && set -x +#srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +export COMPOSE_PROJECT_NAME="pytools" + +venv="$PWD/venv" + +if [ -f "$venv/bin/activate" ]; then + echo + echo "Local virtualenv directory found in: $venv" + echo + echo "Activating Virtualenv inside the directory: $venv" + + # shellcheck disable=SC1091 + source "$venv/bin/activate" + echo +fi + +# read .env too +#dotenv From a0d2bc4abf677d283f992db3bab72461e888943f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 4 Jun 2024 09:19:34 +0200 Subject: [PATCH 865/982] updated .envrc --- .envrc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.envrc b/.envrc index 6fa553de2..96d3b5c0f 100644 --- a/.envrc +++ b/.envrc @@ -35,18 +35,18 @@ set -euo pipefail export COMPOSE_PROJECT_NAME="pytools" -venv="$PWD/venv" - -if [ -f "$venv/bin/activate" ]; then - echo - echo "Local virtualenv directory found in: $venv" - echo - echo "Activating Virtualenv inside the directory: $venv" - - # shellcheck disable=SC1091 - source "$venv/bin/activate" - echo -fi +for venv in "$PWD/venv" "$HOME/venv"; do + if [ -f "$venv/bin/activate" ]; then + echo + echo "Virtualenv directory found in: $venv" + echo + echo "Activating Virtualenv inside the directory: $venv" + + # shellcheck disable=SC1091 + source "$venv/bin/activate" + echo + fi +done # read .env too #dotenv From 0f9f99ff568ae21d903ceaaf0bf77b65c93632cc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 4 Jun 2024 09:20:41 +0200 Subject: [PATCH 866/982] updated .envrc --- .envrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.envrc b/.envrc index 96d3b5c0f..2aa9a4379 100644 --- a/.envrc +++ b/.envrc @@ -35,6 +35,7 @@ set -euo pipefail export COMPOSE_PROJECT_NAME="pytools" +# this is necessary because newer versions of pip no longer allow you to install PyPI packages in system-packages by default for venv in "$PWD/venv" "$HOME/venv"; do if [ -f "$venv/bin/activate" ]; then echo From 92451e77812ddd6ace3c3ac401887fbeb2e1ad89 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 4 Jun 2024 09:52:30 +0200 Subject: [PATCH 867/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index b69edeada..4cf683ab7 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit b69edeadadf0774fc6444c552f3a89d407ca24d4 +Subproject commit 4cf683ab744f849c34d2c15ce255b18b368d6a11 From eef5f927cf6bc15c6d438706a37567529347dd7d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 4 Jun 2024 09:52:31 +0200 Subject: [PATCH 868/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 99f5c866a..804fcd30f 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 99f5c866aa5986c62d45de3b8da7043a28a63321 +Subproject commit 804fcd30fc9d05bf66fedae6001dbdef02dc8518 From 9616644dba9bf8d67673bcf02ae431af2395579d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 4 Jun 2024 09:52:31 +0200 Subject: [PATCH 869/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 6f9e99389..a43798fe9 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 6f9e993896910c320c571918a635dc049e757e73 +Subproject commit a43798fe986928bffe4fe5952efdce408d012562 From 7dd10775f06d708e16930d91519297addaa33519 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:34:59 +0200 Subject: [PATCH 870/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4cf683ab7..8e8cf26f2 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4cf683ab744f849c34d2c15ce255b18b368d6a11 +Subproject commit 8e8cf26f2c49b30371a35bbd844bae491fccfaf4 From aa3ef778e851dd980c962b4fafe2600dffd50123 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:34:59 +0200 Subject: [PATCH 871/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 804fcd30f..c88505e98 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 804fcd30fc9d05bf66fedae6001dbdef02dc8518 +Subproject commit c88505e98b4a59ffa961ac92a581be96233d3b9d From 749724f6c95f2baba13490258a14b79b45c79f2f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:34:59 +0200 Subject: [PATCH 872/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index a43798fe9..c2521be52 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit a43798fe986928bffe4fe5952efdce408d012562 +Subproject commit c2521be525b4047222adb18263e5714e4171c483 From d8cbf436f9842d01a3bda55fdb095b2a4209b50d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:36:09 +0200 Subject: [PATCH 873/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index c88505e98..545ce8b83 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit c88505e98b4a59ffa961ac92a581be96233d3b9d +Subproject commit 545ce8b838428cb8e3ae8e883130a5fe251bd83d From 21f534993310e30479c38661de27c0ffc350946e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:38:47 +0200 Subject: [PATCH 874/982] updated .envrc --- .envrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.envrc b/.envrc index 2aa9a4379..9073c82fd 100644 --- a/.envrc +++ b/.envrc @@ -14,7 +14,7 @@ # # ============================================================================ # -# D i r e n v +# P y t h o n D i r E n v # ============================================================================ # # .envrc to auto-load the virtualenv inside the 'venv' directory if present From 82154119348fccba6d13f674c336bdc127c4ac44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:39:28 +0200 Subject: [PATCH 875/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 8e8cf26f2..6d8f6ebc0 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 8e8cf26f2c49b30371a35bbd844bae491fccfaf4 +Subproject commit 6d8f6ebc0c93dad1306f35844b931c635cd1f9ce From 899a4cea79947f03e8e0862345914ddf47e68bee Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 14:39:28 +0200 Subject: [PATCH 876/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 545ce8b83..76e9e28d1 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 545ce8b838428cb8e3ae8e883130a5fe251bd83d +Subproject commit 76e9e28d1b3a016dc64d1ccf92c7a967a74c48aa From a63287671e5471c97794e9c19f41b676d3d12e81 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 19:03:58 +0200 Subject: [PATCH 877/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 6d8f6ebc0..9f1a8c533 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 6d8f6ebc0c93dad1306f35844b931c635cd1f9ce +Subproject commit 9f1a8c53368a47e43e6f022f236e40635b78aa8f From 18cc287778458c4bfcaea0c12fca330302e6982c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 19:03:58 +0200 Subject: [PATCH 878/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 76e9e28d1..e2982d2f4 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 76e9e28d1b3a016dc64d1ccf92c7a967a74c48aa +Subproject commit e2982d2f4c07d0252d59897d9002235f6c0a7f6c From 1f6f01941062e293ee1c8898e884bafca470dccc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 19:03:58 +0200 Subject: [PATCH 879/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 39d0eccb4..8597f692e 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 39d0eccb4c160fcee9f09df9bb53c911ca2a387f +Subproject commit 8597f692e4e4abd59b58fb24c7fa79449a75c8c0 From e805b2ab2933e6a05cfb0fbd0f6dfbabf5e50c3b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 26 Jun 2024 19:03:58 +0200 Subject: [PATCH 880/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index c2521be52..5174a5073 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit c2521be525b4047222adb18263e5714e4171c483 +Subproject commit 5174a5073dbe25c8e5b1ac603b7b4f61b6ac7623 From 86d645a4f49915bd3032fcc9fee866f0a437eb94 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 16:40:47 +0200 Subject: [PATCH 881/982] updated .envrc --- .envrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.envrc b/.envrc index 9073c82fd..51de39abb 100644 --- a/.envrc +++ b/.envrc @@ -46,6 +46,7 @@ for venv in "$PWD/venv" "$HOME/venv"; do # shellcheck disable=SC1091 source "$venv/bin/activate" echo + break fi done From c6fcf3037124d84f6f0b9ce569993fe41eb76181 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 16:41:19 +0200 Subject: [PATCH 882/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 9f1a8c533..f32bb01be 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 9f1a8c53368a47e43e6f022f236e40635b78aa8f +Subproject commit f32bb01be9e59606bf4a292c0a3a7e2ef1ac4540 From 15816a21b449f0af739eb5985b61fe7ab9f9f475 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 16:41:19 +0200 Subject: [PATCH 883/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index e2982d2f4..29fbc0f2d 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit e2982d2f4c07d0252d59897d9002235f6c0a7f6c +Subproject commit 29fbc0f2da0c8d839898eb90b2d3a26c72ec85c8 From 959c4ce33775ecf588e4ad5794d1c340752510a5 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 17:33:25 +0200 Subject: [PATCH 884/982] updated .flake8 --- .flake8 | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index e31fb949f..de51ee708 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,32 @@ +# +# Author: Hari Sekhon +# Date: Mon Oct 21 15:57:10 2019 +0100 +# +# vim:ts=4:sts=4:sw=4:et +# +# https///github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# F l a k e 8 C o n f i g +# ============================================================================ # + +# https://flake8.pycqa.org/en/latest/user/configuration.html + [flake8] -ignore = E265,E402,F401 + max-line-length = 120 + +ignore = E265, + E402, + F401 + exclude = test*/* + max-complexity = 10 From 06d5e9469a49cf33c0c618ac5e05fbd4343dd4c8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 17:34:31 +0200 Subject: [PATCH 885/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index f32bb01be..057b80266 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit f32bb01be9e59606bf4a292c0a3a7e2ef1ac4540 +Subproject commit 057b80266f1bb0f3e36af2ae7f8fa228afc09074 From 49075c27e13a166fc5ac4dfd5582dfc9c936b928 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 17:34:31 +0200 Subject: [PATCH 886/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 29fbc0f2d..fdb270866 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 29fbc0f2da0c8d839898eb90b2d3a26c72ec85c8 +Subproject commit fdb2708661b5a58fdba4b7ba514246aa929e6c02 From cd4e61aa6c5d4ff4181342e5d8f8581a1b135493 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 2 Jul 2024 17:34:31 +0200 Subject: [PATCH 887/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 5174a5073..d94994282 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 5174a5073dbe25c8e5b1ac603b7b4f61b6ac7623 +Subproject commit d94994282274abf4279444fd85c0674a382e6696 From ec92f71bad8c41778516345018fd6295861aa67f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Aug 2024 01:17:37 +0300 Subject: [PATCH 888/982] added .envrc-python --- .envrc-python | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .envrc-python diff --git a/.envrc-python b/.envrc-python new file mode 100644 index 000000000..6bc2d65b1 --- /dev/null +++ b/.envrc-python @@ -0,0 +1,43 @@ +#!/usr/bin/env bash +# vim:ts=4:sts=4:sw=4:et +# +# Author: Hari Sekhon +# Date: Mon Feb 22 17:42:01 2021 +0000 +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# P y t h o n D i r E n v +# ============================================================================ # + +# .envrc to auto-load the virtualenv inside the 'venv' directory if present + +# https://direnv.net/man/direnv-stdlib.1.html + +set -euo pipefail +[ -n "${DEBUG:-}" ] && set -x +#srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +# this is necessary because newer versions of pip no longer allow you to install PyPI packages in system-packages by default +for venv in "$PWD/venv" "$HOME/venv"; do + if [ -f "$venv/bin/activate" ]; then + echo + echo "Virtualenv directory found in: $venv" + echo + echo "Activating Virtualenv inside the directory: $venv" + + # shellcheck disable=SC1091 + source "$venv/bin/activate" + break + fi +done + +# read .env too +#dotenv From bae58f9cbadd09648d416c363f73e5ae1d5dd582 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Aug 2024 01:19:10 +0300 Subject: [PATCH 889/982] updated .envrc --- .envrc | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 127 insertions(+), 18 deletions(-) diff --git a/.envrc b/.envrc index 51de39abb..7e481411c 100644 --- a/.envrc +++ b/.envrc @@ -14,41 +14,150 @@ # # ============================================================================ # -# P y t h o n D i r E n v +# D i r E n v # ============================================================================ # -# .envrc to auto-load the virtualenv inside the 'venv' directory if present - # https://direnv.net/man/direnv-stdlib.1.html -# See more .envrc files in: -# -# https://github.com/HariSekhon/DevOps-Bash-tools +# See Also: # # .envrc-aws # .envrc-gcp # .envrc-kubernetes +# direnv stdlib - loads .envrc from parent dir up to / +# +# useful to accumulate parent and child directory .envrc settings eg. adding Kubernetes namespace, ArgoCD app etc. +# +# bypasses security authorization though - use with care +#source_up +# +# source_up must be loaded before set -u otherwise gets this error: +# +# direnv: loading .envrc +# /bin/bash: line 226: $1: unbound variable +# +# source_up causes this error is up .envrc is found in parent directories: +# +# direnv: No ancestor .envrc found + set -euo pipefail [ -n "${DEBUG:-}" ] && set -x -#srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +src="$(readlink -f "${BASH_SOURCE[0]}")" +srcdir="$(cd "$(dirname "$src")" && pwd)" -export COMPOSE_PROJECT_NAME="pytools" +# ============================================================================ # +# P r e - C o m m i t +# ============================================================================ # -# this is necessary because newer versions of pip no longer allow you to install PyPI packages in system-packages by default -for venv in "$PWD/venv" "$HOME/venv"; do - if [ -f "$venv/bin/activate" ]; then - echo - echo "Virtualenv directory found in: $venv" - echo - echo "Activating Virtualenv inside the directory: $venv" +# Automatically install Pre-Commit Git hooks if not already present - # shellcheck disable=SC1091 - source "$venv/bin/activate" +if [ -f .pre-commit-config.yaml ]; then + if [ -d .git ]; then + if ! [ -f .git/hooks/pre-commit ]; then + pre-commit install + fi + fi +fi + +# ============================================================================ # +# D o c k e r C o m p o s e +# ============================================================================ # + +export COMPOSE_PROJECT_NAME="DevOps-Python-tools" + +# ============================================================================ # +# G i t H u b +# ============================================================================ # + +#export GITHUB_ORGANIZATION=HariSekhon + +# ============================================================================ # +# A n s i b l e +# ============================================================================ # + +# use the local repo's ansible.cfg rather than: +# +# $PWD/ansible.cfg +# ~/.ansible.cfg +# /etc/ansible/ansible.cfg +# +# set this in project repos to ensure user environment ANSIBLE_CONFIG doesn't get used +#export ANSIBLE_CONFIG="/path/to/ansible.cfg" + +# ============================================================================ # +# C l o u d f l a r e +# ============================================================================ # + +#export CLOUDFLARE_EMAIL=hari@... +#export CLOUDFLARE_API_KEY=... # generate here: https://dash.cloudflare.com/profile/api-tokens +#export CLOUDFLARE_TOKEN=... # used by cloudflare_api.sh but not by terraform module + +# export the variables for terraform +#export TF_VAR_cloudflare_email="$CLOUDFLARE_EMAIL" +#export TF_VAR_cloudflare_api_key="$CLOUDFLARE_API_KEY" # must be a key, not a token using the link above + +# ============================================================================ # +# P y t h o n , A W S , G C P , T e r r a f o r m +# ============================================================================ # + +# XXX: safer to bring all these external .envrc inline if you're worried about changes +# to it bypassing 'direnv allow' authorization +load_if_exists(){ + # first arg is a path to a .envrc + # all other args are passed to the sourcing of .envrc - used by .envrc-kubernetes + # to pass the context name 'docker-desktop' to switch to + local envrc="$1" + shift + if ! [[ "$envrc" =~ ^/ ]]; then + envrc="$srcdir/$envrc" + fi + if [ -f "$envrc" ]; then + # prevent looping on symlinks to this .envrc if given + if [ "$(readlink "$envrc")" = "$src" ]; then + return + fi echo - break + echo "Loading $envrc" + # shellcheck disable=SC1090,SC1091 + . "$envrc" "$@" fi +} + +#load_if_exists ~/.envrc + + #.envrc-aws \ + #.envrc-gcp \ + #.envrc-terraform \ +# shellcheck disable=SC2043 +for envrc in \ + .envrc-python \ + ; do + load_if_exists "$envrc" done +if [[ "$PWD" =~ /aws/ ]]; then + load_if_exists .envrc-aws +fi + +if [[ "$PWD" =~ /gcp/ ]]; then + load_if_exists .envrc-gcp +fi + +if [[ "$PWD" =~ /(terra(form)?|tf)(/|$) ]]; then + load_if_exists .envrc-terraform +fi + +# ============================================================================ # +# K u b e r n e t e s +# ============================================================================ # + +if [ -f "$srcdir/.envrc-kubernetes" ]; then + load_if_exists .envrc-kubernetes docker-desktop +fi + +# ============================================================================ # + +echo # read .env too #dotenv From 13b3cde4939345bbb49086f16b627056958b2329 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Aug 2024 01:51:24 +0300 Subject: [PATCH 890/982] added .pre-commit-config.yaml --- .pre-commit-config.yaml | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..f3c5b1608 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,72 @@ +# +# Author: Hari Sekhon +# Date: 2024-08-08 17:34:56 +0300 (Thu, 08 Aug 2024) +# +# vim:ts=2:sts=2:sw=2:et +# +# https///github.com/HariSekhon/Templates +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# P r e - C o m m i t +# ============================================================================ # + +--- +fail_fast: false +#exclude: *.tmp$ + +repos: + + # will accept anything that 'git clone' understands + # this means you can set this to a local git repo to develop your own hook repos interactively + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: check-yaml + # Common errors + - id: end-of-file-fixer + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] + # Git style + - id: check-added-large-files + - id: check-merge-conflict + - id: check-vcs-permalinks + - id: forbid-new-submodules + # Cross platform + - id: check-case-conflict + - id: mixed-line-ending + args: [--fix=lf] + # Security + - id: detect-aws-credentials + args: ['--allow-missing-credentials'] + + - repo: https://github.com/psf/black + rev: 24.8.0 + hooks: + - id: black + + # Git secrets Leaks + - repo: https://github.com/awslabs/git-secrets.git + # the release tags for 1.2.0, 1.2.1 and 1.3.0 are broken with this error: + # + # /Users/hari/.cache/pre-commit/repo......./.pre-commit-hooks.yaml is not a file + # + rev: 5357e18 + hooks: + - id: git-secrets + + - repo: https://github.com/markdownlint/markdownlint + rev: v0.12.0 + hooks: + - id: markdownlint + name: Markdownlint + description: Run markdownlint on your Markdown files + entry: mdl + language: ruby + files: \.(md|mdown|markdown)$ From 5c145c7d2e6459c61a9a55c0f6f7047e009ccbda Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Aug 2024 01:57:50 +0300 Subject: [PATCH 891/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3c5b1608..2b154867f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # # vim:ts=2:sts=2:sw=2:et # -# https///github.com/HariSekhon/Templates +# https///github.com/HariSekhon/DevOps-Python-tools # # License: see accompanying Hari Sekhon LICENSE file # From c8c6623a14f7482ab9b222f63074f0bcbb55e657 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Aug 2024 20:33:29 +0300 Subject: [PATCH 892/982] updated .envrc --- .envrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.envrc b/.envrc index 7e481411c..da56f607a 100644 --- a/.envrc +++ b/.envrc @@ -52,11 +52,11 @@ srcdir="$(cd "$(dirname "$src")" && pwd)" # Automatically install Pre-Commit Git hooks if not already present -if [ -f .pre-commit-config.yaml ]; then - if [ -d .git ]; then - if ! [ -f .git/hooks/pre-commit ]; then - pre-commit install - fi +if [ -f .pre-commit-config.yaml ] && + [ -d .git ] && + type -P pre-commit &>/dev/null; then + if ! [ -f .git/hooks/pre-commit ]; then + pre-commit install fi fi From 9a5c385d480ecf1e05aacf4e0e753af684f9e262 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 10 Aug 2024 00:12:38 +0300 Subject: [PATCH 893/982] updated .editorconfig --- .editorconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 73c19b202..462f53206 100644 --- a/.editorconfig +++ b/.editorconfig @@ -40,7 +40,14 @@ end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true -[*.md] +[{*.md,*.hcl,*.tf,*.tfvars}] +indent_size = 2 +indent_style = space +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.yml,*.yaml] indent_size = 2 indent_style = space end_of_line = lf From f410868fe774c96117e790f2bb7f6f2bd3fd9af6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 10 Aug 2024 01:49:04 +0300 Subject: [PATCH 894/982] updated .envrc --- .envrc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index da56f607a..920b4e16d 100644 --- a/.envrc +++ b/.envrc @@ -98,7 +98,7 @@ export COMPOSE_PROJECT_NAME="DevOps-Python-tools" #export TF_VAR_cloudflare_api_key="$CLOUDFLARE_API_KEY" # must be a key, not a token using the link above # ============================================================================ # -# P y t h o n , A W S , G C P , T e r r a f o r m +# Load External Envrc Files If Present # ============================================================================ # # XXX: safer to bring all these external .envrc inline if you're worried about changes @@ -124,8 +124,15 @@ load_if_exists(){ fi } +# don't do this it may lead to an infinite loop if 'make link' symlinking ~/.envrc to this repo's .envrc +# (which I do to keep Python virtual automatically loaded at all times because recent pip on Python refuses +# to install to system Python) #load_if_exists ~/.envrc +# ============================================================================ # +# P y t h o n +# ============================================================================ # + #.envrc-aws \ #.envrc-gcp \ #.envrc-terraform \ @@ -136,14 +143,26 @@ for envrc in \ load_if_exists "$envrc" done +# ============================================================================ # +# A W S +# ============================================================================ # + if [[ "$PWD" =~ /aws/ ]]; then load_if_exists .envrc-aws fi +# ============================================================================ # +# G C P +# ============================================================================ # + if [[ "$PWD" =~ /gcp/ ]]; then load_if_exists .envrc-gcp fi +# ============================================================================ # +# T e r r a f o r m +# ============================================================================ # + if [[ "$PWD" =~ /(terra(form)?|tf)(/|$) ]]; then load_if_exists .envrc-terraform fi From 283a9a3ca15ea2293c9ae2ed08a9ac77aa7d0bfa Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 10 Aug 2024 12:06:01 +0300 Subject: [PATCH 895/982] updated .envrc --- .envrc | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.envrc b/.envrc index 920b4e16d..15bc469ee 100644 --- a/.envrc +++ b/.envrc @@ -52,10 +52,23 @@ srcdir="$(cd "$(dirname "$src")" && pwd)" # Automatically install Pre-Commit Git hooks if not already present +if ! type -P pre-commit &>/dev/null && + uname -s | grep -q Darwin && + type -P brew &>/dev/null; then + echo + echo "Pre-commit is not installed - installing now..." + echo + brew install pre-commit + echo +fi + if [ -f .pre-commit-config.yaml ] && - [ -d .git ] && - type -P pre-commit &>/dev/null; then - if ! [ -f .git/hooks/pre-commit ]; then + type -P pre-commit &>/dev/null && + git rev-parse --is-inside-work-tree &>/dev/null; then + if ! [ -f "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit" ]; then + echo + echo "Pre-commit hook is not installed in local Git repo checkout - installing now..." + echo pre-commit install fi fi From f09fdd3279da8103197fc4be455be86eea23e2df Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 14 Aug 2024 23:17:32 +0200 Subject: [PATCH 896/982] updated .envrc --- .envrc | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.envrc b/.envrc index 15bc469ee..7555ecba9 100644 --- a/.envrc +++ b/.envrc @@ -52,14 +52,20 @@ srcdir="$(cd "$(dirname "$src")" && pwd)" # Automatically install Pre-Commit Git hooks if not already present -if ! type -P pre-commit &>/dev/null && - uname -s | grep -q Darwin && - type -P brew &>/dev/null; then - echo - echo "Pre-commit is not installed - installing now..." - echo - brew install pre-commit - echo +if ! type -P pre-commit &>/dev/null; then + if uname -s | grep -q Darwin && + type -P brew &>/dev/null; then + echo + echo "Pre-commit is not installed - installing now using Homebrew..." + echo + brew install pre-commit + echo + elif type -P pip &>/dev/null; then + echo + echo "Pre-commit is not installed - installing now using Pip..." + echo + pip install pre-commit + fi fi if [ -f .pre-commit-config.yaml ] && @@ -188,6 +194,8 @@ if [ -f "$srcdir/.envrc-kubernetes" ]; then load_if_exists .envrc-kubernetes docker-desktop fi +# ============================================================================ # +# . E n v # ============================================================================ # echo From d31b9e28d672eedc9624cfc2890daf982fd6acd9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 15 Aug 2024 16:35:10 +0200 Subject: [PATCH 897/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 503347f5d..cc918aa8d 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,11 @@ [![AWS CodeBuild](https://img.shields.io/badge/AWS%20CodeBuild-ready-blue?logo=amazon%20aws)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/buildspec.yml) [![GCP Cloud Build](https://img.shields.io/badge/GCP%20Cloud%20Build-ready-blue?logo=google%20cloud&logoColor=white)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/cicd/cloudbuild.yaml) -[![Repo on Azure DevOps](https://img.shields.io/badge/repo-Azure%20DevOps-0078D7?logo=azure%20devops)](https://dev.azure.com/harisekhon/GitHub/_git/DevOps-Python-tools) [![Repo on GitHub](https://img.shields.io/badge/repo-GitHub-2088FF?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools) [![Repo on GitLab](https://img.shields.io/badge/repo-GitLab-FCA121?logo=gitlab)](https://gitlab.com/HariSekhon/DevOps-Python-tools) +[![Repo on Azure DevOps](https://img.shields.io/badge/repo-Azure%20DevOps-0078D7?logo=azure%20devops)](https://dev.azure.com/harisekhon/GitHub/_git/DevOps-Python-tools) [![Repo on BitBucket](https://img.shields.io/badge/repo-BitBucket-0052CC?logo=bitbucket)](https://bitbucket.org/HariSekhon/DevOps-Python-tools) + [![ShellCheck](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/shellcheck.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/shellcheck.yaml) [![JSON](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/json.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/json.yaml) [![YAML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml) From f3c5690d32c077c52b108ca1f83f88fbae06cfbe Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 22 Aug 2024 02:22:09 +0200 Subject: [PATCH 898/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b154867f..df14fb7d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,5 +68,6 @@ repos: name: Markdownlint description: Run markdownlint on your Markdown files entry: mdl + args: [-s, .markdownlint.rb] language: ruby files: \.(md|mdown|markdown)$ From 4546c7688be6a4e0a12b333b8fa123c0aae7a91c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 22 Aug 2024 02:22:10 +0200 Subject: [PATCH 899/982] added .markdownlint.rb --- .markdownlint.rb | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .markdownlint.rb diff --git a/.markdownlint.rb b/.markdownlint.rb new file mode 100644 index 000000000..e69de29bb From db58f5309bcf6fe5d145bb65afdc501b0c1494d6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Sep 2024 23:35:18 +0200 Subject: [PATCH 900/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df14fb7d9..9e9c1c291 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,6 +68,6 @@ repos: name: Markdownlint description: Run markdownlint on your Markdown files entry: mdl - args: [-s, .markdownlint.rb] + args: [-s, .mdl.rb] language: ruby files: \.(md|mdown|markdown)$ From 0839b2b170aa75b94c39263577660b3cac5e25ee Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Sep 2024 23:35:19 +0200 Subject: [PATCH 901/982] added .mdlrc --- .mdlrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .mdlrc diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 000000000..27e5b6895 --- /dev/null +++ b/.mdlrc @@ -0,0 +1,5 @@ +mdlrc_dir = File.expand_path('..', __FILE__) + +style_file = File.join(mdlrc_dir, '.mdl.rb') + +style style_file From c8ec774ef167b959685256791528eba64dbd8b32 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Sep 2024 23:35:19 +0200 Subject: [PATCH 902/982] added .mdl.rb --- .mdl.rb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .mdl.rb diff --git a/.mdl.rb b/.mdl.rb new file mode 100644 index 000000000..db6a3373f --- /dev/null +++ b/.mdl.rb @@ -0,0 +1,29 @@ +#!/usr/bin/env ruby +# vim:ts=4:sts=4:sw=4:et:filetype=ruby +# +# Author: Hari Sekhon +# Date: 2024-08-22 01:58:12 +0200 (Thu, 22 Aug 2024) +# +# https///github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +all +#exclude_rule 'MD001' +#exclude_rule 'MD003' +#exclude_rule 'MD005' +exclude_rule 'MD007' # leave 2 space indentation for lists, 3 space is ugly af +#exclude_rule 'MD012' +exclude_rule 'MD013' # long lines cannot be split if they are URLs +#exclude_rule 'MD022' +#exclude_rule 'MD025' +#exclude_rule 'MD031' +#exclude_rule 'MD032' +exclude_rule 'MD033' # inline HTML is important for formatting +#exclude_rule 'MD039' +#exclude_rule 'MD056' From cfa61d4d041dba2306dfdfbf568226209d656f56 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Sep 2024 23:36:37 +0200 Subject: [PATCH 903/982] updated ci_bootstrap.sh --- setup/ci_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/ci_bootstrap.sh b/setup/ci_bootstrap.sh index ab20cfa8d..0b52378ff 100755 --- a/setup/ci_bootstrap.sh +++ b/setup/ci_bootstrap.sh @@ -52,7 +52,7 @@ retry(){ if [ "$(uname -s)" = Darwin ]; then echo "Bootstrapping Mac" # removing adjacent dependency to be able to curl from github to avoid submodule circular dependency (git / submodule / install git & make) - #retry "$srcdir/install_homebrew.sh" + #retry "$srcdir/../install/install_homebrew.sh" if command -v brew 2>&1; then # fix for CI runners on Mac with shallow homebrew clone - which is failing all the BuildKite builds for git_root in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask; do From 63bde7fef5cf084fa7fe4a0a212d60d275f46ef2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 16:05:19 +0200 Subject: [PATCH 904/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 057b80266..e7c73c3c4 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 057b80266f1bb0f3e36af2ae7f8fa228afc09074 +Subproject commit e7c73c3c436c41901d1b51c872e5c3e2b22e2b07 From 16a294f584f532cde95b2df7401cc50234bdd3d8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 16:05:19 +0200 Subject: [PATCH 905/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index fdb270866..092819070 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit fdb2708661b5a58fdba4b7ba514246aa929e6c02 +Subproject commit 092819070eda268f0a4c6f8b373290c09a9de421 From c91a96c1ebd6a698d568d6a36d758872da9804b4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 16:05:19 +0200 Subject: [PATCH 906/982] updated sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 8597f692e..ace6d6400 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 8597f692e4e4abd59b58fb24c7fa79449a75c8c0 +Subproject commit ace6d6400c1f647f2e96bd6dc9b730cf1232847a From b53766eb78df127afdcc81e3dde0a50a8f9dabe8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 16:05:20 +0200 Subject: [PATCH 907/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index d94994282..b8d565217 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit d94994282274abf4279444fd85c0674a382e6696 +Subproject commit b8d565217a111514a2e061cec896f258712985fb From 82e9390f13636322f39891aa5cc372a4496428c7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 17:15:58 +0200 Subject: [PATCH 908/982] updated README --- README.md | 196 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 116 insertions(+), 80 deletions(-) diff --git a/README.md b/README.md index cc918aa8d..4fd1177dc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![GitHub forks](https://img.shields.io/github/forks/harisekhon/devops-python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/network) [![Lines of Code](https://img.shields.io/badge/lines%20of%20code-26k-lightgrey?logo=codecademy)](https://github.com/HariSekhon/DevOps-Python-tools) [![License](https://img.shields.io/github/license/HariSekhon/DevOps-Python-tools)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/LICENSE) -[![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=linkedin)](https://www.linkedin.com/in/HariSekhon/) +[![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGlua2VkSW48L3RpdGxlPjxwYXRoIGQ9Ik0yMC40NDcgMjAuNDUyaC0zLjU1NHYtNS41NjljMC0xLjMyOC0uMDI3LTMuMDM3LTEuODUyLTMuMDM3LTEuODUzIDAtMi4xMzYgMS40NDUtMi4xMzYgMi45Mzl2NS42NjdIOS4zNTFWOWgzLjQxNHYxLjU2MWguMDQ2Yy40NzctLjkgMS42MzctMS44NSAzLjM3LTEuODUgMy42MDEgMCA0LjI2NyAyLjM3IDQuMjY3IDUuNDU1djYuMjg2ek01LjMzNyA3LjQzM2MtMS4xNDQgMC0yLjA2My0uOTI2LTIuMDYzLTIuMDY1IDAtMS4xMzguOTItMi4wNjMgMi4wNjMtMi4wNjMgMS4xNCAwIDIuMDY0LjkyNSAyLjA2NCAyLjA2MyAwIDEuMTM5LS45MjUgMi4wNjUtMi4wNjQgMi4wNjV6bTEuNzgyIDEzLjAxOUgzLjU1NVY5aDMuNTY0djExLjQ1MnpNMjIuMjI1IDBIMS43NzFDLjc5MiAwIDAgLjc3NCAwIDEuNzI5djIwLjU0MkMwIDIzLjIyNy43OTIgMjQgMS43NzEgMjRoMjAuNDUxQzIzLjIgMjQgMjQgMjMuMjI3IDI0IDIyLjI3MVYxLjcyOUMyNCAuNzc0IDIzLjIgMCAyMi4yMjIgMGguMDAzeiIvPjwvc3ZnPgo=)](https://www.linkedin.com/in/HariSekhon/) [![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/DevOps-Python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/commits/master) -- [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) - 25+ DevOps CLI tools for Hadoop, HDFS, Hive, Solr/SolrCloud CLI, Log Anonymizer, Nginx stats & HTTP(S) URL watchers for load balanced web farms, Dockerfiles & SQL ReCaser (MySQL, PostgreSQL, AWS Redshift, Snowflake, Apache Drill, Hive, Impala, Cassandra CQL, Microsoft SQL Server, Oracle, Couchbase N1QL, Dockerfiles, Pig Latin, Neo4j, InfluxDB), Ambari FreeIPA Kerberos, Datameer, Linux... +### Knowledge -- [The Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) - 450+ programs for Nagios monitoring your Hadoop & NoSQL clusters. Covers every Hadoop vendor's management API and every major NoSQL technology (HBase, Cassandra, MongoDB, Elasticsearch, Solr, Riak, Redis etc.) as well as message queues (Kafka, RabbitMQ), continuous integration (Jenkins, Travis CI) and traditional infrastructure (SSL, Whois, DNS, Linux) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Knowledge-Base&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Knowledge-Base) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Diagrams-as-Code&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Diagrams-as-Code) -- [Nagios Plugin Kafka](https://github.com/HariSekhon/Nagios-Plugin-Kafka) - Kafka API pub/sub Nagios Plugin written in Scala with Kerberos support + -- [Diagrams-as-Code](https://github.com/HariSekhon/Diagrams-as-Code) - Cloud & Open Source architecture diagrams with Python & D2 source code provided - automatically regenerated via GitHub Actions CI/CD - AWS, GCP, Kubernetes, Jenkins, ArgoCD, Traefik, Kong API Gateway, Nginx, Redis, PostgreSQL, Kafka, Spark, web farms, event processing... +### DevOps Code -- [Knowledge-Base](https://github.com/HariSekhon/Knowledge-Base) - IT Knowledge Base from 20 years in DevOps, Linux, Cloud, Big Data, AWS, GCP etc. +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Bash-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Bash-tools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Python-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Python-tools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Perl-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Perl-tools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Golang-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Golang-tools) -You might also be interested in the following really nice Jupyter notebook for HDFS space analysis created by another Hortonworks guy Jonas Straub: +### Containerization -- https://github.com/mr-jstraub/HDFSQuota/blob/master/HDFSQuota.ipynb +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Kubernetes-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Kubernetes-configs) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Dockerfiles&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Dockerfiles) -### Stargazers over time +### CI/CD -[![Stargazers over time](https://starchart.cc/HariSekhon/DevOps-Python-tools.svg)](https://starchart.cc/HariSekhon/DevOps-Python-tools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=GitHub-Actions&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/GitHub-Actions) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Jenkins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Jenkins) -[git.io/python-tools](https://git.io/python-tools) +### DBA - SQL -[git.io/pytools](https://git.io/pytools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=SQL-scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/SQL-scripts) + +### DevOps Reloaded + +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer-templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer-templates) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka) + +### Misc + +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists) + +The rest of my original source repos are +[here](https://github.com/HariSekhon?tab=repositories&q=&type=source&language=&sort=stargazers). + +Pre-built Docker images are available on my [DockerHub](https://hub.docker.com/u/harisekhon/). + + +![](https://hit.yhype.me/github/profile?user_id=2211051) + + From e27764e4a9ed13170d3585259ea6267be3b7f62d Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 4 Sep 2024 17:17:33 +0200 Subject: [PATCH 909/982] updated README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fd1177dc..5fa8938af 100644 --- a/README.md +++ b/README.md @@ -534,14 +534,17 @@ Does nothing: [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer-templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer-templates) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka) -### Misc +### Templates +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo) + +### Misc + [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists) From 6259d5a9e744abde66b0ff91c15b194e8104b075 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 16 Sep 2024 19:19:58 +0200 Subject: [PATCH 910/982] updated .mdl.rb --- .mdl.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/.mdl.rb b/.mdl.rb index db6a3373f..f8f9b004c 100644 --- a/.mdl.rb +++ b/.mdl.rb @@ -25,5 +25,6 @@ #exclude_rule 'MD031' #exclude_rule 'MD032' exclude_rule 'MD033' # inline HTML is important for formatting +exclude_rule 'MD036' # emphasis used instead of header for footer Ported from lines #exclude_rule 'MD039' #exclude_rule 'MD056' From e4eac61b95c830eb6ee80027214d72e9be9dcd6e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 16 Sep 2024 19:30:55 +0200 Subject: [PATCH 911/982] updated README --- README.md | 176 +++++++++++++++++++++++++++--------------------------- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/README.md b/README.md index 5fa8938af..955eb8cb6 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ Cloud & Big Data Contractor, United Kingdom [![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGlua2VkSW48L3RpdGxlPjxwYXRoIGQ9Ik0yMC40NDcgMjAuNDUyaC0zLjU1NHYtNS41NjljMC0xLjMyOC0uMDI3LTMuMDM3LTEuODUyLTMuMDM3LTEuODUzIDAtMi4xMzYgMS40NDUtMi4xMzYgMi45Mzl2NS42NjdIOS4zNTFWOWgzLjQxNHYxLjU2MWguMDQ2Yy40NzctLjkgMS42MzctMS44NSAzLjM3LTEuODUgMy42MDEgMCA0LjI2NyAyLjM3IDQuMjY3IDUuNDU1djYuMjg2ek01LjMzNyA3LjQzM2MtMS4xNDQgMC0yLjA2My0uOTI2LTIuMDYzLTIuMDY1IDAtMS4xMzguOTItMi4wNjMgMi4wNjMtMi4wNjMgMS4xNCAwIDIuMDY0LjkyNSAyLjA2NCAyLjA2MyAwIDEuMTM5LS45MjUgMi4wNjUtMi4wNjQgMi4wNjV6bTEuNzgyIDEzLjAxOUgzLjU1NVY5aDMuNTY0djExLjQ1MnpNMjIuMjI1IDBIMS43NzFDLjc5MiAwIDAgLjc3NCAwIDEuNzI5djIwLjU0MkMwIDIzLjIyNy43OTIgMjQgMS43NzEgMjRoMjAuNDUxQzIzLjIgMjQgMjQgMjMuMjI3IDI0IDIyLjI3MVYxLjcyOUMyNCAuNzc0IDIzLjIgMCAyMi4yMjIgMGguMDAzeiIvPjwvc3ZnPgo=)](https://www.linkedin.com/in/HariSekhon/)
*(you're welcome to connect with me on LinkedIn)* -**Make sure you run ```make update``` if updating and not just ```git pull``` as you will often need the latest library submodule and possibly new upstream libraries** +**Make sure you run `make update` if updating and not just `git pull` as you will often need the latest library submodule and possibly new upstream libraries** ## Quick Start @@ -163,14 +163,14 @@ Some Hadoop tools with require Jython, see [Jython for Hadoop Utils](https://git ### Usage -All programs come with a ```--help``` switch which includes a program description and the list of command line options. +All programs come with a `--help` switch which includes a program description and the list of command line options. -Environment variables are supported for convenience and also to hide credentials from being exposed in the process list eg. ```$PASSWORD```, ```$TRAVIS_TOKEN```. These are indicated in the ```--help``` descriptions in brackets next to each option and often have more specific overrides with higher precedence eg. ```$AMBARI_HOST```, ```$HBASE_HOST``` take priority over ```$HOST```. +Environment variables are supported for convenience and also to hide credentials from being exposed in the process list eg. `$PASSWORD`, `$TRAVIS_TOKEN`. These are indicated in the `--help` descriptions in brackets next to each option and often have more specific overrides with higher precedence eg. `$AMBARI_HOST`, `$HBASE_HOST` take priority over `$HOST`. ### DevOps Python Tools - Inventory - Linux: - - ```anonymize.py``` - anonymizes your configs / logs from files or stdin (for pasting to Apache Jira tickets or mailing lists) + - `anonymize.py` - anonymizes your configs / logs from files or stdin (for pasting to Apache Jira tickets or mailing lists) - anonymizations include these and more: - hostnames / domains / FQDNs - email addresses @@ -179,115 +179,115 @@ Environment variables are supported for convenience and also to hide credentials - Kerberos principals - LDAP sensitive fields (eg. CN, DN, OU, UID, sAMAccountName, member, memberOf...) - Cisco & Juniper ScreenOS configurations passwords, shared keys and SNMP strings - - ```anonymize_custom.conf``` - put regex of your Name/Company/Project/Database/Tables to anonymize to `````` - - placeholder tokens indicate what was stripped out (eg. ``````, ``````, ``````) - - ```--ip-prefix``` leaves the last IP octect to aid in cluster debugging to still see differentiated nodes communicating with each other to compare configs and log communications - - ```--hash-hostnames``` - hashes hostnames to look like Docker temporary container ID hostnames so that vendors support teams can differentiate hosts in clusters - - ```anonymize_parallel.sh``` - splits files in to multiple parts and runs `anonymize.py` on each part in parallel before re-joining back in to a file of the same name with a `.anonymized` suffix. Preserves order of evaluation important for anonymization rules, as well as maintaining file content order. On servers this parallelization can result in a 30x speed up for large log files - - ```find_duplicate_files.py``` - finds duplicate files in one or more directory trees via multiple methods including file basename, size, MD5 comparison of same sized files, or bespoke regex capture of partial file basename - - ```find_active_server.py``` - finds fastest responding healthy server or active master in high availability deployments, useful for scripting against clustered technologies (eg. Elasticsearch, Hadoop, HBase, Cassandra etc). Multi-threaded for speed and highly configurable - socket, http, https, ping, url and/or regex content match. See further down for more details and sub-programs that simplify usage for many of the most common cluster technologies - - ```welcome.py``` - cool spinning welcome message greeting your username and showing last login time and user to put in your shell's ```.profile``` (there is also a perl version in my [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) repo) + - `anonymize_custom.conf` - put regex of your Name/Company/Project/Database/Tables to anonymize to `` + - placeholder tokens indicate what was stripped out (eg. ``, ``, ``) + - `--ip-prefix` leaves the last IP octect to aid in cluster debugging to still see differentiated nodes communicating with each other to compare configs and log communications + - `--hash-hostnames` - hashes hostnames to look like Docker temporary container ID hostnames so that vendors support teams can differentiate hosts in clusters + - `anonymize_parallel.sh` - splits files in to multiple parts and runs `anonymize.py` on each part in parallel before re-joining back in to a file of the same name with a `.anonymized` suffix. Preserves order of evaluation important for anonymization rules, as well as maintaining file content order. On servers this parallelization can result in a 30x speed up for large log files + - `find_duplicate_files.py` - finds duplicate files in one or more directory trees via multiple methods including file basename, size, MD5 comparison of same sized files, or bespoke regex capture of partial file basename + - `find_active_server.py` - finds fastest responding healthy server or active master in high availability deployments, useful for scripting against clustered technologies (eg. Elasticsearch, Hadoop, HBase, Cassandra etc). Multi-threaded for speed and highly configurable - socket, http, https, ping, url and/or regex content match. See further down for more details and sub-programs that simplify usage for many of the most common cluster technologies + - `welcome.py` - cool spinning welcome message greeting your username and showing last login time and user to put in your shell's `.profile` (there is also a perl version in my [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) repo) - [Amazon Web Services](https://aws.amazon.com/): - - ```aws_users_access_key_age.py``` - lists all users access keys, status, date of creation and age in days. Optionally filters for active keys and older than N days (for key rotation governance) - - ```aws_users_unused_access_keys.py``` - lists users access keys that haven't been used in the last N days or that have never been used (these should generally be removed/disabled). Optionally filters for only active keys - - ```aws_users_last_used.py``` - lists all users and their days since last use across both passwords and access keys. Optionally filters for users not used in the last N days to find old accounts to remove - - ```aws_users_pw_last_used.py``` - lists all users and dates since their passwords were last used. Optionally filters for users with passwords not used in the last N days + - `aws_users_access_key_age.py` - lists all users access keys, status, date of creation and age in days. Optionally filters for active keys and older than N days (for key rotation governance) + - `aws_users_unused_access_keys.py` - lists users access keys that haven't been used in the last N days or that have never been used (these should generally be removed/disabled). Optionally filters for only active keys + - `aws_users_last_used.py` - lists all users and their days since last use across both passwords and access keys. Optionally filters for users not used in the last N days to find old accounts to remove + - `aws_users_pw_last_used.py` - lists all users and dates since their passwords were last used. Optionally filters for users with passwords not used in the last N days - [Google Cloud Platform](https://cloud.google.com/): - [GCF](https://cloud.google.com/functions) - Google Cloud Functions written in Python: - [gcp_cloud_function_sql_export/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_sql_export) - runs [Cloud SQL](https://cloud.google.com/sql) export backups to [GCS](https://cloud.google.com/storage), subscribing to [PubSub](https://cloud.google.com/pubsub) topic that is triggered by [Cloud Scheduler](https://cloud.google.com/scheduler) - see the [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo for several related GCP SQL to set up service account permissions and [Cloud Scheduler](https://cloud.google.com/scheduler) jobs - [gcp_cloud_function_ifconfig/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_ifconfig) - debug your cloud function public networking by determining its public IP address - use this to test your VPC connector public routing, comparison with firewall rules etc. - [gcp_cloud_function_proxy/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_proxy) - debug your cloud function networking by querying a given URL to check its accessibility, returning the HTTP status code and content. Use this to validate access through firewall rules via VPC connector routing - - ```gcp_service_account_credential_keys.py``` - lists all GCP service account credential keys for a given project with their age and expiry details, optionally filtering by non-expiring, already expired, or will expire within N days + - `gcp_service_account_credential_keys.py` - lists all GCP service account credential keys for a given project with their age and expiry details, optionally filtering by non-expiring, already expired, or will expire within N days - [Docker](https://www.docker.com/): - - ```docker_registry_show_tags.py``` / ```dockerhub_show_tags.py``` / ```quay_show_tags.py``` - shows tags for docker repos in a docker registry or on [DockerHub](https://hub.docker.com/u/harisekhon/) or [Quay.io](https://quay.io/) - Docker CLI doesn't support this yet but it's a very useful thing to be able to see live on the command line or use in shell scripts (use `-q`/`--quiet` to return only the tags for easy shell scripting). You can use this to pre-download all tags of a docker image before running tests across versions in a simple bash for loop, eg. ```docker_pull_all_tags.sh``` - - ```dockerhub_search.py``` - search DockerHub with a configurable number of returned results (older official `docker search` was limited to only 25 results), using `--verbose` will also show you how many results were returned to the termainal and how many DockerHub has in total (use ```-q / --quiet``` to return only the image names for easy shell scripting). This can be used to download all of my DockerHub images in a simple bash for loop eg. ```docker_pull_all_images.sh``` and can be chained with ```dockerhub_show_tags.py``` to download all tagged versions for all docker images eg. ```docker_pull_all_images_all_tags.sh``` - - ```dockerfiles_check_git*.py``` - check Git tags & branches align with the containing Dockerfile's ```ARG *_VERSION``` + - `docker_registry_show_tags.py` / `dockerhub_show_tags.py` / `quay_show_tags.py` - shows tags for docker repos in a docker registry or on [DockerHub](https://hub.docker.com/u/harisekhon/) or [Quay.io](https://quay.io/) - Docker CLI doesn't support this yet but it's a very useful thing to be able to see live on the command line or use in shell scripts (use `-q`/`--quiet` to return only the tags for easy shell scripting). You can use this to pre-download all tags of a docker image before running tests across versions in a simple bash for loop, eg. `docker_pull_all_tags.sh` + - `dockerhub_search.py` - search DockerHub with a configurable number of returned results (older official `docker search` was limited to only 25 results), using `--verbose` will also show you how many results were returned to the termainal and how many DockerHub has in total (use `-q / --quiet` to return only the image names for easy shell scripting). This can be used to download all of my DockerHub images in a simple bash for loop eg. `docker_pull_all_images.sh` and can be chained with `dockerhub_show_tags.py` to download all tagged versions for all docker images eg. `docker_pull_all_images_all_tags.sh` + - `dockerfiles_check_git*.py` - check Git tags & branches align with the containing Dockerfile's `ARG *_VERSION` - [Spark](https://spark.apache.org/) & Data Format Converters: - - ```spark_avro_to_parquet.py``` - PySpark Avro => Parquet converter - - ```spark_parquet_to_avro.py``` - PySpark Parquet => Avro converter - - ```spark_csv_to_avro.py``` - PySpark CSV => Avro converter, supports both inferred and explicit schemas - - ```spark_csv_to_parquet.py``` - PySpark CSV => Parquet converter, supports both inferred and explicit schemas - - ```spark_json_to_avro.py``` - PySpark JSON => Avro converter - - ```spark_json_to_parquet.py``` - PySpark JSON => Parquet converter - - ```xml_to_json.py``` - XML to JSON converter - - ```json_to_xml.py``` - JSON to XML converter - - ```json_to_yaml.py``` - JSON to YAML converter - - ```json_docs_to_bulk_multiline.py``` - converts json files to bulk multi-record one-line-per-json-document format for pre-processing and loading to big data systems like [Hadoop](http://hadoop.apache.org/) and [MongoDB](https://www.mongodb.com/), can recurse directory trees, and mix json-doc-per-file / bulk-multiline-json / directories / standard input, combines all json documents and outputs bulk-one-json-document-per-line to standard output for convenient command line chaining and redirection, optionally continues on error, collects broken records to standard error for logging and later reprocessing for bulk batch jobs, even supports single quoted json while not technically valid json is used by MongoDB and even handles embedded double quotes in 'single quoted json' - - ```yaml_to_json.py``` - YAML to JSON converter (because some APIs like GitLab CI Validation API require JSON) - - see also ```validate_*.py``` further down for all these formats and more + - `spark_avro_to_parquet.py` - PySpark Avro => Parquet converter + - `spark_parquet_to_avro.py` - PySpark Parquet => Avro converter + - `spark_csv_to_avro.py` - PySpark CSV => Avro converter, supports both inferred and explicit schemas + - `spark_csv_to_parquet.py` - PySpark CSV => Parquet converter, supports both inferred and explicit schemas + - `spark_json_to_avro.py` - PySpark JSON => Avro converter + - `spark_json_to_parquet.py` - PySpark JSON => Parquet converter + - `xml_to_json.py` - XML to JSON converter + - `json_to_xml.py` - JSON to XML converter + - `json_to_yaml.py` - JSON to YAML converter + - `json_docs_to_bulk_multiline.py` - converts json files to bulk multi-record one-line-per-json-document format for pre-processing and loading to big data systems like [Hadoop](http://hadoop.apache.org/) and [MongoDB](https://www.mongodb.com/), can recurse directory trees, and mix json-doc-per-file / bulk-multiline-json / directories / standard input, combines all json documents and outputs bulk-one-json-document-per-line to standard output for convenient command line chaining and redirection, optionally continues on error, collects broken records to standard error for logging and later reprocessing for bulk batch jobs, even supports single quoted json while not technically valid json is used by MongoDB and even handles embedded double quotes in 'single quoted json' + - `yaml_to_json.py` - YAML to JSON converter (because some APIs like GitLab CI Validation API require JSON) + - see also `validate_*.py` further down for all these formats and more - [Hadoop](http://hadoop.apache.org/) ecosystem & NoSQL: - [Ambari](https://hortonworks.com/apache/ambari/): - - ```ambari_blueprints.py``` - Blueprint cluster templating and deployment tool using Ambari API + - `ambari_blueprints.py` - Blueprint cluster templating and deployment tool using Ambari API - list blueprints - fetch all blueprints or a specific blueprint to local json files - blueprint an existing cluster - create a new cluster using a blueprint - sorts and prettifies the resulting JSON template for deterministic config and line-by-line diff necessary for proper revision control - optionally strips out the excessive and overly specific configs to create generic more reusable templates - - see the ```ambari_blueprints/``` directory for a variety of Ambari blueprint templates generated by and deployable using this tool - - ```ambari_ams_*.sh``` - query the Ambari Metrics Collector API for a given metrics, list all metrics or hosts - - ```ambari_cancel_all_requests.sh``` - cancel all ongoing operations using the Ambari API - - ```ambari_trigger_service_checks.py``` - trigger service checks using the Ambari API + - see the `ambari_blueprints/` directory for a variety of Ambari blueprint templates generated by and deployable using this tool + - `ambari_ams_*.sh` - query the Ambari Metrics Collector API for a given metrics, list all metrics or hosts + - `ambari_cancel_all_requests.sh` - cancel all ongoing operations using the Ambari API + - `ambari_trigger_service_checks.py` - trigger service checks using the Ambari API - [Hadoop](http://hadoop.apache.org/) HDFS: - - ```hdfs_find_replication_factor_1.py``` - finds HDFS files with replication factor 1, optionally resetting them to replication factor 3 to avoid missing block alerts during datanode maintenance windows - - ```hdfs_time_block_reads.jy``` - HDFS per-block read timing debugger with datanode and rack locations for a given file or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports. - - ```hdfs_files_native_checksums.jy``` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing hdfs dfs -cat | md5sum) - - ```hdfs_files_stats.jy``` - fetches HDFS file stats. Useful to generate a list of all files in a directory tree showing block size, replication factor, underfilled blocks and small files + - `hdfs_find_replication_factor_1.py` - finds HDFS files with replication factor 1, optionally resetting them to replication factor 3 to avoid missing block alerts during datanode maintenance windows + - `hdfs_time_block_reads.jy` - HDFS per-block read timing debugger with datanode and rack locations for a given file or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports. + - `hdfs_files_native_checksums.jy` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing hdfs dfs -cat | md5sum) + - `hdfs_files_stats.jy` - fetches HDFS file stats. Useful to generate a list of all files in a directory tree showing block size, replication factor, underfilled blocks and small files - [Hive](https://hive.apache.org/) / [Impala](https://impala.apache.org/): - - ```hive_schemas_csv.py``` / ```impala_schemas_csv.py``` - dumps all databases, tables, columns and types out in CSV format to standard output + - `hive_schemas_csv.py` / `impala_schemas_csv.py` - dumps all databases, tables, columns and types out in CSV format to standard output The following programs can all optionally filter by database / table name regex: - - ```hive_foreach_table.py``` / ```impala_foreach_table.py``` - execute any query or statement against every Hive / Impala table - - ```hive_tables_row_counts.py``` / ```impala_tables_row_counts.py``` - outputs tables row counts. Useful for reconciliation between cluster migrations - - ```hive_tables_column_counts.py``` / ```impala_tables_column_counts.py``` - outputs tables column counts. Useful for finding unusually wide tables - - ```hive_tables_row_column_counts.py``` / ```impala_tables_row_column_counts.py``` - outputs tables row and column counts. Useful for finding unusually big tables - - ```hive_tables_row_counts_any_nulls.py``` / ```impala_tables_row_counts_any_nulls.py``` - outputs tables row counts where any field is NULL. Useful for reconciliation between cluster migrations or catching data quality problems or subtle ETL bugs - - ```hive_tables_null_columns.py``` / ```impala_tables_null_columns.py``` - outputs tables columns containing only NULLs. Useful for catching data quality problems or subtle ETL bugs - - ```hive_tables_null_rows.py``` / ```impala_tables_null_rows.py``` - outputs tables row counts where all fields contain NULLs. Useful for catching data quality problems or subtle ETL bugs - - ```hive_tables_metadata.py``` / ```impala_tables_metadata.py``` - outputs for each table the matching regex metadata DDL property from describe table - - ```hive_tables_locations.py``` / ```impala_tables_locations.py``` - outputs for each table its data location + - `hive_foreach_table.py` / `impala_foreach_table.py` - execute any query or statement against every Hive / Impala table + - `hive_tables_row_counts.py` / `impala_tables_row_counts.py` - outputs tables row counts. Useful for reconciliation between cluster migrations + - `hive_tables_column_counts.py` / `impala_tables_column_counts.py` - outputs tables column counts. Useful for finding unusually wide tables + - `hive_tables_row_column_counts.py` / `impala_tables_row_column_counts.py` - outputs tables row and column counts. Useful for finding unusually big tables + - `hive_tables_row_counts_any_nulls.py` / `impala_tables_row_counts_any_nulls.py` - outputs tables row counts where any field is NULL. Useful for reconciliation between cluster migrations or catching data quality problems or subtle ETL bugs + - `hive_tables_null_columns.py` / `impala_tables_null_columns.py` - outputs tables columns containing only NULLs. Useful for catching data quality problems or subtle ETL bugs + - `hive_tables_null_rows.py` / `impala_tables_null_rows.py` - outputs tables row counts where all fields contain NULLs. Useful for catching data quality problems or subtle ETL bugs + - `hive_tables_metadata.py` / `impala_tables_metadata.py` - outputs for each table the matching regex metadata DDL property from describe table + - `hive_tables_locations.py` / `impala_tables_locations.py` - outputs for each table its data location - [HBase](https://hbase.apache.org/): - - ```hbase_generate_data.py``` - inserts random generated data in to a given [HBase](https://hbase.apache.org/) table, with optional skew support with configurable skew percentage. Useful for testing region splitting, balancing, CI tests etc. Outputs stats for number of rows written, time taken, rows per sec and volume per sec written. - - ```hbase_show_table_region_ranges.py``` - dumps HBase table region ranges information, useful when pre-splitting tables - - ```hbase_table_region_row_distribution.py``` - calculates the distribution of rows across regions in an HBase table, giving per region row counts and % of total rows for the table as well as median and quartile row counts per regions - - ```hbase_table_row_key_distribution.py``` - calculates the distribution of row keys by configurable prefix length in an HBase table, giving per prefix row counts and % of total rows for the table as well as median and quartile row counts per prefix - - ```hbase_compact_tables.py``` - compacts HBase tables (for off-peak compactions). Defaults to finding and iterating on all tables or takes an optional regex and compacts only matching tables. - - ```hbase_flush_tables.py``` - flushes HBase tables. Defaults to finding and iterating on all tables or takes an optional regex and flushes only matching tables. - - ```hbase_regions_by_*size.py``` - queries given RegionServers JMX to lists topN regions by storeFileSize or memStoreSize, ascending or descending - - ```hbase_region_requests.py``` - calculates requests per second per region across all given RegionServers or average since RegionServer startup, configurable intervals and count, can filter to any combination of reads / writes / total requests per second. Useful for watching more granular region stats to detect region hotspotting - - ```hbase_regionserver_requests.py``` - calculates requests per regionserver second across all given regionservers or average since regionserver(s) startup(s), configurable interval and count, can filter to any combination of read, write, total, rpcScan, rpcMutate, rpcMulti, rpcGet, blocked per second. Useful for watching more granular RegionServer stats to detect RegionServer hotspotting - - ```hbase_regions_least_used.py``` - finds topN biggest/smallest regions across given RegionServers than have received the least requests (requests below a given threshold) + - `hbase_generate_data.py` - inserts random generated data in to a given [HBase](https://hbase.apache.org/) table, with optional skew support with configurable skew percentage. Useful for testing region splitting, balancing, CI tests etc. Outputs stats for number of rows written, time taken, rows per sec and volume per sec written. + - `hbase_show_table_region_ranges.py` - dumps HBase table region ranges information, useful when pre-splitting tables + - `hbase_table_region_row_distribution.py` - calculates the distribution of rows across regions in an HBase table, giving per region row counts and % of total rows for the table as well as median and quartile row counts per regions + - `hbase_table_row_key_distribution.py` - calculates the distribution of row keys by configurable prefix length in an HBase table, giving per prefix row counts and % of total rows for the table as well as median and quartile row counts per prefix + - `hbase_compact_tables.py` - compacts HBase tables (for off-peak compactions). Defaults to finding and iterating on all tables or takes an optional regex and compacts only matching tables. + - `hbase_flush_tables.py` - flushes HBase tables. Defaults to finding and iterating on all tables or takes an optional regex and flushes only matching tables. + - `hbase_regions_by_*size.py` - queries given RegionServers JMX to lists topN regions by storeFileSize or memStoreSize, ascending or descending + - `hbase_region_requests.py` - calculates requests per second per region across all given RegionServers or average since RegionServer startup, configurable intervals and count, can filter to any combination of reads / writes / total requests per second. Useful for watching more granular region stats to detect region hotspotting + - `hbase_regionserver_requests.py` - calculates requests per regionserver second across all given regionservers or average since regionserver(s) startup(s), configurable interval and count, can filter to any combination of read, write, total, rpcScan, rpcMutate, rpcMulti, rpcGet, blocked per second. Useful for watching more granular RegionServer stats to detect RegionServer hotspotting + - `hbase_regions_least_used.py` - finds topN biggest/smallest regions across given RegionServers than have received the least requests (requests below a given threshold) - [OpenTSDB](http://opentsdb.net/): - - ```opentsdb_import_metric_distribution.py``` - calculates metric distribution in bulk import file(s) to find data skew and help avoid HBase region hotspotting - - ```opentsdb_list_metrics*.sh``` - lists OpenTSDB metric names, tagk or tagv via OpenTSDB API or directly from HBase tables with optionally their created date, sorted ascending + - `opentsdb_import_metric_distribution.py` - calculates metric distribution in bulk import file(s) to find data skew and help avoid HBase region hotspotting + - `opentsdb_list_metrics*.sh` - lists OpenTSDB metric names, tagk or tagv via OpenTSDB API or directly from HBase tables with optionally their created date, sorted ascending - [Pig](https://pig.apache.org/) - - ```pig-text-to-elasticsearch.pig``` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Elasticsearch](https://www.elastic.co/products/elasticsearch) - - ```pig-text-to-solr.pig``` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Solr](http://lucene.apache.org/solr/) / [SolrCloud clusters](https://wiki.apache.org/solr/SolrCloud) - - ```pig_udfs.jy``` - Pig Jython UDFs for Hadoop -- ```find_active_server.py``` - returns first available healthy server or active master in high availability deployments, useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex content match, multi-threaded for speed. Designed to extend tools that only accept a single ```--host``` option but for which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you want to query cluster wide information available from any online peer (eg. Elasticsearch) + - `pig-text-to-elasticsearch.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Elasticsearch](https://www.elastic.co/products/elasticsearch) + - `pig-text-to-solr.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Solr](http://lucene.apache.org/solr/) / [SolrCloud clusters](https://wiki.apache.org/solr/SolrCloud) + - `pig_udfs.jy` - Pig Jython UDFs for Hadoop +- `find_active_server.py` - returns first available healthy server or active master in high availability deployments, useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex content match, multi-threaded for speed. Designed to extend tools that only accept a single `--host` option but for which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you want to query cluster wide information available from any online peer (eg. Elasticsearch) - The following are simplified specialisations of the above program, just pass host arguments, all the details have been baked in, no switches required - - ```find_active_hadoop_namenode.py``` - returns active [Hadoop](http://hadoop.apache.org/) Namenode in HDFS HA - - ```find_active_hadoop_resource_manager.py``` - returns active [Hadoop](http://hadoop.apache.org/) Resource Manager in Yarn HA - - ```find_active_hbase_master.py``` - returns active [HBase](https://hbase.apache.org/) Master in HBase HA - - ```find_active_hbase_thrift.py``` - returns first available [HBase](https://hbase.apache.org/) Thrift Server (run multiple of these for load balancing) - - ```find_active_hbase_stargate.py``` - returns first available [HBase](https://hbase.apache.org/) Stargate rest server (run multiple of these for load balancing) - - ```find_active_apache_drill.py``` - returns first available [Apache Drill](https://drill.apache.org/) node - - ```find_active_cassandra.py``` - returns first available [Apache Cassandra](https://cassandra.apache.org/) node - - ```find_active_impala*.py``` - returns first available [Impala](https://impala.apache.org/) node of either Impalad, Catalog or Statestore - - ```find_active_presto_coordinator.py``` - returns first available [Presto](https://prestodb.io/) Coordinator - - ```find_active_kubernetes_api.py``` - returns first available [Kubernetes](https://kubernetes.io/) API server - - ```find_active_oozie.py``` - returns first active [Oozie](http://oozie.apache.org/) server - - ```find_active_solrcloud.py``` - returns first available [Solr](http://lucene.apache.org/solr/) / [SolrCloud](https://wiki.apache.org/solr/SolrCloud) node - - ```find_active_elasticsearch.py``` - returns first available [Elasticsearch](https://www.elastic.co/products/elasticsearch) node + - `find_active_hadoop_namenode.py` - returns active [Hadoop](http://hadoop.apache.org/) Namenode in HDFS HA + - `find_active_hadoop_resource_manager.py` - returns active [Hadoop](http://hadoop.apache.org/) Resource Manager in Yarn HA + - `find_active_hbase_master.py` - returns active [HBase](https://hbase.apache.org/) Master in HBase HA + - `find_active_hbase_thrift.py` - returns first available [HBase](https://hbase.apache.org/) Thrift Server (run multiple of these for load balancing) + - `find_active_hbase_stargate.py` - returns first available [HBase](https://hbase.apache.org/) Stargate rest server (run multiple of these for load balancing) + - `find_active_apache_drill.py` - returns first available [Apache Drill](https://drill.apache.org/) node + - `find_active_cassandra.py` - returns first available [Apache Cassandra](https://cassandra.apache.org/) node + - `find_active_impala*.py` - returns first available [Impala](https://impala.apache.org/) node of either Impalad, Catalog or Statestore + - `find_active_presto_coordinator.py` - returns first available [Presto](https://prestodb.io/) Coordinator + - `find_active_kubernetes_api.py` - returns first available [Kubernetes](https://kubernetes.io/) API server + - `find_active_oozie.py` - returns first active [Oozie](http://oozie.apache.org/) server + - `find_active_solrcloud.py` - returns first available [Solr](http://lucene.apache.org/solr/) / [SolrCloud](https://wiki.apache.org/solr/SolrCloud) node + - `find_active_elasticsearch.py` - returns first available [Elasticsearch](https://www.elastic.co/products/elasticsearch) node - see also: [Advanced HAProxy configurations](https://github.com/HariSekhon/HAProxy-configs) which are part of the [Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) - [Travis CI](https://travis-ci.org/): - - ```travis_last_log.py``` - fetches [Travis CI](https://travis-ci.org/) latest running / completed / failed build log for given repo - useful for quickly getting the log of the last failed build when CCMenu or BuildNotify applets turn red - - ```travis_debug_session.py``` - launches a [Travis CI](https://travis-ci.org/) interactive debug build session via Travis API, tracks session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot debug launcher for Travis CI -- ```selenium_hub_browser_test.py``` - checks [Selenium Grid Hub / Selenoid](https://www.selenium.dev/documentation/en/grid/) is working by calling browsers such as Chrome and Firefox to fetch a given URL and content/regex match the result + - `travis_last_log.py` - fetches [Travis CI](https://travis-ci.org/) latest running / completed / failed build log for given repo - useful for quickly getting the log of the last failed build when CCMenu or BuildNotify applets turn red + - `travis_debug_session.py` - launches a [Travis CI](https://travis-ci.org/) interactive debug build session via Travis API, tracks session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot debug launcher for Travis CI +- `selenium_hub_browser_test.py` - checks [Selenium Grid Hub / Selenoid](https://www.selenium.dev/documentation/en/grid/) is working by calling browsers such as Chrome and Firefox to fetch a given URL and content/regex match the result - Data Validation (useful in CI): - - ```validate_*.py``` - validate files, directory trees and/or standard input streams + - `validate_*.py` - validate files, directory trees and/or standard input streams - supports the following file formats: - Avro - CSV @@ -326,7 +326,7 @@ Download the DevOps Python Tools and Pylib git repos as zip files: -Unzip both and move Pylib to the ```pylib``` folder under DevOps Python Tools. +Unzip both and move Pylib to the `pylib` folder under DevOps Python Tools. ```shell unzip devops-python-tools-master.zip @@ -450,7 +450,7 @@ make update This will git pull and then git submodule update which is necessary to pick up corresponding library updates. -If you update often and want to just quickly git pull + submodule update but skip rebuilding all those dependencies each time then run ```make update-no-recompile``` (will miss new library dependencies - do full ```make update``` if you encounter issues). +If you update often and want to just quickly git pull + submodule update but skip rebuilding all those dependencies each time then run `make update-no-recompile` (will miss new library dependencies - do full `make update` if you encounter issues). ### Testing @@ -476,9 +476,9 @@ You might also be interested in the following really nice Jupyter notebook for H -### Stargazers over time +## Star History -[![Stargazers over time](https://starchart.cc/HariSekhon/DevOps-Python-tools.svg)](https://starchart.cc/HariSekhon/DevOps-Python-tools) +[![Star History Chart](https://api.star-history.com/svg?repos=HariSekhon/DevOps-Python-tools&type=Date)](https://star-history.com/#HariSekhon/DevOps-Python-tools&Date) [git.io/python-tools](https://git.io/python-tools) From 73ff2ef8fe71271639bea252a671c6a70fbf5830 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 16 Sep 2024 19:32:22 +0200 Subject: [PATCH 912/982] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 955eb8cb6..8c3ad36f1 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ Environment variables are supported for convenience and also to hide credentials - [Hadoop](http://hadoop.apache.org/) HDFS: - `hdfs_find_replication_factor_1.py` - finds HDFS files with replication factor 1, optionally resetting them to replication factor 3 to avoid missing block alerts during datanode maintenance windows - `hdfs_time_block_reads.jy` - HDFS per-block read timing debugger with datanode and rack locations for a given file or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports. - - `hdfs_files_native_checksums.jy` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing hdfs dfs -cat | md5sum) + - `hdfs_files_native_checksums.jy` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing `hdfs dfs -cat | md5sum`) - `hdfs_files_stats.jy` - fetches HDFS file stats. Useful to generate a list of all files in a directory tree showing block size, replication factor, underfilled blocks and small files - [Hive](https://hive.apache.org/) / [Impala](https://impala.apache.org/): - `hive_schemas_csv.py` / `impala_schemas_csv.py` - dumps all databases, tables, columns and types out in CSV format to standard output From 94d58f49cb50bbe8ef645d3a785914cd6231b6ea Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 16 Sep 2024 20:48:32 +0200 Subject: [PATCH 913/982] updated README.md --- README.md | 253 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 181 insertions(+), 72 deletions(-) diff --git a/README.md b/README.md index 8c3ad36f1..f9fdde42d 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,8 @@ cd pytools make ``` -To only install pip dependencies for a single script, you can just type make and the filename with a `.pyc` extension instead of `.py`: +To only install pip dependencies for a single script, you can just type make and the filename with a `.pyc` extension +instead of `.py`: ```shell make anonymize.pyc @@ -165,12 +166,15 @@ Some Hadoop tools with require Jython, see [Jython for Hadoop Utils](https://git All programs come with a `--help` switch which includes a program description and the list of command line options. -Environment variables are supported for convenience and also to hide credentials from being exposed in the process list eg. `$PASSWORD`, `$TRAVIS_TOKEN`. These are indicated in the `--help` descriptions in brackets next to each option and often have more specific overrides with higher precedence eg. `$AMBARI_HOST`, `$HBASE_HOST` take priority over `$HOST`. +Environment variables are supported for convenience and also to hide credentials from being exposed in the process list +eg. `$PASSWORD`, `$TRAVIS_TOKEN`. These are indicated in the `--help` descriptions in brackets next to each option and +often have more specific overrides with higher precedence eg. `$AMBARI_HOST`, `$HBASE_HOST` take priority over `$HOST`. ### DevOps Python Tools - Inventory - Linux: - - `anonymize.py` - anonymizes your configs / logs from files or stdin (for pasting to Apache Jira tickets or mailing lists) + - `anonymize.py` - anonymizes your configs / logs from files or stdin (for pasting to Apache Jira tickets or mailing + - lists) - anonymizations include these and more: - hostnames / domains / FQDNs - email addresses @@ -181,27 +185,57 @@ Environment variables are supported for convenience and also to hide credentials - Cisco & Juniper ScreenOS configurations passwords, shared keys and SNMP strings - `anonymize_custom.conf` - put regex of your Name/Company/Project/Database/Tables to anonymize to `` - placeholder tokens indicate what was stripped out (eg. ``, ``, ``) - - `--ip-prefix` leaves the last IP octect to aid in cluster debugging to still see differentiated nodes communicating with each other to compare configs and log communications - - `--hash-hostnames` - hashes hostnames to look like Docker temporary container ID hostnames so that vendors support teams can differentiate hosts in clusters - - `anonymize_parallel.sh` - splits files in to multiple parts and runs `anonymize.py` on each part in parallel before re-joining back in to a file of the same name with a `.anonymized` suffix. Preserves order of evaluation important for anonymization rules, as well as maintaining file content order. On servers this parallelization can result in a 30x speed up for large log files - - `find_duplicate_files.py` - finds duplicate files in one or more directory trees via multiple methods including file basename, size, MD5 comparison of same sized files, or bespoke regex capture of partial file basename - - `find_active_server.py` - finds fastest responding healthy server or active master in high availability deployments, useful for scripting against clustered technologies (eg. Elasticsearch, Hadoop, HBase, Cassandra etc). Multi-threaded for speed and highly configurable - socket, http, https, ping, url and/or regex content match. See further down for more details and sub-programs that simplify usage for many of the most common cluster technologies - - `welcome.py` - cool spinning welcome message greeting your username and showing last login time and user to put in your shell's `.profile` (there is also a perl version in my [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) repo) + - `--ip-prefix` leaves the last IP octect to aid in cluster debugging to still see differentiated nodes + communicating with each other to compare configs and log communications + - `--hash-hostnames` - hashes hostnames to look like Docker temporary container ID hostnames so that vendors support + teams can differentiate hosts in clusters + - `anonymize_parallel.sh` - splits files in to multiple parts and runs `anonymize.py` on each part in parallel + before re-joining back in to a file of the same name with a `.anonymized` suffix. Preserves order of evaluation + important for anonymization rules, as well as maintaining file content order. On servers this parallelization can + result in a 30x speed up for large log files + - `find_duplicate_files.py` - finds duplicate files in one or more directory trees via multiple methods including file + basename, size, MD5 comparison of same sized files, or bespoke regex capture of partial file basename + - `find_active_server.py` - finds fastest responding healthy server or active master in high availability deployments, + useful for scripting against clustered technologies (eg. Elasticsearch, Hadoop, HBase, Cassandra etc). + Multi-threaded for speed and highly configurable - socket, http, https, ping, url and/or regex content match. See + further down for more details and sub-programs that simplify usage for many of the most common cluster technologies + - `welcome.py` - cool spinning welcome message greeting your username and showing last login time and user to put in + your shell's `.profile` (there is also a perl version in my [DevOps Perl Tools](https://github.com/harisekhon/perl-tools) repo) - [Amazon Web Services](https://aws.amazon.com/): - - `aws_users_access_key_age.py` - lists all users access keys, status, date of creation and age in days. Optionally filters for active keys and older than N days (for key rotation governance) - - `aws_users_unused_access_keys.py` - lists users access keys that haven't been used in the last N days or that have never been used (these should generally be removed/disabled). Optionally filters for only active keys - - `aws_users_last_used.py` - lists all users and their days since last use across both passwords and access keys. Optionally filters for users not used in the last N days to find old accounts to remove - - `aws_users_pw_last_used.py` - lists all users and dates since their passwords were last used. Optionally filters for users with passwords not used in the last N days + - `aws_users_access_key_age.py` - lists all users access keys, status, date of creation and age in days. Optionally + filters for active keys and older than N days (for key rotation governance) + - `aws_users_unused_access_keys.py` - lists users access keys that haven't been used in the last N days or that have + never been used (these should generally be removed/disabled). Optionally filters for only active keys + - `aws_users_last_used.py` - lists all users and their days since last use across both passwords and access keys. + Optionally filters for users not used in the last N days to find old accounts to remove + - `aws_users_pw_last_used.py` - lists all users and dates since their passwords were last used. Optionally filters for + users with passwords not used in the last N days - [Google Cloud Platform](https://cloud.google.com/): - [GCF](https://cloud.google.com/functions) - Google Cloud Functions written in Python: - - [gcp_cloud_function_sql_export/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_sql_export) - runs [Cloud SQL](https://cloud.google.com/sql) export backups to [GCS](https://cloud.google.com/storage), subscribing to [PubSub](https://cloud.google.com/pubsub) topic that is triggered by [Cloud Scheduler](https://cloud.google.com/scheduler) - - see the [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo for several related GCP SQL to set up service account permissions and [Cloud Scheduler](https://cloud.google.com/scheduler) jobs - - [gcp_cloud_function_ifconfig/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_ifconfig) - debug your cloud function public networking by determining its public IP address - use this to test your VPC connector public routing, comparison with firewall rules etc. - - [gcp_cloud_function_proxy/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_proxy) - debug your cloud function networking by querying a given URL to check its accessibility, returning the HTTP status code and content. Use this to validate access through firewall rules via VPC connector routing - - `gcp_service_account_credential_keys.py` - lists all GCP service account credential keys for a given project with their age and expiry details, optionally filtering by non-expiring, already expired, or will expire within N days + - [gcp_cloud_function_sql_export/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_sql_export) - runs [Cloud SQL](https://cloud.google.com/sql) export backups to + [GCS](https://cloud.google.com/storage), subscribing to [PubSub](https://cloud.google.com/pubsub) topic that is + triggered by [Cloud Scheduler](https://cloud.google.com/scheduler) + - see the [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo for several related GCP SQL to set up service account permissions and + [Cloud Scheduler](https://cloud.google.com/scheduler) jobs + - [gcp_cloud_function_ifconfig/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_ifconfig) - debug your cloud function public networking by determining its public IP + address - use this to test your VPC connector public routing, comparison with firewall rules etc. + - [gcp_cloud_function_proxy/](https://github.com/HariSekhon/DevOps-Python-tools/tree/master/gcp_cloud_function_proxy) - debug your cloud function networking by querying a given URL to check its + accessibility, returning the HTTP status code and content. Use this to validate access through firewall rules via + VPC connector routing + - `gcp_service_account_credential_keys.py` - lists all GCP service account credential keys for a given project with + their age and expiry details, optionally filtering by non-expiring, already expired, or will expire within N days - [Docker](https://www.docker.com/): - - `docker_registry_show_tags.py` / `dockerhub_show_tags.py` / `quay_show_tags.py` - shows tags for docker repos in a docker registry or on [DockerHub](https://hub.docker.com/u/harisekhon/) or [Quay.io](https://quay.io/) - Docker CLI doesn't support this yet but it's a very useful thing to be able to see live on the command line or use in shell scripts (use `-q`/`--quiet` to return only the tags for easy shell scripting). You can use this to pre-download all tags of a docker image before running tests across versions in a simple bash for loop, eg. `docker_pull_all_tags.sh` - - `dockerhub_search.py` - search DockerHub with a configurable number of returned results (older official `docker search` was limited to only 25 results), using `--verbose` will also show you how many results were returned to the termainal and how many DockerHub has in total (use `-q / --quiet` to return only the image names for easy shell scripting). This can be used to download all of my DockerHub images in a simple bash for loop eg. `docker_pull_all_images.sh` and can be chained with `dockerhub_show_tags.py` to download all tagged versions for all docker images eg. `docker_pull_all_images_all_tags.sh` + - `docker_registry_show_tags.py` / `dockerhub_show_tags.py` / `quay_show_tags.py` - shows tags for docker repos in a + docker registry or on [DockerHub](https://hub.docker.com/u/harisekhon/) or [Quay.io](https://quay.io/) - Docker CLI doesn't support this yet but it's a very + useful thing to be able to see live on the command line or use in shell scripts (use `-q`/`--quiet` to return only + the tags for easy shell scripting). You can use this to pre-download all tags of a docker image before running tests + across versions in a simple bash for loop, eg. `docker_pull_all_tags.sh` + - `dockerhub_search.py` - search DockerHub with a configurable number of returned results (older official + `docker search` was limited to only 25 results), using `--verbose` will also show you how many results were returned + to the termainal and how many DockerHub has in total (use `-q / --quiet` to return only the image names for easy + shell scripting). This can be used to download all of my DockerHub images in a simple bash for loop eg. + `docker_pull_all_images.sh` and can be chained with `dockerhub_show_tags.py` to download all tagged versions for all + docker images eg. `docker_pull_all_images_all_tags.sh` - `dockerfiles_check_git*.py` - check Git tags & branches align with the containing Dockerfile's `ARG *_VERSION` - [Spark](https://spark.apache.org/) & Data Format Converters: - `spark_avro_to_parquet.py` - PySpark Avro => Parquet converter @@ -213,7 +247,13 @@ Environment variables are supported for convenience and also to hide credentials - `xml_to_json.py` - XML to JSON converter - `json_to_xml.py` - JSON to XML converter - `json_to_yaml.py` - JSON to YAML converter - - `json_docs_to_bulk_multiline.py` - converts json files to bulk multi-record one-line-per-json-document format for pre-processing and loading to big data systems like [Hadoop](http://hadoop.apache.org/) and [MongoDB](https://www.mongodb.com/), can recurse directory trees, and mix json-doc-per-file / bulk-multiline-json / directories / standard input, combines all json documents and outputs bulk-one-json-document-per-line to standard output for convenient command line chaining and redirection, optionally continues on error, collects broken records to standard error for logging and later reprocessing for bulk batch jobs, even supports single quoted json while not technically valid json is used by MongoDB and even handles embedded double quotes in 'single quoted json' + - `json_docs_to_bulk_multiline.py` - converts json files to bulk multi-record one-line-per-json-document format for + pre-processing and loading to big data systems like [Hadoop](http://hadoop.apache.org/) and + [MongoDB](https://www.mongodb.com/), can recurse directory trees, and mix json-doc-per-file / bulk-multiline-json / + directories / standard input, combines all json documents and outputs bulk-one-json-document-per-line to standard + output for convenient command line chaining and redirection, optionally continues on error, collects broken records + to standard error for logging and later reprocessing for bulk batch jobs, even supports single quoted json while not + technically valid json is used by MongoDB and even handles embedded double quotes in 'single quoted json' - `yaml_to_json.py` - YAML to JSON converter (because some APIs like GitLab CI Validation API require JSON) - see also `validate_*.py` further down for all these formats and more - [Hadoop](http://hadoop.apache.org/) ecosystem & NoSQL: @@ -223,69 +263,119 @@ Environment variables are supported for convenience and also to hide credentials - fetch all blueprints or a specific blueprint to local json files - blueprint an existing cluster - create a new cluster using a blueprint - - sorts and prettifies the resulting JSON template for deterministic config and line-by-line diff necessary for proper revision control + - sorts and prettifies the resulting JSON template for deterministic config and line-by-line diff necessary for + proper revision control - optionally strips out the excessive and overly specific configs to create generic more reusable templates - - see the `ambari_blueprints/` directory for a variety of Ambari blueprint templates generated by and deployable using this tool + - see the `ambari_blueprints/` directory for a variety of Ambari blueprint templates generated by and deployable + using this tool - `ambari_ams_*.sh` - query the Ambari Metrics Collector API for a given metrics, list all metrics or hosts - `ambari_cancel_all_requests.sh` - cancel all ongoing operations using the Ambari API - `ambari_trigger_service_checks.py` - trigger service checks using the Ambari API - [Hadoop](http://hadoop.apache.org/) HDFS: - - `hdfs_find_replication_factor_1.py` - finds HDFS files with replication factor 1, optionally resetting them to replication factor 3 to avoid missing block alerts during datanode maintenance windows - - `hdfs_time_block_reads.jy` - HDFS per-block read timing debugger with datanode and rack locations for a given file or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports. - - `hdfs_files_native_checksums.jy` - fetches native HDFS checksums for quicker file comparisons (about 100x faster than doing `hdfs dfs -cat | md5sum`) - - `hdfs_files_stats.jy` - fetches HDFS file stats. Useful to generate a list of all files in a directory tree showing block size, replication factor, underfilled blocks and small files + - `hdfs_find_replication_factor_1.py` - finds HDFS files with replication factor 1, optionally resetting them to + replication factor 3 to avoid missing block alerts during datanode maintenance windows + - `hdfs_time_block_reads.jy` - HDFS per-block read timing debugger with datanode and rack locations for a given file + or directory tree. Reports the slowest Hadoop datanodes in descending order at the end. Helps find cluster data + layer bottlenecks such as slow datanodes, faulty hardware or misconfigured top-of-rack switch ports. + - `hdfs_files_native_checksums.jy` - fetches native HDFS checksums for quicker file comparisons (about 100x faster + than doing `hdfs dfs -cat | md5sum`) + - `hdfs_files_stats.jy` - fetches HDFS file stats. Useful to generate a list of all files in a directory tree + showing block size, replication factor, underfilled blocks and small files - [Hive](https://hive.apache.org/) / [Impala](https://impala.apache.org/): - - `hive_schemas_csv.py` / `impala_schemas_csv.py` - dumps all databases, tables, columns and types out in CSV format to standard output + - `hive_schemas_csv.py` / `impala_schemas_csv.py` - dumps all databases, tables, columns and types out in CSV format + to standard output The following programs can all optionally filter by database / table name regex: - - `hive_foreach_table.py` / `impala_foreach_table.py` - execute any query or statement against every Hive / Impala table - - `hive_tables_row_counts.py` / `impala_tables_row_counts.py` - outputs tables row counts. Useful for reconciliation between cluster migrations - - `hive_tables_column_counts.py` / `impala_tables_column_counts.py` - outputs tables column counts. Useful for finding unusually wide tables - - `hive_tables_row_column_counts.py` / `impala_tables_row_column_counts.py` - outputs tables row and column counts. Useful for finding unusually big tables - - `hive_tables_row_counts_any_nulls.py` / `impala_tables_row_counts_any_nulls.py` - outputs tables row counts where any field is NULL. Useful for reconciliation between cluster migrations or catching data quality problems or subtle ETL bugs - - `hive_tables_null_columns.py` / `impala_tables_null_columns.py` - outputs tables columns containing only NULLs. Useful for catching data quality problems or subtle ETL bugs - - `hive_tables_null_rows.py` / `impala_tables_null_rows.py` - outputs tables row counts where all fields contain NULLs. Useful for catching data quality problems or subtle ETL bugs - - `hive_tables_metadata.py` / `impala_tables_metadata.py` - outputs for each table the matching regex metadata DDL property from describe table + - `hive_foreach_table.py` / `impala_foreach_table.py` - execute any query or statement against every Hive / Impala + table + - `hive_tables_row_counts.py` / `impala_tables_row_counts.py` - outputs tables row counts. Useful for reconciliation + between cluster migrations + - `hive_tables_column_counts.py` / `impala_tables_column_counts.py` - outputs tables column counts. Useful for + finding unusually wide tables + - `hive_tables_row_column_counts.py` / `impala_tables_row_column_counts.py` - outputs tables row and column counts. + Useful for finding unusually big tables + - `hive_tables_row_counts_any_nulls.py` / `impala_tables_row_counts_any_nulls.py` - outputs tables row counts where + any field is NULL. Useful for reconciliation between cluster migrations or catching data quality problems or + subtle ETL bugs + - `hive_tables_null_columns.py` / `impala_tables_null_columns.py` - outputs tables columns containing only NULLs. + Useful for catching data quality problems or subtle ETL bugs + - `hive_tables_null_rows.py` / `impala_tables_null_rows.py` - outputs tables row counts where all fields contain + NULLs. Useful for catching data quality problems or subtle ETL bugs + - `hive_tables_metadata.py` / `impala_tables_metadata.py` - outputs for each table the matching regex metadata DDL + property from describe table - `hive_tables_locations.py` / `impala_tables_locations.py` - outputs for each table its data location - [HBase](https://hbase.apache.org/): - - `hbase_generate_data.py` - inserts random generated data in to a given [HBase](https://hbase.apache.org/) table, with optional skew support with configurable skew percentage. Useful for testing region splitting, balancing, CI tests etc. Outputs stats for number of rows written, time taken, rows per sec and volume per sec written. - - `hbase_show_table_region_ranges.py` - dumps HBase table region ranges information, useful when pre-splitting tables - - `hbase_table_region_row_distribution.py` - calculates the distribution of rows across regions in an HBase table, giving per region row counts and % of total rows for the table as well as median and quartile row counts per regions - - `hbase_table_row_key_distribution.py` - calculates the distribution of row keys by configurable prefix length in an HBase table, giving per prefix row counts and % of total rows for the table as well as median and quartile row counts per prefix - - `hbase_compact_tables.py` - compacts HBase tables (for off-peak compactions). Defaults to finding and iterating on all tables or takes an optional regex and compacts only matching tables. - - `hbase_flush_tables.py` - flushes HBase tables. Defaults to finding and iterating on all tables or takes an optional regex and flushes only matching tables. - - `hbase_regions_by_*size.py` - queries given RegionServers JMX to lists topN regions by storeFileSize or memStoreSize, ascending or descending - - `hbase_region_requests.py` - calculates requests per second per region across all given RegionServers or average since RegionServer startup, configurable intervals and count, can filter to any combination of reads / writes / total requests per second. Useful for watching more granular region stats to detect region hotspotting - - `hbase_regionserver_requests.py` - calculates requests per regionserver second across all given regionservers or average since regionserver(s) startup(s), configurable interval and count, can filter to any combination of read, write, total, rpcScan, rpcMutate, rpcMulti, rpcGet, blocked per second. Useful for watching more granular RegionServer stats to detect RegionServer hotspotting - - `hbase_regions_least_used.py` - finds topN biggest/smallest regions across given RegionServers than have received the least requests (requests below a given threshold) + - `hbase_generate_data.py` - inserts random generated data in to a given [HBase](https://hbase.apache.org/) table, + with optional skew support with configurable skew percentage. Useful for testing region splitting, balancing, CI + tests etc. Outputs stats for number of rows written, time taken, rows per sec and volume per sec written. + - `hbase_show_table_region_ranges.py` - dumps HBase table region ranges information, useful when pre-splitting + tables + - `hbase_table_region_row_distribution.py` - calculates the distribution of rows across regions in an HBase table, + giving per region row counts and % of total rows for the table as well as median and quartile row counts per + regions + - `hbase_table_row_key_distribution.py` - calculates the distribution of row keys by configurable prefix length in + an HBase table, giving per prefix row counts and % of total rows for the table as well as median and quartile row + counts per prefix + - `hbase_compact_tables.py` - compacts HBase tables (for off-peak compactions). Defaults to finding and iterating + on all tables or takes an optional regex and compacts only matching tables. + - `hbase_flush_tables.py` - flushes HBase tables. Defaults to finding and iterating on all tables or takes an + optional regex and flushes only matching tables. + - `hbase_regions_by_*size.py` - queries given RegionServers JMX to lists topN regions by storeFileSize or + memStoreSize, ascending or descending + - `hbase_region_requests.py` - calculates requests per second per region across all given RegionServers or average + since RegionServer startup, configurable intervals and count, can filter to any combination of reads / writes / + total requests per second. Useful for watching more granular region stats to detect region hotspotting + - `hbase_regionserver_requests.py` - calculates requests per regionserver second across all given regionservers or + average since regionserver(s) startup(s), configurable interval and count, can filter to any combination of read, + write, total, rpcScan, rpcMutate, rpcMulti, rpcGet, blocked per second. Useful for watching more granular + RegionServer stats to detect RegionServer hotspotting + - `hbase_regions_least_used.py` - finds topN biggest/smallest regions across given RegionServers than have received + the least requests (requests below a given threshold) - [OpenTSDB](http://opentsdb.net/): - - `opentsdb_import_metric_distribution.py` - calculates metric distribution in bulk import file(s) to find data skew and help avoid HBase region hotspotting - - `opentsdb_list_metrics*.sh` - lists OpenTSDB metric names, tagk or tagv via OpenTSDB API or directly from HBase tables with optionally their created date, sorted ascending + - `opentsdb_import_metric_distribution.py` - calculates metric distribution in bulk import file(s) to find data skew + and help avoid HBase region hotspotting + - `opentsdb_list_metrics*.sh` - lists OpenTSDB metric names, tagk or tagv via OpenTSDB API or directly from HBase + tables with optionally their created date, sorted ascending - [Pig](https://pig.apache.org/) - - `pig-text-to-elasticsearch.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Elasticsearch](https://www.elastic.co/products/elasticsearch) - - `pig-text-to-solr.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to [Solr](http://lucene.apache.org/solr/) / [SolrCloud clusters](https://wiki.apache.org/solr/SolrCloud) + - `pig-text-to-elasticsearch.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to + [Elasticsearch](https://www.elastic.co/products/elasticsearch) + - `pig-text-to-solr.pig` - bulk index unstructured files in [Hadoop](http://hadoop.apache.org/) to + [Solr](http://lucene.apache.org/solr/) / [SolrCloud clusters](https://wiki.apache.org/solr/SolrCloud) - `pig_udfs.jy` - Pig Jython UDFs for Hadoop -- `find_active_server.py` - returns first available healthy server or active master in high availability deployments, useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex content match, multi-threaded for speed. Designed to extend tools that only accept a single `--host` option but for which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you want to query cluster wide information available from any online peer (eg. Elasticsearch) - - The following are simplified specialisations of the above program, just pass host arguments, all the details have been baked in, no switches required +- `find_active_server.py` - returns first available healthy server or active master in high availability deployments, + useful for chaining with single argument tools. Configurable tests include socket, http, https, ping, url and/or regex + content match, multi-threaded for speed. Designed to extend tools that only accept a single `--host` option but for + which the technology has later added multi-master support or active-standby masters (eg. Hadoop, HBase) or where you + want to query cluster wide information available from any online peer (eg. Elasticsearch) + - The following are simplified specialisations of the above program, just pass host arguments, all the details have + been baked in, no switches required - `find_active_hadoop_namenode.py` - returns active [Hadoop](http://hadoop.apache.org/) Namenode in HDFS HA - `find_active_hadoop_resource_manager.py` - returns active [Hadoop](http://hadoop.apache.org/) Resource Manager in Yarn HA - `find_active_hbase_master.py` - returns active [HBase](https://hbase.apache.org/) Master in HBase HA - - `find_active_hbase_thrift.py` - returns first available [HBase](https://hbase.apache.org/) Thrift Server (run multiple of these for load balancing) - - `find_active_hbase_stargate.py` - returns first available [HBase](https://hbase.apache.org/) Stargate rest server (run multiple of these for load balancing) + - `find_active_hbase_thrift.py` - returns first available [HBase](https://hbase.apache.org/) Thrift Server (run + multiple of these for load balancing) + - `find_active_hbase_stargate.py` - returns first available [HBase](https://hbase.apache.org/) Stargate rest server + (run multiple of these for load balancing) - `find_active_apache_drill.py` - returns first available [Apache Drill](https://drill.apache.org/) node - `find_active_cassandra.py` - returns first available [Apache Cassandra](https://cassandra.apache.org/) node - - `find_active_impala*.py` - returns first available [Impala](https://impala.apache.org/) node of either Impalad, Catalog or Statestore + - `find_active_impala*.py` - returns first available [Impala](https://impala.apache.org/) node of either Impalad, + Catalog or Statestore - `find_active_presto_coordinator.py` - returns first available [Presto](https://prestodb.io/) Coordinator - `find_active_kubernetes_api.py` - returns first available [Kubernetes](https://kubernetes.io/) API server - `find_active_oozie.py` - returns first active [Oozie](http://oozie.apache.org/) server - `find_active_solrcloud.py` - returns first available [Solr](http://lucene.apache.org/solr/) / [SolrCloud](https://wiki.apache.org/solr/SolrCloud) node - `find_active_elasticsearch.py` - returns first available [Elasticsearch](https://www.elastic.co/products/elasticsearch) node - - see also: [Advanced HAProxy configurations](https://github.com/HariSekhon/HAProxy-configs) which are part of the [Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) + - see also: [Advanced HAProxy configurations](https://github.com/HariSekhon/HAProxy-configs) which are part of the + [Advanced Nagios Plugins Collection](https://github.com/HariSekhon/Nagios-Plugins) - [Travis CI](https://travis-ci.org/): - - `travis_last_log.py` - fetches [Travis CI](https://travis-ci.org/) latest running / completed / failed build log for given repo - useful for quickly getting the log of the last failed build when CCMenu or BuildNotify applets turn red - - `travis_debug_session.py` - launches a [Travis CI](https://travis-ci.org/) interactive debug build session via Travis API, tracks session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot debug launcher for Travis CI -- `selenium_hub_browser_test.py` - checks [Selenium Grid Hub / Selenoid](https://www.selenium.dev/documentation/en/grid/) is working by calling browsers such as Chrome and Firefox to fetch a given URL and content/regex match the result + - `travis_last_log.py` - fetches [Travis CI](https://travis-ci.org/) latest running / completed / failed build log for given repo - + useful for quickly getting the log of the last failed build when CCMenu or BuildNotify applets turn red + - `travis_debug_session.py` - launches a [Travis CI](https://travis-ci.org/) interactive debug build session via Travis API, tracks + session creation and drops user straight in to the SSH shell on the remote Travis build, very convenient one shot + debug launcher for Travis CI +- `selenium_hub_browser_test.py` - checks [Selenium Grid Hub / Selenoid](https://www.selenium.dev/documentation/en/grid/) is working by calling browsers such as + Chrome and Firefox to fetch a given URL and content/regex match the result - Data Validation (useful in CI): - `validate_*.py` - validate files, directory trees and/or standard input streams - supports the following file formats: @@ -297,14 +387,20 @@ Environment variables are supported for convenience and also to hide credentials - Parquet - XML - YAML - - directories are recursed, testing any files with relevant matching extensions (`.avro`, `.csv`, `json`, `parquet`, `.ini`/`.properties`, `.ldif`, `.xml`, `.yml`/`.yaml`) - - used for Continuous Integration tests of various adjacent Spark data converters as well as configuration files for things like Presto, Ambari, Apache Drill etc found in my [DockerHub](https://hub.docker.com/u/harisekhon/) images [Dockerfiles master repo](https://github.com/HariSekhon/Dockerfiles) which contains docker builds and configurations for many open source Big Data & Linux technologies + - directories are recursed, testing any files with relevant matching extensions (`.avro`, `.csv`, `json`, `parquet`, + `.ini`/`.properties`, `.ldif`, `.xml`, `.yml`/`.yaml`) + - used for Continuous Integration tests of various adjacent Spark data converters as well as configuration files for + things like Presto, Ambari, Apache Drill etc found in my [DockerHub](https://hub.docker.com/u/harisekhon/) images + [Dockerfiles master repo](https://github.com/HariSekhon/Dockerfiles) which contains docker builds and configurations for many open source Big Data & + Linux technologies ### Detailed Build Instructions #### Python VirtualEnv localized installs -The automated build will use 'sudo' to install required Python PyPI libraries to the system unless running as root or it detects being inside a VirtualEnv. If you want to install some of the common Python libraries using your OS packages instead of installing from PyPI then follow the Manual Build section below. +The automated build will use 'sudo' to install required Python PyPI libraries to the system unless running as root or it +detects being inside a VirtualEnv. If you want to install some of the common Python libraries using your OS packages +instead of installing from PyPI then follow the Manual Build section below. ### Manual Setup @@ -337,7 +433,8 @@ mv -v pylib-master pylib mv -vf pylib pytools/ ``` -Proceed to install PyPI modules for whichever programs you want to use using your usual procedure - usually an internal mirror or proxy server to PyPI, or rpms / debs (some libraries are packaged by Linux distributions). +Proceed to install PyPI modules for whichever programs you want to use using your usual procedure - usually an internal +mirror or proxy server to PyPI, or rpms / debs (some libraries are packaged by Linux distributions). All PyPI modules are listed in the `requirements.txt` and `pylib/requirements.txt` files. @@ -355,9 +452,11 @@ sudo pip install --proxy hari:mypassword@proxy-host:8080 -r requirements.txt #### Mac OS X -The automated build also works on Mac OS X but you'll need to install [Apple XCode](https://developer.apple.com/download/) (on recent Macs just typing `git` is enough to trigger Xcode install). +The automated build also works on Mac OS X but you'll need to install [Apple XCode](https://developer.apple.com/download/) (on recent Macs just typing +`git` is enough to trigger Xcode install). -I also recommend you get [HomeBrew](https://brew.sh/) to install other useful tools and libraries you may need like OpenSSL for development headers and tools such as wget (these are installed automatically if Homebrew is detected on Mac OS X): +I also recommend you get [HomeBrew](https://brew.sh/) to install other useful tools and libraries you may need like OpenSSL for +development headers and tools such as wget (these are installed automatically if Homebrew is detected on Mac OS X): ```shell bash-tools/install/install_homebrew.sh @@ -373,7 +472,8 @@ If failing to build an OpenSSL lib dependency, just prefix the build command lik sudo OPENSSL_INCLUDE=/usr/local/opt/openssl/include OPENSSL_LIB=/usr/local/opt/openssl/lib ... ``` -You may get errors trying to install to Python library paths even as root on newer versions of Mac, sometimes this is caused by pip 10 vs pip 9 and downgrading will work around it: +You may get errors trying to install to Python library paths even as root on newer versions of Mac, sometimes this is +caused by pip 10 vs pip 9 and downgrading will work around it: ```shell sudo pip install --upgrade pip==9.0.1 @@ -398,7 +498,8 @@ Run like so: jython -J-cp $(hadoop classpath) hdfs_time_block_reads.jy --help ``` -The `-J-cp $(hadoop classpath)` part dynamically inserts the current Hadoop java classpath required to use the Hadoop APIs. +The `-J-cp $(hadoop classpath)` part dynamically inserts the current Hadoop java classpath required to use the Hadoop +APIs. See below for procedure to install Jython if you don't already have it. @@ -422,7 +523,10 @@ Then add the Jython install bin directory to the $PATH or specify the full path ### Configuration for Strict Domain / FQDN validation -Strict validations include host/domain/FQDNs using TLDs which are populated from the official IANA list is done via my [PyLib](https://github.com/HariSekhon/pylib) library submodule - see there for details on configuring this to permit custom TLDs like `.local`, `.intranet`, `.vm`, `.cloud` etc. (all already included in there because they're common across companies internal environments). +Strict validations include host/domain/FQDNs using TLDs which are populated from the official IANA list is done via my +[PyLib](https://github.com/HariSekhon/pylib) library submodule - see there for details on configuring this to permit custom TLDs like `.local`, +`.intranet`, `.vm`, `.cloud` etc. (all already included in there because they're common across companies internal +environments). ### Python SSL certificate verification problems @@ -433,7 +537,8 @@ If you end up with an error like: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765) ``` -It can be caused by an issue with the underlying Python + libraries due to changes in OpenSSL and certificates. One quick fix is to do the following: +It can be caused by an issue with the underlying Python + libraries due to changes in OpenSSL and certificates. One +quick fix is to do the following: ```shell sudo pip uninstall -y certifi && @@ -450,7 +555,9 @@ make update This will git pull and then git submodule update which is necessary to pick up corresponding library updates. -If you update often and want to just quickly git pull + submodule update but skip rebuilding all those dependencies each time then run `make update-no-recompile` (will miss new library dependencies - do full `make update` if you encounter issues). +If you update often and want to just quickly git pull + submodule update but skip rebuilding all those dependencies each +time then run `make update-no-recompile` (will miss new library dependencies - do full `make update` if you encounter +issues). ### Testing @@ -466,13 +573,15 @@ To trigger all tests run: make test ``` -which will start with the underlying libraries, then move on to top level integration tests and functional tests using docker containers if docker is available. +which will start with the underlying libraries, then move on to top level integration tests and functional tests using +docker containers if docker is available. ### Contributions Patches, improvements and even general feedback are welcome in the form of GitHub pull requests and issue tickets. -You might also be interested in the following really nice Jupyter notebook for HDFS space analysis created by another Hortonworks guy Jonas Straub: +You might also be interested in the following really nice Jupyter notebook for HDFS space analysis created by another +Hortonworks guy Jonas Straub: From 68cdf7de64f0e0e6193c99ad330dcd4e92e6b4f1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 19 Sep 2024 01:17:17 +0200 Subject: [PATCH 914/982] removed .markdownlint.rb --- .markdownlint.rb | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .markdownlint.rb diff --git a/.markdownlint.rb b/.markdownlint.rb deleted file mode 100644 index e69de29bb..000000000 From 2ff0c6b46c0cb830261565739e20e365dad717e3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 21 Sep 2024 18:40:41 +0100 Subject: [PATCH 915/982] updated azure-pipelines.yml --- azure-pipelines.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e26e7f760..b430c58dd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,19 +22,26 @@ trigger: - master +variables: + # ubuntu version + os_version: '22.04' + pool: # there is no /dev/stderr on this azure build! #vmImage: 'ubuntu-latest' - # Ubuntu 16.04 required for docker container support, looks like 18.04 works too - vmImage: 'ubuntu-22.04' + #vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-$(os_version)' # unprivileged container without sudo, cannot install dependencies -#container: ubuntu:18.04 +#container: ubuntu:22.04 steps: + - script: cat /etc/*-release + displayName: OS Release + # requires script as first key, otherwise parsing breaks with error message: Unexpected value 'displayName' - script: env | sort - displayName: env + displayName: Environment # doesn't work in container due to unprivileged execution and lack of sudo #- script: sudo apt-get update && sudo apt-get install -y git make @@ -50,7 +57,7 @@ steps: # hacky workaround to Azure Pipelines ubuntu environment limitations of unprivileged container and no /dev/stderr in vmImage :-( - script: | - sudo docker run -v "$PWD":/code ubuntu:18.04 /bin/bash -c ' + sudo docker run -v "$PWD":/code "ubuntu:$(os_version)" /bin/bash -c ' set -ex cd /code setup/ci_bootstrap.sh From def50a98abb78cca6c938bb9fcca1ac660fde7a8 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 21 Sep 2024 22:21:04 +0100 Subject: [PATCH 916/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index e7c73c3c4..399bc52b2 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit e7c73c3c436c41901d1b51c872e5c3e2b22e2b07 +Subproject commit 399bc52b2b9fa0d3aa4b60d2eb18cb1e3b3ae0b6 From 38c02005e8cd21b410901588698693ea6f26eebf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 21 Sep 2024 22:21:04 +0100 Subject: [PATCH 917/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 092819070..81714c62c 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 092819070eda268f0a4c6f8b373290c09a9de421 +Subproject commit 81714c62ccfee06feef0ab8cef5c1485bff7d9c0 From 566d308bd84fa3a7ff327d7f05f67a83bb05c0ea Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 21 Sep 2024 22:21:04 +0100 Subject: [PATCH 918/982] updated submodule sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index ace6d6400..575080b54 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit ace6d6400c1f647f2e96bd6dc9b730cf1232847a +Subproject commit 575080b548fec8b2420520e161973a861cbbce30 From fbca030c08ef4b3af3a131252dfbef8459bdd031 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 21 Sep 2024 22:21:04 +0100 Subject: [PATCH 919/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index b8d565217..da9d4c1ab 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit b8d565217a111514a2e061cec896f258712985fb +Subproject commit da9d4c1ab5787bbd3802db78a2330ad713ee3cbe From b77d999a26ca7f335eccc397881d3981536d8dc0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 18:48:26 +0100 Subject: [PATCH 920/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 399bc52b2..4c661ca88 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 399bc52b2b9fa0d3aa4b60d2eb18cb1e3b3ae0b6 +Subproject commit 4c661ca889cbef24e989f27c184d12d02cb99c98 From c6ab1cc4353d5a55bff3b41a775635537a9c5f7b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 18:48:26 +0100 Subject: [PATCH 921/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 81714c62c..666501ada 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 81714c62ccfee06feef0ab8cef5c1485bff7d9c0 +Subproject commit 666501adaf43473a0c94b2ace714598a80cdb549 From 1981197b571c7f661bc912648878f6ef46cf37ab Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 18:48:27 +0100 Subject: [PATCH 922/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index da9d4c1ab..6cee5eb76 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit da9d4c1ab5787bbd3802db78a2330ad713ee3cbe +Subproject commit 6cee5eb764acd9f9198bd83f9af3b17bf49e1283 From 3e40bd427b4780b74718a7dbdf395cf33484a814 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 19:15:12 +0100 Subject: [PATCH 923/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4c661ca88..3dd58df8c 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4c661ca889cbef24e989f27c184d12d02cb99c98 +Subproject commit 3dd58df8cbaeaf22661c2cf68f289535508c4685 From 5b7e885adc73fada6c37497d18fabc7c1290c47f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 19:15:13 +0100 Subject: [PATCH 924/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 666501ada..c90dd3e3a 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 666501adaf43473a0c94b2ace714598a80cdb549 +Subproject commit c90dd3e3ae1ccb64ed0e668750fa594b3c709563 From bff7195cde897972a547360784d5a0f7129fd559 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 19:15:13 +0100 Subject: [PATCH 925/982] updated submodule templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 6cee5eb76..2d12574ce 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 6cee5eb764acd9f9198bd83f9af3b17bf49e1283 +Subproject commit 2d12574ceafbcb13f559dfa46693024616b8e619 From c1a5672830bd8eb9628f505a305186cbbd65100c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 20:34:26 +0100 Subject: [PATCH 926/982] updated requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f377f523f..80ff670d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,7 +29,7 @@ GitPython==2.1.15 #happybase==1.0.0 humanize==0.5.1 -impyla==0.16.0 +impyla==0.19.0 jinja2==2.11.3 #kazoo==2.2.1 ldif3==3.2.2 From 5c900849a8d38f989a1343c3c36d54d7026adb03 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 20:38:31 +0100 Subject: [PATCH 927/982] updated submodule bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 3dd58df8c..adc18db20 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 3dd58df8cbaeaf22661c2cf68f289535508c4685 +Subproject commit adc18db20909106dbf4d6ededa1c6c66d5c28e8c From f373795d24110882a5e8a036484dfa0d5a423ded Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 20:38:31 +0100 Subject: [PATCH 928/982] updated submodule pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index c90dd3e3a..eb10979e3 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit c90dd3e3ae1ccb64ed0e668750fa594b3c709563 +Subproject commit eb10979e3572ef37b35bda3653b25d7a45e25169 From 2e739a43d79ff855a58c1d76725065c7d1257d34 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 22 Sep 2024 22:12:45 +0100 Subject: [PATCH 929/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index adc18db20..6fc486cfb 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit adc18db20909106dbf4d6ededa1c6c66d5c28e8c +Subproject commit 6fc486cfb85886c8b125c3649b80de1762eaba21 From 84e699a8bdae550158a4940234c98996666efbbd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 23 Sep 2024 11:52:18 +0100 Subject: [PATCH 930/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 6fc486cfb..176f383c9 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 6fc486cfb85886c8b125c3649b80de1762eaba21 +Subproject commit 176f383c9148361e04dfde142054ce2efbdbb5e6 From b580060646cdba0f99af7e8bb557a53491d223a6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 23 Sep 2024 12:22:58 +0100 Subject: [PATCH 931/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 176f383c9..34f300de0 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 176f383c9148361e04dfde142054ce2efbdbb5e6 +Subproject commit 34f300de0e37f5cba5176796560c99e3780a7cc1 From c9f8ba3236600b8666053f3c9fc7bdbcfeff7dd2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 24 Sep 2024 00:07:20 +0100 Subject: [PATCH 932/982] updated .envrc --- .envrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.envrc b/.envrc index 7555ecba9..bafe8df0b 100644 --- a/.envrc +++ b/.envrc @@ -201,3 +201,5 @@ fi echo # read .env too #dotenv + +load_if_exists .envrc.local From 1b5dcec3b4c4ca4373615075b6db22c589a4d870 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 8 Oct 2024 09:27:46 +0300 Subject: [PATCH 933/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 34f300de0..4f4be21ed 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 34f300de0e37f5cba5176796560c99e3780a7cc1 +Subproject commit 4f4be21ed3006a756971134afa71c283388b111d From ee32cb23b8c4617015737f9c4938c852c0c03f19 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 9 Oct 2024 18:35:23 +0300 Subject: [PATCH 934/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e9c1c291..f615a7725 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,14 +30,14 @@ repos: hooks: - id: check-yaml # Common errors - - id: end-of-file-fixer + #- id: end-of-file-fixer # ruins .gitignore Icon\r - id: trailing-whitespace args: [--markdown-linebreak-ext=md] # Git style - id: check-added-large-files - id: check-merge-conflict - id: check-vcs-permalinks - - id: forbid-new-submodules + #- id: forbid-new-submodules # Cross platform - id: check-case-conflict - id: mixed-line-ending From f04002186cf34e64c7a7503d91144fa7521df597 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 11 Oct 2024 17:51:20 +0300 Subject: [PATCH 935/982] added markdown.yaml --- .github/workflows/markdown.yaml | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/markdown.yaml diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml new file mode 100644 index 000000000..cb5395963 --- /dev/null +++ b/.github/workflows/markdown.yaml @@ -0,0 +1,54 @@ +# +# Author: Hari Sekhon +# Date: 2023-04-14 23:53:43 +0100 (Fri, 14 Apr 2023) +# +# vim:ts=2:sts=2:sw=2:et +# +# https://github.com/HariSekhon/DevOps-Python-tools +# +# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback +# +# https://www.linkedin.com/in/HariSekhon +# + +# ============================================================================ # +# M a r k D o w n +# ============================================================================ # + +--- +name: Markdown + +on: + push: + branches: + - master + - main + paths: + - '**/*.md' + - .mdlrc + - .mdl.rb + - .markdownlint.rb + - .github/workflows/markdown.yaml + pull_request: + branches: + - master + - main + paths: + - '**/*.md' + - .mdlrc + - .mdl.rb + - .markdownlint.rb + - .github/workflows/markdown.yaml + workflow_dispatch: + +permissions: + contents: read + pull-requests: read + +jobs: + Markdown: + # github.event.repository context not available in scheduled workflows + #if: github.event.repository.fork == false + if: github.repository_owner == 'HariSekhon' + name: Markdown + uses: HariSekhon/GitHub-Actions/.github/workflows/markdown.yaml@master From 0e7f2891dca92120dc47009e1e496a871b8ac3cc Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 11 Oct 2024 18:00:17 +0300 Subject: [PATCH 936/982] updated README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f9fdde42d..6d11affff 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ [![JSON](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/json.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/json.yaml) [![YAML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/yaml.yaml) [![XML](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/xml.yaml) +[![Markdown](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/markdown.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/markdown.yaml) [![Validation](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/validate.yaml) [![Kics](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/kics.yaml) [![Grype](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/grype.yaml/badge.svg)](https://github.com/HariSekhon/DevOps-Python-tools/actions/workflows/grype.yaml) From ac683274c27147af43de231a903b2e6945bd63b3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 17:29:36 +0400 Subject: [PATCH 937/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 4f4be21ed..956f47624 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 4f4be21ed3006a756971134afa71c283388b111d +Subproject commit 956f47624a5fcefdf46c5d675298e0526121713c From b9a12fcc4a414016b44da2af0cd060f5b97dbe57 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 17:32:27 +0400 Subject: [PATCH 938/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 956f47624..cf080c2c5 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 956f47624a5fcefdf46c5d675298e0526121713c +Subproject commit cf080c2c584de729b3bbbcefb3cfa353cf64216a From 5206c0ff64ecd8f3b08d050859be1b6080011631 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 17:47:40 +0400 Subject: [PATCH 939/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f615a7725..6ae7e968c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,10 +46,10 @@ repos: - id: detect-aws-credentials args: ['--allow-missing-credentials'] - - repo: https://github.com/psf/black - rev: 24.8.0 - hooks: - - id: black + #- repo: https://github.com/psf/black + # rev: 24.8.0 + # hooks: + # - id: black # Git secrets Leaks - repo: https://github.com/awslabs/git-secrets.git From ea2ed7d241ea06422fea231a2fcc513b17597ab6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 17:47:41 +0400 Subject: [PATCH 940/982] permitted space in section headers to allow for AWS [profile blah] sections --- validate_ini.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validate_ini.py b/validate_ini.py index 54a01cc63..b38b3ab6a 100755 --- a/validate_ini.py +++ b/validate_ini.py @@ -58,7 +58,7 @@ sys.exit(4) __author__ = 'Hari Sekhon' -__version__ = '0.12.2' +__version__ = '0.12.3' class IniValidatorTool(CLI): @@ -72,7 +72,7 @@ def __init__(self): self.re_suffix = re.compile(r'.*\.(?:ini|properties)$', re.I) # In Windows ini key cannot contain equals sign = or semicolon ; # key=val or [section] - self.re_ini_section = re.compile(r'^\s*\[([\w=\:\.-]+)\]\s*$') + self.re_ini_section = re.compile(r'^\s*\[([\w\s=\:\.-]+)\]\s*$') self.re_ini_key = re.compile(r'^\s*(?:[^\[;=]+)s*$') # INI value can be anything .* so not regex'ing it self.valid_ini_msg = ' => INI OK' From 67c680b35148ee03a249575ed54a0c047ead4144 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 17:52:07 +0400 Subject: [PATCH 941/982] updated .pre-commit-config.yaml --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ae7e968c..787fb79ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,6 +46,7 @@ repos: - id: detect-aws-credentials args: ['--allow-missing-credentials'] + # rewrites python files with useless changes like changing single quotes to double quotes #- repo: https://github.com/psf/black # rev: 24.8.0 # hooks: From 510fd69c3f7c7ee0a98ad81ae26123c8f7fb1be9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 24 Nov 2024 04:06:10 +0400 Subject: [PATCH 942/982] updated test_dockerhub_search.sh --- tests/test_dockerhub_search.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_dockerhub_search.sh b/tests/test_dockerhub_search.sh index 92e3d2e9d..2a4f9c48e 100755 --- a/tests/test_dockerhub_search.sh +++ b/tests/test_dockerhub_search.sh @@ -36,7 +36,7 @@ check './dockerhub_search.py hadoop-dev | grep harisekhon/hadoop-dev' "DockerHub # causes IOError: [Errno 32] Broken pipe #unset PYTHONUNBUFFERED # shellcheck disable=SC2016 -check '[ $(./dockerhub_search.py -q harisekhon | head -n 40 | tee /dev/stderr | grep "^harisekhon/[A-Za-z0-9_-]*$" | wc -l) = 40 ]' "DockerHub Search quiet mode for shell scripting" +check '[ "$(./dockerhub_search.py -q harisekhon | head -n 40 | tee /dev/stderr | grep -c "^harisekhon/[A-Za-z0-9_-]*$")" = 40 ]' "DockerHub Search quiet mode for shell scripting" echo echo From 22fa4cff9849d3230cbbb48a1733c6403286510b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 8 Dec 2024 00:03:50 +0700 Subject: [PATCH 943/982] updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 09026fc6a..ab6c6499d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,7 +37,7 @@ workflows: jobs: build: docker: - - image: cimg/base:2021.04 + - image: cimg/base:2024.12 resource_class: small steps: - checkout From 6b56bd27261b489177dece866bc49ca7fdd2364a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 2 Feb 2025 00:21:59 +0700 Subject: [PATCH 944/982] added lint exception for on: truthy --- .github/workflows/alpine.yaml | 2 +- .github/workflows/alpine_3.yaml | 2 +- .github/workflows/checkov.yaml | 2 +- .github/workflows/codeowners.yaml | 2 +- .github/workflows/debian.yaml | 2 +- .github/workflows/debian_10.yaml | 2 +- .github/workflows/debian_11.yaml | 2 +- .github/workflows/debian_12.yaml | 2 +- .github/workflows/docker_pytools_alpine.yaml | 2 +- .github/workflows/docker_pytools_debian.yaml | 2 +- .github/workflows/docker_pytools_fedora.yaml | 2 +- .github/workflows/docker_pytools_ubuntu.yaml | 2 +- .github/workflows/fedora.yaml | 2 +- .github/workflows/fork-sync.yaml | 2 +- .github/workflows/fork-update-pr.yaml | 2 +- .github/workflows/grype.yaml | 2 +- .github/workflows/json.yaml | 2 +- .github/workflows/kics.yaml | 2 +- .github/workflows/mac.yaml | 2 +- .github/workflows/mac_11.yaml | 2 +- .github/workflows/mac_12.yaml | 2 +- .github/workflows/markdown.yaml | 2 +- .github/workflows/python3.10.yaml | 2 +- .github/workflows/python3.11.yaml | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/python3.9.yaml | 2 +- .github/workflows/semgrep-cloud.yaml | 2 +- .github/workflows/semgrep.yaml | 2 +- .github/workflows/shellcheck.yaml | 2 +- .github/workflows/trivy.yaml | 2 +- .github/workflows/ubuntu.yaml | 2 +- .github/workflows/ubuntu_20.04.yaml | 2 +- .github/workflows/ubuntu_22.04.yaml | 2 +- .github/workflows/ubuntu_github.yaml | 2 +- .github/workflows/validate.yaml | 2 +- .github/workflows/xml.yaml | 2 +- .github/workflows/yaml.yaml | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index a678d6592..dc5dfa86c 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -14,7 +14,7 @@ --- name: Alpine -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index fd88e54cb..a522558aa 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -14,7 +14,7 @@ --- name: Alpine 3 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 8f31b2672..209b3cef1 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -22,7 +22,7 @@ --- name: Checkov -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index 4dc3a09c3..6a0edd459 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -18,7 +18,7 @@ --- name: CodeOwners -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index d56453263..7794a2914 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -14,7 +14,7 @@ --- name: Debian -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index 735603e28..e8fec2ae1 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -14,7 +14,7 @@ --- name: Debian 10 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/debian_11.yaml b/.github/workflows/debian_11.yaml index de3b4b96f..3bebff0c9 100644 --- a/.github/workflows/debian_11.yaml +++ b/.github/workflows/debian_11.yaml @@ -14,7 +14,7 @@ --- name: Debian 11 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/debian_12.yaml b/.github/workflows/debian_12.yaml index d543710b1..3dbcdd303 100644 --- a/.github/workflows/debian_12.yaml +++ b/.github/workflows/debian_12.yaml @@ -14,7 +14,7 @@ --- name: Debian 12 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/docker_pytools_alpine.yaml b/.github/workflows/docker_pytools_alpine.yaml index 769f90e49..7119d6852 100644 --- a/.github/workflows/docker_pytools_alpine.yaml +++ b/.github/workflows/docker_pytools_alpine.yaml @@ -14,7 +14,7 @@ --- name: Docker Build (Alpine) -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/docker_pytools_debian.yaml b/.github/workflows/docker_pytools_debian.yaml index b2b718ac0..24f8f21dd 100644 --- a/.github/workflows/docker_pytools_debian.yaml +++ b/.github/workflows/docker_pytools_debian.yaml @@ -14,7 +14,7 @@ --- name: Docker Build (Debian) -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/docker_pytools_fedora.yaml b/.github/workflows/docker_pytools_fedora.yaml index 70c545db6..ad1a5ed8d 100644 --- a/.github/workflows/docker_pytools_fedora.yaml +++ b/.github/workflows/docker_pytools_fedora.yaml @@ -14,7 +14,7 @@ --- name: Docker Build (Fedora) -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/docker_pytools_ubuntu.yaml b/.github/workflows/docker_pytools_ubuntu.yaml index e69018c31..884917919 100644 --- a/.github/workflows/docker_pytools_ubuntu.yaml +++ b/.github/workflows/docker_pytools_ubuntu.yaml @@ -14,7 +14,7 @@ --- name: Docker Build (Ubuntu) -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 0975be19d..3dfae11a4 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -14,7 +14,7 @@ --- name: Fedora -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index c7ff16fd4..3c1aecadf 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -20,7 +20,7 @@ --- name: Fork Sync -on: +on: # yamllint disable-line rule:truthy workflow_dispatch: inputs: debug: diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index 94398083f..bedec7659 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -22,7 +22,7 @@ --- name: Fork Update PR -on: +on: # yamllint disable-line rule:truthy workflow_dispatch: inputs: debug: diff --git a/.github/workflows/grype.yaml b/.github/workflows/grype.yaml index 6a321f86e..351180e94 100644 --- a/.github/workflows/grype.yaml +++ b/.github/workflows/grype.yaml @@ -18,7 +18,7 @@ --- name: Grype -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/json.yaml b/.github/workflows/json.yaml index f68e309e5..83fa5ef83 100644 --- a/.github/workflows/json.yaml +++ b/.github/workflows/json.yaml @@ -20,7 +20,7 @@ --- name: JSON -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/kics.yaml b/.github/workflows/kics.yaml index 033f4331e..f7f7383fe 100644 --- a/.github/workflows/kics.yaml +++ b/.github/workflows/kics.yaml @@ -18,7 +18,7 @@ --- name: Kics -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index ac6957e87..4959ef720 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -14,7 +14,7 @@ --- name: Mac -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/mac_11.yaml b/.github/workflows/mac_11.yaml index 2d948e136..64ec035b6 100644 --- a/.github/workflows/mac_11.yaml +++ b/.github/workflows/mac_11.yaml @@ -14,7 +14,7 @@ --- name: Mac 11 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/mac_12.yaml b/.github/workflows/mac_12.yaml index 7d2bf2dc6..5fa32d10c 100644 --- a/.github/workflows/mac_12.yaml +++ b/.github/workflows/mac_12.yaml @@ -14,7 +14,7 @@ --- name: Mac 12 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index cb5395963..72e301ba0 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -18,7 +18,7 @@ --- name: Markdown -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index de6f79440..7d953dfd7 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -14,7 +14,7 @@ --- name: Python 3.10 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/python3.11.yaml b/.github/workflows/python3.11.yaml index 8e2d041ac..91658c8e9 100644 --- a/.github/workflows/python3.11.yaml +++ b/.github/workflows/python3.11.yaml @@ -14,7 +14,7 @@ --- name: Python 3.11 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 58ad6c210..04c7146c7 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -14,7 +14,7 @@ --- name: Python 3.7 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index f1c806dc2..37ad93654 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -14,7 +14,7 @@ --- name: Python 3.8 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 31c7d0ab8..9cf18e290 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -14,7 +14,7 @@ --- name: Python 3.9 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 43b3f5bd2..3ac4c40b9 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -20,7 +20,7 @@ --- name: Semgrep Cloud -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index f1e452f88..94fd43a22 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -22,7 +22,7 @@ --- name: Semgrep -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index 753a6a495..ea4a967eb 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -20,7 +20,7 @@ --- name: ShellCheck -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 26f01fa94..c31ec991e 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -20,7 +20,7 @@ --- name: Trivy -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 0d7fd952c..8edea5c2d 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -14,7 +14,7 @@ --- name: Ubuntu -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index 5145177bb..ae5ec97ef 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -14,7 +14,7 @@ --- name: Ubuntu 20.04 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/ubuntu_22.04.yaml b/.github/workflows/ubuntu_22.04.yaml index b9bf17a95..d5dfb94a8 100644 --- a/.github/workflows/ubuntu_22.04.yaml +++ b/.github/workflows/ubuntu_22.04.yaml @@ -14,7 +14,7 @@ --- name: Ubuntu 22.04 -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 53307dd73..2efa3ac6d 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -14,7 +14,7 @@ --- name: GitHub Actions Ubuntu -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 94a8c007a..468d875e3 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -20,7 +20,7 @@ --- name: Validation -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/xml.yaml b/.github/workflows/xml.yaml index 8b07ed256..3f6265a6a 100644 --- a/.github/workflows/xml.yaml +++ b/.github/workflows/xml.yaml @@ -20,7 +20,7 @@ --- name: XML -on: +on: # yamllint disable-line rule:truthy push: branches: - master diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index d252f67d2..5c3118c33 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -20,7 +20,7 @@ --- name: YAML -on: +on: # yamllint disable-line rule:truthy push: branches: - master From 7738761d337f64222906c6a623ed410dfb18fa44 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 2 Feb 2025 00:23:39 +0700 Subject: [PATCH 945/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index cf080c2c5..a97248860 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit cf080c2c584de729b3bbbcefb3cfa353cf64216a +Subproject commit a97248860172c6bb3534d08ad38c4cfdfd09c306 From 406fce6a86160038a5ca122f54d0a401fab1e93b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 6 Feb 2025 20:35:59 +0700 Subject: [PATCH 946/982] updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d11affff..22741ad41 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ [![GitHub stars](https://img.shields.io/github/stars/harisekhon/devops-python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/stargazers) [![GitHub forks](https://img.shields.io/github/forks/harisekhon/devops-python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/network) -[![Lines of Code](https://img.shields.io/badge/lines%20of%20code-26k-lightgrey?logo=codecademy)](https://github.com/HariSekhon/DevOps-Python-tools) +[![LineCount](https://sloc.xyz/github/HariSekhon/DevOps-Python-tools/?badge-bg-color=2081C2)](https://github.com/boyter/scc/) +[![Cocomo](https://sloc.xyz/github/HariSekhon/DevOps-Python-tools/?badge-bg-color=2081C2&category=cocomo)](https://github.com/boyter/scc/) [![License](https://img.shields.io/github/license/HariSekhon/DevOps-Python-tools)](https://github.com/HariSekhon/DevOps-Python-tools/blob/master/LICENSE) [![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGlua2VkSW48L3RpdGxlPjxwYXRoIGQ9Ik0yMC40NDcgMjAuNDUyaC0zLjU1NHYtNS41NjljMC0xLjMyOC0uMDI3LTMuMDM3LTEuODUyLTMuMDM3LTEuODUzIDAtMi4xMzYgMS40NDUtMi4xMzYgMi45Mzl2NS42NjdIOS4zNTFWOWgzLjQxNHYxLjU2MWguMDQ2Yy40NzctLjkgMS42MzctMS44NSAzLjM3LTEuODUgMy42MDEgMCA0LjI2NyAyLjM3IDQuMjY3IDUuNDU1djYuMjg2ek01LjMzNyA3LjQzM2MtMS4xNDQgMC0yLjA2My0uOTI2LTIuMDYzLTIuMDY1IDAtMS4xMzguOTItMi4wNjMgMi4wNjMtMi4wNjMgMS4xNCAwIDIuMDY0LjkyNSAyLjA2NCAyLjA2MyAwIDEuMTM5LS45MjUgMi4wNjUtMi4wNjQgMi4wNjV6bTEuNzgyIDEzLjAxOUgzLjU1NVY5aDMuNTY0djExLjQ1MnpNMjIuMjI1IDBIMS43NzFDLjc5MiAwIDAgLjc3NCAwIDEuNzI5djIwLjU0MkMwIDIzLjIyNy43OTIgMjQgMS43NzEgMjRoMjAuNDUxQzIzLjIgMjQgMjQgMjMuMjI3IDI0IDIyLjI3MVYxLjcyOUMyNCAuNzc0IDIzLjIgMCAyMi4yMjIgMGguMDAzeiIvPjwvc3ZnPgo=)](https://www.linkedin.com/in/HariSekhon/) [![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/DevOps-Python-tools?logo=github)](https://github.com/HariSekhon/DevOps-Python-tools/commits/master) From c9f6bce6e1972482bd39a67a793c6c241398933a Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Feb 2025 14:00:14 +0700 Subject: [PATCH 947/982] changed concurrency lock to be workflow-ref format --- .github/workflows/alpine.yaml | 2 +- .github/workflows/alpine_3.yaml | 2 +- .github/workflows/centos.yaml.disabled | 2 +- .github/workflows/centos7.yaml.disabled | 2 +- .github/workflows/centos8.yaml.disabled | 2 +- .github/workflows/codeowners.yaml | 2 +- .github/workflows/debian.yaml | 2 +- .github/workflows/debian_10.yaml | 2 +- .github/workflows/debian_11.yaml | 2 +- .github/workflows/debian_12.yaml | 2 +- .github/workflows/debian_6.yaml.disabled | 2 +- .github/workflows/debian_7.yaml.disabled | 2 +- .github/workflows/debian_8.yaml.disabled | 2 +- .github/workflows/debian_9.yaml.disabled | 2 +- .github/workflows/fedora.yaml | 2 +- .github/workflows/fork-sync.yaml | 2 +- .github/workflows/fork-update-pr.yaml | 2 +- .github/workflows/grype.yaml | 2 +- .github/workflows/kics.yaml | 2 +- .github/workflows/mac.yaml | 2 +- .github/workflows/mac_11.yaml | 2 +- .github/workflows/mac_12.yaml | 2 +- .github/workflows/pypy2.yaml.disabled | 2 +- .github/workflows/pypy3.yaml.disabled | 2 +- .github/workflows/python2.7.yaml.disabled | 2 +- .github/workflows/python3.10.yaml | 2 +- .github/workflows/python3.11.yaml | 2 +- .github/workflows/python3.6.yaml.disabled | 2 +- .github/workflows/python3.7.yaml | 2 +- .github/workflows/python3.8.yaml | 2 +- .github/workflows/python3.9.yaml | 2 +- .github/workflows/semgrep-cloud.yaml | 2 +- .github/workflows/semgrep.yaml | 2 +- .github/workflows/shellcheck.yaml | 2 +- .github/workflows/trivy.yaml | 2 +- .github/workflows/ubuntu.yaml | 2 +- .github/workflows/ubuntu_14.04.yaml.disabled | 2 +- .github/workflows/ubuntu_16.04.yaml.disabled | 2 +- .github/workflows/ubuntu_18.04.yaml.disabled | 2 +- .github/workflows/ubuntu_20.04.yaml | 2 +- .github/workflows/ubuntu_22.04.yaml | 2 +- .github/workflows/ubuntu_github.yaml | 2 +- .github/workflows/validate.yaml | 2 +- .github/workflows/yaml.yaml | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/alpine.yaml b/.github/workflows/alpine.yaml index dc5dfa86c..9bed93efb 100644 --- a/.github/workflows/alpine.yaml +++ b/.github/workflows/alpine.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/alpine_3.yaml b/.github/workflows/alpine_3.yaml index a522558aa..f6c4f5ea9 100644 --- a/.github/workflows/alpine_3.yaml +++ b/.github/workflows/alpine_3.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/centos.yaml.disabled b/.github/workflows/centos.yaml.disabled index ef6aace7b..420b88392 100644 --- a/.github/workflows/centos.yaml.disabled +++ b/.github/workflows/centos.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/centos7.yaml.disabled b/.github/workflows/centos7.yaml.disabled index a891a3dbb..ec764d288 100644 --- a/.github/workflows/centos7.yaml.disabled +++ b/.github/workflows/centos7.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/centos8.yaml.disabled b/.github/workflows/centos8.yaml.disabled index d39fc2b0a..76c476664 100644 --- a/.github/workflows/centos8.yaml.disabled +++ b/.github/workflows/centos8.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/codeowners.yaml b/.github/workflows/codeowners.yaml index 6a0edd459..168d4914c 100644 --- a/.github/workflows/codeowners.yaml +++ b/.github/workflows/codeowners.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian.yaml b/.github/workflows/debian.yaml index 7794a2914..d84cb16b1 100644 --- a/.github/workflows/debian.yaml +++ b/.github/workflows/debian.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_10.yaml b/.github/workflows/debian_10.yaml index e8fec2ae1..e857f280f 100644 --- a/.github/workflows/debian_10.yaml +++ b/.github/workflows/debian_10.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_11.yaml b/.github/workflows/debian_11.yaml index 3bebff0c9..ad765f1ad 100644 --- a/.github/workflows/debian_11.yaml +++ b/.github/workflows/debian_11.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_12.yaml b/.github/workflows/debian_12.yaml index 3dbcdd303..dfbc4ec97 100644 --- a/.github/workflows/debian_12.yaml +++ b/.github/workflows/debian_12.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_6.yaml.disabled b/.github/workflows/debian_6.yaml.disabled index 1cb4e5431..f3062b6f8 100644 --- a/.github/workflows/debian_6.yaml.disabled +++ b/.github/workflows/debian_6.yaml.disabled @@ -33,7 +33,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_7.yaml.disabled b/.github/workflows/debian_7.yaml.disabled index e987d7e46..1b0e00295 100644 --- a/.github/workflows/debian_7.yaml.disabled +++ b/.github/workflows/debian_7.yaml.disabled @@ -33,7 +33,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_8.yaml.disabled b/.github/workflows/debian_8.yaml.disabled index 37640f59e..b41ead7d3 100644 --- a/.github/workflows/debian_8.yaml.disabled +++ b/.github/workflows/debian_8.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/debian_9.yaml.disabled b/.github/workflows/debian_9.yaml.disabled index 42e28702b..451348091 100644 --- a/.github/workflows/debian_9.yaml.disabled +++ b/.github/workflows/debian_9.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 3dfae11a4..5a4f9a9b4 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml index 3c1aecadf..6b228ca33 100644 --- a/.github/workflows/fork-sync.yaml +++ b/.github/workflows/fork-sync.yaml @@ -34,7 +34,7 @@ permissions: contents: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: diff --git a/.github/workflows/fork-update-pr.yaml b/.github/workflows/fork-update-pr.yaml index bedec7659..c74fa2a0b 100644 --- a/.github/workflows/fork-update-pr.yaml +++ b/.github/workflows/fork-update-pr.yaml @@ -37,7 +37,7 @@ permissions: pull-requests: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: diff --git a/.github/workflows/grype.yaml b/.github/workflows/grype.yaml index 351180e94..1b0fa15b4 100644 --- a/.github/workflows/grype.yaml +++ b/.github/workflows/grype.yaml @@ -46,7 +46,7 @@ permissions: security-events: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/kics.yaml b/.github/workflows/kics.yaml index f7f7383fe..c389f5df0 100644 --- a/.github/workflows/kics.yaml +++ b/.github/workflows/kics.yaml @@ -46,7 +46,7 @@ permissions: security-events: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 4959ef720..438dd184e 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/mac_11.yaml b/.github/workflows/mac_11.yaml index 64ec035b6..cc392b105 100644 --- a/.github/workflows/mac_11.yaml +++ b/.github/workflows/mac_11.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/mac_12.yaml b/.github/workflows/mac_12.yaml index 5fa32d10c..0bcd6e6fd 100644 --- a/.github/workflows/mac_12.yaml +++ b/.github/workflows/mac_12.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/pypy2.yaml.disabled b/.github/workflows/pypy2.yaml.disabled index 7dbc25c7f..01080bcc8 100644 --- a/.github/workflows/pypy2.yaml.disabled +++ b/.github/workflows/pypy2.yaml.disabled @@ -40,7 +40,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/pypy3.yaml.disabled b/.github/workflows/pypy3.yaml.disabled index ac669813c..101b36751 100644 --- a/.github/workflows/pypy3.yaml.disabled +++ b/.github/workflows/pypy3.yaml.disabled @@ -40,7 +40,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python2.7.yaml.disabled b/.github/workflows/python2.7.yaml.disabled index ff3e51dd1..1813931e7 100644 --- a/.github/workflows/python2.7.yaml.disabled +++ b/.github/workflows/python2.7.yaml.disabled @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.10.yaml b/.github/workflows/python3.10.yaml index 7d953dfd7..8ec3008b9 100644 --- a/.github/workflows/python3.10.yaml +++ b/.github/workflows/python3.10.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.11.yaml b/.github/workflows/python3.11.yaml index 91658c8e9..0f27b0076 100644 --- a/.github/workflows/python3.11.yaml +++ b/.github/workflows/python3.11.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.6.yaml.disabled b/.github/workflows/python3.6.yaml.disabled index 84dce85e0..91bd3e673 100644 --- a/.github/workflows/python3.6.yaml.disabled +++ b/.github/workflows/python3.6.yaml.disabled @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.7.yaml b/.github/workflows/python3.7.yaml index 04c7146c7..73a0045c7 100644 --- a/.github/workflows/python3.7.yaml +++ b/.github/workflows/python3.7.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.8.yaml b/.github/workflows/python3.8.yaml index 37ad93654..abcbc4c68 100644 --- a/.github/workflows/python3.8.yaml +++ b/.github/workflows/python3.8.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/python3.9.yaml b/.github/workflows/python3.9.yaml index 9cf18e290..1ce7eb238 100644 --- a/.github/workflows/python3.9.yaml +++ b/.github/workflows/python3.9.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/semgrep-cloud.yaml b/.github/workflows/semgrep-cloud.yaml index 3ac4c40b9..c2f614222 100644 --- a/.github/workflows/semgrep-cloud.yaml +++ b/.github/workflows/semgrep-cloud.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml index 94fd43a22..04a3cf197 100644 --- a/.github/workflows/semgrep.yaml +++ b/.github/workflows/semgrep.yaml @@ -50,7 +50,7 @@ permissions: security-events: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index ea4a967eb..246087bd4 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index c31ec991e..95b2571ca 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -48,7 +48,7 @@ permissions: security-events: write concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 8edea5c2d..fe863f875 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_14.04.yaml.disabled b/.github/workflows/ubuntu_14.04.yaml.disabled index 395184d7b..1442d675d 100644 --- a/.github/workflows/ubuntu_14.04.yaml.disabled +++ b/.github/workflows/ubuntu_14.04.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_16.04.yaml.disabled b/.github/workflows/ubuntu_16.04.yaml.disabled index 0a55dd214..a9655835d 100644 --- a/.github/workflows/ubuntu_16.04.yaml.disabled +++ b/.github/workflows/ubuntu_16.04.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_18.04.yaml.disabled b/.github/workflows/ubuntu_18.04.yaml.disabled index d909f9529..4b510ba1e 100644 --- a/.github/workflows/ubuntu_18.04.yaml.disabled +++ b/.github/workflows/ubuntu_18.04.yaml.disabled @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_20.04.yaml b/.github/workflows/ubuntu_20.04.yaml index ae5ec97ef..47d0512ac 100644 --- a/.github/workflows/ubuntu_20.04.yaml +++ b/.github/workflows/ubuntu_20.04.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_22.04.yaml b/.github/workflows/ubuntu_22.04.yaml index d5dfb94a8..ba8a549b1 100644 --- a/.github/workflows/ubuntu_22.04.yaml +++ b/.github/workflows/ubuntu_22.04.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ubuntu_github.yaml b/.github/workflows/ubuntu_github.yaml index 2efa3ac6d..0037e4ba3 100644 --- a/.github/workflows/ubuntu_github.yaml +++ b/.github/workflows/ubuntu_github.yaml @@ -69,7 +69,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 468d875e3..ab6ab9638 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -46,7 +46,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/yaml.yaml b/.github/workflows/yaml.yaml index 5c3118c33..f2a4ca129 100644 --- a/.github/workflows/yaml.yaml +++ b/.github/workflows/yaml.yaml @@ -50,7 +50,7 @@ permissions: contents: read concurrency: - group: ${{ github.ref }}-${{ github.workflow }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: From 5dbc2ec8cd49f8990767878568ae893ba7b4dd5b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 14 Feb 2025 16:31:03 +0700 Subject: [PATCH 948/982] updated .cirrus.yml --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6916e2577..471dc55ba 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -23,8 +23,8 @@ container: image: ubuntu:18.04 task: - # doesn't work properly - #skip: "!changesInclude('**/*.md')" + env: + TMPDIR: /var/tmp script: - setup/ci_bootstrap.sh - make init From 10d0ad24c89cededf549e38c49f209234d90825b Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 21:05:48 +0700 Subject: [PATCH 949/982] updated semaphore.yml --- .semaphore/semaphore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 761ef0697..e2b78c511 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -23,8 +23,8 @@ version: v1.0 name: DevOps-Python-tools agent: machine: - type: e1-standard-2 - os_image: ubuntu1804 + type: e2-standard-2 + os_image: ubuntu2204 execution_time_limit: hours: 3 blocks: From 0adb1596606a13a7e3ee873bacd76953d4c6d39f Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 21:28:56 +0700 Subject: [PATCH 950/982] updated config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ab6c6499d..b22b98dbb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,8 +41,8 @@ jobs: resource_class: small steps: - checkout - - setup_remote_docker: - version: 20.10.11 + #- setup_remote_docker: + # version: 20.10.11 - run: setup/ci_bootstrap.sh - run: make init - run: make From c10d63286ad086d0fb4e3b403f823a38aa7699a0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 21:56:31 +0700 Subject: [PATCH 951/982] updated config.yml --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b22b98dbb..312bf1020 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,11 @@ jobs: - image: cimg/base:2024.12 resource_class: small steps: + # CLI is too old - config validate breaks in test - install new version to fix + # doesn't work - existing version is too old to update + #- run: circleci update + - run: | + curl -sSLf https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/main/install.sh | sudo bash - checkout #- setup_remote_docker: # version: 20.10.11 From d8d48a9fc94d856d27c805b56c2287e727debedf Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 22:04:54 +0700 Subject: [PATCH 952/982] updated semaphore.yml --- .semaphore/semaphore.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e2b78c511..308278eee 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -22,9 +22,10 @@ version: v1.0 name: DevOps-Python-tools agent: + # https://docs.semaphoreci.com/reference/machine-types machine: - type: e2-standard-2 - os_image: ubuntu2204 + type: e1-standard-2 + os_image: ubuntu2004 execution_time_limit: hours: 3 blocks: From 3204b856ac322c4c2e3c5b30bbf562484dae5fa7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 22:14:01 +0700 Subject: [PATCH 953/982] updated semaphore.yml --- .semaphore/semaphore.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 308278eee..e8de9f5e5 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -44,6 +44,9 @@ blocks: prologue: commands: - cache restore + - export DEBIAN_FRONTEND=noninteractive + - sudo apt-get update + - sudo apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" # each job is separate and could be run on a separate machine so all steps must be together jobs: - name: build From 2895d5f6ecc4012b3eded89bdb4990f5e41c3e92 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 22:21:10 +0700 Subject: [PATCH 954/982] updated semaphore.yml --- .semaphore/semaphore.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e8de9f5e5..fdb60732e 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -44,9 +44,14 @@ blocks: prologue: commands: - cache restore - - export DEBIAN_FRONTEND=noninteractive - - sudo apt-get update - - sudo apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" + # prevents it getting stuck on config merge prompt on installing openssh-client pulling in openssh-server + - sudo rm -f /etc/ssh/sshd_config + #- export DEBIAN_FRONTEND=noninteractive + #- sudo apt-get update + #- echo "openssh-server openssh-server/conffile-diff select keep" | sudo debconf-set-selections + #- sudo dpkg --configure -a --force-confdef --force-confold + #- sudo apt-get install -y openssh-server -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" + #- sudo apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" # each job is separate and could be run on a separate machine so all steps must be together jobs: - name: build From 99cf65b7fef1586302c8f0979c4cda90aac1ce43 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 22 Feb 2025 22:32:25 +0700 Subject: [PATCH 955/982] updated semaphore.yml --- .semaphore/semaphore.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index fdb60732e..5d5a7ab20 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -45,13 +45,20 @@ blocks: commands: - cache restore # prevents it getting stuck on config merge prompt on installing openssh-client pulling in openssh-server - - sudo rm -f /etc/ssh/sshd_config - #- export DEBIAN_FRONTEND=noninteractive - #- sudo apt-get update + # + # causes error: + # + # Not replacing deleted config file /etc/ssh/sshd_config + # + #- sudo rm -f /etc/ssh/sshd_config + - export DEBIAN_FRONTEND=noninteractive + - sudo -E apt-get update + - sudo -E apt-get upgrade -y -o Dpkg::Options::="--force-confmiss" -o Dpkg::Options::="--force-confnew" + - sudo dpkg --configure -a --force-confmiss --force-confnew #- echo "openssh-server openssh-server/conffile-diff select keep" | sudo debconf-set-selections #- sudo dpkg --configure -a --force-confdef --force-confold - #- sudo apt-get install -y openssh-server -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" #- sudo apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" + - sudo apt-get install -y openssh-server # each job is separate and could be run on a separate machine so all steps must be together jobs: - name: build From f21e0aba680245a800caf478d4b248c8e3870e62 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 23 Feb 2025 02:07:53 +0700 Subject: [PATCH 956/982] updated semaphore.yml --- .semaphore/semaphore.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 5d5a7ab20..59aa80836 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -22,7 +22,7 @@ version: v1.0 name: DevOps-Python-tools agent: - # https://docs.semaphoreci.com/reference/machine-types + # https://docs.semaphoreci.com/reference/machine-types#linux machine: type: e1-standard-2 os_image: ubuntu2004 @@ -85,9 +85,10 @@ blocks: #- name: DEBUG # value: "1" agent: + # https://docs.semaphoreci.com/reference/machine-types#macos machine: type: a1-standard-4 - os_image: macos-xcode12 + os_image: macos-xcode15 prologue: commands: - cache restore From 1ad7d99584197c2cc80e91d03e6dc335fa2606f0 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 25 Feb 2025 21:38:06 +0700 Subject: [PATCH 957/982] updated .envrc --- .envrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index bafe8df0b..e4488d51f 100644 --- a/.envrc +++ b/.envrc @@ -71,7 +71,16 @@ fi if [ -f .pre-commit-config.yaml ] && type -P pre-commit &>/dev/null && git rev-parse --is-inside-work-tree &>/dev/null; then - if ! [ -f "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit" ]; then + hook="$(git rev-parse --show-toplevel)/.git/hooks/pre-commit" + if [ -L "$hook" ]; then + echo "Detected symlink hook: " + echo + ls -l "$hook" + echo + echo "Removing" + rm -f "$hook" + fi + if ! [ -f "$hook" ]; then echo echo "Pre-commit hook is not installed in local Git repo checkout - installing now..." echo From 6b1938824a0bf6ef7a278c2f08061801dbae7ad9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:41:33 +0800 Subject: [PATCH 958/982] updated bootstrap.sh --- setup/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/bootstrap.sh b/setup/bootstrap.sh index 94b10159c..d7bedf92a 100755 --- a/setup/bootstrap.sh +++ b/setup/bootstrap.sh @@ -45,11 +45,11 @@ elif [ "$(uname -s)" = Linux ]; then if [ -n "${CI:-}" ]; then export DEBIAN_FRONTEND=noninteractive fi - opts="" + opts="-o DPkg::Lock::Timeout=1200" if [ -z "${PS1:-}" ]; then - opts="-qq" + opts="$opts -qq" fi - $sudo apt-get update $opts + $sudo apt-get update $opts $sudo apt-get install $opts -y git make curl wget --no-install-recommends elif type yum >/dev/null 2>&1; then if grep -qi 'NAME=.*CentOS' /etc/*release; then From 2efb7e7dad0b6979452cc4d229e50e72e32bdf9c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:41:34 +0800 Subject: [PATCH 959/982] updated ci_bootstrap.sh --- setup/ci_bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/ci_bootstrap.sh b/setup/ci_bootstrap.sh index 0b52378ff..b01a77d04 100755 --- a/setup/ci_bootstrap.sh +++ b/setup/ci_bootstrap.sh @@ -72,8 +72,9 @@ elif [ "$(uname -s)" = Linux ]; then retry $sudo apk update retry $sudo apk add --no-progress bash git make elif type apt-get >/dev/null 2>&1; then - retry $sudo apt-get update -q - retry $sudo apt-get install -qy git make + opts="-q -o DPkg::Lock::Timeout=1200" + retry $sudo apt-get update $opts + retry $sudo apt-get install $opts -y git make elif type yum >/dev/null 2>&1; then #retry $sudo yum makecache retry $sudo yum install -qy git make From b13623f40359ddd19ff96f6c2ae78a56375b3222 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:52:41 +0800 Subject: [PATCH 960/982] updated Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a435bc5a5..2a53008d4 100644 --- a/Makefile +++ b/Makefile @@ -175,7 +175,7 @@ apk-packages-extra: .PHONY: apt-packages-extra apt-packages-extra: - if [ -z "$(NOJAVA)" ]; then which java || $(SUDO) apt-get install -y default-jdk; fi + if [ -z "$(NOJAVA)" ]; then which java || bash-tools/packages/apt_install_packages.sh default-jdk; fi # for validate_multimedia.py # available in Alpine 2.6, 2.7 and 3.x From 0bba44755a7b874dfc582aa7e15d59c7a94d0986 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:54:28 +0800 Subject: [PATCH 961/982] updated Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2a53008d4..d4434ca84 100644 --- a/Makefile +++ b/Makefile @@ -189,8 +189,8 @@ apk-packages-multimedia: # Debian 9 Stretch onwards, not available in Debian 8 Jessie .PHONY: apt-packages-multimedia apt-packages-multimedia: - $(SUDO) apt-get update - $(SUDO) apt-get install -y --no-install-recommends ffmpeg + $(SUDO) apt-get update -o DPkg::Lock::Timeout=1200 + $(SUDO) apt-get install -o DPkg::Lock::Timeout=1200 -y --no-install-recommends ffmpeg # for validate_multimedia.py .PHONY: yum-packages-multimedia From 72d01f4ef7dc4646eb3a35d665dce0936a445b65 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:55:27 +0800 Subject: [PATCH 962/982] updated Makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d4434ca84..1d98ac524 100644 --- a/Makefile +++ b/Makefile @@ -200,9 +200,10 @@ yum-packages-multimedia: .PHONY: jython jython: - if [ -x /sbin/apk ]; then apk add --no-cache wget expect; fi - if [ -x /usr/bin/apt-get ]; then apt-get install -y wget expect; fi - if [ -x /usr/bin/yum ]; then yum install -y wget expect; fi + @#if [ -x /sbin/apk ]; then apk add --no-cache wget expect; fi + @#if [ -x /usr/bin/apt-get ]; then apt-get install -y wget expect; fi + @#if [ -x /usr/bin/yum ]; then yum install -y wget expect; fi + bash-tools/packages/install_packages.sh wget expect sh jython_install.sh .PHONY: test-lib From feb48b7a21ea137bc18ca92344cdb8a5e75d98bd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 15 Mar 2025 03:56:01 +0800 Subject: [PATCH 963/982] updated test_validate_multimedia.sh --- tests/test_validate_multimedia.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_validate_multimedia.sh b/tests/test_validate_multimedia.sh index c86449aac..3493bae6d 100755 --- a/tests/test_validate_multimedia.sh +++ b/tests/test_validate_multimedia.sh @@ -32,7 +32,7 @@ if ! type -P ffmpeg &>/dev/null; then echo "WARNING: ffmpeg not installed, skipping validate_multimedia.py tests" exit 0 if type -P apt-get &>/dev/null; then - sudo apt-get install -y ffmpeg + sudo apt-get install -o DPkg::Lock::Timeout=1200 -y ffmpeg elif type -P yum &>/dev/null; then echo "WARNING: cannot auto-install ffmpeg on RHEL/CentOS, the 3rd party repos and deps are seriously broken" fi From 55835218d3367e90d76d6a0614727ede7351e1f1 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 26 Apr 2025 01:38:30 +0800 Subject: [PATCH 964/982] added plot_uk_marriage_rates.py --- plot_uk_marriage_rates.py | 158 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100755 plot_uk_marriage_rates.py diff --git a/plot_uk_marriage_rates.py b/plot_uk_marriage_rates.py new file mode 100755 index 000000000..6b1297417 --- /dev/null +++ b/plot_uk_marriage_rates.py @@ -0,0 +1,158 @@ +#!/usr/bin/env python3 +# coding=utf-8 +# vim:ts=4:sts=4:sw=4:et +# +# Author: Hari Sekhon +# Date: 2025-04-26 00:37:28 +0800 (Sat, 26 Apr 2025) +# +# https///github.com/HariSekhon/DevOps-Python-tools +# +# License: see accompanying Hari Sekhon LICENSE file +# +# If you're using my code you're welcome to connect with me on LinkedIn +# and optionally send me feedback to help steer this or other code I publish +# +# https://www.linkedin.com/in/HariSekhon +# + +""" + +Plots the Marriage rates in England & Wales using the latest download from the UK Government website: + + https://www.ons.gov.uk/peoplepopulationandcommunity/birthsdeathsandmarriages/marriagecohabitationandcivilpartnerships/bulletins/marriagesinenglandandwalesprovisional/2021and2022 + +""" + +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function +from __future__ import unicode_literals + +import os +import platform +import subprocess +import sys +#import time +import traceback +import pandas as pd +import matplotlib.pyplot as plt +srcdir = os.path.abspath(os.path.dirname(__file__)) +libdir = os.path.join(srcdir, 'pylib') +sys.path.append(libdir) +try: + # pylint: disable=wrong-import-position + from harisekhon.utils import log + from harisekhon import CLI +except ImportError as _: + print(traceback.format_exc(), end='') + sys.exit(4) + +__author__ = 'Hari Sekhon' +__version__ = '0.1' + + +# pylint: disable=too-few-public-methods +class PlotUKMarriageRates(CLI): + + def __init__(self): + # Python 2.x + super(PlotUKMarriageRates, self).__init__() + # Python 3.x + # super().__init__() + self.timeout_default = 0 + + # def add_options(self): + # super(PlotUKMarriageRates, self).add_options() + # + # def process_options(self): + # super(PlotUKMarriageRates, self).process_options() + + def run(self): + if not self.args: + self.usage("Provide path to datadownload.xlsx") + + file_path = self.args[0] + + if not os.path.isfile(file_path): + self.usage(f"Invalid argument provided, not a file: {file_path}") + + log.info(f"Loading file: {file_path}") + xls = pd.ExcelFile(file_path) + + log.info("Parsing xls") + # Read the relevant sheet and skip the metadata + df = xls.parse('Figure 2', skiprows=6) + + # Set proper column headers + df.columns = df.iloc[1] + df = df[2:] # Drop the header rows + + # Rename columns for clarity + df.columns = ['Year', 'Opposite-sex Men', 'Opposite-sex Women', 'Same-sex Men', 'Same-sex Women'] + + # Convert data types + df['Year'] = df['Year'].astype(int) + for col in ['Opposite-sex Men', 'Opposite-sex Women', 'Same-sex Men', 'Same-sex Women']: + df[col] = pd.to_numeric(df[col], errors='coerce') + + log.info("Plotting") + plt.figure(figsize=(10, 6)) + plt.plot(df['Year'], df['Opposite-sex Men'], label='Opposite-sex Men') + plt.plot(df['Year'], df['Opposite-sex Women'], label='Opposite-sex Women') + plt.plot(df['Year'], df['Same-sex Men'], label='Same-sex Men') + plt.plot(df['Year'], df['Same-sex Women'], label='Same-sex Women') + + plt.title('Marriage Rates Over Time (England & Wales)') + plt.xlabel('Year') + plt.ylabel('Marriage Rate per 1,000 People') + plt.legend() + plt.grid(True) + plt.tight_layout() + #plt.show() + # + # doesn't show anything because the script finishes before the GUI event loop + # has time to process and display the window + #plt.show(block=False) + # + # pylint: disable=line-too-long + # + # doesn't work even with this hack: + # + # WARNING: NSWindow geometry should only be modified on the main thread! This will raise an exception in the future + # + #import threading + #threading.Thread(target=plt.show).start() + #sleep_secs = 20 + #log.info(f"Sleeping for {sleep_secs} secs to allow you to see the graph pop-up") + #time.sleep(sleep_secs) + + image_path = os.path.splitext(file_path)[0] + '.png' + log.info("Generating output image: {image_path}") + + #if os.path.exists(image_path): + # log.warning(f"Image page already exists, skipping recreating for safety: {image_path}") + # #plt.close() + # return + + # doesn't solve blank png + #plt.gcf().canvas.draw() + + # results in blank png + #plt.savefig(image_path) + + fig = plt.gcf() # draw before saving + fig.canvas.draw() # force rendering + plt.savefig(image_path) + + plt.show() + + if platform.system() == "Darwin": + # fire and forget + # pylint: disable=subprocess-run-check + subprocess.run(['open', image_path]) + + #plt.close() + + +if __name__ == '__main__': + PlotUKMarriageRates().main() From 1a0723e81e31574595e06f5cb7f85038aaf033a4 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 26 Apr 2025 01:39:20 +0800 Subject: [PATCH 965/982] updated requirements.txt --- requirements.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirements.txt b/requirements.txt index 80ff670d0..05d204c50 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,11 +36,17 @@ ldif3==3.2.2 #MarkupSafe==0.23 #Markdown==2.6.8 +matplotlib==3.7.5 + # Python 3.5+ #numpy==1.17.2 # XXX: install broken on new M1 Mac Python 3.9 #numpy==1.16.5 +# for plot_uk_marriage_rates.py +openpyxl==3.1.5 +pandas==2.0.3 + # requires pg_config to build from source #psycopg2==2.8.4 # XXX: install broken on new M1 Mac Python 3.9 From 53def06b018590b505dc43379c0b27e99d5e1fd2 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 26 Apr 2025 01:40:48 +0800 Subject: [PATCH 966/982] added uk_marriage_rates_2022.xslx --- tests/data/uk_marriage_rates_2022.xslx | Bin 0 -> 15337 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/data/uk_marriage_rates_2022.xslx diff --git a/tests/data/uk_marriage_rates_2022.xslx b/tests/data/uk_marriage_rates_2022.xslx new file mode 100644 index 0000000000000000000000000000000000000000..54efc33218a9d57c8f26797118393a120865a840 GIT binary patch literal 15337 zcmeHugGM3^)Wj2nYxaun~hS!31!ngMxq{K!bpw0so^TVrT1YX6tOA z>S1r@q(|>=V_mBzBhw>@+z$5?TBTu8PaP(yg2W$9UA*oxDxY3>Z~V68xWnzsXOgMV zy36?30q>Yw^Y|{n*M&_4)U0*nV znNfCN*;>ks*Vqzsm~ER^Ruk@fCs!U8Jj_w)7yG08ovGzSZWeb4J<}US99$5``p6+h z6Hf>d_7GuufUKbd&s1<}JWUOwwQMhGeS1Kz&zHs7ypyagNpX?09Ml!6fmOiQ;p^Bp zmBg~cmqbhTZyJi7hi?>CMsAuak*Gws_fV}X*J~7PTo{;<$(X;-ey)qmxF1W-#ivE^ z)H(6|fWAET1OF?-5T??uuHw%0Sr&_(1QmE?M1~7;C5!XG3b|<&LXe~rT;u7h@tpJ& z+$2E(R6ojoFU;@wUYXIh^7J+wG#vV&)2eeIT>&!Y*@ydO4vPhtX2K%xDZy?1IgsjMtc9-IcAxpRBO30d1(Am)VTx11{O zz026jjPyy`K|upZG1FLC;no(Jo4gG>`>LXLQw?v|8lis4+7PU)!6@CX_Tk`wVOs z9y7~nofbe;`M5u1IAsm!`Yy27oqaVO5aVG#3%0>2qZ1ukn*H|Rl9k`d$}P4OKbL1_ zauMvZ^RYDBuX!2f_6KEe0w{`NzqBT%q z68cV;%yQ9fBsVomoKq{E;n% zUSP$%fki%#TDrI#Pg0U@wWIYNBRcMtk?_@F!7f`Fx36Jnk&8>>MLDZmbRT)s$l50U%zGZeT0vMybI9Xkd6rBcWqEr z6K6QAzLls=QKsV3s~!VEV_d8bHsSdO(t`7Soi@I`B6ahar0@ey;kVj45IFi(i;r12 z0DnzPPH68NR5jr;&30ii}w`@+B52?HQDIrqEe)HIe38&FDa@R$8e601?t-;JO zazQqnTn7Az96g(S3~G>5xLov{)*RPxTcxmACIgps#|8PRQKR!;$EV05z_)jLMS91; z(BsJj^Jytw5$6(eZ*&fNN?353_%GUXEOudX8C=F=+gl^lh@{GihbOjQ-asVT7DPtlxjK#|;=vVK378N9#pZe^tW4qL?~~lvEOJMK z@<{j=upYek{dSU;hI&?aYV#GpHcP#1C$!=aG4c9+mh~o7I3L&tvH>m<&RV5-cZenn zen+1Sd1ekj($Z-I-}3_4vJD&Y*Q#yPPz3#P?K}4iTicEt)u%Ji_hL1w6kq)A*T6c2 zuGn~3I6HV)?9W}ev$L?h5=IG6E}R0lEaLlj2L@`i9`1SXkE?<&V<787LJkj!R1S#} zN<02_O|KQarNjZ!pD6?g2+kjC`VR*D>&pJchOLQmRy~aHA*X?l&|CL;WGl_g2S1ph z+HA3pEb#z={jOEBHn-O-*fJ`V3*@v9Fj`2#V49?-8w@Qq=EgX+tz1ET1h_6f^tI08LU1w9ehFDjN(!LvXeJ5O4D=!0^ zTbh$_KtvP78a=;Wgu}}-ZF({e8 z^?@TAj5KuQDn@3pG@qhWAYe%nS&Y#E6rI72UesTZ3wyB{*4p-P&~ZB9KLsy zBtDLS1IxVz9?;?u4LG9gRm#j2%=w799Y zEa~&~L(pKUEOC{Uw0l8+l2Vs0j8X^dU%&0}>t|00&9|J;$D(o3F~kwa3Qs;%u1^OO z5GW5I7N4uGH;u9t^EU|ULz<2ud;@J$UyspEOjKLnS?9Epf;?iCn}Xm%p`G%%R_SY3 z=>qZ+c9%4RGD3JhCFzGDjBFSaCnOP#q;2EeTlw(0Od@gCuR@RY$(el9=pE3XQWj2{ z-&@Us8q?wK>+_*zHh4{obo*xZvc zlSCRwHaxBc=Tb2lGu$Jz=51ali9%zldk2%B2AN@McIcY7CYbsA?bh^Jb16s&$?lF2 z=^@4&VihV?4P#!gKCxy@bKV7hN>J`byw)QoEdd+f!%}8Sm45)eBkt>J#~~e=;<*a60WXaq_t zRqJiF@AqI5bJT%v2{G(8`|G-skZ)856sjKWZ3!h;geYN{YvGukfsnS>$d_h+dUfiH z(*4DQxVMy1YLhb8j&j;hI_#|(Y7v#s5*qb+7V@|>&W=Y`fz;EQW%%h8!!Hy0^%AMQ zWQ$J&|CmHg$cSxddruiY!*_%fULx(oy;~fwfosX=MD_*YEcBZab^p`{DWN6#C&X`*!~ruw?WAJ2yW63F+p!vf&JHJHIq?!O?p{ zw?lmee`cvz2?c3|aG*7T0p~f9^Yd@+>Kr=uLm>(_N==5q`fqvAnX@^DbpZ?#K1zxg6k#r6mT>(wCQtpg~kFo#R3A>XUa+c=n&SA&j* z6zi!FLoC`^F>ngqb5VDf*wdqD`MVxjc+om;%d`TB)^t2wEB$9M?#&6{I>Y&3nEPAw z^qxkW3ruSXB1Q*u#LI(7qjj0lS)mu^+nG?j7v{Sc#hrb6j-GU&POCx;!_ymz?v>y? z@A>*@zB5-vU@@HxJ`%icES8sNP%s?h#qY=*$~`${r!~3nVZg_yOMdN;rL-gVhLN2@ zm_@Vly)AX?xc6`aLadV?abV_X3qHcFbp`Wg*)TP8=Aqgi`8@sy*JYLgIC`Q{>I~Tg z3^$JUauiY;*^9(^*-P$|9cJ!fgj6mb#r!#?j}5h(r~-WMc=RZgvsYNIaCDt)n&PXdp~g5 zFM#HO#rA?@K=G;B_bxA+bY4MF(zoiaT16NAAgpmzV0^OfxjFhSFQ0T?Nl@~s>aIy8 z;}RT2DcvV4H=?Z~yM1qW@DeTd>gtPaY+m$Q6i|kLe4$`LTQbU{%@db6(sRxseTvgAkK>9QqM94Ws@pMo zHnhG6GRN(biR2Z8o?BPs!>yZzWATGV93MK;CLEGOx?jghh{)zPI8I8Oz%#!bVzA$P z-^^M0fP1YU>0wI`NXnH8dbdtzWyvn{LU2Qbv)U`OH)wiUVg`h=a-)Q#S6FER%_kvc zEuGni^hCRl2=XTalK`<+)0~dB=f`1OX8`0yoIqzbjh$oh?H05`vp2gZMgAjoy9r8z z#&l(`kcKhimSrOD3BXXA8|CE12hGvivs1 z_OM1DoX252XEP|43US_)hGAU6mZN2o{JsQX*=YlHV%~J$Ld0g}Kx~bkByO&m8m(tn z_HtVhz4cQRtWo}S-<2%q6`*Lyp{rwYX;b(q+Xv`LCsNzFl{w5J(M1bth`QlUJ5^uYIRp6MSvN zaZoM~7_V_}k^w!m%-xwpBqp)FIDP(-Mei%2f$qD7ukKi^@UUrQOVP+%4z!C7gAEG3 zjjoJqKfupR4?-JSp_1SC-?TF#H{4!Z-4$4I11IIQDqaLI?nf*!q4khQPGVbgs_{cg z!*UW!@Rq2niQr4eemGkqfoU(H+NSd{J<*u%<@+NC4 zCJn`}T1})8lOEqtBXzx9==iDC{D#)N5hJPJDk*trw;x(dHXBQ&?<>b^Il0kC>M{Fj z;pY41lQA(jjf$4{83sk^4@)2c4Ci9F4qn$h&eyjOG`Rx5d7d>&2r)nqUaWHJ2S@-@ z|2r&oTiwP@htQ zrYtD@C~U`66trjz}wI4N1Z6(kcQQOsW1-onv7$Sh_1I-=MN!3=x@zZJF4 zO(vA$TB642g9(Xi>@?@}UwacdAlXftjWK|SAGn%=K~tz)jzt=OqaR?b=;gyqOnQWn zB<<(*xm96q?$apdaLJ)a9Hr3@(Dii;<-^46A!_r*VHv7Dyr|hTk^+U z%mxOGN%c3P04OaH+ni_SCRsyo%}J;8{VvNXBA7sJuR;UxV%>qu!$<9o`l(N#?^pwp zit4{{A12wx8X+j&&E~dfoT`mrtWFr{)imLk#01ahsQOif5W+XFi@{Y2QSs~cgl3w5 zdV4sZgKnVHGcR+juh{UzN>NnGu`z@`xX#k8Y4Npb_g*yGDtw?&TRhdcQY=F0k+O=c zCJ6^XJMx5?ALKolGMUuoP#?U)1k9Jl2uiN?-X-#B7*x9u)HjBWs#FNlYB!bq{!c}u zAL<#I3zGBc0uiTA$hh*y?XmVybh#0c?yq>=AUxaq>`Tf|t?J@Y$R7Wji3r((~ zaxxoZ@cj6QxoXhy^!?zBV}FL?th=}4;dbO>$MYHYW!2{LYle28^Yi@#%r&3OU4NOitfK82KaKpMeTw_A(0h#tWkCxfY*{41($F5FK>8R2_FO;c50m zw(@pZEi@CJHIYT9R*F|cE}KNUV!3gzm!yq+|8AcpyOMCx6y6d(5odKmFI@(5y~~oL zv8lWeRb{q=@BuZvh_h=-rK4IT62G)XBn&Xm$Gj<975?J{xiTU}L zq}z-rXz_e>)uyti*lL!~+mzG@*bheEu+M=0k$3b;N6K8HOlqb zL_I%HUEG<_2FdJjhhE|cb-==JA>I?{^|HsyIPOg~MPRYS@wtABQsi}7l#L(k^?id# zEEeY$D23@Av%n+DCxWN=g=x9rRekrPIY}erwq;r(McAF$7=CqYWNI5BrgK15gxMl* z{kOW&a26i!i_b}mEm$hfk^NX+4g5};6Gki}yG@fCB!)@&N77|9gJWu!8HS){@g-Js zRE{5EXw0t95^bv9+BpQcV^D^ptQFkih^|QMaRM?_Ju{;b<<{B20EF8S(^T`2dyMfd z9a4u;Fj{XvdSaY->)F%z+SLpg8m#giw?kliTVfMkHC&A%D_I5b8il~X!eg!kguQ;! z70oQwwmwNr|CY{<1dcAQ-iDU29o07;{)OVfZJ59f)CmeQM(6B4kvpBzY**C3=G8SJ zt(E7ytmRJo_%f$C4>c$K*_-G467y+&{z|hktJDka{>!UNAFP#CMUlIcA zBwn5kjmCRqe(kL^K^nqz2V`fSL3idZQj3rkETt@YLjMhw3j3#$zBT+ZvIV^EHo~Zw zHgN7;4wM2-O$Hk1=ZkvX~@8(-SOmQVflX6EWy5^;rW_7cL zSA3mRpdrLkSV-&2J*4MNDFMG~Q&{03oE>(8vex^-j5Cjz{SkuLiyFyq%M-}9lSMro;*g%$>0VTS$2#zmZy@2rAC zU@-Hmwu>O`p>*cW-SBejtU0usKd+~~ALl3KJw;)=kEE1$Q@DeP?1mA`30hGwYpq-q zbkDw2*3c``-{=x?j5?521C?`8>Pv%NvD8N%t8@=ssFBtUYss`m49Xkgobt-Hi7A8cHkC_0CXIH+pm+ehqam0&$K{++L|3OE#RA7``ope zi33wb23Ar;rCeB^HY2}S3jU^ghj1_@%z5#-oh3G?c)Gccp^N{X-_LDrg}mtmLc*&A zx5)J1Mk6b*m{xUYo86_I4{)+96h-`nOjjz68+ws*eqjJf$^x)747YF1}?CN2I;wS2%<=Y=sXOv2dvD)hdN_b_>WwRJj_N@zXo zkt|Mo)p%qd0FUa_a_o4;uD+76Gq=@!l=KSEgsedrB_$$gT0GC0b^jK z8k2ngz)mL6t#6Ow^=T~(-B|AW>+r5=xV0F)Y#{8cG`M4y>^sgThAym7L>$#7HS+Bt z@JWZ{^+_%nYH|jqGGdvux3v^_AYfi?in!Upmy4kah2nCgq1ej3Mu{YZGC2)~ zE`FNsg7{obO~FQ{iKH8iL$)os%rO|S*lO+~pIQ_s+@f%#33ZAid5 zMJ^zzo1VDefomNBH$p%Rw~C^QMRM-BC$EBg!@xa8>cb&QI*{;)SZcb6XuB` zvt`EH&>3*^h0MMq+`eyTQzPD zn|G=306^$SNDtABNtH=h%v+rUS$6P8{nt5sfOZ(;(>LdQ9N8Z2xc#OlV_RC=J8^_% zTlOxPfXN`QAN@*uMr(v2CFF#32xy5c9y15U6Em-nfR51}6)q5f?#^xtwf zJOP)92QUHov%>asF}yQ!G&5CkcC@g4`)f@^s>)d{2_m;)-VuiI@g#4HOkqjoChjCd z;DjnlBbj(u(;bC2*Ek;et!Z&t;8IQC1=U{M?zCwoX+T>UD)`sAB~kA*fjLI4y=y3) z={dMNN&t)AV}IA0FO45QtM+&%GK44Oh_6u+Rjp%=%|WNN-E=w_{`N4ik8+@Dq!BI% z*ET$lZGmKboF!tB>YewgaUne%WZQIy=ba-nI%WyI);wUsbO@h)O1FeDnD6tQ_UWBq zm8NiNU-MVxJ!Jh#ZB&T}cqt^0zi&Mp_IChI3 zh55M_OX>4$X71nhcC{q9O}O7P!bDyOrubbKJx@3utO=uW-f0G!9Z=Q*Ih6bh;q zECRxNJEmbXQSfV}cFu#4fzgvEz4G}(-Yz!%X0(W{s?#7N>lP`;ugrB& zOxK5QMs%@j@Fx*>uY|c^co7v2l18;%aO1m0sHKmw*XWO4HF##70D%2CfIa=5_cN|J zVjS&EGg$Dp3Ff=1?_P^^9YWQd2g~TM=y+p|rs><$z~$wo!v|tDU&B=gE0H~7_4xKK zR7b!19LvA6AQkSxICL9)D>UCSU}cS^hMqY=o>r>ymK6zxOEYn$IOCV4&{ zB*hhL$e$<4H7Is`{@z&V(CsSA$_Ejm$mZ+F#nr2S8-YNIyfy=%=6k?K@y7_*1DA@k znWKuCv-8h2!|>uW6TPv8Ev&hu*`SG}k)k1`(I9mEiQtz=;`g~>#AuZI-GVTTUl^-a zjn<8jvqlCx2RnxtBbI_lAqR~OCyY$Nrisw-uw`M=M4Q24>4-q`jI2#ny!CX!u^@;X zfgSkEEd5y_$Azwan**F7L14KM1$c+4or$8OoxKx-iJha_&uuO;Ue0dmXEg!*ju1Zc zaBz4Yiqyg1b?-AM6l-6|3TwDr-Ece+lgs0P;IA%0c5WV`nbafR)wReGC{Y<~+I zT0(%?dg6Tl@!XMxSGJ##mhgUU?P^zAUF+2Fm zKt#ht>r&7T()@&kb~l*%h5Z{;+Wy1|mrf}$XUSRucCg&EY?{^@)Fs1B%xI5^fTgW& z0}W)EwuM@r5ZvsC?5rQs_XZt88|wrJu*EQ_K4k>(%8NCirIj^N#8q_@BGDgguPZ0m z`42=h;35QZ;y=70dfZb4bPHM1pxN$4d=6>1c~<*wXQaW=oxX2tR_yhq_Mm}B7L+^R zC#lCZChoMRrE3R{Tz-jydoKob!PN$K* z{jXX^tenEH+K}W!DCIR9wj^5Gl``{~?B zK#bjbl)azdUE@Z&1&&{-s6H%oQiLI^8VN@H@q~#dv?9XvC6s;wZh7}r^RzUmV@2!E1)(1W~4uDeNw1?@c`(`eW3g!n_}YPa*<#%_rn`H4U0S!jZPDgFUWMTqj3x8bjvlygWyedX8F#T8ezE zV=Zo`g;q=bixJiwm>lh4^gzp&lN-|g)rt`zR!pLU0PK7bOTAoR2q%f}O%*%ZMil+1 zn}%Jr<_0A?EBf^~Q(F&Dvji0HLp{5kNz8e6;Ya>_KE3oM7z!_B6}zPN$40&Mt1j2| zN*lY3!^6Iv^Yi}dPh-|C%eEB_W7f8zFEUj`EN@Uk@yu?`AWX5d=0+cLWgTyf3|XJh4h6aY=zcTiEss%eg0tQbTUn)< z&O^MJWaa>P&A)n|BF1~(izVSjbIwbsVr9I9IhO@18Y`$igp!)ahm%KXZpeqm50JhU zhuLWf&slEuyqI1Br=YP(B1ZPg5$+EffawVt=V;cH;ffGLInt{NDv8Nb0Pik5eDkgT zjJ(Yr&#kEna~h7huI<+OqzUb9ePbhQRIGw?e~@>H-{csCms3wxR#v~lv_mgJ!71Kh z%#s54F>@%s`?K5D#}kbuXxB=)1AXJA!m+SsCp%WBW5By`WNbNIW(gJM3q0s^X0()w z(a)hab{p%H@!aoNNeKvYZy};6wdi*vQaRFdwFv0_2qk2(j8Ka854E%!)6d(I#{m|C z00%XwvQg#18c3o~Tki?T;J2y7{m9;9-|m(~A8oJXA@flJZp~x%goR>1kIpb2l*^?u zyYci=-mYM_7;p)K6l4&kNvay;eq$}H5Qfv5)D4}f^*)Vspc+97m3vCFc+DzTd3*|F$o=zpYa;Yx zFuG-yaH(%7J=>m0@0HF$E*Z%CySSWAXnPV!+Xp!!kt;}&%nHa+6Qft0D#*$R_)I6E zTE2T?OsG8J@oistWA#j#Jj4N zvWgMSjF1{`rBa79p%{epiBTcBw63WOs|=ZNqu2s+!4{AJt3FRUi+Ze@TgLWi?FkA$ zTODB@H?mQVy}?g3|HC=1M~rK@#@$0516K`Upr+|TUWVW49WI!5#eSq?7;kc>GnI>g zM8FOe)a`Y62$Jzz-aI1z8-*Pwz2GDRX`BzRN?N<_DEn$io@{LW&zI{R`bgS1wGW(J zjAL0Pu;tvY{KV)Xo2@CThhnA6R(Q<8VK`&lnaU1H0o1PETrsIQ1O@f^wrljap;>Das{^w*}>IdYuTqXn5 ztHC>;Sv!*;XE<)tQQ$=>#B0jrHRE)gx8=;=M0thUct$>;8x>HEss@nRu7gXB6fdf9 zTWhat+CIL=@22FeJ4!WEpbZ$Xe+TDS@bUFRh=GYmVX38v%lFtN$^;Zo=f-W2<&vGTAr997ILl`33T+c_N|SB<_@ua$ z3g-I-E8f|tpw2An;>f=;%;d}J8_t&)6Yj~dp)8yyFKsxP z`kUa;!qpBNYAvK9)p__zU%l?UlPst)ZxFDq5Am#`#y;HWMm_?zV_-W0w$qE?Q}ROQ zMoFptr|YawmZ}WsmBwneor=Zru&QcY&l#WV4rheHRrNPwU$Y}d*f}gMO~O&}IML5= zUv<2yd;;ck{^=UnLL80t6&X(a}laKq#6)qaXc^29pU+1B<@XlMUOGc$I zZ=pq%RhnNx5is#v6$W_aG#Cvj6hJ^{wMBg%bL;D2q~aBNv-9h> znLe=z(Fw}CTMhJ&9In&n`~owCcDGZlO0#6Vjcs;%B6z0KyhtaO4%d6pCI-#Qg^G2e zi{9vEdf3ax>f9g*aAvC6D#dxIqtHV{OhtnB^Yz!UL-xWVH)_k6PSZcY%MTCc13z-x zEfDCBfBLB4^-&XnYr;*f`*{vcg6iGK4qqpWx=D#bw>lut_K4!uysY(G(+rCi!=sJU zhAkeTI{#Fdz{aY+7I@`k>Y{1FBud^q^^uwgs}J|9#vERK-X6dLreknfvfp2*^D~9lA$%wZ}eJ zR2PxEkxGe1v>vWd?MbEF<#kDNJ|$*b(ejIRwr2S@CM_mQ3v&11N;9gq@%|EH6dcH&Gr0C}j=^@ZSHwe}cxlK7cX7L#?;0^CT{3j=3Yp?YnDX zw1zjX*Eut@^jWB+QQlo)DA3RzF}=EdDp(QdE;~tCP+^@=WuuIY_9T=57uY?W#XygU zYRja`^QT}wY60Z&ZCDr5o^7L*=83X1h8JYc9le21rjf=PG0nj%OJt7W)^e*OJ#f*p zbAGZByf!Kku_Ge9gPOTbl|FxFM+kJg5j(+P9416rT+yV|?e_kf*f_`@LkZPt=-!Z4 zvJBU3bvfX-^0x*4rxoZXQ;_uhFIMo&;Q!AG{$lt*E3gCx$588Dxu=HC1{qh3(&5uG z*xT&laBVmeQnDr^n$i|)zD1ufpm?N(*BIDBy;5coSiC+!v8y4#=I5^tOm^P>xU2^6 zGd8h%`{CWXKYXZbo29RPy>hbqdAOPq32ut$l)jZK8q~;Z@<=mgMMQP!REf;8mPM4y z`U(LTU$z_{7PWcYLA?%87tezDhYq=(b$o&$I?((Fl-!kW;SJQCQ`ztc>x(esPPmY_ zRys*uLJd*A_mzJ?KJaJ2+ZJR@8Vgi#3E2M0^DIAk-a48G5y*Iul>t);bbAwJ1g>PQE_kyN_|oT@U1)D{cncRwK8{B0P==Z-%Xxt~ zBv8=ML4MS7pP6Iwmu0{2C8p+e{a$BL*QKd9g>@9DYQV(T!ZSO=rCT#f935H0bgW0Jdtrz zqI4i{M=xdlo9oFZmcn|KkjruVvKKQvZ)-$ z_T|G5#3DVkT$u};WbTQmbGwnW}p1 z&6OFx-`pP8&8k6OM+(0l&Z==33EMA#=;t+b^dwVXq&2-5tJc$X>=>6w=ru)4?L+Jji0Ak?M1c5kEY9mqj)3l2HW8c zs8x{n0m*=hu&ocmk_`b7dFaj~SacpJ7@>*FZp!EB)Cxn7skfMavz0$N&+7s#|9|7W zU&iu(oCh4gKYxC6p3yJPbNN*uezzU~^cgLt{njlD>CaG^OH0VutHQS1=8iBTlW~Vr z4or(s%V)m0XO`dB6I|BY7`QaC88))aa$-|%&G>WcIm-E3PxC^D+HH@aBs`$yuA~NU zYUr-PnN@tDBj^)Ej+~#9Q8|U=`*C;Du>nkh{y`a_V6eYRQZPWR{`t_?pQ`@x{x6S! zDa!mE;N_D>zX84i*XCcIJ9;Vj^0}Meg4e*P@5as1Lw3pp@Sv&s?AOH-ofB?TM z=`TfJRvLec%HsYZ`m*l$viC1*Prnho@n4R?zgD7N0=_Ke{08(T_yzc)kn^vFotJvP ztiAjOB_aHmO3X{~m%0Am;%7vE5&uu-|E2WHWcY7sM3R>g;jhs5CBVy&`8NO+^-F-? z0rX3hm!ary6ik|zD8D?`mjEwAyWapXv@ZdEb>qKL{%Y=j51W2tfPkF;4dvg0sGmLh zE7sqg@4sT*(EqhZzp;M1;xDy(>B0R*duIGA*3Yo+*XH&T;H3xk8=#ZvCBU!Y`B#*e zzR7QtGUmUS+8@E@Pfz9LnEZWn{w)pya>Vl2Zu}mT-&?h!3?z^MK|nBozw5wbvKMSW GKm8Y$>}z%a literal 0 HcmV?d00001 From add60aa8705f2481287cf0fe9b77c0aa7b4e78fd Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sat, 26 Apr 2025 01:42:05 +0800 Subject: [PATCH 967/982] updated plot_uk_marriage_rates.py --- plot_uk_marriage_rates.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plot_uk_marriage_rates.py b/plot_uk_marriage_rates.py index 6b1297417..a38332443 100755 --- a/plot_uk_marriage_rates.py +++ b/plot_uk_marriage_rates.py @@ -68,10 +68,10 @@ def __init__(self): # super(PlotUKMarriageRates, self).process_options() def run(self): - if not self.args: - self.usage("Provide path to datadownload.xlsx") - - file_path = self.args[0] + file_path = f"{srcdir}/tests/data/uk_marriage_rates_2022.xslx" + if self.args: + file_path = self.args[0] + #self.usage("Provide path to datadownload.xlsx") if not os.path.isfile(file_path): self.usage(f"Invalid argument provided, not a file: {file_path}") From 76d07c239817b67971c1e96aa9246abaf6e7b133 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 6 Nov 2025 23:18:46 +0200 Subject: [PATCH 968/982] updated README.md --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 22741ad41..40045f8f9 100644 --- a/README.md +++ b/README.md @@ -637,24 +637,35 @@ Does nothing: [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=GitHub-Actions&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/GitHub-Actions) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Jenkins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Jenkins) -### DBA - SQL +### Databases - DBA - SQL [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=SQL-scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/SQL-scripts) ### DevOps Reloaded -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer-templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer-templates) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Ansible&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Ansible) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Environments&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Environments) + +### Monitoring + +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Prometheus&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Prometheus) ### Templates [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo) -### Misc +### Desktop + +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=TamperMonkey&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/TamperMonkey) +[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Hammerspoon&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Hammerspoon) + +### Spotify [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools) [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists) @@ -664,7 +675,4 @@ The rest of my original source repos are Pre-built Docker images are available on my [DockerHub](https://hub.docker.com/u/harisekhon/). - -![](https://hit.yhype.me/github/profile?user_id=2211051) - From 58f3505733d4fedd2abd8baa6bc69a64cde89580 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 04:09:59 -0500 Subject: [PATCH 969/982] updated README.md --- README.md | 55 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 40045f8f9..e8cfc70d7 100644 --- a/README.md +++ b/README.md @@ -601,8 +601,8 @@ Hortonworks guy Jonas Straub: ### Knowledge -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Knowledge-Base&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Knowledge-Base) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Diagrams-as-Code&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Diagrams-as-Code) +[![Knowledge-Base](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Knowledge-Base&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Knowledge-Base) +[![Diagrams-as-Code](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Diagrams-as-Code&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Diagrams-as-Code) ### Containerization -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Kubernetes-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Kubernetes-configs) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Dockerfiles&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Dockerfiles) +[![Kubernetes-configs](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Kubernetes-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Kubernetes-configs) +[![Dockerfiles](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Dockerfiles&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Dockerfiles) ### CI/CD -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=GitHub-Actions&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/GitHub-Actions) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Jenkins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Jenkins) +[![GitHub-Actions](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=GitHub-Actions&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/GitHub-Actions) +[![Jenkins](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Jenkins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Jenkins) ### Databases - DBA - SQL -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=SQL-scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/SQL-scripts) +[![SQL-scripts](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=SQL-scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/SQL-scripts) ### DevOps Reloaded -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Ansible&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Ansible) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Environments&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Environments) +[![HAProxy-configs](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs) +[![Terraform](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform) +[![Packer](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Packer&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer) +[![Ansible](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Ansible&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Ansible) +[![Environments](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Environments&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Environments) ### Monitoring -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Prometheus&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Prometheus) +[![Nagios-Plugins](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins) +[![Nagios-Plugin-Kafka](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka) +[![Prometheus](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Prometheus&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Prometheus) ### Templates -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo) +[![Templates](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates) +[![Template-repo](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo) ### Desktop -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=TamperMonkey&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/TamperMonkey) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Hammerspoon&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Hammerspoon) +[![TamperMonkey](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=TamperMonkey&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/TamperMonkey) +[![Hammerspoon](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Hammerspoon&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Hammerspoon) ### Spotify -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools) -[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists) +[![Spotify-tools](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools) +[![Spotify-playlists](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists) The rest of my original source repos are [here](https://github.com/HariSekhon?tab=repositories&q=&type=source&language=&sort=stargazers). -Pre-built Docker images are available on my [DockerHub](https://hub.docker.com/u/harisekhon/). +Pre-built Docker images are available on my [DockerHub](https://hub.docker.com/u/harisekhon/) +and can be re-generated using the my [Dockerfiles](https://github.com/HariSekhon/Dockerfiles) repo. From ba4689ad10b7936ce3b07791671bb0c2890e2b14 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 05:05:23 -0500 Subject: [PATCH 970/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index eb10979e3..d65ec80e0 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit eb10979e3572ef37b35bda3653b25d7a45e25169 +Subproject commit d65ec80e001bbf9d15f267079c101ae01578a183 From 572228d476a5cbbd8dd6dcf34217b4d5c3e82738 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 05:05:23 -0500 Subject: [PATCH 971/982] updated sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index 575080b54..fa8985e60 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit 575080b548fec8b2420520e161973a861cbbce30 +Subproject commit fa8985e60aaf5bb26f812cdeeb20b676684e3964 From 8c8d338d2cc4b7ef9282ebe9655a38eb31a4963e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 05:05:23 -0500 Subject: [PATCH 972/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 2d12574ce..344a446fc 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 2d12574ceafbcb13f559dfa46693024616b8e619 +Subproject commit 344a446fc8588cefe7b812c1fc449a484a27c57b From 351e28284fb9a24d1d187c213c5f090ed99dfce7 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 05:12:41 -0500 Subject: [PATCH 973/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index a97248860..22c6dfefe 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit a97248860172c6bb3534d08ad38c4cfdfd09c306 +Subproject commit 22c6dfefe61703689e7b09185debd3010d93d9db From 824267aa84016f4cca4b4d6e3b971ef6a91d5a62 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 05:12:41 -0500 Subject: [PATCH 974/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index d65ec80e0..9efc29299 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit d65ec80e001bbf9d15f267079c101ae01578a183 +Subproject commit 9efc29299c878e8b781d7714eebcd5c06cef7b7d From 58521d67c5239a3516f9fdb08a35734f46e6ddac Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 18:17:47 -0500 Subject: [PATCH 975/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 22c6dfefe..8652100df 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 22c6dfefe61703689e7b09185debd3010d93d9db +Subproject commit 8652100dfb9e07f864dff7b9eb3fb144c3640449 From 40f0b93ba154d7da4c0b2c5f565fe89df6bb9f39 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 18:17:47 -0500 Subject: [PATCH 976/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 9efc29299..61ee5978a 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 9efc29299c878e8b781d7714eebcd5c06cef7b7d +Subproject commit 61ee5978a396f733033af23860014e91969f07e0 From f3cb837c9c2dc10589deaf92c912bccfde093c45 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 9 Jan 2026 18:17:47 -0500 Subject: [PATCH 977/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 344a446fc..620b30292 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 344a446fc8588cefe7b812c1fc449a484a27c57b +Subproject commit 620b30292fa572083c77159a1d67f4656b759e1b From 555239dc9cf306ddca0f20cfba69f84de122f431 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Feb 2026 04:56:20 -0300 Subject: [PATCH 978/982] updated README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e8cfc70d7..5e1fe9bca 100644 --- a/README.md +++ b/README.md @@ -664,6 +664,7 @@ Does nothing: [![TamperMonkey](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=TamperMonkey&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/TamperMonkey) [![Hammerspoon](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=Hammerspoon&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Hammerspoon) +[![MPV-Scripts](https://github-readme-stats-fast.vercel.app/api/pin/?username=HariSekhon&repo=MPV-Scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/MPV-Scripts) ### Spotify From a70079597d44a1b0df2cb585dcc3ff96131b73f3 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Feb 2026 05:04:38 -0300 Subject: [PATCH 979/982] updated bash-tools --- bash-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-tools b/bash-tools index 8652100df..11dee29ce 160000 --- a/bash-tools +++ b/bash-tools @@ -1 +1 @@ -Subproject commit 8652100dfb9e07f864dff7b9eb3fb144c3640449 +Subproject commit 11dee29cea607445270d8bd675d1bcdecb069c14 From 511b9e6f20cbc66a10f6d4ed88a45311552f5916 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Feb 2026 05:04:38 -0300 Subject: [PATCH 980/982] updated pylib --- pylib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib b/pylib index 61ee5978a..0d272f4cf 160000 --- a/pylib +++ b/pylib @@ -1 +1 @@ -Subproject commit 61ee5978a396f733033af23860014e91969f07e0 +Subproject commit 0d272f4cf2c27a8ee614eea18c0bd171e47a06cd From 874083a6f3e5ce387d1496b7509c59b30f05aebb Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Feb 2026 05:04:39 -0300 Subject: [PATCH 981/982] updated sql --- sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql b/sql index fa8985e60..30d80bbd3 160000 --- a/sql +++ b/sql @@ -1 +1 @@ -Subproject commit fa8985e60aaf5bb26f812cdeeb20b676684e3964 +Subproject commit 30d80bbd33f0e6c26c230f26575cb671c41c3e7d From 32ffee202073282e7b7006102e692c453e98b01c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 3 Feb 2026 05:04:39 -0300 Subject: [PATCH 982/982] updated templates --- templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates b/templates index 620b30292..f59532dd6 160000 --- a/templates +++ b/templates @@ -1 +1 @@ -Subproject commit 620b30292fa572083c77159a1d67f4656b759e1b +Subproject commit f59532dd67a583be3522814a15024a561b12c5ec