Commit Graph

65 Commits

Author SHA1 Message Date
rui
5e4bde4cc4 deps: bump go to v1.16 (#1414)
* deps: bump go to v1.16

Signed-off-by: Rui Chen <rui@chenrui.dev>

* go mod tidy for go.sum

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update go version for go.mod
2021-02-18 12:27:58 -05:00
dependabot[bot]
66e189ddbc build(deps): bump github.com/xanzy/go-gitlab from 0.43.0 to 0.44.0 (#1411)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.43.0 to 0.44.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.43.0...v0.44.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 00:16:55 -05:00
dependabot[bot]
fd4a73b5ec build(deps): bump github.com/elazarl/go-bindata-assetfs (#1412)
Bumps [github.com/elazarl/go-bindata-assetfs](https://github.com/elazarl/go-bindata-assetfs) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/elazarl/go-bindata-assetfs/releases)
- [Changelog](https://github.com/elazarl/go-bindata-assetfs/blob/master/.goreleaser.yml)
- [Commits](https://github.com/elazarl/go-bindata-assetfs/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 00:16:48 -05:00
dependabot[bot]
c2f94b9d76 Bump github.com/microcosm-cc/bluemonday from 1.0.1 to 1.0.4 (#1366)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.1 to 1.0.4.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.1...v1.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:59:16 -05:00
dependabot[bot]
c9c71cde38 Bump github.com/mitchellh/go-homedir from 1.0.0 to 1.1.0 (#1379)
Bumps [github.com/mitchellh/go-homedir](https://github.com/mitchellh/go-homedir) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/mitchellh/go-homedir/releases)
- [Commits](https://github.com/mitchellh/go-homedir/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:59:09 -05:00
dependabot[bot]
908e5e4ec6 Bump github.com/Masterminds/sprig/v3 from 3.2.0 to 3.2.2 (#1401)
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig) from 3.2.0 to 3.2.2.
- [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.2.0...v3.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:58:53 -05:00
dependabot[bot]
444d853806 Bump github.com/go-test/deep from 1.0.3 to 1.0.7 (#1400)
Bumps [github.com/go-test/deep](https://github.com/go-test/deep) from 1.0.3 to 1.0.7.
- [Release notes](https://github.com/go-test/deep/releases)
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md)
- [Commits](https://github.com/go-test/deep/compare/v1.0.3...v1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:51:08 -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
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
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
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
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
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
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
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
dependabot[bot]
f733ffe557 Bump github.com/hashicorp/go-getter from 1.4.0 to 1.5.1 (#1283)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.4.0 to 1.5.1.
- [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.4.0...v1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 22:14:14 -05:00
dependabot[bot]
08dcc8e6ba Bump github.com/urfave/negroni from 0.2.0 to 0.3.0 (#1284)
Bumps [github.com/urfave/negroni](https://github.com/urfave/negroni) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/urfave/negroni/releases)
- [Changelog](https://github.com/urfave/negroni/blob/master/CHANGELOG.md)
- [Commits](https://github.com/urfave/negroni/compare/v0.2.0...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 22:14:02 -05:00
dependabot[bot]
e3b13ce175 Bump github.com/pkg/errors from 0.8.0 to 0.9.1 (#1285)
Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases)
- [Commits](https://github.com/pkg/errors/compare/v0.8.0...v0.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 22:13:41 -05:00
Luke Kysow
7363cce699 Update config-inspect version 2020-08-27 12:26:20 -07:00
Luke Kysow
f91cc27b68 Update go-gitlab 2020-08-06 15:30:20 -07:00
Rui Chen
6f03357902 chore(deps): bump tf to 0.12.29 2020-07-22 13:05:52 -04:00
Luke Kysow
197972a195 Update jquery to 1.5.1
(didn't think I'd be doing this in 2020! :D)
2020-06-25 13:41:10 -07:00
rob
011d3f8229 Test against a live repo, fix accordingly
more docs, add installation step
2020-06-03 20:25:11 -04:00
rob
227ce9cbf4 Upgrade to github/v31 for CompleteAppManifest
split fixtures out elsewhere, add working dir test
2020-06-03 20:18:13 -04:00
Roberto Hidalgo
199cdfe192 Play around with github app credentials 2020-06-03 20:16:24 -04:00
Luke Kysow
df21016f81 Merge pull request #1049 from runatlantis/auto-generate-commit
Update go-github, empty automerge commit
2020-05-25 16:56:05 -07:00
Luke Kysow
7b2a0efc82 Merge pull request #1048 from runatlantis/update-pegomock
Update pegomock
2020-05-25 16:55:45 -07:00
Luke Kysow
3eaa67e1ef Update go-github, empty automerge commit
Using an empty auto-merge commit will cause GitHub to autogenerate its
own commit message like would happen when using the UI.
2020-05-25 12:07:52 -07:00
Luke Kysow
8979a5fd09 Update pegomock 2020-05-25 11:58:50 -07:00
Marc Barlo
d078357d65 Merge branch 'master' of github.com:runatlantis/atlantis into parallel-plans-upstream 2020-05-04 17:19:34 -07:00
Luke Kysow
80347f4c1d Merge remote-tracking branch 'origin/master' into hide-comments 2020-04-15 21:47:58 -07:00
Luke Kysow
418791868a Merge remote-tracking branch 'origin/master' into bolt-upgrade 2020-04-15 20:25:35 -07:00
Luke Kysow
5c1f60b3af Run go mod tidy 2020-04-15 20:16:46 -07:00
Luke Kysow
f1c9695559 Run go mod vendor 2020-04-15 20:16:15 -07:00
John Reese
f133db6570 merge conflicts 2020-04-13 13:25:07 -04:00
John Reese
3c0de2f81f Use latest azuredevops package 2020-04-11 17:36:26 -04:00
John Reese
01aae5e9e4 Implement checks for IsApproved 2020-04-10 15:14:40 -04:00
Luke Kysow
00ba152c41 Upgrade to golang 1.14 2020-04-06 16:00:52 -07:00
Aaron Masover
476d9bfaaa remove extra x/sys that showed up in go.sum 2020-04-06 16:58:49 -06:00
Aaron Masover
c35e3e58f7 update vendor and go.sum 2020-04-06 16:58:44 -06:00
Aaron Masover
26847486ff vendor and go.mod 2020-04-06 16:58:41 -06:00