Ken Kaizu
b6f372416f
refactor: add contest command into testing-image for refactoring e2e conftest ensure logic to upgrade conftest upgrading ( #2811 )
2022-12-17 17:37:49 -06:00
Fabiano Soares Honorato
6a7f79e749
Metrics initialization ( #2767 )
...
* Add builder metrics initialization
* Add pull_closed metrics initialization
* Add builder metrics initialization
* use InitCounter from metrics package to initialize prometheus counters
2022-12-16 22:22:06 -06:00
SSKLCP
a96a88ec97
Adding a check for deleted comments in AzureDevOps event handler ( #2804 )
...
* Adding a check for deleted comments in AzureDevOps event handler
* adding test for ignoring azure devops deleted comments
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-12-16 22:18:29 -06:00
Ken Kaizu
8d74878f9d
feat: customize vcs comment command executable name ( #2805 )
2022-12-16 19:16:36 -08:00
nitrocode
585ce1e888
docs: Mention --enable-regexp-cmd requires the project name key ( #2796 )
...
* docs: mention the name key for regexp cmd
* docs: add name key to auto-generation
2022-12-15 13:51:53 -08:00
Li Lin
812db63dfd
Fix remote execution on Terraform Cloud after v1.1.0 ( #2793 )
...
* Fix remote execution on Terraform Cloud after v1.1.0
* Do not check terraform version for -no-color
* Move string comparison for newer version earlier
* Update remote apply test
2022-12-15 12:54:43 -08:00
Ken Kaizu
6ecb7a6f76
replace www.terraform.io doc urls ( #2797 )
2022-12-14 18:07:40 -06:00
dependabot[bot]
bab5c62451
build(deps): bump goreleaser/goreleaser-action from 3 to 4 ( #2790 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 12:29:27 -06:00
dependabot[bot]
b80e5d36f7
build(deps): bump github.com/google/go-github/v48 in /e2e ( #2791 )
...
Bumps [github.com/google/go-github/v48](https://github.com/google/go-github ) from 48.0.0 to 48.2.0.
- [Release notes](https://github.com/google/go-github/releases )
- [Commits](https://github.com/google/go-github/compare/v48.0.0...v48.2.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-github/v48
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 12:29:07 -06:00
dependabot[bot]
b1dfbf8ee8
build(deps): bump github.com/xanzy/go-gitlab from 0.76.0 to 0.77.0 ( #2792 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.76.0 to 0.77.0.
- [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.76.0...v0.77.0 )
---
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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 12:28:41 -06:00
dependabot[bot]
bef54c7134
build(deps): bump golang from 1.19.3 to 1.19.4 in /testing ( #2789 )
...
Bumps golang from 1.19.3 to 1.19.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 12:28:14 -06:00
nitrocode
350a158b6b
bugfix: add missing build-args to dev image ( #2787 )
2022-12-13 12:14:56 -06:00
nitrocode
c0672186fc
Add dependabot for e2e and base container ( #2788 )
2022-12-13 12:14:47 -06:00
Benoît Sauvère
db9f02265a
docs(changelog): explicitly list the tf versions <1.x removal in the CHANGELOG.md ( #2780 )
...
* docs(changelog): explicitly list the tf versions <1.x removal in the CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
v0.21.1-pre.20221213
2022-12-13 00:05:27 -06:00
Jon Gilmore
f974fb5113
docs(ha): wording update when using redis ( #2771 )
...
* docs(ha): wording update when using redis
Because it is now possible to use redis as a backend locking DB for Atlantis, this FAQ should be updated.
* Update runatlantis.io/docs/faq.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-12 09:23:20 -06:00
Darren Worrall
a56258435b
Document the --quiet-policy-checks in the policy check doc ( #2777 )
...
* Document the `--quiet-policy-checks` in the policy check doc
* Update runatlantis.io/docs/policy-checking.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-12 09:16:14 -06:00
dependabot[bot]
183c9c10c7
build(deps): bump github.com/go-test/deep from 1.0.8 to 1.1.0 ( #2779 )
...
Bumps [github.com/go-test/deep](https://github.com/go-test/deep ) from 1.0.8 to 1.1.0.
- [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.8...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/go-test/deep
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 09:11:12 -06:00
dependabot[bot]
7c054e237c
build(deps): bump golang.org/x/term from 0.2.0 to 0.3.0 ( #2778 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 09:10:34 -06:00
nitrocode
82a2f00860
Use atlantis-base:2022.12.12 ( #2772 )
2022-12-11 22:00:10 -06:00
nitrocode
785b4cf76f
Use correct image suffix for alpine/debian ( #2775 )
2022-12-11 21:49:51 -06:00
nitrocode
7a29286c3c
Use correct image suffix for alpine/debian ( #2774 )
2022-12-11 21:07:49 -06:00
nitrocode
cd838c8785
alpine: Pin git=2.38.2-r0 ( #2773 )
2022-12-11 20:53:28 -06:00
nitrocode
5773945b4b
Separate alpine image ( #2770 )
2022-12-11 20:22:51 -06:00
Mark Keisler
855717271f
docs: terraform version usage after allowing additional required_version specifiers ( #2760 )
...
* Clarify the docs about setting the terraform version, especially since
v0.21.0
* Address comments about adding further detail and examples
Also updated versions mentioned to be more recent.
2022-12-11 11:14:08 -06:00
nitrocode
9ca57d6189
Bump base to 2022-12-10 ( #2769 )
2022-12-11 00:54:29 -06:00
nitrocode
f8a2091929
Bump alpine-3.17 ( #2768 )
2022-12-11 00:27:03 -06:00
Ken Kaizu
4d957836ad
Enable or disable repo_locking per repo in repos.yaml and atlantis.yaml ( #2700 )
...
* disable repo locking repos.yaml and atlantis.yaml with allow override
* rename disable_repo_locking into repo_locking
* add both enable/disable repo_locking test
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-09 16:13:31 -06:00
Fabiano Soares Honorato
66dc30e755
feat: prevent planning and applying directories outside PR scope using --restrict-file-list ( #2440 )
...
* Add --strict-plan-file-list config
* Update server.go
* Update server-configuration.md
* Update server_test.go
* Run gofmt -w
* Add --strict-plan-file-list for projects
* Add --strict-plan-file-list tests
* Change --strict-plan-file-list to --restrict-file-list
* Update --restrict-file-list documentation
* Update --restrict-file-list and --enable-regexp-cmd documentation
Co-authored-by: Fabiano Honorato <fabiano.honorato@ifood.com.br >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-12-09 09:33:40 -06:00
Michel Z. Santello
c800f706e4
fix(gitlab_client): prevent duplicate pipelines in gitlab merge requests ( #2745 )
...
* fix(gitlab_client): change CommitStatus update logic to prevent duplicated pipelines in MRs
* chore: refactor refTarget logic
* chore: fix tests
* chore: fix lint
* chore: remove nested if
v0.21.0-pre.20221207
2022-12-07 13:14:39 -08:00
Christoffer Nicklasson
b6e1c61127
Update using-slack-hooks.md ( #2759 )
2022-12-07 09:47:38 -06:00
Jakub Igła
494a63f8cb
docs: Add a new Azure deployment method ( #2741 )
...
* docs: Add a new Azure deployment method
* docs: Revert the old ACI link while keeping the new one
* docs: Improve wording for Azure deployment
2022-12-06 21:57:46 -06:00
Aiman Ismail
fe207ae32d
docs: add example how to customize the conftest command ( #2727 )
...
* docs: add example how to customize the conftest command
* fixed PR review comments
* rerun CI
* remove problematic url
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-12-06 21:56:51 -06:00
dependabot[bot]
34ee801158
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3 ( #2754 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.4.3 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 20:27:15 -06:00
dependabot[bot]
887f4ed8c6
build(deps): bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 ( #2753 )
...
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/Masterminds/sprig/releases )
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.2...v3.2.3 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 20:27:08 -06:00
dependabot[bot]
14a46df1cd
build(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0 ( #2752 )
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.23.0 to 1.24.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.23.0...v1.24.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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 19:56:58 -06:00
dependabot[bot]
1fbbccac2e
build(deps): bump runatlantis/atlantis-base ( #2750 )
...
Bumps runatlantis/atlantis-base from 2022.11.24 to 2022.12.05.
---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 12:56:58 -06:00
dependabot[bot]
20d282fffa
build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0 ( #2751 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 12:39:26 -06:00
Jeppe Fihl-Pearson
b2bcd48feb
Cache downloaded Go dependencies and Atlantis compilation in Docker ( #2738 )
...
This has the potential to speed up rebuilds of the Atlantis container
significantly, especially for non-x86 platforms which are emulated when
done in GitHub Actions.
It works by using cache mounts:
https://docs.docker.com/engine/reference/builder/#run---mounttypecache .
They mean we can have specific paths set that are carried over from one
image build to the next, regardless of which files are changed in the
project. The files are however at the same time not part of the final
image, which reduces the generated "builder" image from 1.66 GB to just
386 MB on the current main branch.
In my local tests, which doesn't make use of emulation, I saw a drop
for the "go build" step going from taking just over 40 seconds with an
empty cache to around 1 second when I make a one character change to a
Go source file. That is otherwise a change that prior to this would
cause a complete rebuild of the Docker image layer.
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-04 21:47:43 -06:00
Jeppe Fihl-Pearson
124eb6b4a8
Use GitHub Actions cache when building Docker images ( #2737 )
...
* Use GitHub Actions cache when building Docker images
This firstly removes the `pull: true` option from all
`build-push-action` invocations, as it was assumed it caused Docker to
pull the existing image first before building the new one, where as it
instead makes sure the base image is up to date prior to starting the
build.
Instead the `cache-from` and `cache-to` options are added which cause
the action to store and retrieve caches for each layer from GitHub
Actions' cache system as documented at
https://docs.docker.com/build/ci/github-actions/examples/#cache-backend-api .
* Pin exact Go version in testing image
This matches what is done for the production image.
2022-12-04 21:16:57 -06:00
dependabot[bot]
479bed46d9
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 ( #2748 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-04 21:11:59 -06:00
Chris Sainty
e60dd843f4
feat: support atlantis.yaml without defined projects ( #2300 )
...
* Support atlantis.yaml without defined projects
* Update server/events/project_command_builder.go
* Update server/events/project_command_builder.go
* Correct test of no modified projects
* Flip if statement
* Remove duplicate check on hasRepoCfg
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-01 01:03:27 -08: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
noah
61bcfbab2b
feat: auto-plan projects when modules change ( #2507 )
...
* feat: auto-plan projects when modules change
Fixes #920
* rename Downstream->Dependent; docs cleanup
* chore: gofmt -s
2022-11-28 14:12:29 -08:00
PePe Amengual
cf8db0cc54
Release 0.21.0 ( #2734 )
...
* Release 0.21.0
* Release 0.21.0
v0.21.0
2022-11-28 12:26:41 -08:00
dependabot[bot]
f5b06b68a4
build(deps): bump github.com/xanzy/go-gitlab from 0.74.0 to 0.76.0 ( #2732 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.74.0 to 0.76.0.
- [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.74.0...v0.76.0 )
---
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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:27:16 -08:00
dependabot[bot]
2cecda153b
build(deps): bump github.com/go-redis/redis/v9 ( #2733 )
...
Bumps [github.com/go-redis/redis/v9](https://github.com/go-redis/redis ) from 9.0.0-rc.1 to 9.0.0-rc.2.
- [Release notes](https://github.com/go-redis/redis/releases )
- [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-redis/redis/compare/v9.0.0-rc.1...v9.0.0-rc.2 )
---
updated-dependencies:
- dependency-name: github.com/go-redis/redis/v9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 13:14:55 -05:00
dependabot[bot]
4817ecbb64
build(deps): bump runatlantis/atlantis-base ( #2731 )
...
Bumps runatlantis/atlantis-base from 2022.11.13 to 2022.11.24.
---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 09:28:25 -08:00
nitrocode
3179467e56
docs: add PR template ( #2718 )
2022-11-26 20:49:09 -05:00
dependabot[bot]
f1a6481846
build(deps): bump minimatch from 3.0.4 to 3.1.2 ( #2723 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-26 20:48:35 -05:00
nitrocode
e2b4ec444b
atlantis-image: yaml fix using a separate env var ( #2725 )
...
* atlantis-image: yaml fix using a separate env var
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
2022-11-25 21:57:16 -06:00