Commit Graph

40 Commits

Author SHA1 Message Date
Luke Kysow
00ba152c41 Upgrade to golang 1.14 2020-04-06 16:00:52 -07:00
Rui Chen
40b963f230 Upgrade to go v1.13 2019-09-27 17:39:04 -04:00
Luke Kysow
b99832f99b Fix e2e tests 2019-08-26 19:24:47 +02:00
Luke Kysow
b81fe9a5e5 Switch to gomod 2019-08-26 18:38:22 +02:00
Luke Kysow
8982a67b78 Run latest goimports 2019-03-30 20:22:49 -05:00
kenske
c9e39093ef Renamed status checks from <action>/atlantis to atlantis/<action> 2019-03-20 20:22:38 -05:00
Luke Kysow
4fc22aedeb Split status checks into plan and apply.
Split single top-level status check into one plan and one apply check.
These checks will also now track the whole pull request status rather
than just the last action.
2019-03-05 14:29:43 -05:00
Luke Kysow
70235d8e8f Update to latest linters. Fix errors. 2019-01-22 13:29:42 -05:00
Luke Kysow
b6d821326d Update docs about mergeability 2018-12-12 14:26:46 -06:00
Brenden Matthews
e001353ae9 Add mergeable requirement.
Introduce new `mergeable` requirement, in similar vein to the `approved`
requirement. Ran `make go-generate` to update mocks accordingly.

This addresses issue #43.
2018-12-11 16:00:04 -05:00
Luke Kysow
781ded10b4 Output logs on e2e failures.
Also disable the make test step because there are no unit tests in the
e2e directory (as expected).
2018-11-30 10:10:53 -06:00
Luke Kysow
e9b7001266 Add godocs. Refactor ProjectResult. Golint errors. 2018-08-30 16:47:17 -06:00
Luke Kysow
5a842fb0bf Fix gometalinter errors 2018-07-24 17:02:01 +02:00
Luke Kysow
c98d1040c5 Update e2e for new version. 2018-06-20 12:42:25 +01:00
Luke Kysow
856c0d0c72 Use atlantisbot 2018-06-20 12:19:16 +01:00
Luke Kysow
8aca81966f Add Apache 2 license and copyright.
Add Apache 2 license and Hootsuite copyright to all golang
files. Add a disclaimer that the files have been modified
hereafter by contributors to this repo in order to abide
by the Apache 2 license requirements.
2018-03-15 17:25:02 -07:00
Luke Kysow
8ee9333e0d Use repo whitelist on atlantis bootstrap.
Fix e2e tests.
2018-03-08 23:14:21 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Luke Kysow
7c1220a655 Rename from environment to workspace 2017-12-17 16:46:49 -08:00
Luke Kysow
e5b06454ba Fix gas linter errors. Disable err checking since that's handled by errcheck 2017-11-27 21:04:14 -08:00
Luke Kysow
73d04fb89a Add gometalint. Fix errors (#176) 2017-10-31 20:07:41 -07:00
Luke Kysow
9626b5f263 Run fmt, vet, and megacheck on builds (#164)
* Run fmt, vet, and megacheck on builds

* Fix govet and megacheck issues
2017-10-23 11:11:03 -07:00
Anubhav Mishra
6b55b086cd Adding docker image and release scripts (#123)
* Adding docker image and release scripts

* Using circleci version 2

* now building dumb-init and gosu from source

* trying to fix e2e tests

* fixing working directory for circleci version 2

* start atlantis server and ngrok in the background

* Adding terraform to path and removing old decryption method for circleci

* adding terraform binary to the correct path

* ATLANTIS_URL is now being exported

* using circleci version 2 syntax to export variable

* using circleci version 2 syntax to export variable

* ngrok isnt working now

* Updating CHANGELOG

* Fixes after review and updated README.md
2017-08-16 13:29:51 -07:00
Anubhav Mishra
c663be4247 Adding e2e tests back and upgrading terraform version 0.9.11 (#113)
* Adding e2e tests back and upgrading terraform version 0.9.11

* Fixing the binary name for e2e tests

* revert binary name change

* missed indentation for makefile

* use owner name for branch head for pull request creation
2017-08-10 21:17:50 -07:00
Anubhav Mishra
afb34df7d3 Rekey secrets for using hootsuite-circle-ci user and remove e2e tests until we open source atlantis-tests repo (#108) 2017-08-08 16:16:36 -07:00
Luke Kysow
509c5116ef Use env var GITHUB_PASSWORD instead of GITHUB_TOKEN in e2e tests 2017-07-30 15:59:23 -07:00
Luke Kysow
3ffe549bd5 Use env var GITHUB_PASSWORD instead of GITHUB_TOKEN in e2e tests 2017-07-30 15:35:37 -07:00
Luke Kysow
e728d2548b Add Getting Started instructions. Rename gh-password to gh-token 2017-07-27 13:51:48 -07:00
Luke Kysow
3187477a44 Change endpoint from /hooks to /events. Fixes #22 2017-07-02 14:19:35 -07:00
Luke Kysow
906033e99e Implement local plan storage. Refactor S3 storage (#33)
* added new flags `plan-backend`, `plan-s3-bucket`, `plan-s3-prefix` and deleted `s3-bucket`
* interface `plan.Backend` that is implemented by `file` and `s3`
* simplified s3 code
* didn't end up following my suggestions in #30 since storing stuff in metadata requires you to `Get` the object *first* and then use the metadata. By parsing the `Key` to get repo, pull, path, and env, it skips an initial `Get` step, and I can download directly to the correct directory
* allow users to specify `application/json` or `application/x-www-form-urlencoded` for the webhook delivery type
* remove sending of special header for pull request api (fixes #11)

Closes #30 and #17 and #11
2017-06-20 00:22:42 -07:00
Anubhav Mishra
3a96724da5 fixed bugs with string comparision 2017-06-18 17:09:14 -07:00
Anubhav Mishra
8581b37a7a fixes after review 2017-06-18 16:44:30 -07:00
Anubhav Mishra
898d3da670 regenerated all credentials 2017-06-17 17:23:21 -07:00
Anubhav Mishra
9af4e6f86c removing git url debug 2017-06-17 16:47:13 -07:00
Anubhav Mishra
035fece77e now printing github url to debug 2017-06-17 16:42:58 -07:00
Anubhav Mishra
36c90ad36b moving atlantis url environment variable along side e2e 2017-06-17 15:55:31 -07:00
Anubhav Mishra
2b047f5a85 clean up 2017-06-17 15:44:33 -07:00
Anubhav Mishra
90def00059 now excluding go get doesn't download e2e 2017-06-17 14:59:06 -07:00
Anubhav Mishra
8dd1d6cf46 Adding ci for atlantis 2017-06-17 14:20:51 -07:00