Commit Graph

1032 Commits

Author SHA1 Message Date
David McPike
03bfefe9f4 continue azure devops support 2019-04-03 23:52:48 -05:00
David McPike
1946dc0477 merge from head 2019-04-03 23:48:04 -05:00
David McPike
cfcf59d8e0 continue adding skeleton for azure devops support 2019-04-03 21:30:14 -05:00
Luke Kysow
2f54257b43 Merge pull request #568 from runatlantis/release-0.7
Release 0.7
v0.7.0
2019-04-03 10:47:16 -03:00
David McPike
ce380ec27b initial azuredevops client - copy from bitbucketcloud 2019-04-02 22:00:13 -05:00
Luke Kysow
7ebd8d65c2 Merge pull request #567 from runatlantis/release-notes
Small logging changes et al
2019-04-02 18:14:05 -03:00
Luke Kysow
374e7a6a30 Merge in default cfg in other location 2019-04-02 18:06:35 -03:00
Luke Kysow
cfbda1e44f Better config logging 2019-04-02 18:06:11 -03:00
Luke Kysow
a0cf2eca2f Update changelog 2019-04-02 18:05:00 -03:00
Luke Kysow
d8a8026a06 Merge pull request #566 from runatlantis/release-notes
Release notes
2019-04-02 17:13:30 -03:00
Luke Kysow
8824f23449 Release 0.7 2019-04-02 16:29:04 -03:00
Luke Kysow
d0724f8975 Merge pull request #565 from runatlantis/fix-apply-all-proj
Fix apply all with project name bug
2019-04-02 15:56:39 -03:00
Luke Kysow
609bf84b9a Fix apply all with project name bug
Previously, if you were using project names and you had two projects
with the same directory and workspace but different workflows, running
"atlantis apply" would fail. This was because we weren't figuring out
what the project name was for each pending plan.

This change fixes this by extracting the project name from the planfile.
We also handle /'s in the project name by substituting them with '::'.
This allows us to convert them back to /'s when we're figuring out the
project names from the filenames. It's safe to do this because : isn't
an allowed character for project names.

We also remove a final substitution of invalid filename characters
because we rely on the validation of the project names instead which
happens when validating the atlantis.yaml file.
2019-04-02 15:44:01 -03:00
David McPike
fe258966f7 initial changes for azure devops support 2019-04-01 20:49:09 -05:00
Luke Kysow
b1ffb66409 Merge pull request #560 from runatlantis/help-out
New help format.
2019-03-30 20:35:56 -05:00
Luke Kysow
efcc13756a New help format.
A new help format that keeps everything at 80 chars.
2019-03-30 20:26:35 -05:00
Luke Kysow
5b23640e79 Merge pull request #559 from runatlantis/fmt
Run latest goimports
2019-03-30 20:25:14 -05:00
Luke Kysow
8982a67b78 Run latest goimports 2019-03-30 20:22:49 -05:00
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