Commit Graph

1934 Commits

Author SHA1 Message Date
rui
720d8eb2d4 deps: conftest 0.28.2 (#1872) 2021-10-28 14:04:53 -04:00
dependabot[bot]
3dd4940a15 build(deps): bump github.com/microcosm-cc/bluemonday (#1868)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.15...v1.0.16)

---
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-10-28 13:48:21 -04:00
Rui Chen
cb07e2adb0 deps: tf 1.0.10 2021-10-28 13:46:36 -04:00
Daniel Grimes
4248e2ebf4 fix(azure): allow correct path to be derived for on premise installation (#1863)
* add .devcontainer to .gitignore

* allow AzureDevOps host to be specified in the user_config

* fix spacing issues

* gofmt

* fixes to cmd and update to approach

* add specific self host fixtures

* add specific self host parser tests

* update code to azure self hosted devops

* go fmt

Co-authored-by: atlantisbot <lkysow+atlantis@gmail.com>
2021-10-26 10:34:47 -07:00
dependabot[bot]
a148eb80a8 build(deps): bump github.com/mcdafydd/go-azuredevops (#1867)
Bumps [github.com/mcdafydd/go-azuredevops](https://github.com/mcdafydd/go-azuredevops) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/mcdafydd/go-azuredevops/releases)
- [Commits](https://github.com/mcdafydd/go-azuredevops/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: github.com/mcdafydd/go-azuredevops
  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-10-25 11:41:56 -04:00
FBLGit
cbf35ca0ed feat: add BasicAuth Support to Atlantis ServeHTTP (#1777)
* Add BasicAuth Support to Atlantis ServeHTTP

* Added Security notes

Co-authored-by: xmurias <xmurias@gmail.com>
2021-10-21 14:58:30 -07:00
Nish Krishnan
d01796b9d9 feat: filter out atlantis/apply from mergeability clause (#1856)
Filter out atlantis apply status during mergeability check.
2021-10-19 13:51:22 -07:00
rui
8093b8864a deps: update conftest to 0.28.1 for atlantis img (#1864)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-19 12:35:10 -04:00
dependabot[bot]
8132efed9d build(deps): bump github.com/go-test/deep from 1.0.7 to 1.0.8 (#1862)
Bumps [github.com/go-test/deep](https://github.com/go-test/deep) from 1.0.7 to 1.0.8.
- [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.7...v1.0.8)

---
updated-dependencies:
- dependency-name: github.com/go-test/deep
  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-10-18 10:55:55 -04:00
Daniel Grimes
571f91fbda fix(azure): allow host to be specified in user_config for on premise installation (#1860)
* add .devcontainer to .gitignore

* allow AzureDevOps host to be specified in the user_config

* fix spacing issues

* gofmt

* fixes to cmd and update to approach

Co-authored-by: atlantisbot <lkysow+atlantis@gmail.com>
2021-10-17 14:07:14 -04:00
rui
515df4edb1 deps: terraform 1.0.9 (#1854)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-17 13:46:47 -04:00
dependabot[bot]
94d7315786 build(deps): bump github.com/hashicorp/go-getter from 1.5.8 to 1.5.9 (#1850)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.8 to 1.5.9.
- [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.8...v1.5.9)

---
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-10-11 15:12:14 -04:00
Bea Hughes
070f5174e7 chore: use golang-jwt/jwt to replace dgrijalva/jwt-go (#1845)
* Migrate dgrijalva/jwt-go to golang-jwt/jwt/v4

dgrijalva's jwt is no longer maintained. The golang-jwt says it is a
drop in replacement for v4. This also fixes CVE-2020-26160 which
possibly won't be fixed in dgrijalva's version.

* Update occurrences of bradleyfalzon/ghinstallation to v2

v2.0.3 pulls in golang-jwt/jwt over the now unmaintained
dgrijalva/jwt-go.
2021-10-07 00:41:37 -04:00
Eng Zer Jun
38cf7b0141 refactor: move from io/ioutil to io and os package (#1843)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-07 00:37:42 -04:00
rui
4d4f1340db release: 0.17.4 (#1841) v0.17.4 2021-10-05 21:18:35 -04:00
Nicholas (Nick) Meyer
875e2adc40 Improve github pull request call retries (#1810)
* Improve github pull request call retries

Retry with fixed 1 second backoff up to 3 retries was added by #1131 to
address #1019, but the issue continued to show up (#1453).

Increase max attempts to 5 and use exponential backoff for a maximum
total retry time of (2^n - n - 1) seconds, which is roughly 30 seconds
for current max attempts n = 5.

Also move the sleep to the top of the loop so that we never sleep
without sending the request again on the last iteration.

* Fix style with gofmt -s
2021-10-04 09:59:53 -07:00
rui
b55f386962 testdrive: update terraformVersion (#1839)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-03 13:28:11 -04:00
Alexander Dupuy
bd66c1f99b docs: document --auto-merge-disabled option (#1838)
This flag was added in #1533 but was not documented.
2021-10-01 09:59:39 -04:00
dependabot[bot]
fb46242ad5 build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (#1821)
* build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* replace `golang.org/x/crypto/ssh/terminal` with `golang.org/x/term`

* update go.mod

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2021-10-01 00:00:07 -04:00
rui
c3d9e136ce deps: tf 1.0.8 (#1837)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-30 23:33:24 -04:00
wpbeckwith
da7e04290b Add support for deleting a branch on merge in BitBucket Server (#1792)
* Add support for deleting a branch on merge in BitBucket Server

* Add support for deleting a branch on merge in BitBucket Server

* Making linter happy although the code would fall through and return err anyway.

* Add client_test for deleting source branch

* Added err check

Co-authored-by: Wendell Beckwith <wendell.beckwith@redfin.com>
2021-09-27 09:26:37 -07:00
dependabot[bot]
9e791d89ee build(deps): bump github.com/xanzy/go-gitlab from 0.50.4 to 0.51.1 (#1831)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.4 to 0.51.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.4...v0.51.1)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  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-09-27 10:00:26 -04:00
Xiao Zhang
aa8cfb5d0d Fix title level (#1822)
It generated confusing ToC/menu
2021-09-24 13:09:57 -07:00
Aayush Gupta
bb2c239dd9 Updating client interface and adding ApprovalStatus model (#1827) 2021-09-22 12:41:05 -07:00
dependabot[bot]
afc170ce21 build(deps): bump prismjs from 1.24.0 to 1.25.0 (#1823)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  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-22 14:17:30 -04:00
rui
e050a356a0 deps: conftest 0.28.1 (#1826) 2021-09-22 13:29:30 -04:00
rui
b3af64a39c deps: conftest 0.28.0 (#1819)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-19 00:29:38 -04:00
rui
bf63dde18b build: tf 1.0.7 (#1811)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-15 17:15:53 -04:00
Masayuki Morita
289cab0804 Add the branch key in the reference for server side repo config (#1784)
Fixes #1695

The branch matcher feature has been implemented in #1383 and #1768.
There is only an example for it, but not in the reference.

https://github.com/runatlantis/atlantis/pull/1383/files#diff-5dd8dd3b7c37191b78109efaaa1bb73184ff7a1690632d687fed7cd748847f5eR31-R34

Add missing the `branch` key in the reference for server side repo config.

I also add a warning for `mergeable` requirement to check the `branch`
setting because I think a typical branch protection rule only restricts
a default branch. We should let users know that someone can potentially
bypass it without the `branch` restriction in atlantis.
2021-09-14 15:31:45 -07:00
dependabot[bot]
ff00a7e316 build(deps): bump go.uber.org/zap from 1.19.0 to 1.19.1 (#1808)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.19.0 to 1.19.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.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  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-09-13 10:14:10 -04:00
dependabot[bot]
4ad308538e build(deps): bump github.com/hashicorp/go-getter from 1.5.7 to 1.5.8 (#1807)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.7 to 1.5.8.
- [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.7...v1.5.8)

---
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-09-13 10:14:03 -04:00
Masayuki Morita
4b6c2f65da build(lint): use revive instead of golint (#1801)
* Use revive instead of golint

The golint was officially deprecated.
https://github.com/golang/go/issues/38968

We have been using golint via golangci-lint and golangci-lint now
recommends using revive instead of golint.
https://golangci-lint.run/usage/linters/
> golint: The repository of the linter has been archived by the owner.
> Replaced by revive.

The revive is a drop-in replacement of golint. I think switching to
revive is a reasonable choice to check the same rules for free.
https://github.com/mgechev/revive

* Fix lint errors reported by revive

The revive is almost the same as golint, but there seems to be a bit
different results.

https://app.circleci.com/pipelines/github/runatlantis/atlantis/1519/workflows/75fd7da5-1532-4ed7-ac8a-4884902818a4/jobs/8314
https://github.com/runatlantis/atlantis/runs/3565887247?check_suite_focus=true
2021-09-10 09:14:56 -07:00
Frank Bagherzadeh
c3050285e4 docs: Add missing --silence-vcs-status-no-plans flag (#1803)
`The Silence VCS Status` feature has been implemented in #954. However there is no reference to it in the server side repo config.

Add missing `The Silence VCS Status` `--silence-vcs-status-no-plans` in the reference for server side repo config.
2021-09-09 11:37:15 -07:00
Sarvar Muminov
a2d82b9f45 Set ParallelPolicyCheckEnabled to the same value as ParallelPlanEnabled (#1802) 2021-09-09 09:21:26 -07:00
Dan
4aa49217b5 fix a typo (#1796) 2021-09-08 15:05:51 -04:00
dependabot[bot]
63f252a990 build(deps): bump github.com/xanzy/go-gitlab from 0.50.3 to 0.50.4 (#1795)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.3 to 0.50.4.
- [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.3...v0.50.4)

---
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-09-08 15:04:21 -04:00
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