From a78bf0b899691e0614f04505f460f865165737c1 Mon Sep 17 00:00:00 2001 From: ronardcaktus Date: Tue, 1 Oct 2024 12:11:44 -0400 Subject: [PATCH] Remove github deploy runner --- .github/workflows/deploy.yml | 1 - README.md | 35 +---------------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aa3ea200..efc7203c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,6 @@ on: branches: - main - develop - - CU-8689pdzrr-k8s-self-hosted-runner jobs: build-push: diff --git a/README.md b/README.md index 044056b5..79538bd7 100644 --- a/README.md +++ b/README.md @@ -293,37 +293,4 @@ To reset your local database from a deployed environment: As mentioned in the Database setup instructions, you may need to visit [/cms/sites](http://localhost:8000/cms/sites/) and change the first entry's -`Hostname` field to `localhost` to enable page previews in the Wagtail admin. - -### GitHub Actions Runner - -There are [GitHub Actions self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners) deployed on a virtual machine within the same VPC. Other runners may be added in the future, if needed. - -Setup instructions: - -* Obtain a [GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) with the `admin:org` scope that's valid for one week (it needs to be active only for the initial deployment). Add this to a local environment variable `RUNNER_CFG_PAT`: - -```sh -export RUNNER_CFG_PAT="gh......" -``` - -* Run the playbook to deploy the runner: - -```sh -cd deploy/ -# first time: connect as ubuntu user -ansible-playbook -u ubuntu deploy-runner.yml -# second time and beyond -ansible-playbook deploy-runner.yml -``` - -* The runner can be forcibly reinstalled by passing `-e force_reinstall=yes` or removed by passing `-e force_removal=yes`. - -Run OS updates: - -```sh -cd deploy/ -ansible-playbook run-os-updates.yml -# You may need to specify your username -ansible-playbook -u myusername run-os-updates.yaml -``` \ No newline at end of file +`Hostname` field to `localhost` to enable page previews in the Wagtail admin. \ No newline at end of file