Commit Graph

2251 Commits

Author SHA1 Message Date
Marc Barlo
3bfd769211 feat: add a flag to silence policy checks comments when there's no error (#2405)
* Add a flag to silence policy checks comments when there's no error

* Add e2e test cases for the quiet policy checks flag

* add documentation for quiet-policy-checks flag

* Update user_config.go

Fix indentation

* Update user_config.go

* fmt
2022-10-26 23:35:49 -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
dependabot[bot]
bd637658f6 build(deps): bump github.com/moby/moby (#2612)
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.19+incompatible to 20.10.20+incompatible.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moby/moby/compare/v20.10.19...v20.10.20)

---
updated-dependencies:
- dependency-name: github.com/moby/moby
  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-10-26 22:22:02 -07:00
dependabot[bot]
df0d21a5bc build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#2611)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-10-26 13:46:00 -04:00
Forest Oden
d0715faee1 fix: typo in log message when running parallel plans (#2620)
Signed-off-by: Forest Oden <forest.oden@beatport.com>
2022-10-25 17:28:34 -04:00
nitrocode
df94369ae4 deps: bump conftest to 0.35.0 (#2615) 2022-10-24 23:47:22 -05: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
dependabot[bot]
64ce8601a0 build(deps): bump github.com/moby/moby (#2591)
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.18+incompatible to 20.10.19+incompatible.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moby/moby/compare/v20.10.18...v20.10.19)

---
updated-dependencies:
- dependency-name: github.com/moby/moby
  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-10-18 17:53:27 -04:00
dependabot[bot]
199277579b build(deps): bump github.com/go-redis/redis/v9 (#2590)
Bumps [github.com/go-redis/redis/v9](https://github.com/go-redis/redis) from 9.0.0-beta.3 to 9.0.0-rc.1.
- [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-beta.3...v9.0.0-rc.1)

---
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-10-18 17:52:49 -04:00
nitrocode
fa7163dee6 Bump atlantis-base:2022.10.14 (#2589)
* Bump atlantis-base:2022.10.14

* atlantis-image: Build on Dockerfile changes in PRs

* atlantis-image: init on push & pull_request events
2022-10-14 17:28:01 -05:00
nitrocode
072d2459a2 hadolint: base: pin all dependencies (#2587)
* hadolint: base: pin all dependencies

* atlantis-base: trigger workflow on pull_request

* atlantis-base: only push if not a pull request
2022-10-14 16:11:37 -05:00
nitrocode
bb13f2f4c4 docs: typo ATLANTIS_GH_ALLOW_MERGEABLE_BYPASS_APPLY (#2583) 2022-10-12 13:08:06 -07:00
Marcus Ramberg
f6d24eef0f Add basic documentation for the prometheus exporter (#2582) 2022-10-11 19:56:21 -07:00
dependabot[bot]
1a81ffc5e1 build(deps): bump github.com/hashicorp/hcl/v2 from 2.6.0 to 2.14.1 (#2579)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.6.0 to 2.14.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.6.0...v2.14.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  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-10-11 10:04:59 -07:00
dependabot[bot]
386ce5796e build(deps): bump github.com/go-redis/redis/v9 (#2578)
Bumps [github.com/go-redis/redis/v9](https://github.com/go-redis/redis) from 9.0.0-beta.2 to 9.0.0-beta.3.
- [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-beta.2...v9.0.0-beta.3)

---
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-10-11 12:44:10 -04:00
Joel Llacer Martinez
8e27a471d1 Silence allow list errors works again (#2535) 2022-10-10 21:35:23 -07:00
chavacava
57b01166a6 fix #2537 by removing redundant conditional branch (#2545) 2022-10-10 21:13:24 -07:00
Rui Chen
ce4c7dbd51 fix(workflows): fix docker image publish flow (#2580)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-10 10:07:12 -07:00
PePe Amengual
9cfcd1334c Release 0.20.1 (#2571) v0.20.1 2022-10-08 11:16:48 -07:00
chroju
71f9397fc6 docs: added GitHub app permission in #2380 (#2572)
Co-authored-by: chroju <chroju@users.noreply.github.com>
2022-10-08 10:27:43 -07:00
chroju
9758a2103d docs: fill all command line flags not in the document, and more. (#2568)
* docs: All command line flags are filled in the doc

* docs: about --gh-allow-mergeable-bypass-apply flag

* docs: replace Github with GitHub

* docs: remove an incorrect bullet

Co-authored-by: chroju <chroju@users.noreply.github.com>
2022-10-08 10:26:23 -07: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
dependabot[bot]
542b08317e build(deps): bump github.com/microcosm-cc/bluemonday (#2548)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.20...v1.0.21)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 12:55:13 -04:00
Philipp Erbelding
23158f0b9d Add missing newline (#2567) 2022-10-07 09:28:05 -07:00
PePe Amengual
9ca5015a25 Updating to new base image (#2563)
* Updating to new base image

* Delete exp-output-autoplan.txt.act

* Delete exp-output-plan.txt.act

* Updating to new base image
2022-10-06 21:20:17 -07:00
Doug Ayers
195f1cb4d5 Use join.slack.com instead of custom heroku app (#2564)
At the top of the README is a "badge" to join the slack channel and uses a join.slack.com address. Further down is another reference to join Slack but links to a custom Heroku app to send an invite to someone. I think the custom Heroku app is legacy link and could be replaced by the join.slack.com url.
2022-10-06 19:45:38 -07:00
PePe Amengual
e8c0b5e66a Revert "Fix concurrency in atlantis-image workflow (#2556)" (#2565)
This reverts commit 8d543264c4.
2022-10-06 19:24:08 -07:00
Markus Liljedahl
93dd161517 Golang alpine update (#2562)
* Bumping golang image to 1.19.2 running alpine 3.16.2

* Use latest atlantis-base with latest alpine patches
2022-10-06 15:13:25 -07:00
Markus Liljedahl
b7aa71c06d Bump alpine to 3.16.2 (#2559) v0.20.0 2022-10-06 14:06:06 -07:00
nitrocode
8d543264c4 Fix concurrency in atlantis-image workflow (#2556) 2022-10-05 20:09:28 -07:00
PePe Amengual
929a75992a Release v0.19.9 (#2552)
* Release v0.19.9

* Updating test action

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* Testing older version of checkout action

* Testing older version of checkout action

* Fixing permission

* Fixing permission

* Fixing permission
v0.19.9
2022-10-05 15:04:49 -07:00
Quan Hoang
8b20bebf16 Determine Terraform Cloud workspace from configuration (#2432) 2022-09-30 13:36:53 -07: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
dependabot[bot]
6db4e4c4f9 build(deps): bump actions/stale from 5 to 6 (#2540)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  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-09-26 09:57:51 -07:00
Taiki Ono
1b46d854d7 docs: execution_order_group belongs to Project (#2539)
* docs: execution_order_group belongs to Project

Signed-off-by: Taiki Ono <taiki@finatext.com>

* Fix order

Signed-off-by: Taiki Ono <taiki@finatext.com>

* Add missing periods and default values

Signed-off-by: Taiki Ono <taiki@finatext.com>

Signed-off-by: Taiki Ono <taiki@finatext.com>
2022-09-25 23:29:56 -07:00
giuli007
2cd8bd9ccc Delete previous plans on autoplan or atlantis plan (#1633)
* Delete previous plans on autoplan or atlantis plan

When using non-default workspaces, plans are stored
in pr-and-workspace-specific directories.
If a PR is subsequently updated it might happen that
some of the plans are no longer relevant with regards
to the latest changes.
This change ensures that plans are always deleted
when a generic plan is triggered either by autoplan
or by a "atlantis plan" command.
NB Plans are not cleaned up when specific projects are
planned explicitly with "atlantis plan -p/-d/-w".

* Also delete locks along with plans when running
autoplan or generic plan command

* Fix Plan deletion tests after 0.19.8 rebase

* Fix Plan deletion tests after v0.19.9-pre.20220912 rebase

* Rename struct field to follow camelCase naming convention

Co-authored-by: giuli007 <giuglioz@gmail.com>
v0.19.9-pre.20220923
2022-09-23 14:31:24 -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
Alberto Llamas
9829fa23c2 Fix: Error when enabling prometheus metrics (#2379) (#2528)
Prometheus metrics names have some restrictions that must match the regex `[a-zA-Z_:][a-zA-Z0-9_:]*`
2022-09-20 21:27:30 -07:00
Brian Zoetewey
1bcf938644 Adding Redis DB option (#2527)
* Adding Redis DB option
This allows selecting something other than the default database of 0.

* Add missing db argument to fix failing tests.
2022-09-20 21:27:16 -07:00
nitrocode
21a3f4664c Use hadolint to fix DL4006, SC2086 (#2530) 2022-09-20 21:16:18 -07:00
dependabot[bot]
84304d6aeb build(deps): bump golang from 1.19.0-alpine to 1.19.1-alpine (#2514)
Bumps golang from 1.19.0-alpine to 1.19.1-alpine.

---
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>
v0.19.9-pre.20220912
2022-09-12 18:09:05 -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
dependabot[bot]
c5c994f0d6 build(deps): bump github.com/moby/moby (#2516)
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.17+incompatible to 20.10.18+incompatible.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moby/moby/compare/v20.10.17...v20.10.18)

---
updated-dependencies:
- dependency-name: github.com/moby/moby
  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-09-12 18:05:59 -07:00
dependabot[bot]
e0626207dd build(deps): bump runatlantis/atlantis-base (#2515)
Bumps runatlantis/atlantis-base from 2022.08.05 to 2022.09.08.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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-09-12 18:05:36 -07:00
dependabot[bot]
44ea57be71 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#2517)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.12.0...v1.13.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:01:52 -07:00
Daniel Thompson
d5d8e38117 Adding Redis TLS Option (#2510)
* Adding Redis TLS option

* Test fixes and allow for tls skip verify

* Test fixes and allow for tls skip verify
2022-09-09 20:02:26 -07:00
Stas Ostrovskyi
b8297bb1f8 fix: Set mergeable correctly when branch protection doesn't require reviewers (#2470)
* Allow no required reviewers

* Fix comment in tests

Co-authored-by: Stas Ostrovskyi <stasostrovskyi@users.noreply.github.com>
v0.19.9-pre.20220908
2022-09-08 13:54:50 -07:00
Marc Hildenbrand
178e4a4c09 Fixes for multienv step comment (#2411)
* Fix multienv command

Correctly handles environment variable values that themselves contain "=" (e.g. AWS session tokens)

Ensures that trailing "\n" does not get published as part of the last environment variables value.

* Correct check for empty result in multienv

Check the length of the result string instead of splitting it first and checking the length of envvars (since split always returns an array of length 1)

Co-authored-by: Marc Hildenbrand <mwhildenbrand@gmail.com>
2022-09-08 11:37:09 -07:00
Rui Chen
b5e985c158 lint: remove deprecated io/util package (#2503)
As of go1.16, io/util package has been deprecated

See issue, https://github.com/golang/go/issues/42026

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

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-08 13:45:00 -04:00
Andrei Vydrin
2d7ee9dfa8 feat: support parallel with execution order groups (#2403) 2022-09-08 06:14:59 -07:00