From e8697266fe359f5523f1576ccc48baa4e1613059 Mon Sep 17 00:00:00 2001 From: arnol377 Date: Mon, 26 Aug 2024 13:01:40 -0400 Subject: [PATCH 1/2] updating configurations --- main.tf | 2 ++ supervisor/automation-repos.conf | 4 ++-- supervisor/aws-image-pipeline.conf | 4 ++-- supervisor/docker-image-pipeline.conf | 4 ++-- supervisor/ghe-runners.conf | 4 ++-- supervisor/image-pipeline-ansible-playbooks.conf | 4 ++-- supervisor/image-pipeline-goss-testing.conf | 4 ++-- supervisor/linux-image-pipeline.conf | 4 ++-- supervisor/windows-image-pipeline.conf | 4 ++-- 9 files changed, 18 insertions(+), 16 deletions(-) diff --git a/main.tf b/main.tf index f2ff814..022cc70 100644 --- a/main.tf +++ b/main.tf @@ -31,6 +31,7 @@ module "runner" { runner_basedir = "/apps/terraform/workspaces/arnol377/git/ghe-runner" runner_tarball = "/apps/terraform/workspaces/arnol377/actions-runner-linux-x64-2.304.0.tar.gz" repos = local.pipeline_repos + autorestart = false runner_labels = [ "image-pipeline" ] @@ -43,6 +44,7 @@ module "tf_workspace_runners" { runner_basedir = "/apps/terraform/workspaces/arnol377/git/ghe-runner" runner_tarball = "/apps/terraform/workspaces/arnol377/actions-runner-linux-x64-2.304.0.tar.gz" repos = local.workspace_repos + autorestart = false runner_labels = [ "terraform-workspaces" ] diff --git a/supervisor/automation-repos.conf b/supervisor/automation-repos.conf index 102b6bd..25d3fff 100755 --- a/supervisor/automation-repos.conf +++ b/supervisor/automation-repos.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/automation-repos/run. autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/automation-repos/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/automation-repos/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/aws-image-pipeline.conf b/supervisor/aws-image-pipeline.conf index a310180..899a710 100755 --- a/supervisor/aws-image-pipeline.conf +++ b/supervisor/aws-image-pipeline.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/aws-image-pipeline/ru autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/aws-image-pipeline/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/aws-image-pipeline/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/docker-image-pipeline.conf b/supervisor/docker-image-pipeline.conf index 2e0a6de..df173bb 100755 --- a/supervisor/docker-image-pipeline.conf +++ b/supervisor/docker-image-pipeline.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/docker-image-pipeline autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/docker-image-pipeline/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/docker-image-pipeline/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/ghe-runners.conf b/supervisor/ghe-runners.conf index b730198..1de6323 100755 --- a/supervisor/ghe-runners.conf +++ b/supervisor/ghe-runners.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/ghe-runners/run.sh autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/ghe-runners/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/ghe-runners/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/image-pipeline-ansible-playbooks.conf b/supervisor/image-pipeline-ansible-playbooks.conf index 141cc0b..0aba901 100755 --- a/supervisor/image-pipeline-ansible-playbooks.conf +++ b/supervisor/image-pipeline-ansible-playbooks.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-ansibl autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-ansible-playbooks/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-ansible-playbooks/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/image-pipeline-goss-testing.conf b/supervisor/image-pipeline-goss-testing.conf index 85177dd..dd9d1e1 100755 --- a/supervisor/image-pipeline-goss-testing.conf +++ b/supervisor/image-pipeline-goss-testing.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-goss-t autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-goss-testing/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/image-pipeline-goss-testing/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/linux-image-pipeline.conf b/supervisor/linux-image-pipeline.conf index 3e7c6c8..2c96555 100755 --- a/supervisor/linux-image-pipeline.conf +++ b/supervisor/linux-image-pipeline.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/linux-image-pipeline/ autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/linux-image-pipeline/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/linux-image-pipeline/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) diff --git a/supervisor/windows-image-pipeline.conf b/supervisor/windows-image-pipeline.conf index e627bdd..ecdb0e2 100755 --- a/supervisor/windows-image-pipeline.conf +++ b/supervisor/windows-image-pipeline.conf @@ -5,7 +5,7 @@ command=/apps/terraform/workspaces/arnol377/git/ghe-runner/windows-image-pipelin autostart=true ; start at supervisord start (default: true) ;startsecs=1 ; # of secs prog must stay up to be running (def. 1) startretries=3 ; max # of serial start failures when starting (default 3) -autorestart=true +autorestart=false stdout_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/windows-image-pipeline/runner.log ; stdout log path, NONE for none; default AUTO stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) @@ -13,4 +13,4 @@ stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) stderr_logfile=/apps/terraform/workspaces/arnol377/git/ghe-runner/windows-image-pipeline/runner_error.log ; stderr log path, NONE for none; default AUTO stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) -stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) \ No newline at end of file +stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) From 94cd111f62f767be8a106afa77fd20e31db2c33d Mon Sep 17 00:00:00 2001 From: arnol377 Date: Wed, 18 Sep 2024 14:02:52 -0400 Subject: [PATCH 2/2] updating stuff --- external_actions.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/external_actions.tf b/external_actions.tf index ae62523..7210bca 100644 --- a/external_actions.tf +++ b/external_actions.tf @@ -24,3 +24,13 @@ module "setup_python" { repo_name = "gh-actions-setup-python" repo_org = "CSVD" } + +module "netbackup_automation_platform" { + source = "HappyPathway/gh-actions/importer" + version = "0.0.15" + git_repo_url = "https://github.com/VeritasOS/netbackup-automation-platform" + git_repo_path = "/home/a/arnol377/git/gh-netbackup-automation-platform" + repo_name = "netbackup-automation-platform" + repo_org = "CSVD" +} +