Commit Graph

2660 Commits

Author SHA1 Message Date
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
renovate[bot]
9272f45b42 fix(deps): update github.com/hashicorp/terraform-config-inspect digest to f1617e8 in go.mod (#3327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-14 21:40:11 -07:00
Dylan Page
2c726aa75c ci: fix docker push logic when PR originates from fork (#3324) 2023-04-12 19:24:19 -04:00
Will Yardley
fd1ce4328d build: add missing atlantis user in Debian image (#3317)
It appears that when #3001 combined the Dockerfiles, the bit that adds
the `atlantis` user was not added to the Debian build stage

Also correct some trailing spaces and missing EOL in
`docker-compose.yml`
2023-04-11 16:34:58 -05:00
Dylan Page
34ad9e901d fix: revert branch protection feature causing breaking change
Reverts "fix(github): branch protection not supported (#3276)"
Reverts "fix: allow Require Linear History when selecting merge method (#3211)"
Closes #3320
2023-04-11 16:48:39 -04:00
renovate[bot]
763f017169 fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod (#3316)
* fix(deps): update module github.com/google/go-github/v50 to v51 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-11 00:36:40 -05:00
renovate[bot]
625660c21a fix(deps): update module golang.org/x/text to v0.9.0 in go.mod (#3314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:52:08 +00:00
renovate[bot]
d0826aace1 fix(deps): update module golang.org/x/term to v0.7.0 in go.mod (#3313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:45:27 +00:00
renovate[bot]
f1b0fbb201 fix(deps): update module github.com/xanzy/go-gitlab to v0.82.0 in go.mod (#3312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:33:56 +00:00
renovate[bot]
bf72bc8f9d fix(deps): update module github.com/spf13/cobra to v1.7.0 in go.mod (#3311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:32:29 +00:00
renovate[bot]
d7ea2bf822 fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.3.0 in go.mod (#3310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:21:43 +00:00
renovate[bot]
a3d506a9f5 chore(deps): update dependency open-policy-agent/conftest to v0.41.0 in testing/dockerfile (#3309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:20:38 +00:00
renovate[bot]
b19eec0357 fix(deps): update module github.com/redis/go-redis/v9 to v9.0.3 in go.mod (#3308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:19:02 +00:00
renovate[bot]
0051b9a329 chore(deps): update golang docker tag to v1.20.3 in testing/dockerfile (#3307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 23:18:43 +00:00
nitrocode
5a008d9c3a fix(atlantis-image): rm redundant dev push, correct authors (#3306) 2023-04-10 16:16:33 -07:00
nitrocode
117520257d feat: no more need to update changelog.md (#3305) 2023-04-10 15:51:28 -07:00
Patrick Merchant
20401e195c docs(bug): add-required-docker-version-to-aci-deployment-docs (#3293)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
v0.23.4
2023-04-09 06:32:06 +00:00
renovate[bot]
f103acd03d chore(deps): update alpine docker tag to v3.17.3 in dockerfile (#3301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 23:26:03 -07:00
Dylan Page
67686e71a2 ci: fix pipefail in golang builder image (#3294)
* ci: fix pipefail in golang builder image
* fix: curl version
2023-04-04 18:15:26 -05:00
Dylan Page
310aff8351 refactor(atlantis-image): recombine with atlantis-base (#3001)
* refactor: atlantis-image build pipeline and docker images

Atlantis built and maintained two separate docker images, atlantis and
atlantis-base. This made cutting releases cumbersome and had
inefficiencies in the docker image layers.

This PR condenses the workflow into a single job and Dockerfile once
again by utilizing multi-stage builds more heavily and Docker build targeting.

* fix: apply @nitrocode suggestions from code review
* feat: hadolint
* fix: DL4006 on go mod graph
* fix: version regressions

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-04-04 21:49:00 +00:00
Isaac Wilson
089dc1aac8 fix(autoplan): modules for per-repo configs (#3272)
* Fix autoplan modules for per-repo configs

* Use utils package for slices.Contains
2023-04-03 06:25:01 -07:00
renovate[bot]
66c3aa3d45 chore(deps): update dependency hashicorp/terraform to v1.4.4 in .circleci/config.yml (#3284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 19:33:24 -05:00
Isaac Wilson
8adb001aa6 fix(gitlab): Add backwards compatible mergability check (#3277)
* Add backwards compatibility for merability check in Gitlab client

* Cleanup
2023-03-30 19:31:56 -05:00
Tymofii Polekhin
ebc06c19c6 fix(github): branch protection not supported (#3276)
* fix: github branch protection not supported

* fix: typo protectionAvailable
2023-03-30 11:32:59 -05:00
renovate[bot]
05e9c2f6ff chore(deps): update alpine docker tag to v3.17.3 in docker-base/dockerfile.alpine (#3278)
* chore(deps): update alpine docker tag to v3.17.3 in docker-base/dockerfile.alpine

* Update Dockerfile.alpine

* Update Dockerfile.alpine

* Update Dockerfile.alpine

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-03-30 04:37:06 +00:00
Shouichi Kamiya
f8d6aac067 fix(kustomize): Use k8s recommended name label (#3261)
See https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels.
2023-03-29 21:46:47 -05:00
nitrocode
617714034f fix(workflows): use ** instead of **/* in paths (#3267)
* Update test.yml

* Update test.yml

* Update test-required.yml

* Update lint-required.yml

* Update lint.yml
2023-03-26 21:11:59 -05:00