From 6c159feff4ded9aae70b54ce3958371f672a38b6 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Sun, 18 Feb 2018 21:28:18 -0800 Subject: [PATCH] Rename to runatlantis from atlantisnorth. --- .circleci/config.yml | 10 +-- CHANGELOG.md | 68 +++++++++---------- CONTRIBUTING.md | 14 ++-- Makefile | 2 +- README.md | 14 ++-- bootstrap/bootstrap.go | 6 +- cmd/bootstrap.go | 2 +- cmd/server.go | 2 +- cmd/server_test.go | 6 +- e2e/main.go | 2 +- main.go | 2 +- scripts/coverage.sh | 2 +- server/events/apply_executor.go | 10 +-- server/events/atlantis_workspace.go | 4 +- .../events/atlantis_workspace_locker_test.go | 4 +- server/events/command_context.go | 6 +- server/events/command_handler.go | 8 +-- server/events/command_handler_test.go | 28 ++++---- server/events/commit_status_updater.go | 4 +- server/events/commit_status_updater_test.go | 10 +-- server/events/event_parser.go | 4 +- server/events/event_parser_test.go | 12 ++-- server/events/help_executor_test.go | 4 +- server/events/locking/boltdb/boltdb.go | 2 +- server/events/locking/boltdb/boltdb_test.go | 6 +- server/events/locking/locking.go | 2 +- server/events/locking/locking_test.go | 10 +-- .../mocks/matchers/locking_trylockresponse.go | 2 +- .../map_of_string_to_models_projectlock.go | 2 +- .../locking/mocks/matchers/models_project.go | 2 +- .../mocks/matchers/models_projectlock.go | 2 +- .../mocks/matchers/models_pullrequest.go | 2 +- .../locking/mocks/matchers/models_user.go | 2 +- .../matchers/ptr_to_models_projectlock.go | 2 +- .../matchers/slice_of_models_projectlock.go | 2 +- server/events/locking/mocks/mock_backend.go | 4 +- server/events/locking/mocks/mock_locker.go | 6 +- server/events/markdown_renderer_test.go | 4 +- .../mocks/matchers/events_commandresponse.go | 2 +- .../mocks/matchers/events_preexecuteresult.go | 2 +- .../mocks/matchers/events_projectconfig.go | 2 +- .../events/mocks/matchers/models_project.go | 2 +- .../mocks/matchers/models_pullrequest.go | 2 +- server/events/mocks/matchers/models_repo.go | 2 +- server/events/mocks/matchers/models_user.go | 2 +- .../mocks/matchers/ptr_to_events_command.go | 2 +- .../matchers/ptr_to_events_commandcontext.go | 2 +- .../matchers/ptr_to_logging_simplelogger.go | 2 +- .../mocks/matchers/slice_of_models_project.go | 2 +- .../events/mocks/matchers/vcs_commitstatus.go | 2 +- server/events/mocks/matchers/vcs_host.go | 2 +- .../events/mocks/mock_atlantis_workspace.go | 6 +- .../mocks/mock_atlantis_workspace_locker.go | 2 +- server/events/mocks/mock_command_runner.go | 8 +-- .../mocks/mock_commit_status_updater.go | 8 +-- server/events/mocks/mock_event_parsing.go | 8 +-- server/events/mocks/mock_executor.go | 4 +- .../events/mocks/mock_github_pull_getter.go | 4 +- .../mocks/mock_gitlab_merge_request_getter.go | 2 +- .../events/mocks/mock_lock_url_generator.go | 2 +- .../mocks/mock_project_config_reader.go | 4 +- server/events/mocks/mock_project_finder.go | 6 +- .../events/mocks/mock_project_pre_executor.go | 6 +- server/events/mocks/mock_pull_cleaner.go | 6 +- server/events/models/fixtures/fixtures.go | 10 +-- server/events/models/models.go | 8 +-- server/events/plan_executor.go | 10 +-- server/events/plan_executor_test.go | 22 +++--- server/events/project_config_test.go | 4 +- server/events/project_finder.go | 4 +- server/events/project_finder_test.go | 6 +- server/events/project_pre_execute.go | 8 +-- server/events/project_pre_execute_test.go | 18 ++--- server/events/project_result.go | 2 +- server/events/pull_closed_executor.go | 6 +- server/events/pull_closed_executor_test.go | 18 ++--- .../matchers/ptr_to_logging_simplelogger.go | 2 +- server/events/run/mocks/mock_runner.go | 4 +- server/events/run/run.go | 2 +- server/events/run/run_test.go | 4 +- .../matchers/ptr_to_logging_simplelogger.go | 2 +- .../terraform/mocks/mock_terraform_client.go | 4 +- server/events/terraform/terraform_client.go | 2 +- .../events/terraform/terraform_client_test.go | 4 +- server/events/vcs/client.go | 2 +- server/events/vcs/github_client.go | 2 +- server/events/vcs/gitlab_client.go | 2 +- .../vcs/mocks/matchers/models_pullrequest.go | 2 +- .../events/vcs/mocks/matchers/models_repo.go | 2 +- .../vcs/mocks/matchers/vcs_commitstatus.go | 2 +- server/events/vcs/mocks/matchers/vcs_host.go | 2 +- server/events/vcs/mocks/mock_client.go | 6 +- server/events/vcs/mocks/mock_proxy.go | 6 +- .../events/vcs/not_configured_vcs_client.go | 2 +- server/events/vcs/proxy.go | 2 +- .../matchers/ptr_to_logging_simplelogger.go | 2 +- .../mocks/matchers/webhooks_applyresult.go | 2 +- server/events/webhooks/mocks/mock_sender.go | 6 +- .../webhooks/mocks/mock_slack_client.go | 4 +- .../mocks/mock_underlying_slack_client.go | 2 +- server/events/webhooks/slack.go | 2 +- server/events/webhooks/slack_client_test.go | 16 ++--- server/events/webhooks/slack_test.go | 8 +-- server/events/webhooks/webhooks.go | 4 +- server/events/webhooks/webhooks_test.go | 8 +-- server/events_controller.go | 8 +-- server/events_controller_test.go | 16 ++--- server/github_request_validator_test.go | 4 +- server/gitlab_request_parser_test.go | 4 +- .../mocks/matchers/logging_loglevel.go | 2 +- server/logging/mocks/mock_simple_logging.go | 4 +- server/middleware.go | 2 +- server/mocks/mock_github_request_validator.go | 2 +- server/mocks/mock_gitlab_request_parser.go | 2 +- server/mocks/mock_template_writer.go | 2 +- server/server.go | 18 ++--- server/server_test.go | 12 ++-- website/src/config.toml | 4 +- website/src/content/blog/atlantis-north.md | 12 ++-- website/src/content/blog/atlantis-release.md | 6 +- website/src/themes/kube/layouts/index.html | 4 +- .../themes/kube/layouts/partials/footer.html | 4 +- .../themes/kube/layouts/partials/header.html | 2 +- 123 files changed, 349 insertions(+), 349 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 02dc50c68..8c30c8cf3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: build: - working_directory: /go/src/github.com/atlantisnorth/atlantis + working_directory: /go/src/github.com/runatlantis/atlantis docker: - image: circleci/golang:1.9.2 environment: @@ -38,14 +38,14 @@ jobs: name: Build image command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then - docker build -t atlantisnorth/atlantis:latest . + docker build -t runatlantis/atlantis:latest . fi - run: name: Push image command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u "$DOCKER_USER" -p "$DOCKER_PASSWORD" - docker push atlantisnorth/atlantis:latest + docker push runatlantis/atlantis:latest fi - run: name: Tag and push version if exists @@ -54,7 +54,7 @@ jobs: command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then for TAG in $(git tag --contains $CIRCLE_SHA1); do - docker tag atlantisnorth/atlantis:latest atlantisnorth/atlantis:$TAG - docker push atlantisnorth/atlantis:$TAG + docker tag runatlantis/atlantis:latest runatlantis/atlantis:$TAG + docker push runatlantis/atlantis:$TAG done fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 03cd145ae..59c2f3154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,10 @@ None ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.4/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.4/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.4/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.4/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.4/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.4/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.4/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.4/atlantis_linux_arm.zip) # v0.2.3 ## Features @@ -25,10 +25,10 @@ None None ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.3/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.3/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.3/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.3/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.3/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.3/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.3/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.3/atlantis_linux_arm.zip) # v0.2.2 ## Features @@ -47,10 +47,10 @@ None This is safe to do because you'll just need to re-run `plan` to get your plan back. ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.2/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.2/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.2/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.2/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.2/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.2/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.2/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.2/atlantis_linux_arm.zip) # v0.2.1 ## Features @@ -63,10 +63,10 @@ This is safe to do because you'll just need to re-run `plan` to get your plan ba None ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.1/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.1/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.1/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.1/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.1/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.1/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.1/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.1/atlantis_linux_arm.zip) # v0.2.0 ## Features @@ -80,10 +80,10 @@ None None ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.0/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.0/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.0/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.2.0/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.0/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.0/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.0/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.2.0/atlantis_linux_arm.zip) # v0.1.3 ## Features @@ -98,10 +98,10 @@ None None ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.3/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.3/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.3/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.3/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.3/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.3/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.3/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.3/atlantis_linux_arm.zip) # v0.1.2 ## Features @@ -112,10 +112,10 @@ None * Plan and Apply outputs are shown in new line. ([#132](https://github.com/hootsuite/atlantis/pull/132)) ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.2/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.2/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.2/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.2/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.2/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.2/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.2/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.2/atlantis_linux_arm.zip) # v0.1.1 ## Backwards Incompatibilities / Notes: @@ -123,11 +123,11 @@ None assume role session with the GitHub username of the user running the Atlantis command use the `atlantis_user` terraform variable alongside Terraform's [built-in support](https://www.terraform.io/docs/providers/aws/#assume-role) for assume role -(see https://github.com/atlantisnorth/atlantis/blob/master/README.md#assume-role-session-names) +(see https://github.com/runatlantis/atlantis/blob/master/README.md#assume-role-session-names) * Atlantis has a docker image now ([#123](https://github.com/hootsuite/atlantis/pull/123)). Here is how you can try it out: ```bash -docker run atlantisnorth/atlantis:v0.1.1 server --gh-user=GITHUB_USERNAME --gh-token=GITHUB_TOKEN +docker run runatlantis/atlantis:v0.1.1 server --gh-user=GITHUB_USERNAME --gh-token=GITHUB_TOKEN ``` ## Improvements @@ -137,7 +137,7 @@ docker run atlantisnorth/atlantis:v0.1.1 server --gh-user=GITHUB_USERNAME --gh-t ## Downloads -* [atlantis_darwin_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.1/atlantis_darwin_amd64.zip) -* [atlantis_linux_386.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.1/atlantis_linux_386.zip) -* [atlantis_linux_amd64.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.1/atlantis_linux_amd64.zip) -* [atlantis_linux_arm.zip](https://github.com/atlantisnorth/atlantis/releases/download/v0.1.1/atlantis_linux_arm.zip) +* [atlantis_darwin_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.1/atlantis_darwin_amd64.zip) +* [atlantis_linux_386.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.1/atlantis_linux_386.zip) +* [atlantis_linux_amd64.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.1/atlantis_linux_amd64.zip) +* [atlantis_linux_arm.zip](https://github.com/runatlantis/atlantis/releases/download/v0.1.1/atlantis_linux_arm.zip) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e70fa4fc1..f97b60493 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,13 +3,13 @@ ## Running Atlantis Locally Get the source code: ``` -go get github.com/atlantisnorth/atlantis +go get github.com/runatlantis/atlantis ``` -This will clone Atlantis into `$GOPATH/src/github.com/atlantisnorth/atlantis` (where `$GOPATH` defaults to `~/go`). +This will clone Atlantis into `$GOPATH/src/github.com/runatlantis/atlantis` (where `$GOPATH` defaults to `~/go`). Go to that directory: ``` -cd $GOPATH/src/github.com/atlantisnorth/atlantis +cd $GOPATH/src/github.com/runatlantis/atlantis ``` Compile Atlantis: @@ -25,7 +25,7 @@ If you get an error like `command not found: atlantis`, ensure that `$GOPATH/bin ## Calling Your Local Atlantis From GitHub - Create a test terraform repository in your GitHub. -- Create a personal access token for Atlantis. See [Create a GitHub token](https://github.com/atlantisnorth/atlantis#create-a-github-token). +- Create a personal access token for Atlantis. See [Create a GitHub token](https://github.com/runatlantis/atlantis#create-a-github-token). - Start Atlantis in server mode using that token: ``` atlantis server --gh-user --gh-token --log-level debug @@ -35,7 +35,7 @@ atlantis server --gh-user --gh-token --log-level de ``` ngrok http 4141 ``` -- Create a WebHook in your repo and use the `https` url that `ngrok` printed out after running `ngrok http 4141`. Be sure to append `/events` so your webhook url looks something like `https://efce3bcd.ngrok.io/events`. See [Add GitHub Webhook](https://github.com/atlantisnorth/atlantis#add-github-webhook). +- Create a WebHook in your repo and use the `https` url that `ngrok` printed out after running `ngrok http 4141`. Be sure to append `/events` so your webhook url looks something like `https://efce3bcd.ngrok.io/events`. See [Add GitHub Webhook](https://github.com/runatlantis/atlantis#add-github-webhook). - Create a pull request and type `atlantis help`. You should see the request in the `ngrok` and Atlantis logs and you should also see Atlantis comment back. ## Code Style @@ -70,7 +70,7 @@ This is easier to read and more consistent ### Testing - place tests under `{package under test}_test` to enforce testing the external interfaces - if you need to test internally i.e. access non-exported stuff, call the file `{file under test}_internal_test.go` -- use our testing utility for easier-to-read assertions: `import . "github.com/atlantisnorth/atlantis/testing"` and then use `Assert()`, `Equals()` and `Ok()` +- use our testing utility for easier-to-read assertions: `import . "github.com/runatlantis/atlantis/testing"` and then use `Assert()`, `Equals()` and `Ok()` - don't try to describe the whole test by its function name. Instead use `t.Log` statements: ```go // don't do this @@ -94,7 +94,7 @@ func TestLockingExisting(t *testing.T) { 1. Create a pull request and merge to master 1. Check out master and fetch latest 1. Run `make release` -1. Go to https://github.com/atlantisnorth/atlantis/releases and click "Draft a new release" +1. Go to https://github.com/runatlantis/atlantis/releases and click "Draft a new release" 1. Prefix version with `v` 1. The title of the release is the same as the tag (ex. v0.2.2) 1. Description should just be `See CHANGELOG` with link to CHANGELOG at that release, ex: `See [CHANGELOG](CHANGELOG.md#v022)` diff --git a/Makefile b/Makefile index 77ed02db4..ccf319b23 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BUILD_ID := $(shell git rev-parse --short HEAD 2>/dev/null || echo no-commit-id) WORKSPACE := $(shell pwd) PKG := $(shell go list ./... | grep -v e2e | grep -v vendor | grep -v static) -IMAGE_NAME := atlantisnorth/atlantis +IMAGE_NAME := runatlantis/atlantis .PHONY: test diff --git a/README.md b/README.md index 3d467caad..961908f68 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Read about [Why We Built Atlantis](https://www.atlantis.run/blog/atlantis-release/) -[![CircleCI](https://circleci.com/gh/atlantisnorth/atlantis/tree/master.svg?style=shield)](https://circleci.com/gh/atlantisnorth/atlantis/tree/master) +[![CircleCI](https://circleci.com/gh/runatlantis/atlantis/tree/master.svg?style=shield)](https://circleci.com/gh/runatlantis/atlantis/tree/master) [![SuperDopeBadge](https://img.shields.io/badge/Hightower-extra%20dope-b9f2ff.svg)](https://twitter.com/kelseyhightower/status/893260922222813184) [![Slack Status](https://thawing-headland-22460.herokuapp.com/badge.svg)](https://thawing-headland-22460.herokuapp.com) @@ -51,10 +51,10 @@ Read about [Why We Built Atlantis](https://www.atlantis.run/blog/atlantis-releas ## Atlantis Works With * GitHub (public, private or enterprise) and GitLab (public, private or enterprise) * Any Terraform version (see [Terraform Versions](#terraform-version)) -* Can be run with a [single binary](https://github.com/atlantisnorth/atlantis/releases) or with our [Docker image](https://hub.docker.com/r/atlantisnorth/atlantis/) +* Can be run with a [single binary](https://github.com/runatlantis/atlantis/releases) or with our [Docker image](https://hub.docker.com/r/runatlantis/atlantis/) ## Getting Started -Download from [https://github.com/atlantisnorth/atlantis/releases](https://github.com/atlantisnorth/atlantis/releases) +Download from [https://github.com/runatlantis/atlantis/releases](https://github.com/runatlantis/atlantis/releases) Run ``` @@ -326,7 +326,7 @@ Atlantis is now running! Atlantis also ships inside a docker image. Run the docker image: ```bash -docker run atlantisnorth/atlantis:latest server +docker run runatlantis/atlantis:latest server ``` #### Usage @@ -338,7 +338,7 @@ vim Dockerfile-custom ``` ```dockerfile -FROM atlantisnorth/atlantis +FROM runatlantis/atlantis # copy a terraform binary of the version you need COPY terraform /usr/local/bin/terraform @@ -361,7 +361,7 @@ docker run {YOUR_DOCKER_ORG}/atlantis-custom server --gh-user=GITHUB_USERNAME -- If you'd like to test out Atlantis before running it on your own repositories you can fork our example repo. -- Fork https://github.com/atlantisnorth/atlantis-example +- Fork https://github.com/runatlantis/atlantis-example - If you didn't add the Webhook as to your organization add Atlantis as a Webhook to the forked repo (see [Add GitHub Webhook](#add-github-webhook)) - Now that Atlantis can receive events you should be able to comment on a pull request to trigger Atlantis. Create a pull request - Click **Branches** on your forked repo's homepage @@ -487,7 +487,7 @@ See `atlantis server --help` for more information. ## Contributing -Want to contribute? Check out [CONTRIBUTING](https://github.com/atlantisnorth/atlantis/blob/master/CONTRIBUTING.md). +Want to contribute? Check out [CONTRIBUTING](https://github.com/runatlantis/atlantis/blob/master/CONTRIBUTING.md). Thank you to these awesome contributors! - [@nicholas-wu-hs](https://github.com/nicholas-wu-hs) diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go index 8d59fcf0d..875ac3979 100644 --- a/bootstrap/bootstrap.go +++ b/bootstrap/bootstrap.go @@ -19,7 +19,7 @@ import ( "github.com/pkg/errors" ) -var terraformExampleRepoOwner = "atlantisnorth" +var terraformExampleRepoOwner = "runatlantis" var terraformExampleRepo = "atlantis-example" var bootstrapDescription = `[white]Welcome to Atlantis bootstrap! @@ -35,7 +35,7 @@ var pullRequestBody = "In this pull request we will learn how to use atlantis. T "* Start by typing `atlantis help` in the comments.\n" + "* Next, lets plan by typing `atlantis plan` in the comments. That will run a `terraform plan`.\n" + "* Now lets apply that plan. Type `atlantis apply` in the comments. This will run a `terraform apply`.\n" + - "\nThank you for trying out atlantis. For more info on running atlantis in production see https://github.com/atlantisnorth/atlantis" + "\nThank you for trying out atlantis. For more info on running atlantis in production see https://github.com/runatlantis/atlantis" // Start begins the bootstrap process. // nolint: errcheck @@ -195,6 +195,6 @@ Follow these instructions to create a token (we don't store any tokens): signal.Notify(signalChan, syscall.SIGINT, syscall.SIGTERM) <-signalChan colorstring.Println("\n[red]shutdown signal received, exiting....") - colorstring.Println("\n[green]Thank you for using atlantis :) \n[white]For more information about how to use atlantis in production go to: https://github.com/atlantisnorth/atlantis") + colorstring.Println("\n[green]Thank you for using atlantis :) \n[white]For more information about how to use atlantis in production go to: https://github.com/runatlantis/atlantis") return nil } diff --git a/cmd/bootstrap.go b/cmd/bootstrap.go index 12c2e368e..fb7cd38b6 100644 --- a/cmd/bootstrap.go +++ b/cmd/bootstrap.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/atlantisnorth/atlantis/bootstrap" + "github.com/runatlantis/atlantis/bootstrap" "github.com/spf13/cobra" ) diff --git a/cmd/server.go b/cmd/server.go index 5e2ded05b..832c37b50 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -5,9 +5,9 @@ import ( "os" "strings" - "github.com/atlantisnorth/atlantis/server" "github.com/mitchellh/go-homedir" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/server_test.go b/cmd/server_test.go index cd5ac0ad4..d1095ca55 100644 --- a/cmd/server_test.go +++ b/cmd/server_test.go @@ -6,10 +6,10 @@ import ( "strings" "testing" - "github.com/atlantisnorth/atlantis/cmd" - "github.com/atlantisnorth/atlantis/server" - . "github.com/atlantisnorth/atlantis/testing" "github.com/mitchellh/go-homedir" + "github.com/runatlantis/atlantis/cmd" + "github.com/runatlantis/atlantis/server" + . "github.com/runatlantis/atlantis/testing" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/e2e/main.go b/e2e/main.go index 5356f177e..ab8ddfc69 100644 --- a/e2e/main.go +++ b/e2e/main.go @@ -42,7 +42,7 @@ func main() { atlantisURL = fmt.Sprintf("%s/events", atlantisURL) ownerName := os.Getenv("GITHUB_REPO_OWNER_NAME") if ownerName == "" { - ownerName = "atlantisnorth" + ownerName = "runatlantis" } repoName := os.Getenv("GITHUB_REPO_NAME") if repoName == "" { diff --git a/main.go b/main.go index 92545e6d1..60f580553 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/atlantisnorth/atlantis/cmd" + "github.com/runatlantis/atlantis/cmd" "github.com/spf13/viper" ) diff --git a/scripts/coverage.sh b/scripts/coverage.sh index 60963ce82..76065a1d4 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -6,7 +6,7 @@ # with multiple packages, see https://code.google.com/p/go/issues/detail?id=6909 # # Usage: coverage.sh packages... -# Example: coverage.sh github.com/atlantisnorth/atlantis github.com/atlantisnorth/atlantis/bootstrap +# Example: coverage.sh github.com/runatlantis/atlantis github.com/runatlantis/atlantis/bootstrap # set -e diff --git a/server/events/apply_executor.go b/server/events/apply_executor.go index d1137336c..0466115a7 100644 --- a/server/events/apply_executor.go +++ b/server/events/apply_executor.go @@ -5,12 +5,12 @@ import ( "os" "path/filepath" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/run" - "github.com/atlantisnorth/atlantis/server/events/terraform" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/events/webhooks" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/run" + "github.com/runatlantis/atlantis/server/events/terraform" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/events/webhooks" ) // ApplyExecutor handles executing terraform apply. diff --git a/server/events/atlantis_workspace.go b/server/events/atlantis_workspace.go index c97c6f059..4d446659c 100644 --- a/server/events/atlantis_workspace.go +++ b/server/events/atlantis_workspace.go @@ -6,9 +6,9 @@ import ( "path/filepath" "strconv" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/logging" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/logging" ) const workspacePrefix = "repos" diff --git a/server/events/atlantis_workspace_locker_test.go b/server/events/atlantis_workspace_locker_test.go index 536c08048..350ecedee 100644 --- a/server/events/atlantis_workspace_locker_test.go +++ b/server/events/atlantis_workspace_locker_test.go @@ -3,8 +3,8 @@ package events_test import ( "testing" - "github.com/atlantisnorth/atlantis/server/events" - . "github.com/atlantisnorth/atlantis/testing" + "github.com/runatlantis/atlantis/server/events" + . "github.com/runatlantis/atlantis/testing" ) var repo = "repo/owner" diff --git a/server/events/command_context.go b/server/events/command_context.go index 0340d3581..ab58f5f5a 100644 --- a/server/events/command_context.go +++ b/server/events/command_context.go @@ -1,9 +1,9 @@ package events import ( - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/logging" ) // CommandContext represents the context of a command that came from a comment diff --git a/server/events/command_handler.go b/server/events/command_handler.go index 702b32d05..b34f4b8e8 100644 --- a/server/events/command_handler.go +++ b/server/events/command_handler.go @@ -3,13 +3,13 @@ package events import ( "fmt" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/logging" - "github.com/atlantisnorth/atlantis/server/recovery" "github.com/google/go-github/github" "github.com/lkysow/go-gitlab" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/recovery" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_command_runner.go CommandRunner diff --git a/server/events/command_handler_test.go b/server/events/command_handler_test.go index dad34f64c..7bdd416d1 100644 --- a/server/events/command_handler_test.go +++ b/server/events/command_handler_test.go @@ -7,17 +7,17 @@ import ( "strings" "testing" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks/matchers" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/models/fixtures" - "github.com/atlantisnorth/atlantis/server/events/vcs" - vcsmocks "github.com/atlantisnorth/atlantis/server/events/vcs/mocks" - logmocks "github.com/atlantisnorth/atlantis/server/logging/mocks" - . "github.com/atlantisnorth/atlantis/testing" "github.com/google/go-github/github" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/mocks" + "github.com/runatlantis/atlantis/server/events/mocks/matchers" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/models/fixtures" + "github.com/runatlantis/atlantis/server/events/vcs" + vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks" + logmocks "github.com/runatlantis/atlantis/server/logging/mocks" + . "github.com/runatlantis/atlantis/testing" ) var applier *mocks.MockExecutor @@ -75,7 +75,7 @@ func TestExecuteCommand_NoGithubPullGetter(t *testing.T) { setup(t) ch.GithubPullGetter = nil ch.ExecuteCommand(fixtures.Repo, fixtures.Repo, fixtures.User, 1, nil, vcs.Github) - Equals(t, "[ERROR] atlantisnorth/atlantis#1: Atlantis not configured to support GitHub\n", logBytes.String()) + Equals(t, "[ERROR] runatlantis/atlantis#1: Atlantis not configured to support GitHub\n", logBytes.String()) } func TestExecuteCommand_NoGitlabMergeGetter(t *testing.T) { @@ -83,7 +83,7 @@ func TestExecuteCommand_NoGitlabMergeGetter(t *testing.T) { setup(t) ch.GitlabMergeRequestGetter = nil ch.ExecuteCommand(fixtures.Repo, fixtures.Repo, fixtures.User, 1, nil, vcs.Gitlab) - Equals(t, "[ERROR] atlantisnorth/atlantis#1: Atlantis not configured to support GitLab\n", logBytes.String()) + Equals(t, "[ERROR] runatlantis/atlantis#1: Atlantis not configured to support GitLab\n", logBytes.String()) } func TestExecuteCommand_GithubPullErr(t *testing.T) { @@ -91,7 +91,7 @@ func TestExecuteCommand_GithubPullErr(t *testing.T) { setup(t) When(githubGetter.GetPullRequest(fixtures.Repo, fixtures.Pull.Num)).ThenReturn(nil, errors.New("err")) ch.ExecuteCommand(fixtures.Repo, fixtures.Repo, fixtures.User, fixtures.Pull.Num, nil, vcs.Github) - Equals(t, "[ERROR] atlantisnorth/atlantis#1: Making pull request API call to GitHub: err\n", logBytes.String()) + Equals(t, "[ERROR] runatlantis/atlantis#1: Making pull request API call to GitHub: err\n", logBytes.String()) } func TestExecuteCommand_GitlabMergeRequestErr(t *testing.T) { @@ -99,7 +99,7 @@ func TestExecuteCommand_GitlabMergeRequestErr(t *testing.T) { setup(t) When(gitlabGetter.GetMergeRequest(fixtures.Repo.FullName, fixtures.Pull.Num)).ThenReturn(nil, errors.New("err")) ch.ExecuteCommand(fixtures.Repo, fixtures.Repo, fixtures.User, fixtures.Pull.Num, nil, vcs.Gitlab) - Equals(t, "[ERROR] atlantisnorth/atlantis#1: Making merge request API call to GitLab: err\n", logBytes.String()) + Equals(t, "[ERROR] runatlantis/atlantis#1: Making merge request API call to GitLab: err\n", logBytes.String()) } func TestExecuteCommand_GithubPullParseErr(t *testing.T) { @@ -110,7 +110,7 @@ func TestExecuteCommand_GithubPullParseErr(t *testing.T) { When(eventParsing.ParseGithubPull(&pull)).ThenReturn(fixtures.Pull, fixtures.Repo, errors.New("err")) ch.ExecuteCommand(fixtures.Repo, fixtures.Repo, fixtures.User, fixtures.Pull.Num, nil, vcs.Github) - Equals(t, "[ERROR] atlantisnorth/atlantis#1: Extracting required fields from comment data: err\n", logBytes.String()) + Equals(t, "[ERROR] runatlantis/atlantis#1: Extracting required fields from comment data: err\n", logBytes.String()) } func TestExecuteCommand_ClosedPull(t *testing.T) { diff --git a/server/events/commit_status_updater.go b/server/events/commit_status_updater.go index 8a34c839a..ef76c964f 100644 --- a/server/events/commit_status_updater.go +++ b/server/events/commit_status_updater.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_commit_status_updater.go CommitStatusUpdater diff --git a/server/events/commit_status_updater_test.go b/server/events/commit_status_updater_test.go index 823517b3f..36e6155ce 100644 --- a/server/events/commit_status_updater_test.go +++ b/server/events/commit_status_updater_test.go @@ -5,12 +5,12 @@ import ( "strings" "testing" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/events/vcs/mocks" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/events/vcs/mocks" + . "github.com/runatlantis/atlantis/testing" ) var repoModel = models.Repo{} diff --git a/server/events/event_parser.go b/server/events/event_parser.go index 4f3113d08..c9b71971a 100644 --- a/server/events/event_parser.go +++ b/server/events/event_parser.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/google/go-github/github" "github.com/lkysow/go-gitlab" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" ) const gitlabPullOpened = "opened" diff --git a/server/events/event_parser_test.go b/server/events/event_parser_test.go index 4d18bf902..eac4f5369 100644 --- a/server/events/event_parser_test.go +++ b/server/events/event_parser_test.go @@ -8,14 +8,14 @@ import ( "encoding/json" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - . "github.com/atlantisnorth/atlantis/server/events/vcs/fixtures" - . "github.com/atlantisnorth/atlantis/testing" "github.com/google/go-github/github" "github.com/lkysow/go-gitlab" "github.com/mohae/deepcopy" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + . "github.com/runatlantis/atlantis/server/events/vcs/fixtures" + . "github.com/runatlantis/atlantis/testing" ) var parser = events.EventParser{ @@ -165,7 +165,7 @@ func TestParseGithubIssueCommentEvent(t *testing.T) { Issue: &github.Issue{ Number: github.Int(1), User: &github.User{Login: github.String("issue_user")}, - HTMLURL: github.String("https://github.com/atlantisnorth/atlantis/issues/1"), + HTMLURL: github.String("https://github.com/runatlantis/atlantis/issues/1"), }, Comment: &github.IssueComment{ User: &github.User{Login: github.String("comment_user")}, diff --git a/server/events/help_executor_test.go b/server/events/help_executor_test.go index adf3dd92e..a1c624311 100644 --- a/server/events/help_executor_test.go +++ b/server/events/help_executor_test.go @@ -3,8 +3,8 @@ package events_test import ( "testing" - "github.com/atlantisnorth/atlantis/server/events" - . "github.com/atlantisnorth/atlantis/testing" + "github.com/runatlantis/atlantis/server/events" + . "github.com/runatlantis/atlantis/testing" ) func TestExecute(t *testing.T) { diff --git a/server/events/locking/boltdb/boltdb.go b/server/events/locking/boltdb/boltdb.go index 132ac3a38..69ec55a8e 100644 --- a/server/events/locking/boltdb/boltdb.go +++ b/server/events/locking/boltdb/boltdb.go @@ -11,9 +11,9 @@ import ( "path" "time" - "github.com/atlantisnorth/atlantis/server/events/models" "github.com/boltdb/bolt" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" ) // BoltLocker is a locking backend using BoltDB diff --git a/server/events/locking/boltdb/boltdb_test.go b/server/events/locking/boltdb/boltdb_test.go index 5a4ef2851..ebf3bd597 100644 --- a/server/events/locking/boltdb/boltdb_test.go +++ b/server/events/locking/boltdb/boltdb_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - "github.com/atlantisnorth/atlantis/server/events/locking/boltdb" - "github.com/atlantisnorth/atlantis/server/events/models" - . "github.com/atlantisnorth/atlantis/testing" "github.com/boltdb/bolt" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/locking/boltdb" + "github.com/runatlantis/atlantis/server/events/models" + . "github.com/runatlantis/atlantis/testing" ) var lockBucket = "bucket" diff --git a/server/events/locking/locking.go b/server/events/locking/locking.go index d0876a9d1..ea083b0fb 100644 --- a/server/events/locking/locking.go +++ b/server/events/locking/locking.go @@ -7,7 +7,7 @@ import ( "regexp" "time" - "github.com/atlantisnorth/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/models" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_backend.go Backend diff --git a/server/events/locking/locking_test.go b/server/events/locking/locking_test.go index 8e0c90205..9495ae5c4 100644 --- a/server/events/locking/locking_test.go +++ b/server/events/locking/locking_test.go @@ -7,12 +7,12 @@ import ( "strings" - "github.com/atlantisnorth/atlantis/server/events/locking" - "github.com/atlantisnorth/atlantis/server/events/locking/mocks" - "github.com/atlantisnorth/atlantis/server/events/locking/mocks/matchers" - "github.com/atlantisnorth/atlantis/server/events/models" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events/locking" + "github.com/runatlantis/atlantis/server/events/locking/mocks" + "github.com/runatlantis/atlantis/server/events/locking/mocks/matchers" + "github.com/runatlantis/atlantis/server/events/models" + . "github.com/runatlantis/atlantis/testing" ) var project = models.NewProject("owner/repo", "path") diff --git a/server/events/locking/mocks/matchers/locking_trylockresponse.go b/server/events/locking/mocks/matchers/locking_trylockresponse.go index 8d829a7ac..b6f7c76f7 100644 --- a/server/events/locking/mocks/matchers/locking_trylockresponse.go +++ b/server/events/locking/mocks/matchers/locking_trylockresponse.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - locking "github.com/atlantisnorth/atlantis/server/events/locking" "github.com/petergtz/pegomock" + locking "github.com/runatlantis/atlantis/server/events/locking" ) func AnyLockingTryLockResponse() locking.TryLockResponse { diff --git a/server/events/locking/mocks/matchers/map_of_string_to_models_projectlock.go b/server/events/locking/mocks/matchers/map_of_string_to_models_projectlock.go index c81c89386..732eb220b 100644 --- a/server/events/locking/mocks/matchers/map_of_string_to_models_projectlock.go +++ b/server/events/locking/mocks/matchers/map_of_string_to_models_projectlock.go @@ -5,7 +5,7 @@ import ( "github.com/petergtz/pegomock" - models "github.com/atlantisnorth/atlantis/server/events/models" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyMapOfStringToModelsProjectLock() map[string]models.ProjectLock { diff --git a/server/events/locking/mocks/matchers/models_project.go b/server/events/locking/mocks/matchers/models_project.go index fbf125edc..4fffc3faa 100644 --- a/server/events/locking/mocks/matchers/models_project.go +++ b/server/events/locking/mocks/matchers/models_project.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsProject() models.Project { diff --git a/server/events/locking/mocks/matchers/models_projectlock.go b/server/events/locking/mocks/matchers/models_projectlock.go index 9b313641b..61d0500bb 100644 --- a/server/events/locking/mocks/matchers/models_projectlock.go +++ b/server/events/locking/mocks/matchers/models_projectlock.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsProjectLock() models.ProjectLock { diff --git a/server/events/locking/mocks/matchers/models_pullrequest.go b/server/events/locking/mocks/matchers/models_pullrequest.go index a85e4cea0..d8b146baa 100644 --- a/server/events/locking/mocks/matchers/models_pullrequest.go +++ b/server/events/locking/mocks/matchers/models_pullrequest.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsPullRequest() models.PullRequest { diff --git a/server/events/locking/mocks/matchers/models_user.go b/server/events/locking/mocks/matchers/models_user.go index c525ec509..3f2b4d8c6 100644 --- a/server/events/locking/mocks/matchers/models_user.go +++ b/server/events/locking/mocks/matchers/models_user.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsUser() models.User { diff --git a/server/events/locking/mocks/matchers/ptr_to_models_projectlock.go b/server/events/locking/mocks/matchers/ptr_to_models_projectlock.go index 0e6ad80d0..62d2cd4f6 100644 --- a/server/events/locking/mocks/matchers/ptr_to_models_projectlock.go +++ b/server/events/locking/mocks/matchers/ptr_to_models_projectlock.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyPtrToModelsProjectLock() *models.ProjectLock { diff --git a/server/events/locking/mocks/matchers/slice_of_models_projectlock.go b/server/events/locking/mocks/matchers/slice_of_models_projectlock.go index cb282f1b8..f6ce82e95 100644 --- a/server/events/locking/mocks/matchers/slice_of_models_projectlock.go +++ b/server/events/locking/mocks/matchers/slice_of_models_projectlock.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnySliceOfModelsProjectLock() []models.ProjectLock { diff --git a/server/events/locking/mocks/mock_backend.go b/server/events/locking/mocks/mock_backend.go index 96fb5f110..fd1f1211b 100644 --- a/server/events/locking/mocks/mock_backend.go +++ b/server/events/locking/mocks/mock_backend.go @@ -1,13 +1,13 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/locking (interfaces: Backend) +// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: Backend) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) type MockBackend struct { diff --git a/server/events/locking/mocks/mock_locker.go b/server/events/locking/mocks/mock_locker.go index 890a7288e..fe6fcf1f5 100644 --- a/server/events/locking/mocks/mock_locker.go +++ b/server/events/locking/mocks/mock_locker.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/locking (interfaces: Locker) +// Source: github.com/runatlantis/atlantis/server/events/locking (interfaces: Locker) package mocks import ( "reflect" - locking "github.com/atlantisnorth/atlantis/server/events/locking" - models "github.com/atlantisnorth/atlantis/server/events/models" pegomock "github.com/petergtz/pegomock" + locking "github.com/runatlantis/atlantis/server/events/locking" + models "github.com/runatlantis/atlantis/server/events/models" ) type MockLocker struct { diff --git a/server/events/markdown_renderer_test.go b/server/events/markdown_renderer_test.go index 26e4c0a33..0e25bb3b3 100644 --- a/server/events/markdown_renderer_test.go +++ b/server/events/markdown_renderer_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/atlantisnorth/atlantis/server/events" - . "github.com/atlantisnorth/atlantis/testing" + "github.com/runatlantis/atlantis/server/events" + . "github.com/runatlantis/atlantis/testing" ) func TestRenderErr(t *testing.T) { diff --git a/server/events/mocks/matchers/events_commandresponse.go b/server/events/mocks/matchers/events_commandresponse.go index 8b1bedfee..f596b2c4d 100644 --- a/server/events/mocks/matchers/events_commandresponse.go +++ b/server/events/mocks/matchers/events_commandresponse.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) func AnyEventsCommandResponse() events.CommandResponse { diff --git a/server/events/mocks/matchers/events_preexecuteresult.go b/server/events/mocks/matchers/events_preexecuteresult.go index 35409dd9e..b8be09b1a 100644 --- a/server/events/mocks/matchers/events_preexecuteresult.go +++ b/server/events/mocks/matchers/events_preexecuteresult.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) func AnyEventsPreExecuteResult() events.PreExecuteResult { diff --git a/server/events/mocks/matchers/events_projectconfig.go b/server/events/mocks/matchers/events_projectconfig.go index 618a5e9c7..bb706ade3 100644 --- a/server/events/mocks/matchers/events_projectconfig.go +++ b/server/events/mocks/matchers/events_projectconfig.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) func AnyEventsProjectConfig() events.ProjectConfig { diff --git a/server/events/mocks/matchers/models_project.go b/server/events/mocks/matchers/models_project.go index fbf125edc..4fffc3faa 100644 --- a/server/events/mocks/matchers/models_project.go +++ b/server/events/mocks/matchers/models_project.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsProject() models.Project { diff --git a/server/events/mocks/matchers/models_pullrequest.go b/server/events/mocks/matchers/models_pullrequest.go index a85e4cea0..d8b146baa 100644 --- a/server/events/mocks/matchers/models_pullrequest.go +++ b/server/events/mocks/matchers/models_pullrequest.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsPullRequest() models.PullRequest { diff --git a/server/events/mocks/matchers/models_repo.go b/server/events/mocks/matchers/models_repo.go index a44420815..3f8e699eb 100644 --- a/server/events/mocks/matchers/models_repo.go +++ b/server/events/mocks/matchers/models_repo.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsRepo() models.Repo { diff --git a/server/events/mocks/matchers/models_user.go b/server/events/mocks/matchers/models_user.go index c525ec509..3f2b4d8c6 100644 --- a/server/events/mocks/matchers/models_user.go +++ b/server/events/mocks/matchers/models_user.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsUser() models.User { diff --git a/server/events/mocks/matchers/ptr_to_events_command.go b/server/events/mocks/matchers/ptr_to_events_command.go index be6f6ae52..91edd3b66 100644 --- a/server/events/mocks/matchers/ptr_to_events_command.go +++ b/server/events/mocks/matchers/ptr_to_events_command.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) func AnyPtrToEventsCommand() *events.Command { diff --git a/server/events/mocks/matchers/ptr_to_events_commandcontext.go b/server/events/mocks/matchers/ptr_to_events_commandcontext.go index 93cdaf56f..1b1134a34 100644 --- a/server/events/mocks/matchers/ptr_to_events_commandcontext.go +++ b/server/events/mocks/matchers/ptr_to_events_commandcontext.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) func AnyPtrToEventsCommandContext() *events.CommandContext { diff --git a/server/events/mocks/matchers/ptr_to_logging_simplelogger.go b/server/events/mocks/matchers/ptr_to_logging_simplelogger.go index 894889967..0889f65d5 100644 --- a/server/events/mocks/matchers/ptr_to_logging_simplelogger.go +++ b/server/events/mocks/matchers/ptr_to_logging_simplelogger.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) func AnyPtrToLoggingSimpleLogger() *logging.SimpleLogger { diff --git a/server/events/mocks/matchers/slice_of_models_project.go b/server/events/mocks/matchers/slice_of_models_project.go index ad480fabc..8a9d9c620 100644 --- a/server/events/mocks/matchers/slice_of_models_project.go +++ b/server/events/mocks/matchers/slice_of_models_project.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnySliceOfModelsProject() []models.Project { diff --git a/server/events/mocks/matchers/vcs_commitstatus.go b/server/events/mocks/matchers/vcs_commitstatus.go index 253d49dee..3b867df59 100644 --- a/server/events/mocks/matchers/vcs_commitstatus.go +++ b/server/events/mocks/matchers/vcs_commitstatus.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/petergtz/pegomock" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) func AnyVcsCommitStatus() vcs.CommitStatus { diff --git a/server/events/mocks/matchers/vcs_host.go b/server/events/mocks/matchers/vcs_host.go index 0a280e91b..51a6399dc 100644 --- a/server/events/mocks/matchers/vcs_host.go +++ b/server/events/mocks/matchers/vcs_host.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/petergtz/pegomock" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) func AnyVcsHost() vcs.Host { diff --git a/server/events/mocks/mock_atlantis_workspace.go b/server/events/mocks/mock_atlantis_workspace.go index b0ae6e09d..643813ced 100644 --- a/server/events/mocks/mock_atlantis_workspace.go +++ b/server/events/mocks/mock_atlantis_workspace.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: AtlantisWorkspace) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: AtlantisWorkspace) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" - logging "github.com/atlantisnorth/atlantis/server/logging" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockAtlantisWorkspace struct { diff --git a/server/events/mocks/mock_atlantis_workspace_locker.go b/server/events/mocks/mock_atlantis_workspace_locker.go index 0d6dae543..3f190f396 100644 --- a/server/events/mocks/mock_atlantis_workspace_locker.go +++ b/server/events/mocks/mock_atlantis_workspace_locker.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: AtlantisWorkspaceLocker) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: AtlantisWorkspaceLocker) package mocks diff --git a/server/events/mocks/mock_command_runner.go b/server/events/mocks/mock_command_runner.go index 1cd55c20f..5e42db1a5 100644 --- a/server/events/mocks/mock_command_runner.go +++ b/server/events/mocks/mock_command_runner.go @@ -1,15 +1,15 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: CommandRunner) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: CommandRunner) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockCommandRunner struct { diff --git a/server/events/mocks/mock_commit_status_updater.go b/server/events/mocks/mock_commit_status_updater.go index 194d1c473..6a51f7988 100644 --- a/server/events/mocks/mock_commit_status_updater.go +++ b/server/events/mocks/mock_commit_status_updater.go @@ -1,15 +1,15 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: CommitStatusUpdater) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: CommitStatusUpdater) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockCommitStatusUpdater struct { diff --git a/server/events/mocks/mock_event_parsing.go b/server/events/mocks/mock_event_parsing.go index b6e9fa5af..64f6b11ab 100644 --- a/server/events/mocks/mock_event_parsing.go +++ b/server/events/mocks/mock_event_parsing.go @@ -1,17 +1,17 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: EventParsing) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: EventParsing) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" github "github.com/google/go-github/github" go_gitlab "github.com/lkysow/go-gitlab" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockEventParsing struct { diff --git a/server/events/mocks/mock_executor.go b/server/events/mocks/mock_executor.go index 0a32ad41d..f3c9ce749 100644 --- a/server/events/mocks/mock_executor.go +++ b/server/events/mocks/mock_executor.go @@ -1,13 +1,13 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: Executor) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: Executor) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) type MockExecutor struct { diff --git a/server/events/mocks/mock_github_pull_getter.go b/server/events/mocks/mock_github_pull_getter.go index 18e591a43..282bab182 100644 --- a/server/events/mocks/mock_github_pull_getter.go +++ b/server/events/mocks/mock_github_pull_getter.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: GithubPullGetter) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: GithubPullGetter) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" github "github.com/google/go-github/github" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) type MockGithubPullGetter struct { diff --git a/server/events/mocks/mock_gitlab_merge_request_getter.go b/server/events/mocks/mock_gitlab_merge_request_getter.go index 3b72fdc1c..45efb5563 100644 --- a/server/events/mocks/mock_gitlab_merge_request_getter.go +++ b/server/events/mocks/mock_gitlab_merge_request_getter.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: GitlabMergeRequestGetter) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: GitlabMergeRequestGetter) package mocks diff --git a/server/events/mocks/mock_lock_url_generator.go b/server/events/mocks/mock_lock_url_generator.go index 5f6b2fcda..0a31fc85f 100644 --- a/server/events/mocks/mock_lock_url_generator.go +++ b/server/events/mocks/mock_lock_url_generator.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: LockURLGenerator) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: LockURLGenerator) package mocks diff --git a/server/events/mocks/mock_project_config_reader.go b/server/events/mocks/mock_project_config_reader.go index 7d4ae3882..4f19bab94 100644 --- a/server/events/mocks/mock_project_config_reader.go +++ b/server/events/mocks/mock_project_config_reader.go @@ -1,13 +1,13 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: ProjectConfigReader) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: ProjectConfigReader) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" ) type MockProjectConfigReader struct { diff --git a/server/events/mocks/mock_project_finder.go b/server/events/mocks/mock_project_finder.go index d3d4bef48..a66643838 100644 --- a/server/events/mocks/mock_project_finder.go +++ b/server/events/mocks/mock_project_finder.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: ProjectFinder) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: ProjectFinder) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" - logging "github.com/atlantisnorth/atlantis/server/logging" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockProjectFinder struct { diff --git a/server/events/mocks/mock_project_pre_executor.go b/server/events/mocks/mock_project_pre_executor.go index 89b4bd93b..cd36116f3 100644 --- a/server/events/mocks/mock_project_pre_executor.go +++ b/server/events/mocks/mock_project_pre_executor.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: ProjectPreExecutor) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: ProjectPreExecutor) package mocks import ( "reflect" - events "github.com/atlantisnorth/atlantis/server/events" - models "github.com/atlantisnorth/atlantis/server/events/models" pegomock "github.com/petergtz/pegomock" + events "github.com/runatlantis/atlantis/server/events" + models "github.com/runatlantis/atlantis/server/events/models" ) type MockProjectPreExecutor struct { diff --git a/server/events/mocks/mock_pull_cleaner.go b/server/events/mocks/mock_pull_cleaner.go index ea64aea3a..880127909 100644 --- a/server/events/mocks/mock_pull_cleaner.go +++ b/server/events/mocks/mock_pull_cleaner.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events (interfaces: PullCleaner) +// Source: github.com/runatlantis/atlantis/server/events (interfaces: PullCleaner) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockPullCleaner struct { diff --git a/server/events/models/fixtures/fixtures.go b/server/events/models/fixtures/fixtures.go index 7f1c6ecef..5b821b3fc 100644 --- a/server/events/models/fixtures/fixtures.go +++ b/server/events/models/fixtures/fixtures.go @@ -1,6 +1,6 @@ package fixtures -import "github.com/atlantisnorth/atlantis/server/events/models" +import "github.com/runatlantis/atlantis/server/events/models" var Pull = models.PullRequest{ Num: 1, @@ -11,10 +11,10 @@ var Pull = models.PullRequest{ } var Repo = models.Repo{ - CloneURL: "https://user:password@github.com/atlantisnorth/atlantis.git", - FullName: "atlantisnorth/atlantis", - Owner: "atlantisnorth", - SanitizedCloneURL: "https://github.com/atlantisnorth/atlantis.git", + CloneURL: "https://user:password@github.com/runatlantis/atlantis.git", + FullName: "runatlantis/atlantis", + Owner: "runatlantis", + SanitizedCloneURL: "https://github.com/runatlantis/atlantis.git", Name: "atlantis", } diff --git a/server/events/models/models.go b/server/events/models/models.go index f79bca6c2..e89fba0b9 100644 --- a/server/events/models/models.go +++ b/server/events/models/models.go @@ -11,9 +11,9 @@ import ( // Repo is a VCS repository. type Repo struct { // FullName is the owner and repo name separated - // by a "/", ex. "atlantisnorth/atlantis". + // by a "/", ex. "runatlantis/atlantis". FullName string - // Owner is just the repo owner, ex. "atlantisnorth". + // Owner is just the repo owner, ex. "runatlantis". Owner string // Name is just the repo name, ex. "atlantis". Name string @@ -34,7 +34,7 @@ type PullRequest struct { // pull requested into the base. HeadCommit string // URL is the url of the pull request. - // ex. "https://github.com/atlantisnorth/atlantis/pull/1" + // ex. "https://github.com/runatlantis/atlantis/pull/1" URL string // Branch is the name of the head branch (not the base). Branch string @@ -79,7 +79,7 @@ type ProjectLock struct { // Terraform projects in a single repo we also include Path to the project // root relative to the repo root. type Project struct { - // RepoFullName is the owner and repo name, ex. "atlantisnorth/atlantis" + // RepoFullName is the owner and repo name, ex. "runatlantis/atlantis" RepoFullName string // Path to project root in the repo. // If "." then project is at root. diff --git a/server/events/plan_executor.go b/server/events/plan_executor.go index d4eb0de16..fcc679e83 100644 --- a/server/events/plan_executor.go +++ b/server/events/plan_executor.go @@ -5,12 +5,12 @@ import ( "os" "path/filepath" - "github.com/atlantisnorth/atlantis/server/events/locking" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/run" - "github.com/atlantisnorth/atlantis/server/events/terraform" - "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/locking" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/run" + "github.com/runatlantis/atlantis/server/events/terraform" + "github.com/runatlantis/atlantis/server/events/vcs" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_lock_url_generator.go LockURLGenerator diff --git a/server/events/plan_executor_test.go b/server/events/plan_executor_test.go index a00c5e90a..ec07b4906 100644 --- a/server/events/plan_executor_test.go +++ b/server/events/plan_executor_test.go @@ -4,18 +4,18 @@ import ( "errors" "testing" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/locking" - lmocks "github.com/atlantisnorth/atlantis/server/events/locking/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks" - "github.com/atlantisnorth/atlantis/server/events/models" - rmocks "github.com/atlantisnorth/atlantis/server/events/run/mocks" - tmocks "github.com/atlantisnorth/atlantis/server/events/terraform/mocks" - vcsmocks "github.com/atlantisnorth/atlantis/server/events/vcs/mocks" - "github.com/atlantisnorth/atlantis/server/events/vcs/mocks/matchers" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/locking" + lmocks "github.com/runatlantis/atlantis/server/events/locking/mocks" + "github.com/runatlantis/atlantis/server/events/mocks" + "github.com/runatlantis/atlantis/server/events/models" + rmocks "github.com/runatlantis/atlantis/server/events/run/mocks" + tmocks "github.com/runatlantis/atlantis/server/events/terraform/mocks" + vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks" + "github.com/runatlantis/atlantis/server/events/vcs/mocks/matchers" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) var planCtx = events.CommandContext{ diff --git a/server/events/project_config_test.go b/server/events/project_config_test.go index 9ef350d89..a5788116c 100644 --- a/server/events/project_config_test.go +++ b/server/events/project_config_test.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/atlantisnorth/atlantis/server/events" - . "github.com/atlantisnorth/atlantis/testing" + "github.com/runatlantis/atlantis/server/events" + . "github.com/runatlantis/atlantis/testing" ) var tempConfigFile = "/tmp/" + events.ProjectConfigFile diff --git a/server/events/project_finder.go b/server/events/project_finder.go index 9d031a76c..41124dc16 100644 --- a/server/events/project_finder.go +++ b/server/events/project_finder.go @@ -4,8 +4,8 @@ import ( "path" "strings" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/logging" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_project_finder.go ProjectFinder diff --git a/server/events/project_finder_test.go b/server/events/project_finder_test.go index 2da882822..0aee87cfd 100644 --- a/server/events/project_finder_test.go +++ b/server/events/project_finder_test.go @@ -3,9 +3,9 @@ package events_test import ( "testing" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) var noopLogger = logging.NewNoopLogger() diff --git a/server/events/project_pre_execute.go b/server/events/project_pre_execute.go index 54f618228..e831d8a41 100644 --- a/server/events/project_pre_execute.go +++ b/server/events/project_pre_execute.go @@ -5,12 +5,12 @@ import ( "path/filepath" "strings" - "github.com/atlantisnorth/atlantis/server/events/locking" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/run" - "github.com/atlantisnorth/atlantis/server/events/terraform" "github.com/hashicorp/go-version" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/locking" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/run" + "github.com/runatlantis/atlantis/server/events/terraform" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_project_pre_executor.go ProjectPreExecutor diff --git a/server/events/project_pre_execute_test.go b/server/events/project_pre_execute_test.go index f3fe8fb9f..b57c007c7 100644 --- a/server/events/project_pre_execute_test.go +++ b/server/events/project_pre_execute_test.go @@ -4,18 +4,18 @@ import ( "errors" "testing" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/locking" - lmocks "github.com/atlantisnorth/atlantis/server/events/locking/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks" - "github.com/atlantisnorth/atlantis/server/events/models" - rmocks "github.com/atlantisnorth/atlantis/server/events/run/mocks" - tmocks "github.com/atlantisnorth/atlantis/server/events/terraform/mocks" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" "github.com/hashicorp/go-version" "github.com/mohae/deepcopy" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/locking" + lmocks "github.com/runatlantis/atlantis/server/events/locking/mocks" + "github.com/runatlantis/atlantis/server/events/mocks" + "github.com/runatlantis/atlantis/server/events/models" + rmocks "github.com/runatlantis/atlantis/server/events/run/mocks" + tmocks "github.com/runatlantis/atlantis/server/events/terraform/mocks" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) var ctx = events.CommandContext{ diff --git a/server/events/project_result.go b/server/events/project_result.go index 0a0eca03d..8836f2082 100644 --- a/server/events/project_result.go +++ b/server/events/project_result.go @@ -1,6 +1,6 @@ package events -import "github.com/atlantisnorth/atlantis/server/events/vcs" +import "github.com/runatlantis/atlantis/server/events/vcs" // ProjectResult is the result of executing a plan/apply for a project. type ProjectResult struct { diff --git a/server/events/pull_closed_executor.go b/server/events/pull_closed_executor.go index fd6156387..658e08707 100644 --- a/server/events/pull_closed_executor.go +++ b/server/events/pull_closed_executor.go @@ -7,10 +7,10 @@ import ( "strings" "text/template" - "github.com/atlantisnorth/atlantis/server/events/locking" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/locking" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_pull_cleaner.go PullCleaner diff --git a/server/events/pull_closed_executor_test.go b/server/events/pull_closed_executor_test.go index 736088e31..d89be4168 100644 --- a/server/events/pull_closed_executor_test.go +++ b/server/events/pull_closed_executor_test.go @@ -4,16 +4,16 @@ import ( "errors" "testing" - "github.com/atlantisnorth/atlantis/server/events" - lockmocks "github.com/atlantisnorth/atlantis/server/events/locking/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks/matchers" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/models/fixtures" - "github.com/atlantisnorth/atlantis/server/events/vcs" - vcsmocks "github.com/atlantisnorth/atlantis/server/events/vcs/mocks" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events" + lockmocks "github.com/runatlantis/atlantis/server/events/locking/mocks" + "github.com/runatlantis/atlantis/server/events/mocks" + "github.com/runatlantis/atlantis/server/events/mocks/matchers" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/models/fixtures" + "github.com/runatlantis/atlantis/server/events/vcs" + vcsmocks "github.com/runatlantis/atlantis/server/events/vcs/mocks" + . "github.com/runatlantis/atlantis/testing" ) func TestCleanUpPullWorkspaceErr(t *testing.T) { diff --git a/server/events/run/mocks/matchers/ptr_to_logging_simplelogger.go b/server/events/run/mocks/matchers/ptr_to_logging_simplelogger.go index 894889967..0889f65d5 100644 --- a/server/events/run/mocks/matchers/ptr_to_logging_simplelogger.go +++ b/server/events/run/mocks/matchers/ptr_to_logging_simplelogger.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) func AnyPtrToLoggingSimpleLogger() *logging.SimpleLogger { diff --git a/server/events/run/mocks/mock_runner.go b/server/events/run/mocks/mock_runner.go index 406f4b96b..a48820b11 100644 --- a/server/events/run/mocks/mock_runner.go +++ b/server/events/run/mocks/mock_runner.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/run (interfaces: Runner) +// Source: github.com/runatlantis/atlantis/server/events/run (interfaces: Runner) package mocks import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" go_version "github.com/hashicorp/go-version" pegomock "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockRunner struct { diff --git a/server/events/run/run.go b/server/events/run/run.go index 9df3022de..e507a9b14 100644 --- a/server/events/run/run.go +++ b/server/events/run/run.go @@ -10,9 +10,9 @@ import ( "os/exec" "strings" - "github.com/atlantisnorth/atlantis/server/logging" "github.com/hashicorp/go-version" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/logging" ) const inlineShebang = "#!/bin/sh -e" diff --git a/server/events/run/run_test.go b/server/events/run/run_test.go index ddbe1f9fe..3a8164a9d 100644 --- a/server/events/run/run_test.go +++ b/server/events/run/run_test.go @@ -3,9 +3,9 @@ package run import ( "testing" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" "github.com/hashicorp/go-version" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) var logger = logging.NewNoopLogger() diff --git a/server/events/terraform/mocks/matchers/ptr_to_logging_simplelogger.go b/server/events/terraform/mocks/matchers/ptr_to_logging_simplelogger.go index 894889967..0889f65d5 100644 --- a/server/events/terraform/mocks/matchers/ptr_to_logging_simplelogger.go +++ b/server/events/terraform/mocks/matchers/ptr_to_logging_simplelogger.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) func AnyPtrToLoggingSimpleLogger() *logging.SimpleLogger { diff --git a/server/events/terraform/mocks/mock_terraform_client.go b/server/events/terraform/mocks/mock_terraform_client.go index ea3c1ff83..f7e47cf06 100644 --- a/server/events/terraform/mocks/mock_terraform_client.go +++ b/server/events/terraform/mocks/mock_terraform_client.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/terraform (interfaces: Client) +// Source: github.com/runatlantis/atlantis/server/events/terraform (interfaces: Client) package mocks import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" go_version "github.com/hashicorp/go-version" pegomock "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockClient struct { diff --git a/server/events/terraform/terraform_client.go b/server/events/terraform/terraform_client.go index b18368c46..4aa317ac9 100644 --- a/server/events/terraform/terraform_client.go +++ b/server/events/terraform/terraform_client.go @@ -8,9 +8,9 @@ import ( "regexp" "strings" - "github.com/atlantisnorth/atlantis/server/logging" "github.com/hashicorp/go-version" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/logging" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_terraform_client.go Client diff --git a/server/events/terraform/terraform_client_test.go b/server/events/terraform/terraform_client_test.go index 73df89e83..c39a2bbcc 100644 --- a/server/events/terraform/terraform_client_test.go +++ b/server/events/terraform/terraform_client_test.go @@ -3,9 +3,9 @@ package terraform_test import ( "testing" - "github.com/atlantisnorth/atlantis/server/events/terraform" - . "github.com/atlantisnorth/atlantis/testing" "github.com/hashicorp/go-version" + "github.com/runatlantis/atlantis/server/events/terraform" + . "github.com/runatlantis/atlantis/testing" ) func TestMustConstraint_PancisOnBadConstraint(t *testing.T) { diff --git a/server/events/vcs/client.go b/server/events/vcs/client.go index 701105f16..2e2db4de1 100644 --- a/server/events/vcs/client.go +++ b/server/events/vcs/client.go @@ -1,7 +1,7 @@ package vcs import ( - "github.com/atlantisnorth/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/models" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_client.go Client diff --git a/server/events/vcs/github_client.go b/server/events/vcs/github_client.go index a406d872b..fbf412778 100644 --- a/server/events/vcs/github_client.go +++ b/server/events/vcs/github_client.go @@ -6,9 +6,9 @@ import ( "net/url" "strings" - "github.com/atlantisnorth/atlantis/server/events/models" "github.com/google/go-github/github" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" ) // GithubClient is used to perform GitHub actions. diff --git a/server/events/vcs/gitlab_client.go b/server/events/vcs/gitlab_client.go index ebb5cd17f..50ad36bec 100644 --- a/server/events/vcs/gitlab_client.go +++ b/server/events/vcs/gitlab_client.go @@ -4,8 +4,8 @@ import ( "fmt" "net/url" - "github.com/atlantisnorth/atlantis/server/events/models" "github.com/lkysow/go-gitlab" + "github.com/runatlantis/atlantis/server/events/models" ) type GitlabClient struct { diff --git a/server/events/vcs/mocks/matchers/models_pullrequest.go b/server/events/vcs/mocks/matchers/models_pullrequest.go index a85e4cea0..d8b146baa 100644 --- a/server/events/vcs/mocks/matchers/models_pullrequest.go +++ b/server/events/vcs/mocks/matchers/models_pullrequest.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsPullRequest() models.PullRequest { diff --git a/server/events/vcs/mocks/matchers/models_repo.go b/server/events/vcs/mocks/matchers/models_repo.go index a44420815..3f8e699eb 100644 --- a/server/events/vcs/mocks/matchers/models_repo.go +++ b/server/events/vcs/mocks/matchers/models_repo.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" ) func AnyModelsRepo() models.Repo { diff --git a/server/events/vcs/mocks/matchers/vcs_commitstatus.go b/server/events/vcs/mocks/matchers/vcs_commitstatus.go index 253d49dee..3b867df59 100644 --- a/server/events/vcs/mocks/matchers/vcs_commitstatus.go +++ b/server/events/vcs/mocks/matchers/vcs_commitstatus.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/petergtz/pegomock" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) func AnyVcsCommitStatus() vcs.CommitStatus { diff --git a/server/events/vcs/mocks/matchers/vcs_host.go b/server/events/vcs/mocks/matchers/vcs_host.go index 0a280e91b..51a6399dc 100644 --- a/server/events/vcs/mocks/matchers/vcs_host.go +++ b/server/events/vcs/mocks/matchers/vcs_host.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" "github.com/petergtz/pegomock" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) func AnyVcsHost() vcs.Host { diff --git a/server/events/vcs/mocks/mock_client.go b/server/events/vcs/mocks/mock_client.go index b91cc2a3a..56aa654b3 100644 --- a/server/events/vcs/mocks/mock_client.go +++ b/server/events/vcs/mocks/mock_client.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/vcs (interfaces: Client) +// Source: github.com/runatlantis/atlantis/server/events/vcs (interfaces: Client) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockClient struct { diff --git a/server/events/vcs/mocks/mock_proxy.go b/server/events/vcs/mocks/mock_proxy.go index b92ad8244..efb20dff9 100644 --- a/server/events/vcs/mocks/mock_proxy.go +++ b/server/events/vcs/mocks/mock_proxy.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/vcs (interfaces: ClientProxy) +// Source: github.com/runatlantis/atlantis/server/events/vcs (interfaces: ClientProxy) package mocks import ( "reflect" - models "github.com/atlantisnorth/atlantis/server/events/models" - vcs "github.com/atlantisnorth/atlantis/server/events/vcs" pegomock "github.com/petergtz/pegomock" + models "github.com/runatlantis/atlantis/server/events/models" + vcs "github.com/runatlantis/atlantis/server/events/vcs" ) type MockClientProxy struct { diff --git a/server/events/vcs/not_configured_vcs_client.go b/server/events/vcs/not_configured_vcs_client.go index b88d5e489..7e02cba66 100644 --- a/server/events/vcs/not_configured_vcs_client.go +++ b/server/events/vcs/not_configured_vcs_client.go @@ -3,7 +3,7 @@ package vcs import ( "fmt" - "github.com/atlantisnorth/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/models" ) // NotConfiguredVCSClient is used as a placeholder when Atlantis isn't configured diff --git a/server/events/vcs/proxy.go b/server/events/vcs/proxy.go index cf39396da..0ca3e2ec7 100644 --- a/server/events/vcs/proxy.go +++ b/server/events/vcs/proxy.go @@ -1,8 +1,8 @@ package vcs import ( - "github.com/atlantisnorth/atlantis/server/events/models" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events/models" ) //go:generate pegomock generate -m --use-experimental-model-gen --package mocks -o mocks/mock_proxy.go ClientProxy diff --git a/server/events/webhooks/mocks/matchers/ptr_to_logging_simplelogger.go b/server/events/webhooks/mocks/matchers/ptr_to_logging_simplelogger.go index 894889967..0889f65d5 100644 --- a/server/events/webhooks/mocks/matchers/ptr_to_logging_simplelogger.go +++ b/server/events/webhooks/mocks/matchers/ptr_to_logging_simplelogger.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) func AnyPtrToLoggingSimpleLogger() *logging.SimpleLogger { diff --git a/server/events/webhooks/mocks/matchers/webhooks_applyresult.go b/server/events/webhooks/mocks/matchers/webhooks_applyresult.go index 3d2d3c419..2a643f603 100644 --- a/server/events/webhooks/mocks/matchers/webhooks_applyresult.go +++ b/server/events/webhooks/mocks/matchers/webhooks_applyresult.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - webhooks "github.com/atlantisnorth/atlantis/server/events/webhooks" "github.com/petergtz/pegomock" + webhooks "github.com/runatlantis/atlantis/server/events/webhooks" ) func AnyWebhooksApplyResult() webhooks.ApplyResult { diff --git a/server/events/webhooks/mocks/mock_sender.go b/server/events/webhooks/mocks/mock_sender.go index 40fba5df9..3fb89620c 100644 --- a/server/events/webhooks/mocks/mock_sender.go +++ b/server/events/webhooks/mocks/mock_sender.go @@ -1,14 +1,14 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/webhooks (interfaces: Sender) +// Source: github.com/runatlantis/atlantis/server/events/webhooks (interfaces: Sender) package mocks import ( "reflect" - webhooks "github.com/atlantisnorth/atlantis/server/events/webhooks" - logging "github.com/atlantisnorth/atlantis/server/logging" pegomock "github.com/petergtz/pegomock" + webhooks "github.com/runatlantis/atlantis/server/events/webhooks" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockSender struct { diff --git a/server/events/webhooks/mocks/mock_slack_client.go b/server/events/webhooks/mocks/mock_slack_client.go index de2ee4303..7737dbd1b 100644 --- a/server/events/webhooks/mocks/mock_slack_client.go +++ b/server/events/webhooks/mocks/mock_slack_client.go @@ -1,13 +1,13 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/webhooks (interfaces: SlackClient) +// Source: github.com/runatlantis/atlantis/server/events/webhooks (interfaces: SlackClient) package mocks import ( "reflect" - webhooks "github.com/atlantisnorth/atlantis/server/events/webhooks" pegomock "github.com/petergtz/pegomock" + webhooks "github.com/runatlantis/atlantis/server/events/webhooks" ) type MockSlackClient struct { diff --git a/server/events/webhooks/mocks/mock_underlying_slack_client.go b/server/events/webhooks/mocks/mock_underlying_slack_client.go index 4f203f5c8..bf010d531 100644 --- a/server/events/webhooks/mocks/mock_underlying_slack_client.go +++ b/server/events/webhooks/mocks/mock_underlying_slack_client.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/events/webhooks (interfaces: UnderlyingSlackClient) +// Source: github.com/runatlantis/atlantis/server/events/webhooks (interfaces: UnderlyingSlackClient) package mocks diff --git a/server/events/webhooks/slack.go b/server/events/webhooks/slack.go index 37293cc9b..91f46ded7 100644 --- a/server/events/webhooks/slack.go +++ b/server/events/webhooks/slack.go @@ -5,8 +5,8 @@ import ( "fmt" - "github.com/atlantisnorth/atlantis/server/logging" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/logging" ) // SlackWebhook sends webhooks to Slack. diff --git a/server/events/webhooks/slack_client_test.go b/server/events/webhooks/slack_client_test.go index 265c9629a..5163933d8 100644 --- a/server/events/webhooks/slack_client_test.go +++ b/server/events/webhooks/slack_client_test.go @@ -5,13 +5,13 @@ import ( "errors" "testing" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/webhooks" - "github.com/atlantisnorth/atlantis/server/events/webhooks/mocks" "github.com/nlopes/slack" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/webhooks" + "github.com/runatlantis/atlantis/server/events/webhooks/mocks" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + . "github.com/runatlantis/atlantis/testing" ) var underlying *mocks.MockUnderlyingSlackClient @@ -84,7 +84,7 @@ func TestPostMessage_Success(t *testing.T) { expParams := slack.NewPostMessageParameters() expParams.Attachments = []slack.Attachment{{ Color: "good", - Text: "Apply succeeded for ", + Text: "Apply succeeded for ", Fields: []slack.AttachmentField{ { Title: "Workspace", @@ -109,7 +109,7 @@ func TestPostMessage_Success(t *testing.T) { t.Log("When apply fails, function should succeed and indicate failure") result.Success = false expParams.Attachments[0].Color = "danger" - expParams.Attachments[0].Text = "Apply failed for " + expParams.Attachments[0].Text = "Apply failed for " err = client.PostMessage(channel, result) Ok(t, err) @@ -123,7 +123,7 @@ func TestPostMessage_Error(t *testing.T) { expParams := slack.NewPostMessageParameters() expParams.Attachments = []slack.Attachment{{ Color: "good", - Text: "Apply succeeded for ", + Text: "Apply succeeded for ", Fields: []slack.AttachmentField{ { Title: "Workspace", @@ -157,7 +157,7 @@ func setup(t *testing.T) { result = webhooks.ApplyResult{ Workspace: "production", Repo: models.Repo{ - FullName: "atlantisnorth/atlantis", + FullName: "runatlantis/atlantis", }, Pull: models.PullRequest{ Num: 1, diff --git a/server/events/webhooks/slack_test.go b/server/events/webhooks/slack_test.go index fbe03cb7a..52ef65f53 100644 --- a/server/events/webhooks/slack_test.go +++ b/server/events/webhooks/slack_test.go @@ -4,11 +4,11 @@ import ( "regexp" "testing" - "github.com/atlantisnorth/atlantis/server/events/webhooks" - "github.com/atlantisnorth/atlantis/server/events/webhooks/mocks" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events/webhooks" + "github.com/runatlantis/atlantis/server/events/webhooks/mocks" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) func TestSend_PostMessage(t *testing.T) { diff --git a/server/events/webhooks/webhooks.go b/server/events/webhooks/webhooks.go index e56d2067e..ed1ea9f41 100644 --- a/server/events/webhooks/webhooks.go +++ b/server/events/webhooks/webhooks.go @@ -6,8 +6,8 @@ import ( "errors" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/logging" ) const SlackKind = "slack" diff --git a/server/events/webhooks/webhooks_test.go b/server/events/webhooks/webhooks_test.go index e259da677..88d8d059b 100644 --- a/server/events/webhooks/webhooks_test.go +++ b/server/events/webhooks/webhooks_test.go @@ -4,11 +4,11 @@ import ( "strings" "testing" - "github.com/atlantisnorth/atlantis/server/events/webhooks" - "github.com/atlantisnorth/atlantis/server/events/webhooks/mocks" - "github.com/atlantisnorth/atlantis/server/logging" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server/events/webhooks" + "github.com/runatlantis/atlantis/server/events/webhooks/mocks" + "github.com/runatlantis/atlantis/server/logging" + . "github.com/runatlantis/atlantis/testing" ) const ( diff --git a/server/events_controller.go b/server/events_controller.go index b3a470c6b..1bfda7372 100644 --- a/server/events_controller.go +++ b/server/events_controller.go @@ -4,12 +4,12 @@ import ( "fmt" "net/http" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/logging" "github.com/google/go-github/github" "github.com/lkysow/go-gitlab" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/logging" ) const githubHeader = "X-Github-Event" diff --git a/server/events_controller_test.go b/server/events_controller_test.go index 0e9f76d13..e16a1e7f1 100644 --- a/server/events_controller_test.go +++ b/server/events_controller_test.go @@ -8,16 +8,16 @@ import ( "testing" "time" - "github.com/atlantisnorth/atlantis/server" - "github.com/atlantisnorth/atlantis/server/events" - emocks "github.com/atlantisnorth/atlantis/server/events/mocks" - "github.com/atlantisnorth/atlantis/server/events/mocks/matchers" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/logging" - "github.com/atlantisnorth/atlantis/server/mocks" "github.com/lkysow/go-gitlab" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server" + "github.com/runatlantis/atlantis/server/events" + emocks "github.com/runatlantis/atlantis/server/events/mocks" + "github.com/runatlantis/atlantis/server/events/mocks/matchers" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/mocks" ) const githubHeader = "X-Github-Event" diff --git a/server/github_request_validator_test.go b/server/github_request_validator_test.go index 701b282c2..bc9ae68cf 100644 --- a/server/github_request_validator_test.go +++ b/server/github_request_validator_test.go @@ -6,9 +6,9 @@ import ( "net/url" "testing" - "github.com/atlantisnorth/atlantis/server" - . "github.com/atlantisnorth/atlantis/testing" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server" + . "github.com/runatlantis/atlantis/testing" ) func TestValidate_WithSecretErr(t *testing.T) { diff --git a/server/gitlab_request_parser_test.go b/server/gitlab_request_parser_test.go index 35b69c8b5..ba030c744 100644 --- a/server/gitlab_request_parser_test.go +++ b/server/gitlab_request_parser_test.go @@ -5,10 +5,10 @@ import ( "net/http" "testing" - "github.com/atlantisnorth/atlantis/server" - . "github.com/atlantisnorth/atlantis/testing" "github.com/lkysow/go-gitlab" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server" + . "github.com/runatlantis/atlantis/testing" ) var parser = server.DefaultGitlabRequestParser{} diff --git a/server/logging/mocks/matchers/logging_loglevel.go b/server/logging/mocks/matchers/logging_loglevel.go index 442c7bea3..b68e39881 100644 --- a/server/logging/mocks/matchers/logging_loglevel.go +++ b/server/logging/mocks/matchers/logging_loglevel.go @@ -3,8 +3,8 @@ package matchers import ( "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) func AnyLoggingLogLevel() logging.LogLevel { diff --git a/server/logging/mocks/mock_simple_logging.go b/server/logging/mocks/mock_simple_logging.go index abf9a179f..262b01dc5 100644 --- a/server/logging/mocks/mock_simple_logging.go +++ b/server/logging/mocks/mock_simple_logging.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server/logging (interfaces: SimpleLogging) +// Source: github.com/runatlantis/atlantis/server/logging (interfaces: SimpleLogging) package mocks @@ -7,8 +7,8 @@ import ( log "log" "reflect" - logging "github.com/atlantisnorth/atlantis/server/logging" pegomock "github.com/petergtz/pegomock" + logging "github.com/runatlantis/atlantis/server/logging" ) type MockSimpleLogging struct { diff --git a/server/middleware.go b/server/middleware.go index 00326f396..5ad39fec5 100644 --- a/server/middleware.go +++ b/server/middleware.go @@ -4,7 +4,7 @@ import ( "net/http" "strings" - "github.com/atlantisnorth/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/logging" "github.com/urfave/negroni" ) diff --git a/server/mocks/mock_github_request_validator.go b/server/mocks/mock_github_request_validator.go index f7b74e875..14274f281 100644 --- a/server/mocks/mock_github_request_validator.go +++ b/server/mocks/mock_github_request_validator.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server (interfaces: GithubRequestValidator) +// Source: github.com/runatlantis/atlantis/server (interfaces: GithubRequestValidator) package mocks diff --git a/server/mocks/mock_gitlab_request_parser.go b/server/mocks/mock_gitlab_request_parser.go index 3fcd8304d..e4598a1fe 100644 --- a/server/mocks/mock_gitlab_request_parser.go +++ b/server/mocks/mock_gitlab_request_parser.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server (interfaces: GitlabRequestParser) +// Source: github.com/runatlantis/atlantis/server (interfaces: GitlabRequestParser) package mocks diff --git a/server/mocks/mock_template_writer.go b/server/mocks/mock_template_writer.go index cf44a25ae..547890c1c 100644 --- a/server/mocks/mock_template_writer.go +++ b/server/mocks/mock_template_writer.go @@ -1,5 +1,5 @@ // Automatically generated by pegomock. DO NOT EDIT! -// Source: github.com/atlantisnorth/atlantis/server (interfaces: TemplateWriter) +// Source: github.com/runatlantis/atlantis/server (interfaces: TemplateWriter) package mocks diff --git a/server/server.go b/server/server.go index 8f2e33c50..930243879 100644 --- a/server/server.go +++ b/server/server.go @@ -15,19 +15,19 @@ import ( "syscall" "time" - "github.com/atlantisnorth/atlantis/server/events" - "github.com/atlantisnorth/atlantis/server/events/locking" - "github.com/atlantisnorth/atlantis/server/events/locking/boltdb" - "github.com/atlantisnorth/atlantis/server/events/run" - "github.com/atlantisnorth/atlantis/server/events/terraform" - "github.com/atlantisnorth/atlantis/server/events/vcs" - "github.com/atlantisnorth/atlantis/server/events/webhooks" - "github.com/atlantisnorth/atlantis/server/logging" - "github.com/atlantisnorth/atlantis/server/static" "github.com/elazarl/go-bindata-assetfs" "github.com/gorilla/mux" "github.com/lkysow/go-gitlab" "github.com/pkg/errors" + "github.com/runatlantis/atlantis/server/events" + "github.com/runatlantis/atlantis/server/events/locking" + "github.com/runatlantis/atlantis/server/events/locking/boltdb" + "github.com/runatlantis/atlantis/server/events/run" + "github.com/runatlantis/atlantis/server/events/terraform" + "github.com/runatlantis/atlantis/server/events/vcs" + "github.com/runatlantis/atlantis/server/events/webhooks" + "github.com/runatlantis/atlantis/server/logging" + "github.com/runatlantis/atlantis/server/static" "github.com/urfave/cli" "github.com/urfave/negroni" ) diff --git a/server/server_test.go b/server/server_test.go index 54752dc36..1ccf79e26 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -10,14 +10,14 @@ import ( "testing" "time" - "github.com/atlantisnorth/atlantis/server" - "github.com/atlantisnorth/atlantis/server/events/locking/mocks" - "github.com/atlantisnorth/atlantis/server/events/models" - "github.com/atlantisnorth/atlantis/server/logging" - sMocks "github.com/atlantisnorth/atlantis/server/mocks" - . "github.com/atlantisnorth/atlantis/testing" "github.com/gorilla/mux" . "github.com/petergtz/pegomock" + "github.com/runatlantis/atlantis/server" + "github.com/runatlantis/atlantis/server/events/locking/mocks" + "github.com/runatlantis/atlantis/server/events/models" + "github.com/runatlantis/atlantis/server/logging" + sMocks "github.com/runatlantis/atlantis/server/mocks" + . "github.com/runatlantis/atlantis/testing" ) func TestNewServer(t *testing.T) { diff --git a/website/src/config.toml b/website/src/config.toml index 0db35787d..a541a2e98 100644 --- a/website/src/config.toml +++ b/website/src/config.toml @@ -7,7 +7,7 @@ Paginate = 4 [[menu.main]] name = "Docs" weight = -100 - url = "https://github.com/atlantisnorth/atlantis#getting-started" + url = "https://github.com/runatlantis/atlantis#getting-started" [[menu.main]] name = "Blog" weight = -100 @@ -15,7 +15,7 @@ Paginate = 4 [[menu.main]] name = "FAQ" weight = -100 - url = "https://github.com/atlantisnorth/atlantis#faq" + url = "https://github.com/runatlantis/atlantis#faq" [[menu.main]] name = "Demo" weight = 100 diff --git a/website/src/content/blog/atlantis-north.md b/website/src/content/blog/atlantis-north.md index a7eb41441..cf49b9298 100644 --- a/website/src/content/blog/atlantis-north.md +++ b/website/src/content/blog/atlantis-north.md @@ -1,9 +1,9 @@ +++ -title = "Moving Atlantis To atlantisnorth" +title = "Moving Atlantis To runatlantis" date = "2018-02-07T14:01:11-08:00" draft = false weight = 20 -description = "Why Atlantis is moving to github.com/atlantisnorth/atlantis" +description = "Why Atlantis is moving to github.com/runatlantis/atlantis" +++

@@ -12,7 +12,7 @@ description = "Why Atlantis is moving to github.com/atlantisnorth/atlantis" Hi, my name is Luke and I'm the maintainer of Atlantis. I wanted to explain why I'm going to be continuing work on Atlantis -under [github.com/atlantisnorth/atlantis](https://github.com/atlantisnorth/atlantis) instead of under [github.com/hootsuite/atlantis](https://github.com/hootsuite/atlantis). +under [github.com/runatlantis/atlantis](https://github.com/runatlantis/atlantis) instead of under [github.com/hootsuite/atlantis](https://github.com/hootsuite/atlantis). ## Short Story Of Atlantis Atlantis was originally created by Anubhav Mishra while he worked at [Hootsuite](https://hootsuite.com) (you can read more about why he created Atlantis [here](/blog/atlantis-release)). @@ -28,10 +28,10 @@ I (Luke) want to continue working on Atlantis but doing so under the `hootsuite` * It also means I **could** lose control over the repo if Hootsuite's open source policies changed. I don't think this would happen but it is a risk. Because Hootsuite is heavily invested in Atlantis–it's used every day by 20 operations developers and over 50 developers to manage 100+ Terraform repos–they want the project -to continue developing. As such, Hootsuite and I came to the mutual conclusion that it would be best for me to work on Atlantis under my own organization. Thus: [github.com/atlantisnorth/atlantis](https://github.com/atlantisnorth/atlantis). +to continue developing. As such, Hootsuite and I came to the mutual conclusion that it would be best for me to work on Atlantis under my own organization. Thus: [github.com/runatlantis/atlantis](https://github.com/runatlantis/atlantis). ## Future of Atlantis -I'm really excited to continue working on Atlantis so that it can be used by more teams and support more use-cases. Please create any issues and pull requests under the new repository: [github.com/atlantisnorth/atlantis](https://github.com/atlantisnorth/atlantis). -I'll be copying issues over from `hootsuite/atlantis` to `atlantisnorth/atlantis` but that repo will not be maintained further. +I'm really excited to continue working on Atlantis so that it can be used by more teams and support more use-cases. Please create any issues and pull requests under the new repository: [github.com/runatlantis/atlantis](https://github.com/runatlantis/atlantis). +I'll be copying issues over from `hootsuite/atlantis` to `runatlantis/atlantis` but that repo will not be maintained further. If you have any questions, please DM me on Twitter at [@lkysow](https://twitter.com/lkysow). diff --git a/website/src/content/blog/atlantis-release.md b/website/src/content/blog/atlantis-release.md index ea9ed015e..6d8132366 100644 --- a/website/src/content/blog/atlantis-release.md +++ b/website/src/content/blog/atlantis-release.md @@ -7,7 +7,7 @@ draft = false toc = true +++ -We're very excited to announce the [open source](https://github.com/atlantisnorth/atlantis) release of Atlantis! Atlantis is a tool for collaborating on Terraform that's been in use at [Hootsuite](https://hootsuite.com) for over a year. The core functionality of Atlantis enables developers and operators to run `terraform plan` and `apply` directly from Terraform pull requests. Atlantis then comments back on the pull request with the output of the commands: +We're very excited to announce the [open source](https://github.com/runatlantis/atlantis) release of Atlantis! Atlantis is a tool for collaborating on Terraform that's been in use at [Hootsuite](https://hootsuite.com) for over a year. The core functionality of Atlantis enables developers and operators to run `terraform plan` and `apply` directly from Terraform pull requests. Atlantis then comments back on the pull request with the output of the commands: @@ -88,8 +88,8 @@ Since the introduction of Atlantis at Hootsuite, we've had **78** contributors t Since the introduction of Atlantis at Hootsuite we've grown to 144 Terraform repositories[^1] that manage thousands of Amazon resources. Atlantis is used for every single Terraform change throughout our organization. ## Getting started with Atlantis -If you'd like to try out Atlantis for your team you can download the latest release from https://github.com/atlantisnorth/atlantis/releases. If you run `atlantis bootstrap` you can get started in less than 5 minutes. -To read more about Atlantis go to https://github.com/atlantisnorth/atlantis. +If you'd like to try out Atlantis for your team you can download the latest release from https://github.com/runatlantis/atlantis/releases. If you run `atlantis bootstrap` you can get started in less than 5 minutes. +To read more about Atlantis go to https://github.com/runatlantis/atlantis. Check out our video for more information: {{< youtube TmIPWda0IKg >}} diff --git a/website/src/themes/kube/layouts/index.html b/website/src/themes/kube/layouts/index.html index f10db8e32..d2ab53f4c 100644 --- a/website/src/themes/kube/layouts/index.html +++ b/website/src/themes/kube/layouts/index.html @@ -9,8 +9,8 @@

{{.Description}}

diff --git a/website/src/themes/kube/layouts/partials/footer.html b/website/src/themes/kube/layouts/partials/footer.html index d63b9fe60..c6662a411 100644 --- a/website/src/themes/kube/layouts/partials/footer.html +++ b/website/src/themes/kube/layouts/partials/footer.html @@ -5,10 +5,10 @@ Blog
  • - Docs + Docs
  • - FAQ + FAQ
  • diff --git a/website/src/themes/kube/layouts/partials/header.html b/website/src/themes/kube/layouts/partials/header.html index 651052e41..838d8adda 100644 --- a/website/src/themes/kube/layouts/partials/header.html +++ b/website/src/themes/kube/layouts/partials/header.html @@ -20,7 +20,7 @@