Commit Graph

82 Commits

Author SHA1 Message Date
nitrocode
b760e8c869 Bump testing-env and go-cty@v1.12.1 (#2686)
* Bump github.com/zclconf/go-cty@v1.12.1

* Bump github.com/zclconf/go-cty@v1.11.1

* Bump github.com/zclconf/go-cty@v1.12.1

* Bump testing-env to latest

* Set conftest to 0.35.0

* conftest to 0.45.0, run docker tests locally

* set gha test.yml to latest testing-env image

* Update Makefile target descs, rm sudo

* Use testing-env:2022.11.17

* Add sudo back in for gha workflow

* Set conftest to 0.35.0

* test gha: rm setup

* Rename "Version" to "Conftest" for version regex

* Use cases and language import

* Use io instead of ioutil
2022-11-17 16:57:04 -06:00
nitrocode
ec995dd794 Bump all dependencies (#2675)
* Bump all dependencies using go get -u

* Added nolint: gosec for writing git creds
2022-11-14 00:50:57 -06:00
nitrocode
6f7ee2ef39 Bump to atlantis-base:2022.11.13 and use cimg/go:1.19 (#2673)
* Bump to atlantis-base:2022.11.13

* Use cimg/go back image

* Use correct path of cimg/go binary dir

* e2e: use /usr/bin

* e2e: add set -e

* circleci: use testing-env:2022.11.13

* e2e: use /home/circleci/go/bin

* e2e: revert to testing-env:2021.08.31 image
2022-11-13 14:51:18 -06:00
nitrocode
62719ee132 e2e image and testing fixes (#2672)
* build testing-env-image in relevant PRs

* hadolint testing/Dockerfile and rm go get

* revert cimg/go back to circleci/golang image
2022-11-13 13:11:32 -06:00
nitrocode
ff3f721174 Use go 1.19 (#2670)
* Use go 1.19

* docker-base: bump openssl, git, curl and fix nsswitch
2022-11-12 21:58:24 -06:00
Chris Sainty
591c4da895 Fix for failing builds (#2284)
* Replace golang-ci install path

Noticed builds failing to download this script. Docs are updated with a new install path direct from GitHub - https://golangci-lint.run/usage/install/#other-ci

* Workaround bot protection on docs.github.com

There seems to be bot protection on docs.github.com which can be bypassed by requesting compressed content - https://github.com/github/docs/issues/17358#issuecomment-1111864031
2022-06-03 20:19:32 -07:00
Jordy Ruiter
0092cfbd56 Add XTerm JS to the server static files (#1985) 2022-01-12 14:52:43 -08: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
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
a597bbbb5a Regen mocks with latest pegomock and update scripts (#1524)
* Update go-generate to run as a script

It was taking forever to run via the previous Makefile command. I don't
exactly know why. Perhaps because it was passing all the packages in as
multiple arguments?

Either way, this change allows it to actually run through in about 20
minutes.

* Regenerate all mocks using latest pegomock

Pegomock version v2.9.0

* Format mocks outside of regular mocks directory.

These mocks are outside of the regular directory due to an import cycle
causing us to have to have these not under a /mocks directory so they
need to be formatted since they're not excluded.

* Add back make test target
2021-04-23 09:26:35 -07:00
Luke Kysow
fbe0c9a00f Remove codecov (#1522)
* Remove codecov

* Bump lint timeout
2021-04-22 20:08:27 -07:00
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
rui
413254f122 deps: bump golang to v1.15 (#1403)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-02-13 13:15:42 -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
Nish Krishnan
8894ce9595 Add docker compose with ngrok + atlantis setup. (#1249) 2020-12-06 20:06:31 -05:00
Luke Kysow
7b2a0efc82 Merge pull request #1048 from runatlantis/update-pegomock
Update pegomock
2020-05-25 16:55:45 -07:00
Luke Kysow
f15377be82 Add dev-Dockerfile 2020-05-25 15:45:37 -07:00
Luke Kysow
8979a5fd09 Update pegomock 2020-05-25 11:58:50 -07:00
John Reese
0289f83d3a Update lint version 2020-04-15 12:46:18 -04:00
Luke Kysow
82afe0b061 Fix lint issues 2020-04-13 10:04:37 -07:00
Luke Kysow
00ba152c41 Upgrade to golang 1.14 2020-04-06 16:00:52 -07:00
Luke Kysow
31a388f876 Use vendor during tests 2019-11-27 09:21:46 -08:00
Luke Kysow
71af854cc2 Build inside Docker 2019-10-30 09:27:38 -07:00
Luke Kysow
b99832f99b Fix e2e tests 2019-08-26 19:24:47 +02:00
Luke Kysow
fe84240d72 Use -mod=vendor for building 2019-08-26 19:00:34 +02:00
Luke Kysow
b81fe9a5e5 Switch to gomod 2019-08-26 18:38:22 +02:00
Luke Kysow
4fdcee1f46 Fix regen-mocks target 2019-06-17 14:11:03 +01:00
Luke Kysow
a2c92e5977 Check fmt on commit 2019-03-30 20:06:40 -05:00
Luke Kysow
d78b106cab Refactor @jjulien's server-side config work. 2019-03-27 14:47:48 -05:00
Luke Kysow
ca58ebd7e0 Autodownload tf versions. Add --default-tf-version.
This changeset has two features:
1. We now automatically download the version of terraform specified in
atlantis.yaml configs if we don't already have that version available
locally.

2. Add a new --default-tf-version flag that allows users to set a
default version of Terraform that we will also download if it's not on
disk.

These mean that users don't need to build custom Docker images to just
add terraform versions. It also means that upgrading the version of
terraform that is packaged with the Atlantis Docker image won't cause
issues for existing users because as long as they're running with
--default-tf-version, Atlantis will always use that version.
2019-03-14 13:51:27 -05:00
Luke Kysow
81a8735754 Remove -coverpkg flag to stop OOM issues.
CircleCI was getting OOM errors since the go-getter package was
included. I'm removing the -coverpkg flag for now.
2019-03-14 10:46:17 -05:00
Luke Kysow
db1203bf0f Add better support for remote plan/apply.
Features:
- remote plans and applies will set a commit status with a link to the
Terraform Enterpise UI where the streaming output can be viewed.
- because remote plans don't support the -out flag, we diff the plan
output between plan and apply phases to ensure users are applying the
plan they expected

How:
We add a new capability to execute a terraform command while
concurrently reading its real-time output and performing actions
accordingly.
2019-02-27 17:26:00 -05:00
Luke Kysow
5002397bda Document check-lint target 2019-02-11 10:21:57 -06:00
Luke Kysow
2225da9c61 Switch to golangci-lint from gometalinter.
Hoping that this is more stable.
2019-02-06 16:26:46 -06:00
Luke Kysow
4babddf0a8 Multi-package test coverage 2018-08-08 16:49:43 -10:00
Luke Kysow
9b2d037373 Add .gometalint.json config
After update of errcheck, needed to explicitly disable checking fmt
functions.
2018-07-05 13:54:10 +02:00
Luke Kysow
63f8c67bbb Temporarily disable errcheck 2018-07-05 12:31:14 +02:00
Luke Kysow
69d7ea33ee Add make website target. 2018-07-04 18:21:20 +02:00
Luke Kysow
2e0046a595 Update website docs. Add GA. 2018-07-04 18:18:10 +02:00
Luke Kysow
dd12ce167e Create docs with VuePress 2018-06-22 17:12:40 +01:00
Luke Kysow
17a9c7f535 Regen mocks 2018-06-21 18:50:19 +01:00
Luke Kysow
6b507eb721 Add -p flag. 2018-06-19 20:51:59 +01:00
Luke Kysow
64dcd781f8 Workaround for gometalint randomly failing. 2018-03-16 13:26:50 -07:00
Luke Kysow
35d3e14124 Add --allow-fork-prs option. Default to false.
Operating on forked pull requests is dangerous if it's a public repo
because anyone can make a pull request to a public repo. We default to
false like CircleCI and TravisCI who don't allow credentials to be
available on fork PRs.
2018-03-06 20:09:55 -08:00
Luke Kysow
49403c209e Host site at www.runatlantis.io
- Terraform to host the site on S3 and CloudFront
2018-03-02 12:13:37 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Luke Kysow
a39329548b Use specific profile when updating website 2018-01-13 22:25:22 -08:00
Luke Kysow
7c1220a655 Rename from environment to workspace 2017-12-17 16:46:49 -08:00
Luke Kysow
e5b06454ba Fix gas linter errors. Disable err checking since that's handled by errcheck 2017-11-27 21:04:14 -08:00