Josh Reichardt
bcb37253c5
deps: bump alpine to v3.13 ( #1389 )
2021-02-12 10:57:19 -05:00
dependabot[bot]
62a13100d6
Bump github.com/xanzy/go-gitlab from 0.34.1 to 0.43.0 ( #1387 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.34.1 to 0.43.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases )
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.34.1...v0.43.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 10:29:57 -05:00
dependabot[bot]
b20f753083
Bump github.com/urfave/cli from 1.20.0 to 1.22.5 ( #1380 )
...
Bumps [github.com/urfave/cli](https://github.com/urfave/cli ) from 1.20.0 to 1.22.5.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v1.20.0...v1.22.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 10:29:18 -05:00
rui
8c8e72e3a4
ci: remove vendor folder ( #1394 )
...
* ci: remove vendor folder
Signed-off-by: Rui Chen <rui@chenrui.dev >
* remove `-mod=vendor` build arg
Signed-off-by: Rui Chen <rui@chenrui.dev >
* remove vendor path ref
2021-02-12 09:57:14 -05:00
Sarvar Muminov
af2a806870
Implement a new policy check workflow ( #1317 )
...
* Adding policy_check support into yaml config
* Added policy check model and runtime structs
* Adding BuildPolicyCheckCommand to ProjectCommandBuilder
* Return incorrectly deleted code
* Remove BuildAutoPolicyPlanCommand from ProjectCommandBuilder
* Split runAutoCommand into two functions
runAutoPlanCommand - does what originally RunAutoplancommand was doing
except now it returns CommandResult and []models.ProjectCommandContext
runAutoPolicyCheckCommand - accepts CommandContext, CommandResult, and
[]models.ProjectCommandContext as arguments and runs PolicyCheckStep runner
* Refactor RunCommentCommand
* Remove BuildPolicyCheckCommand and rename StepCmdExec back to TerraformExec
* Add policy step runner logic and conftest interfaces.
* Add show step runner to policy check stage.
* Adding models.PolicyCheckCommand to buildCtx
This also means buildPlanAllCommands call buildCtx twice once with
models.PlanCommand and once with models.PolicyCheckCommand
* Adding new project_command_builder that supports policy_check
* Refactoring PolicyCheck specific logic into a PolicyCheckProjectCommandBuilder
* Moving events.CommandContext to models.CommandContext this will allow me
to remove buildCtx method and move ProjectCommandContext creation into
models package
* Policy Owners might be different types, for that reason we are
refactoring Owners into its own struct with specific keys defining
different owner types
Co-authored-by: Nish Krishnan <nishk@lyft.com >
Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com >
2021-02-10 18:13:44 -08:00
Nish Krishnan
10d7b282e8
Fix e2e test fixtures for tf0.14. ( #1396 )
2021-02-10 16:48:35 -08:00
Nish Krishnan
fe528c0ba0
0.16.1 Version Release ( #1388 )
...
* 0.16.1 Version Release
* Update main.go
* Update bundle.yaml
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com >
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com >
v0.16.1
2021-02-08 15:12:48 -08:00
rui
6c007e6946
doc: add stargazers chart ( #1386 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-02-05 17:54:15 -05:00
Marc Goujon
434b4f5074
Fixed bug in allowed_workflows logic ( #1377 )
2021-01-30 20:32:10 -08:00
rui
9bd534e1b7
terraform 0.14.5 ( #1376 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-01-30 14:11:13 -05:00
Nish Krishnan
eaafd438f8
Add stale github action ( #1373 )
...
Right now this is only configured for PRs but can be used for issues as well. This only cleans up PRs for which the customer is not responding to as of now.
2021-01-29 09:31:03 -08:00
dependabot[bot]
fe6dd45d9d
Bump github.com/Masterminds/sprig/v3 from 3.1.0 to 3.2.0 ( #1367 )
...
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/Masterminds/sprig/releases )
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/sprig/compare/v3.1.0...v3.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 12:37:35 -08:00
Mihai Plasoianu
2c4e0c3409
Set TF_WORKSPACE env var ( #1363 )
2021-01-28 11:56:08 -08:00
Radon Rosborough
63a6e6450e
Pass atlantis/apply when there are no plans ( #1323 )
2021-01-28 10:45:57 -08:00
Thomas Lacroix
6dfa6d55b5
fix(slack): replace slack GetChannels by GetConversations ( #1350 )
2021-01-28 10:37:01 -08:00
dependabot[bot]
2eb73e6bfb
Bump github.com/hashicorp/go-version from 1.2.0 to 1.2.1 ( #1365 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 09:02:27 -08:00
dependabot[bot]
664f83f6bb
Bump github.com/Laisky/graphql from 1.0.4 to 1.0.5 ( #1368 )
...
Bumps [github.com/Laisky/graphql](https://github.com/Laisky/graphql ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/Laisky/graphql/releases )
- [Commits](https://github.com/Laisky/graphql/compare/v1.0.4...v1.0.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 09:02:06 -08:00
dependabot[bot]
a95a194e6c
Bump github.com/hashicorp/go-getter from 1.5.1 to 1.5.2 ( #1344 )
...
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/hashicorp/go-getter/releases )
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml )
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 15:50:22 -05:00
Gerald Barker
1137a82c60
Add the ability to disable Atlantis locking a repo ( #1340 )
...
* Add the ability to disable Atlantis locking a repo
* Fix incorrect logic when creating locking Client
Co-authored-by: kbaldyga <kbaldyga@gmail.com >
* Add tests for noOpLocker to improve coverage
Co-authored-by: Gerald Barker <geraldbarker@mail.com >
Co-authored-by: kbaldyga <kbaldyga@gmail.com >
2021-01-14 10:20:27 -05:00
ollliegits
cf9dd4ea65
docs: Note added on when exactly pre workflow hooks run. ( #1346 )
...
Co-authored-by: Oliver <oliver.stache@t-systems.com >
2021-01-14 10:19:54 -05:00
Istvan Tapaszto
68e20b1dc1
Fixing AutoMerge issue with Azure DevOps ( #1289 )
...
* Getting Azure DevOps user id on the fly
* mcdafydd/go-azuredevops module version increased
* Additional errorhandling
* Additional errorhandling Part2
* Doc update: Access permission requirement
* Fixing modules.txt
* Fixing modules.txt
* Modules.txt fixed
* AzureDevops dependencies committed to vendor
* Fixing AzureDevOpsClient tests
* Fixing invalid bitbucket references in docs
* Fixing modules.txt
* Fixing go.mod
Co-authored-by: Tapaszto, Istvan <istvan.tapaszto@msciintegration.onmicrosoft.com >
2021-01-13 09:01:06 -05:00
Rui Chen
6b36adbf35
deps: bump versions for tf 0.12.x and 0.13.x
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-01-07 09:39:53 -05:00
chenrui
c7723c65a4
deps: tf 0.14.4 ( #1336 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-01-07 09:37:35 -05:00
Nish Krishnan
1513ee6421
Add support for fetching gh app user. ( #30 ) ( #1334 )
...
* Add support for fetching gh app user. (#30 )
* Upgrade pegomock.
* go mod vendor.
2021-01-05 15:21:31 -08:00
Nish Krishnan
129b7b2f57
Update link. ( #1335 )
2021-01-05 14:17:56 -08:00
Matija Buriša
43fce15076
add a valid variable definition file extension to list of exceptions ( #1331 )
...
* add a valid variable definition file extension to list of exceptions
* run go fmt
Co-authored-by: Matija Burisa <Matija.Burisa@infobip.com >
2021-01-04 12:08:50 -08:00
Rui Chen
2ac77dbe58
docs: add toc for README
2020-12-26 15:51:57 -05:00
Toby Jackson
1a66b6e761
Update configuring-webhooks.md ( #1254 )
...
Remove duplicated (and incomplete) gitlab configuration section on webhooks readme.
2020-12-23 15:56:59 -08:00
Alex Castle
d827f2c1d5
chore: correct cast from int to string in error message formating ( #1327 )
2020-12-22 10:29:22 -05:00
Luke Kysow
06991d77d1
Release 0.16.0 ( #1324 )
v0.16.0
2020-12-21 10:48:33 -08:00
chenrui
d09e79888a
chore(deps): tf 0.14.3 ( #1319 )
...
Signed-off-by: Rui Chen <rui@meetup.com >
2020-12-18 13:34:35 -05:00
dependabot[bot]
0ddf73d0a9
Bump dot-prop from 4.2.0 to 4.2.1 ( #1314 )
2020-12-18 18:03:57 +00:00
Jason Murray
9e92a36ec9
fix dead anchor in bitbucket docs ( #1268 )
2020-12-14 16:27:55 -05:00
Sarvar Muminov
3456dc934b
Add pre workflow custom hooks to run scripts before workflow execution(plan, apply, etc) ( #1255 )
...
* Updated runatlantis.io/docs to have `pre-workflow-hooks` use cases and examples
2020-12-14 15:19:52 -05:00
Marc Goujon
5a1e19155d
Added support for restricting workflows usage repo-side ( #1099 )
...
* Added the ability to restrict server-side workflows on a per repo basis
* Fixed documentation broken links
* Removed unneeded
2020-12-14 10:37:37 -08:00
Laura Martin
b6e8403688
Use regex to filter filenames ( #1253 )
...
I ran into an issue where I have a directory of templates I use that I
name `foo.tf.template`. I found that Atlantis was running against this
directory and failing, which was unexpected behaviour.
This is because we're just checking if `.tf` is contained within a
filename, rather than checking if it's the suffix of the filename.
Instead, we can use regex to ensure that we're only filtering on actual
Terraform files, inclusive of `.tf` and `.tfvars` suffixes.
There are obviously some alternative ways I could get around this:
rename my templates to `foo.template` without the `.tf`.
I also really liked the idea of a `.atlantisignore` file previously
cited[1], but it was rejected in favour of explicitly defining exactly
which directories to run it in. We have a large number of directories so
this wasn't appealing to me.
I felt this behaviour was sufficiently unexpected that it was worth
making a more explicit filter.
[1] https://github.com/runatlantis/atlantis/issues/26
2020-12-12 21:18:40 -05:00
Quan Hoang
90495bbaf4
docs: add 'skip-clone-no-changes' server configuration flag ( #1252 )
...
Co-authored-by: Quan Hoang <quan.hoang@smarkets.com >
2020-12-12 21:16:39 -05:00
dependabot[bot]
0edab64c99
Bump ini from 1.3.5 to 1.3.7 ( #1311 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 21:13:08 -05:00
dependabot[bot]
24c852db03
Bump github.com/spf13/viper from 1.0.0 to 1.7.1 ( #1293 )
...
* Bump github.com/spf13/viper from 1.0.0 to 1.7.1
Signed-off-by: Rui Chen <rui@meetup.com >
* go mod vendor
Signed-off-by: Rui Chen <rui@meetup.com >
Co-authored-by: Rui Chen <rui@meetup.com >
2020-12-12 21:12:49 -05:00
chenrui
d51a4706b3
chore(deps): sprig 3.1.0 ( #1313 )
...
* chore(deps): sprig 3.1.0
Signed-off-by: Rui Chen <rui@meetup.com >
* go mod vendor
Signed-off-by: Rui Chen <rui@meetup.com >
2020-12-12 21:05:15 -05:00
chenrui
f86aec2213
chore(deps): terraform 0.14.2 ( #1308 )
...
* Revert "Revert "chore(deps): terraform 0.14.2 (#1305 )" (#1307 )"
This reverts commit cb003dbf97 .
* deprecate --allow-repo-config
Signed-off-by: Rui Chen <rui@meetup.com >
2020-12-12 20:41:43 -05:00
Paul Groudas
ef610a650f
Add arm64 (Linux) binary releases. ( #1291 )
...
Hashicorp has recently added arm64 builds with their recent 0.14
release: https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-14-general-availability
> Terraform 0.14 also adds official support for Linux ARM64 builds.
> We’ve gone further and added Linux ARM64 support in the latest 0.13.x releases.
Similarly, recent versions of popular providers are also published with
arm64 builds.
This change updates the build script in order to produce an arm64
binary.
This would be useful, for example, for running in the cloud with one of
Amazon graviton2 instance types, or at a smaller scale on a Raspberry Pi
3 (or newer).
2020-12-10 14:52:59 -05:00
chenrui
cb003dbf97
Revert "chore(deps): terraform 0.14.2 ( #1305 )" ( #1307 )
...
This reverts commit c44fe31b35 .
2020-12-09 17:45:30 -05:00
chenrui
4b00cad792
deps: dumb-init 1.2.3 ( #1298 )
...
Signed-off-by: Rui Chen <rui@meetup.com >
2020-12-09 15:57:59 -05:00
chenrui
c44fe31b35
chore(deps): terraform 0.14.2 ( #1305 )
2020-12-09 15:57:34 -05:00
dependabot[bot]
f42d35251f
Bump gopkg.in/yaml.v2 from 2.2.2 to 2.4.0 ( #1295 )
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.2 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.2...v2.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 14:36:45 -05:00
dependabot[bot]
caccabbca8
Bump go.etcd.io/bbolt from 1.3.4 to 1.3.5 ( #1296 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.4...v1.3.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 12:51:28 -05:00
dependabot[bot]
14d759fb2e
Bump gopkg.in/go-playground/validator.v9 from 9.20.2 to 9.31.0 ( #1294 )
...
Bumps [gopkg.in/go-playground/validator.v9](https://github.com/go-playground/validator ) from 9.20.2 to 9.31.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v9.20.2...v9.31.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 12:51:16 -05:00
dependabot[bot]
5eba09b943
Bump github.com/petergtz/pegomock ( #1281 )
...
Bumps [github.com/petergtz/pegomock](https://github.com/petergtz/pegomock ) from 2.7.0+incompatible to 2.8.0+incompatible.
- [Release notes](https://github.com/petergtz/pegomock/releases )
- [Changelog](https://github.com/petergtz/pegomock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/petergtz/pegomock/compare/v2.7.0...v2.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-06 20:40:18 -05:00
dependabot[bot]
5a06cee9d0
Bump github.com/gorilla/mux from 1.6.2 to 1.8.0 ( #1282 )
...
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.6.2 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.6.2...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-06 20:39:43 -05:00