Commit Graph

1898 Commits

Author SHA1 Message Date
dependabot[bot]
b4cb071907 build(deps): bump runatlantis/atlantis-base (#1794)
Bumps runatlantis/atlantis-base from 2021.06.22 to 2021.08.31.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 15:03:52 -04:00
Rui Chen
5917c47349 docker: use ghcr.io images rather than docker hub ones
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-04 15:44:05 -04:00
rui
72491335e4 e2e: update dockerfile (#1790)
* e2e: update dockerfile

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

* test workflow

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

* trigger a docker build

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

* revert

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

* Update Dockerfile

* update dockerfile

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

* Update Dockerfile

* Update testing-env-image.yml
2021-09-04 15:18:22 -04:00
Rui Chen
e021dbf8d4 workflow(testing-env-image): update path trigger
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-03 18:30:58 -04:00
rui
fae93aecb6 build: fix testing-env img process (#1789)
* remove circleci img comment

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

* test img build

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

* Revert "test img build"

This reverts commit fae6ee43a5.
2021-09-03 18:13:44 -04:00
Nish Krishnan
34426b6b2f Actually bump testing image conftest version to 0.27 (#1788) 2021-09-03 14:14:16 -07:00
Nish Krishnan
ce92a6aa31 Bump testing image conftest version to 0.27 (#1787) 2021-09-03 14:04:31 -07:00
Rui Chen
f5e0eed619 e2e: cleanup go.mod
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-03 15:34:35 -04:00
rui
db1cb4a649 build: tf 1.0.6 (#1786)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-03 11:41:18 -04:00
Rui Chen
7f884fa052 docs: remove gitter support
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-02 00:35:52 -04:00
Rui Chen
55c5ce89bb docs: move badges up and remove gitter support
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-02 00:33:32 -04:00
dependabot[bot]
00d2abe25c build(deps): bump tar from 4.4.15 to 4.4.19 (#1783)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-02 00:24:50 -04:00
Nish Krishnan
8aabf00b67 0.17.3 release (#1779) v0.17.3 2021-08-31 15:20:28 -07:00
rui
ffda2909c3 workflow: add testing-env image build/publish process (#1780)
* workflow: add testing-env image build/publish process

replacing https://hub.docker.com/r/runatlantis/testing-env

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

* refresh the testing-env image

* only runs on master branch

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-30 23:41:27 -04:00
Thomas Stig Jacobsen
f2ded06e25 deps: bump alpine to 3.14 (#1770) 2021-08-30 23:21:42 -04:00
rui
317503a071 build: bump to use go1.17 (#1766)
* build: bump to use go1.17

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-30 23:19:46 -04:00
Masayuki Morita
2600708fba Validate base branches in DefaultCommandRunner (#1768)
Fixes #1539

The branch matcher feature has been introduced in #1383, but the current
implementation was broken and doesn't work at all (#1539).

If my understanding is correct, there are two problems:

(1) The `GlobalCfg` has a default `Repo` instance which always matches
any repositries and branches. Therefore the branch matcher never be
functional.
(2) Validating base branches in
`DefaultPreWorkflowHooksCommandRunner.RunPreHooks()` implicitly assumed
that users customize `pre_workflow_hooks`, but the assumption isn't
always true because it defaults to empty.

For (1), I added a new method `MatchingRepo()` to `GlobalCfg` to check
`BranchMatches()` for a single `Repo` instance.

For (2), I moved validating branch to
`DefaultCommandRunner.validateCtxAndComment()`. Since the method has
already validated meta data of pull request, I think it's suitable place
to check base branches, but please let me know if there is anywhere more
suitable.
2021-08-30 15:13:59 -07:00
Gerald Barker
7ce8cef307 Fix regression - Delete .terraform.lock.hcl if it was created by terraform init (#1701)
* Delete .terraform.lock.hcl prior to terraform init if it is not staged

* Changes suggeted by reviewer
2021-08-30 14:53:49 -07:00
Muhammad Kamran Azeem
c0faa16f6e Fixed instructions for adding Webhook under Gitlab (#1737)
The instructions incorrectly asked to visit "Settings->Integrations" , whereas the correct instruction is to visit "Settings->Webhooks".

This PR fixes the error.
2021-08-30 14:40:16 -07:00
dependabot[bot]
fe54ddd252 build(deps): bump github.com/hashicorp/go-getter from 1.5.6 to 1.5.7 (#1758)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.6 to 1.5.7.
- [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.6...v1.5.7)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 14:39:47 -07:00
Ken Kaizu
42940421a2 Split Gitlab Server comments if over max length (#1755) 2021-08-30 14:39:04 -07:00
Enoch Lo
89236d8e54 Add flag to enable markdown diff formatting (#1751) 2021-08-30 14:01:52 -07:00
dependabot[bot]
0d6cc493c8 build(deps): bump github.com/xanzy/go-gitlab from 0.50.2 to 0.50.3 (#1757)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.2 to 0.50.3.
- [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.50.2...v0.50.3)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-20 18:35:06 -04:00
rui
9b5f9e181a deps: tf 1.0.5 (#1765)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-18 19:03:45 -04:00
David Haven
01b8718509 allow user to pass gh-app-key directly instead of filename (#1706)
* allow user to pass gh-app-key directly instead of filename

* start fixing tests

* fix make test

* update website with info about new flag

* Apply suggestions from code review

Co-authored-by: Roberto Hidalgo <un@rob.mx>

Co-authored-by: Roberto Hidalgo <un@rob.mx>
2021-08-17 22:02:01 -07:00
Masayuki Morita
fe31bc6243 Fix typo (#1754) 2021-08-17 10:23:48 -07:00
dependabot[bot]
dd3b33cf5f build(deps): bump go.uber.org/zap from 1.18.1 to 1.19.0 (#1756)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.18.1...v1.19.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 16:38:05 -04:00
dependabot[bot]
48104ea8dc build(deps): bump path-parse from 1.0.5 to 1.0.7 (#1753)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 14:48:52 -04:00
dependabot[bot]
da981cbb46 build(deps): bump github.com/xanzy/go-gitlab from 0.50.1 to 0.50.2 (#1746)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.1 to 0.50.2.
- [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.50.1...v0.50.2)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-10 17:09:44 -04:00
dependabot[bot]
c21d056b2c build(deps): bump github.com/hashicorp/go-getter from 1.5.5 to 1.5.6 (#1728)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.5 to 1.5.6.
- [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.5...v1.5.6)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 10:37:40 -04:00
dependabot[bot]
c744d1ecf6 build(deps): bump tar from 4.4.4 to 4.4.15 (#1733)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.4 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.4...v4.4.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 10:37:33 -04:00
rui
3495fec592 deps: tf 1.0.4 (#1748) 2021-08-09 10:37:19 -04:00
Aayush Gupta
44e898c33a Refactor Apply Requirements into a Handler. (#1729) 2021-08-06 14:03:12 -07:00
Luke Kysow
144198edc4 Create bug_report.md (#1725) 2021-08-05 17:08:22 -07:00
Lucas C
552e4a29e7 Fixing apply permission when MR status is draft (#1736) 2021-08-04 12:34:44 -07:00
Pavel Golubev
ebf3db4051 fix ignore of --parallel-pool-size flag (#1705) 2021-08-03 11:03:23 -07:00
Lucas C
cbef84fe09 feat: improving apply requirements for mergeable on Gitlab (#1675)
* Improving apply requirements for mergeable on Gitlab

* Fixing end of line

* Renaming variables

* Renaming variables

* Fixing variable assignment

* Fixing variable assignment
2021-08-02 13:34:11 -07:00
rui
170154b492 deps: tf 1.0.3 (#1719) 2021-07-27 20:17:00 -04:00
dependabot[bot]
7e958c104f build(deps): bump actions/stale from 3.0.19 to 4 (#1709)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.19 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3.0.19...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 16:55:11 -04:00
dependabot[bot]
8b34c05038 build(deps): bump reviewdog/action-golangci-lint from 1 to 2 (#1717)
Bumps [reviewdog/action-golangci-lint](https://github.com/reviewdog/action-golangci-lint) from 1 to 2.
- [Release notes](https://github.com/reviewdog/action-golangci-lint/releases)
- [Commits](https://github.com/reviewdog/action-golangci-lint/compare/v1...v2)

---
updated-dependencies:
- dependency-name: reviewdog/action-golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 16:55:01 -04:00
Bruno Ferreira
5e52a0860a fix: urls on webhooks documentation (#1713)
Some links were broken because they had `.html` instead of `.md`
2021-07-22 20:36:08 -07:00
Pat Sier
d358857e80 feat: add version command (#1691) 2021-07-12 11:10:15 -04:00
dependabot[bot]
23015f3346 build(deps): bump github.com/microcosm-cc/bluemonday (#1699)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.14...v1.0.15)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 11:10:01 -04:00
dependabot[bot]
a99e5854ce build(deps): bump go.uber.org/zap from 1.17.0 to 1.18.1 (#1689)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.17.0...v1.18.1)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 17:21:19 -04:00
Taavi Tani
d451167175 fix: TFE remote ops detection for >= tf 1.0.0 (#1687) 2021-07-07 16:48:49 -04:00
rui
d502bed81b workflow: point latest release to latest release (#1677)
* workflow: point latest release to latest release

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

* use dev instead of nightly

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-07-07 16:43:42 -04:00
rui
a04915548a deps: tf 1.0.2 (#1693)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-07-07 16:43:24 -04:00
dependabot[bot]
22b94a3a25 build(deps): bump github.com/hashicorp/go-getter from 1.5.4 to 1.5.5 (#1688)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.4 to 1.5.5.
- [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.4...v1.5.5)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 16:40:03 -04:00
dependabot[bot]
23209acd84 build(deps): bump github.com/xanzy/go-gitlab from 0.50.0 to 0.50.1 (#1690)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.0 to 0.50.1.
- [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.50.0...v0.50.1)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-07 16:35:19 -04:00
Nish Krishnan
d914eafd2a Move core workflow packages under core. (#1684)
* Move core workflow packages under core.

* lint.
2021-07-01 12:54:44 -07:00