diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index fdfa2297..104f5c7b 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -10,7 +10,7 @@ permissions: jobs: assign-author: name: Auto-assign pull request author - if: github.repository_owner == 'consul' + if: github.repository_owner == 'consuldemocracy' runs-on: ubuntu-latest steps: - uses: toshimaru/auto-author-assign@v1.4.0 diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 71f22307..d1753770 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -26,5 +26,5 @@ jobs: run: echo "localhost ansible_connection=local ansible_user=root" > hosts - name: Generate dummy SSH key run: mkdir ~/.ssh && ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa - - name: Run CONSUL installer + - name: Run CONSUL DEMOCRACY installer run: ansible-playbook consul.yml -i hosts --extra-vars "env=${{ matrix.rails_env }} domain=localhost errbit=False" diff --git a/.github/workflows/kanban.yml b/.github/workflows/kanban.yml index eb5fbce3..29dd1700 100644 --- a/.github/workflows/kanban.yml +++ b/.github/workflows/kanban.yml @@ -8,19 +8,19 @@ env: jobs: assign_one_project: name: Add new pull requests to the kanban - if: github.repository_owner == 'consul' + if: github.repository_owner == 'consuldemocracy' runs-on: ubuntu-latest steps: - name: Assign new pull requests to the reviewing column uses: srggrs/assign-one-project-github-action@1.3.1 if: github.event.pull_request.draft == false with: - project: "https://github.com/orgs/consul/projects/1" + project: "https://github.com/orgs/consuldemocracy/projects/1" column_name: "Reviewing" - name: Assign new draft pull requests to the doing column uses: srggrs/assign-one-project-github-action@1.3.1 if: github.event.pull_request.draft == true with: - project: "https://github.com/orgs/consul/projects/1" + project: "https://github.com/orgs/consuldemocracy/projects/1" column_name: "Doing" diff --git a/README.md b/README.md index 21983209..65a39025 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# CONSUL DEMOCRACY Installer ![Build status](https://github.com/consul/installer/workflows/tests/badge.svg) +# CONSUL DEMOCRACY Installer ![Build status](https://github.com/consuldemocracy/installer/workflows/tests/badge.svg) -[CONSUL DEMOCRACY](https://github.com/consul/consul) installer for production environments +[CONSUL DEMOCRACY](https://github.com/consuldemocracy/consuldemocracy) installer for production environments Using [Ansible](http://docs.ansible.com/), it will install and configure the following: @@ -53,7 +53,7 @@ The following commands must be executed in your local machine Get the Ansible Playbook ``` -git clone https://github.com/consul/installer +git clone https://github.com/consuldemocracy/installer cd installer ``` @@ -98,7 +98,7 @@ To restart the server and deploy new code to the server we have to configure Cap Create your [fork](https://help.github.com/articles/fork-a-repo/) -Setup locally for your [development environment](https://docs.consulproject.org/docs/english-documentation/introduction/local_installation) +Setup locally for your [development environment](https://docs.consuldemocracy.org/docs/english-documentation/introduction/local_installation) Checkout the latest stable version: @@ -125,7 +125,7 @@ production: Update your `repo_url` in `deploy.rb` ``` -set :repo_url, 'https://github.com/your_github_username/consul.git' +set :repo_url, 'https://github.com/your_github_username/consuldemocracy.git' ``` Make a change in a view and push it your fork in Github @@ -169,7 +169,7 @@ You want to change this block of code for your production environment and use yo :enable_starttls_auto: true ``` -And restart the server running this command from your local CONSUL DEMOCRACY installation (see [Deploys with Capistrano](https://github.com/consul/installer#deploys-with-capistrano) for details). +And restart the server running this command from your local CONSUL DEMOCRACY installation (see [Deploys with Capistrano](https://github.com/consuldemocracy/installer#deploys-with-capistrano) for details). ``` cap production deploy:restart @@ -206,13 +206,13 @@ Using https instead of http is an important security configuration. Before you b Once you have that setup we need to configure the Installer to use your domain in the application. -First, uncomment the `domain` variable in the [configuration file](https://github.com/consul/installer/blob/1.5.0/group_vars/all) and update it with your domain name: +First, uncomment the `domain` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all) and update it with your domain name: ``` #domain: "your_domain.com" ``` -Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consul/installer/blob/1.5.0/group_vars/all) and update it with a valid email address: +Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all) and update it with a valid email address: ``` #letsencrypt_email: "your_email@example.com" @@ -259,7 +259,7 @@ If you are on Ubuntu and would like to use its default `sudo` group instead of ` deploy_group: sudo ``` -There are many more variables available check them out [here]((https://github.com/consul/installer/blob/1.5.0/group_vars/all)) +There are many more variables available check them out [here]((https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all)) ## Other deployment options @@ -289,7 +289,7 @@ If you do not have `root` access, you will need your system administrator to gra ## Using a different user than deploy -Change the variable [deploy_user](https://github.com/consul/installer/blob/1.5.0/group_vars/all#L13) to the username you would like to use. +Change the variable [deploy_user](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all#L13) to the username you would like to use. ## Ansible Documentation diff --git a/roles/folder_structure/tasks/main.yml b/roles/folder_structure/tasks/main.yml index 3dab24ca..3d89d6a1 100644 --- a/roles/folder_structure/tasks/main.yml +++ b/roles/folder_structure/tasks/main.yml @@ -14,7 +14,7 @@ first_release_dir: "{{ consul_dir }}/releases/{{ current_timestamp.stdout }}" block: - name: Git clone CONSUL DEMOCRACY - shell: "git clone --mirror https://github.com/consul/consul.git {{ consul_dir }}/repo" + shell: "git clone --mirror https://github.com/consuldemocracy/consuldemocracy.git {{ consul_dir }}/repo" - name: Create first release folder file: