Commit Graph

95 Commits

Author SHA1 Message Date
Rui Chen
8dccb2beb4 chore(lint): linting the codebase (#4668)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-17 11:22:30 -04:00
Rui Chen
91ff643727 fix: add mermaid config (#4643)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-09 19:34:20 -04:00
Christian Winther
287add4086 fix: GitHub tests emitting unexpected keepers = {} (#4462) 2024-04-24 12:50:07 -07:00
Rui Chen
aaa6ac078a feat: migrate to use pnpm and add sitemapPlugin (#4043)
* migrate off yarn to pnpm

add `vue` and `@vuepress/client` as peer-dependencies

stick with node 20

update @vuepress/plugin-docsearch dep with `npx vp-update`

add vuepress-plugin-sitemap2 plugin

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

* replace yarn.lock with pnpm-lock.yaml for labeler

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

* replace yarnDedupeHighest with pnpmDedupe for renovate

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

* update website-lint job

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

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-08 12:26:50 -08:00
Shouichi Kamiya
e271eaa584 fix(build): use the correct env var to mount pwd (#3491)
Co-authored-by: Dylan Page <dylan.page@autodesk.com>
2023-06-20 14:53:55 -04:00
Simon Heather
504d1b7fe3 Replace bindata-assetfs with embed (#3504)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-06-10 19:04:10 -05:00
nitrocode
f83f7696bd feat: include commit and date in version (#3159) 2023-02-24 17:59:51 -06:00
dobby-dobster
d39974770c Update Makefile to fix typo (#3130)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-02-17 09:32:05 -06:00
Rui Chen
1f6f820cd5 deps: bump to go1.20 (#3093)
* deps: bump to go1.20

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

* update base docker image

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* update base docker image

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-02-02 16:18:27 +01:00
nitrocode
ad18c02f4e chore(deps): use testing-env:latest (#2966)
* Update config.yml

* Update test.yml

* Update Makefile
2023-01-10 22:17:07 -06:00
nitrocode
b94575ac88 Use go-github v48 (#2839) 2022-12-20 10:38:21 -06:00
Ken Kaizu
3a61a3d7fb website: upgrade vuepress 0.x to 1.x (#2828)
* docs: upgrade vuepress 0.x to 1.x

* add .node-version
2022-12-19 10:02:38 -05:00
Ken Kaizu
063bbb93c9 refactor: e2e test ensure conftest command to check conftest version is greater or equal to specific version (#2812) 2022-12-18 03:31:40 -06:00
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