Commit Graph

1014 Commits

Author SHA1 Message Date
Luke Kysow
a2c92e5977 Check fmt on commit 2019-03-30 20:06:40 -05:00
Luke Kysow
2df59a7f08 Merge pull request #557 from runatlantis/integration-tests
Add server-side cfg integration tests
2019-03-28 15:58:09 -05:00
Luke Kysow
846feaed6d Add server-side cfg integration tests 2019-03-28 15:55:34 -05:00
Luke Kysow
ce24c97d3c Merge pull request #556 from runatlantis/shell-format
New version 3 of atlantis.yaml
2019-03-28 15:02:06 -05:00
Luke Kysow
25fed35728 New version 3 of atlantis.yaml
This version changes how we parse custom run steps.
Previously we used the go-shlex library to parse the steps but this
caused users issues because they'd have to use weird escaping.

Now we simply pass the step directy to sh -c without any parsing. The
parsing was unnecessary.
2019-03-28 13:45:12 -05:00
Luke Kysow
50413f1fae Merge pull request #554 from runatlantis/json-cfg
Add new --repo-config-json flag
2019-03-28 11:05:40 -05:00
Luke Kysow
ac2b160bd7 Add docs for --repo-config-json and other flags 2019-03-28 10:53:10 -05:00
Luke Kysow
b12d487cb2 Add new --repo-config-json flag
This flag will allow users to specify repo config as json instead of
writing a file to disk. This is useful in deployments where disk access
is more difficult, ex. Docker.
2019-03-27 19:52:58 -05:00
Luke Kysow
03d8962b36 Merge pull request #553 from runatlantis/tf-automation
Change Atlantis tagline.
2019-03-27 15:08:48 -05:00
Luke Kysow
e163b47ebd Change Atlantis tagline.
Atlantis has been focused on TF pull request automation for the last
year so I want to rename its tagline to be more focused.
2019-03-27 14:59:37 -05:00
Luke Kysow
d78b106cab Refactor @jjulien's server-side config work. 2019-03-27 14:47:48 -05:00
John Julien
1fcdaba719 Added new --repo-config option and deprecated --allow-repo-config
This enables atlantis.yaml in all repos, but by default restricts
certain sensitive keys from being used.

The keys apply_requirements, workflow, and workflows can only be
specified in an atlantis.yaml file if explicitly allowed by a
server side repo config.

The repo config file provides the ability to specify a default set of
workflows, and default values for apply_requirements and workflow to use
use on a per repo basis.  It also supports applying to a collection of
repos by using regex to match a repo name.

If more than one repo name matches, the values from last repo matched
are used.

This deprecates the --allow-repo-config option
2019-03-27 14:47:48 -05:00
Ryan John Peck
a793607ab2 Update docs around Atlantis Routing (#552)
Tweaking the language here to emphasize the bidirectional nature of communication needed for Atlantis.

Co-Authored-By: RyPeck <iamreck@gmail.com>
2019-03-27 14:47:13 -05:00
Luke Kysow
2e6772e46c Merge pull request #548 from runatlantis/release-0.6
Release 0.6.0
v0.6.0
2019-03-25 11:18:46 -05:00
Luke Kysow
a608405133 Release 0.6.0 2019-03-25 11:15:59 -05:00
Luke Kysow
7dd174ca05 Merge pull request #525 from chrisob/patch-1
Add mergeable GitHub requirement to docs
2019-03-21 20:08:06 -05:00
Luke Kysow
b9a04694e0 Merge pull request #545 from kenske/rename-status-checks
Renamed status checks from <action>/atlantis to atlantis/<action>
2019-03-21 20:05:47 -05:00
chrisob
bf55f1f458 Add mergeable GitHub warning to docs
Describe that the Atlantis user may need write/push permissions to the base branch before it considers a PR mergeable
2019-03-21 17:06:34 +01:00
kenske
c9e39093ef Renamed status checks from <action>/atlantis to atlantis/<action> 2019-03-20 20:22:38 -05:00
Luke Kysow
a6c819dc30 Merge pull request #543 from runatlantis/image-compress
Use compressed images for runatlantis.io
2019-03-20 09:41:57 -05:00
Luke Kysow
608d51b670 Use compressed images for runatlantis.io 2019-03-20 09:35:51 -05:00
Luke Kysow
67092b258c Merge pull request #541 from runatlantis/docker
Use latest base image.
2019-03-14 17:40:45 -05:00
Luke Kysow
d57eb0c23d Use latest base image.
Uses alpine 3.9 now.
2019-03-14 17:36:22 -05:00
Luke Kysow
2e3afb7e51 Merge pull request #538 from runatlantis/tf-download
Autodownload tf versions. Add --default-tf-version.
2019-03-14 16:09:32 -05:00
Luke Kysow
f5dfcfb09b Merge pull request #540 from runatlantis/tf-1113
Update Terraform to 0.11.13
2019-03-14 14:33:36 -05:00
Rui Chen
d111bf77a9 Update Terraform to 0.11.13 2019-03-14 14:30:34 -05:00
Luke Kysow
a6e74edcd1 Merge pull request #529 from jolexa/patch-1
Use alpine:3.9 in base docker image
2019-03-14 14:23:43 -05:00
Luke Kysow
ca58ebd7e0 Autodownload tf versions. Add --default-tf-version.
This changeset has two features:
1. We now automatically download the version of terraform specified in
atlantis.yaml configs if we don't already have that version available
locally.

2. Add a new --default-tf-version flag that allows users to set a
default version of Terraform that we will also download if it's not on
disk.

These mean that users don't need to build custom Docker images to just
add terraform versions. It also means that upgrading the version of
terraform that is packaged with the Atlantis Docker image won't cause
issues for existing users because as long as they're running with
--default-tf-version, Atlantis will always use that version.
2019-03-14 13:51:27 -05:00
Luke Kysow
81a8735754 Remove -coverpkg flag to stop OOM issues.
CircleCI was getting OOM errors since the go-getter package was
included. I'm removing the -coverpkg flag for now.
2019-03-14 10:46:17 -05:00
Luke Kysow
c504392447 Update golang.org/x/sys 2019-03-13 17:52:27 -05:00
Luke Kysow
08e272854c Upgrade pegomock 2019-03-13 17:52:27 -05:00
Luke Kysow
22f313d829 Vendor go-getter 2019-03-13 17:52:27 -05:00
Luke Kysow
80f6b99397 Unskip working test 2019-03-13 17:52:27 -05:00
Luke Kysow
6b6ef07cc7 Release 0.5.1 v0.5.1 2019-03-13 16:23:13 -05:00
Luke Kysow
2fb49130c5 Respond to bitbucket cloud/server username.
Looks like we forgot to add the ability for bitbucket cloud/server users
to invoke Atlantis using the name of the user they're running it as.
2019-03-13 16:13:52 -05:00
Luke Kysow
2bcf17b474 Fixes #533, a regression where Atlantis will respond with errors to
comments that aren't intended to invoke Atlantis.
2019-03-13 16:13:52 -05:00
Jeremy Olexa
8bc0988b9d Use alpine:3.9
Mitigation for CVE-2018-19486 (https://nvd.nist.gov/vuln/detail/CVE-2018-19486)
2019-03-12 11:16:27 -05:00
Luke Kysow
aab2211270 Fix broken link 2019-03-08 12:27:57 -05:00
Luke Kysow
ff22cd5b45 Merge pull request #522 from runatlantis/testdrive-fix
Fix testdrive for ngrok 2.2
v0.5.0
2019-03-07 15:11:02 -05:00
Luke Kysow
fd7bd923e4 Fix testdrive for ngrok 2.2 2019-03-07 15:09:53 -05:00
Luke Kysow
0d3cf74272 Merge pull request #521 from runatlantis/release-0.5
Release 0.5.0
2019-03-07 14:56:22 -05:00
Luke Kysow
d4f0204db2 Release 0.5.0 2019-03-07 14:52:21 -05:00
Luke Kysow
e4499b68fe Merge pull request #520 from runatlantis/warn-log
Log rev-parse error at warn level.
2019-03-07 10:01:31 -05:00
Luke Kysow
d0e0b0dfca Log rev-parse error at warn level.
We recover gracefully from this so it's not an error.
2019-03-07 09:57:29 -05:00
Luke Kysow
9845b9ae15 Merge pull request #517 from runatlantis/terragrunt-cache
Ignore .terragrunt-cache dirs.
2019-03-06 11:46:57 -05:00
Luke Kysow
36925b4dc8 Ignore .terragrunt-cache dirs.
Fixes #487
2019-03-06 11:20:44 -05:00
Luke Kysow
4c887f18cf Merge pull request #514 from runatlantis/split-status-checks
Split status checks
2019-03-06 10:15:56 -05:00
Luke Kysow
04a019994f Merge pull request #515 from runatlantis/spaces
Support dirs with spaces
2019-03-05 16:57:47 -05:00
Luke Kysow
30577a4c4d Support dirs with spaces.
Allow running atlantis plan -d "dir with spaces" to target a directory
that contains spaces.

Fixes #423
2019-03-05 16:16:16 -05:00
Luke Kysow
936a5f4a16 Remove mention of TERRAFORM_WORKSPACE env var 2019-03-05 15:57:43 -05:00