Commit Graph

53 Commits

Author SHA1 Message Date
nitrocode
b94575ac88 Use go-github v48 (#2839) 2022-12-20 10:38:21 -06:00
Ken Kaizu
bbc7b9969a feat: renovate handle regexManagers to update conftest/tf versions (#2807)
* chore(deps): add renovate.json

* feat: renovate handle regexManagers to update conftest/tf versions

* Update .github/renovate.json5

* Update .github/renovate.json5

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-18 18:21:01 -06:00
Ken Kaizu
6ecb7a6f76 replace www.terraform.io doc urls (#2797) 2022-12-14 18:07:40 -06:00
Rui Chen
733e51cbb3 deps: update to use tf 1.3.6 (#2744)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-11-30 16:15:59 -08:00
Rui Chen
82e191f547 deps: bump to use tf 1.3.5 (#2691)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-11-17 18:17:26 -06:00
nitrocode
d85662cdf1 Rename default branch to main (#2662)
* Rename default branch to main

* Bump git, curl, and openssl packages
2022-11-14 11:28:29 -06:00
nitrocode
fe4915a6fc deps: bump terrform to 1.3.4 (#2639) 2022-11-04 09:23:22 -07:00
Shouichi Kamiya
4bc766d97d Specify ngrok config version (#2610)
Also prefix ngrok config temporary filename so that it is easy to
distinguish when listing the tmp directory.
2022-10-26 22:27:09 -07:00
nitrocode
be37b774c3 deps: bump terrform to 1.3.3 and docs update (#2614)
* deps: bump terrform to 1.3.3

* Correct github doc link for token
2022-10-24 23:46:52 -05:00
Rui Chen
2e13c7034f deps: bump terrform to 1.3.2 (#2569)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-07 13:56:34 -04:00
Rui Chen
3b3bc23f69 deps: bump terrform to 1.3.1 (#2543)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-29 21:40:55 -07:00
Andy Paine
934a669af3 deps: bump tf to 1.3.0 (#2533)
Includes some useful new features like optional variables
2022-09-22 18:29:11 -07:00
Rui Chen
6fd8130fe1 lint: gofmt -w -s . (#2504)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-12 18:08:46 -07:00
Rui Chen
08fa65142c deps: bump tf to 1.2.9 (#2499)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 18:57:22 -04:00
Miguel Ángel García
a6447d81cb Mag/reuse ngrok (#2378)
* reuse ngrok if found in path

* Add the path found to the output

* Fix the path where ngrok is
2022-07-12 08:56:32 -07:00
Rui Chen
78cf6d79d7 deps: tf 1.2.4 (#2363)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-05 17:08:53 -04:00
Rui Chen
d315e50073 deps: terraform 1.2.3, conftest 0.32.1 (#2328)
* deps: terraform 1.2.3

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

* deps: conftest 0.32.1

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-16 20:02:50 -04:00
Rui Chen
da0515d180 deps: terraform 1.2.0 (#2267)
* deps: terraform 1.2.0

* support tf 1.1.9
2022-05-20 15:18:59 -04:00
Rui Chen
dc7c65d266 deps: tf 1.1.9 and conftest 0.31.0 (#2218)
* deps: tf 1.1.9

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

* deps: conftest 0.31.0

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

* update applications link ref
2022-05-13 14:16:48 -07:00
Rui Chen
b1fb97047b links(github): replace help.github.com with docs.github.com links (#2227)
* links(github): replace help.github.com with docs.github.com links

* fix another link

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-04-29 17:35:42 -04:00
Rui Chen
8184b51e6c deps: bump terraform to v1.1.8 (#2196) 2022-04-16 18:39:44 -04:00
rui
46cd2fb49b deps: tf 1.1.7 (#2108)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-03-02 20:44:28 -05:00
rui
60a168d417 deps: tf 1.1.6 (#2071)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-16 15:42:38 -05:00
Rob Lazzurs
6d2ad22a0c deps: terraform 1.1.5 (#2042)
Upgrading to the latest Terraform release
2022-02-02 17:54:30 -05:00
rui
d8ec4387ae deps: tf 1.1.4 (#2011)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-19 14:18:52 -05:00
rui
44ab8f216c deps: terraform 1.1.3 (#1982)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-07 00:48:13 -05:00
rui
50a510fa26 deps: terraform 1.1.2 (#1952) 2021-12-18 13:09:34 -05:00
rui
a74e740c11 deps: terraform 1.1.1 (#1939)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:03:41 -05:00
rui
8aa1ea4d04 deps: terraform 1.1.0 (#1930)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-08 17:07:08 -05:00
rui
6d86119d75 deps: tf 1.0.11 (#1892) 2021-11-10 18:44:50 -05:00
Rui Chen
cb07e2adb0 deps: tf 1.0.10 2021-10-28 13:46:36 -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
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
b55f386962 testdrive: update terraformVersion (#1839)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-03 13:28:11 -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
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
Gábor Lipták
a4f0e3a467 Bump golangci to 1.39.0 (#1541)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-05-26 21:00:20 -04:00
Luke Kysow
8ac19e4017 Deprecate --repo-whitelist for --repo-allowlist 2020-07-25 23:50:09 -07: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
Luke Kysow
b81fe9a5e5 Switch to gomod 2019-08-26 18:38:22 +02:00
Luke Kysow
32360ada23 Fix testdrive output on solarized theme terminals.
Previously we were using a library to colorize our strings during the
testdrive command. We used [white] which caused the output to not appear
on terminals that use white as the background. This change uses the
default terminal output color instead and only uses colorized strings
for warnings, errors and info via yellow, red and green respectively.
Hopefully those colours still show up on most terminals!
2019-05-07 09:47:44 -04:00
Luke Kysow
fd7bd923e4 Fix testdrive for ngrok 2.2 2019-03-07 15:09:53 -05:00
Luke Kysow
74e9bbb82b Add automerge feature.
Automerging merges pull requests automatically if all plans have been
successfully applied.

* Save status of PR's to BoltDB so after each apply, we can check if
there are pending plans.
* Add new feature where we delete successful plans *unless* all plans
have succeeded *if* automerge is enabled. This was requested by users
because when automerge is enabled, they want to enforce that a pull
request's changes have been fully applied. They asked that plans not be
allowed to be applied "piecemeal" and instead, all plans must be
generated successfully prior to allowing any plans to be applied.
2019-02-06 16:27:43 -06:00
Luke Kysow
70235d8e8f Update to latest linters. Fix errors. 2019-01-22 13:29:42 -05:00
Luke Kysow
e93384fdb0 Use mergeable_state to determine if mergeable
- Need to use the mergeable_state field in GitHub to know if a pull
request is mergeable.
- Add tests.
- Since we updated our vendored go-github library, fix how we were
creating webhooks in testdrive.
2018-12-12 11:17:09 -06:00
Simon Heather
d630333b2d Get atlantis testdrive to run on Windows (#298) 2018-10-01 11:45:50 -05:00
Luke Kysow
af419ef3e1 Fix gometalint errors 2018-09-07 10:54:48 -07:00
Luke Kysow
e9b7001266 Add godocs. Refactor ProjectResult. Golint errors. 2018-08-30 16:47:17 -06:00
Luke Kysow
039ab531c1 Link to runatlantis.io 2018-08-09 15:42:17 -10:00
Luke Kysow
5a842fb0bf Fix gometalinter errors 2018-07-24 17:02:01 +02:00