Commit Graph

2686 Commits

Author SHA1 Message Date
Simon Heather
4eee2e9e0d Add Terragrunt Docs TF_IN_AUTOMATION (#3443) 2023-05-24 08:51:22 -07:00
renovate[bot]
d8c14480e4 fix(deps): update github.com/hashicorp/terraform-config-inspect digest to dbe9bfc in go.mod (#3441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v0.24.1
2023-05-24 02:06:24 +00:00
Alberto Rojas
4a7fc33857 fixbug: Update commandName in RunAndEmitStats (#3437) 2023-05-23 20:04:30 -05:00
Simon Heather
4915d8db5e fix(workflow-hook): log output with or without errors (#3422)
* fix: Errors in Pre or Post Workflow Hook Scripts do not Produce any Output

* Fix post workflow

* Update unit tests
2023-05-23 17:12:28 -05:00
nitrocode
8e72ab589d fix(atlantis-image): push on release tag (#3432) v0.24.0 2023-05-23 03:31:39 +00:00
nitrocode
f5c781400d fix(tests): Pin ngrok to v2 and use https (#3429)
* fix(tests): Pin ngrok to v2 and use https
2023-05-22 11:11:19 -04:00
Alberto Rojas
96cf38835e metrics: Fix Add missing project and command scopes to ProjectCommandRunner (#3416)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-22 07:48:31 -05:00
renovate[bot]
cd78421cab fix(deps): update module github.com/go-playground/validator/v10 to v10.14.0 in go.mod (#3426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 01:23:48 +00:00
renovate[bot]
f740d62761 fix(deps): update module github.com/stretchr/testify to v1.8.3 in go.mod (#3420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 02:15:37 +00:00
renovate[bot]
cb0c276e19 fix(deps): update module github.com/microcosm-cc/bluemonday to v1.0.24 in go.mod (#3415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 13:37:08 +00:00
Alberto Rojas
a64015be83 fix(deps): Update Dockerfile curl and libcap (#3419) 2023-05-19 08:12:16 -05:00
Dylan Page
c3c2fd4c5a docs(adr): setup ADR process 0001 (#3405) 2023-05-12 22:50:20 -04:00
oysteingraendsen
4e867fc36e feat: when using order group, abort plan/apply if any fail (#3323)
* feat: when using order group, abort plan/apply if any fail

* feat: add 'abort_on_execution_order_fail' flag on repo level

* feat: use runProjectCmdsParallelGroups in version_command_runner

* chore: add plan tests

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-12 13:24:33 -04:00
dependabot[bot]
7a4e9474d5 build(deps): bump yaml from 2.2.1 to 2.2.2 (#3352)
Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 22:27:08 -05:00
renovate[bot]
6520d71255 chore(deps): update alpine docker tag to v3.18.0 in dockerfile (#3404)
* chore(deps): update alpine docker tag to v3.18.0 in dockerfile

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-11 22:25:19 -05:00
Dylan Page
3c27fbbfc0 fix(ci): only push docker dev tag on main (#3393)
- Disables pushing a dev tag within an unmerged pr commit event.
- Also disabled pushing at all unless the event comes from the main branch
2023-05-11 21:34:14 -05:00
renovate[bot]
b3782ee62c chore(deps): update module github.com/cloudflare/circl to v1.3.3 [security] (#3403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 23:59:45 +00:00
dependabot[bot]
aedea76bff build(deps): bump github.com/cloudflare/circl in /e2e (#3400)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.1.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 18:26:04 -05:00
renovate[bot]
bd284eb76d chore(deps): update dependency open-policy-agent/conftest to v0.42.1 in testing/dockerfile (#3392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 01:14:32 +00:00
renovate[bot]
898f781cd4 chore(deps): update dependency open-policy-agent/conftest to v0.42.1 in dockerfile (#3385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 02:22:40 +00:00
Xavi Mabras
964182a015 chore(docs): Add notes to atlantis-url in server-configuration (#3383)
* Docs: Add notes to atlantis-url in server-configuration section.

* Update runatlantis.io/docs/server-configuration.md

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-07 06:50:47 -05:00
renovate[bot]
e244fe5a55 chore(deps): update dependency open-policy-agent/conftest to v0.42.0 in testing/dockerfile (#3382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 01:07:41 +00:00
renovate[bot]
814b561d16 chore(deps): update dependency open-policy-agent/conftest to v0.42.0 in dockerfile (#3381)
* chore(deps): update dependency open-policy-agent/conftest to v0.42.0 in dockerfile

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-07 01:06:53 +00:00
Marcus Ramberg
4ed44d906c feat(reaction): disable reactions by setting an empty string (#3360)
* fix: Previous implementation tried to do comment parsing inside github, and only worked for 'atlantis' command.

This commit improves on that to make it possible to implement reactions in other VCS providers and also reuse the existing comment parsing.

* test: Add negative test to confirm reactions are not added for invalid comments

* test: Add a negative test to confirm invalid commands do not get a reaction
2023-05-05 23:00:25 -05:00
renovate[bot]
19010fd4ee fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 in go.mod (#3366)
* fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 in go.mod

* Bump jwt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-05-05 16:53:23 +00:00
renovate[bot]
2d9a6d30ad fix(deps): update module golang.org/x/term to v0.8.0 in go.mod (#3377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 00:52:55 +00:00
renovate[bot]
22f51bb9b8 chore(deps): update node.js to v18.16.0 in .node-version (#3330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 19:29:11 -05:00
Xavi Mabras
9295fabb9f feat: case insensitive pr comments (#3361)
* Basic case insensitive for pr comments.

* Add test for uppercase/lowercase case.

* Merge test functions that check similar behaviors.

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-05-04 07:33:47 -05:00
nitrocode
1a3a212c3c fix: add exempt labels to stale action (#3374)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-05-04 07:29:51 -05:00
Dylan Page
1b8acba640 fix(ci): Create atlantis-image-required.yml (#3376)
There are still some corner cases where atlantis-image doesn't run, thus blocking PRs for passing. This should properly handle all cases by inverting the paths with paths-ignore.
2023-05-03 22:12:02 -07:00
renovate[bot]
dfe6ee076b chore(deps): update debian docker tag to v11.7 in dockerfile (#3371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 02:12:30 +00:00
renovate[bot]
f033e86f17 fix(deps): update module github.com/redis/go-redis/v9 to v9.0.4 in go.mod (#3370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 01:36:17 +00:00
renovate[bot]
b06a3ace87 chore(deps): update golang docker tag to v1.20.4 in testing/dockerfile (#3369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 01:09:35 +00:00
Ross Strickland
434bab5c70 [Feature] - Add clear policy approval functionality. (#3351)
* Add clear policy approval functionality.

* Fix param name, update doc.

* fix test, add e2e test

* empty commit to re-trigger tests.

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-05-02 11:02:04 -04:00
renovate[bot]
18433761d1 fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.4.0 in go.mod (#3363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 16:32:23 +00:00
renovate[bot]
ac4504713c fix(deps): update module github.com/go-playground/validator/v10 to v10.13.0 in go.mod (#3364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 16:07:07 +00:00
renovate[bot]
cc2d0c16e3 fix(deps): update module github.com/google/go-github/v51 to v52 in go.mod (#3346)
* fix(deps): update module github.com/google/go-github/v51 to v52 in go.mod

* Update fixtures.go

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-04-30 03:07:33 +00:00
renovate[bot]
c19fc9df0e fix(deps): update module github.com/alicebob/miniredis/v2 to v2.30.2 in go.mod (#3341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 21:55:34 -05:00
renovate[bot]
fb2ece3636 fix(deps): update module github.com/xanzy/go-gitlab to v0.83.0 in go.mod (#3338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 21:55:19 -05:00
renovate[bot]
338d20e501 chore(deps): update dependency hashicorp/terraform to v1.4.6 in .circleci/config.yml (#3362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-30 02:00:16 +00:00
renovate[bot]
af0fb85cd1 fix(deps): update github.com/shurcool/githubv4 digest to 6cea62e in go.mod (#3359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 00:47:55 +00:00
Dylan Page
b0ebad5c4a fix(atlantis-image): build atlantis image when all packages update (#3353) 2023-04-26 15:08:21 -04:00
Marcus Ramberg
f8b293ada0 feat: Github reaction emojis on PR comments (#2706)
* feat: Basic implementation of github reactions on PRs

Adds eyes whenever it detects an `atlantis` command.

* feat: Make the emoji reaction configurable

* tests: Add a mocked test for EmojiReaction being called in github

* ci: Disable revive linter for stubs
2023-04-25 17:22:51 -04:00
Shouichi Kamiya
f4fa3138d7 feat: add PULL_URL to environment variables (#3302)
Background:

It is convenient to have the PR URL available so that we can link the PR
that triggers the infrastructure changes from the audit logging system.
For example, the google cloud provider adds user-supplied justification
into google cloud audit logging via `CLOUDSDK_CORE_REQUEST_REASON`
environment variable.

https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#request_reason
2023-04-21 02:21:27 +00:00
Ross Strickland
684f2fa7e0 feat(policies): Add granular policy_sets (#3086)
* Initial work.

* Periodic push.

* Fmt and start adding args to approve_policies cmd.

* keep funcs for now.

* Periodic push.

* Periodic push.

* fmt.

* Move approve policies logic to project_command_runner.

* update some tests

* More test fixes.

* update more tests. fix som logic.

* more tests. add additional info to common data for custom templates.

* fix apply with policies bug. update more tests/fmt

* file perms

* fix error parsing for conftest results.

* Update more tests and linting.

* update documentation.

* Address no-fail case. Address comments.

* Forgot changes.

* fix markdown renderer

* Fix policy fail logic. remove uneeded tmpl var

* targeted policy approvals fix

* Address PR comments.

* empty commit to trigger build

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: rkstrickland <ross.strickland@instacart.com>
Co-authored-by: Dylan Page <dylan.page@autodesk.com>
2023-04-20 21:53:46 -04:00
Dylan Page
d88857bb01 fix(ci): fix workflows to run when required to avoid empty required checks (#3342)
* fix(ci): fix workflows to run when required to avoid empty required checks
2023-04-20 17:51:01 -04:00
renovate[bot]
96ab0ab2e7 chore(deps): update dependency open-policy-agent/conftest to v0.41.0 in dockerfile (#3335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 19:50:44 -05:00
Dylan Page
9119089328 fix(atlantis-image): alpine build failures, misc tweaks to cache (#3333) v0.23.5 2023-04-17 14:28:09 -07:00
renovate[bot]
ad217ad8dd chore(deps): update dependency hashicorp/terraform to v1.4.5 in .circleci/config.yml (#3325)
* chore(deps): update dependency hashicorp/terraform to v1.4.5 in .circleci/config.yml

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-04-17 13:21:07 +00:00
renovate[bot]
5766ac590d fix(deps): update module github.com/slack-go/slack to v0.12.2 in go.mod (#3329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-15 23:36:46 -05:00