Commit Graph

2887 Commits

Author SHA1 Message Date
renovate[bot]
ee7ab5cc3b fix(deps): update module github.com/uber-go/tally/v4 to v4.1.9 in go.mod (#3813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 02:25:34 +00:00
renovate[bot]
604c42a863 fix(deps): update module github.com/go-playground/validator/v10 to v10.15.5 in go.mod (#3808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 05:15:20 +00:00
renovate[bot]
4bf3a3b34d chore(deps): update dependency open-policy-agent/conftest to v0.46.0 in testing/dockerfile (#3809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 00:24:39 +00:00
renovate[bot]
fe126560da chore(deps): update dependency open-policy-agent/conftest to v0.46.0 in dockerfile (#3805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 00:42:49 +00:00
renovate[bot]
010e1e6bc3 fix(deps): update module github.com/xanzy/go-gitlab to v0.92.3 in go.mod (#3804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 02:35:10 +00:00
renovate[bot]
8c86e43927 fix(deps): update module github.com/hashicorp/golang-lru/v2 to v2.0.7 in go.mod (#3803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 02:24:25 +00:00
renovate[bot]
d9d6ff6588 chore(deps): update alpine docker tag to v3.18.4 in dockerfile (#3801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 01:53:05 +00:00
renovate[bot]
68b10da2f2 fix(deps): update module github.com/redis/go-redis/v9 to v9.2.1 in go.mod (#3798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-28 01:32:16 +00:00
renovate[bot]
9f1175d592 fix(deps): update module github.com/xanzy/go-gitlab to v0.92.1 in go.mod (#3794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 01:02:08 +00:00
renovate[bot]
f83609a51b fix(deps): update github.com/hashicorp/terraform-config-inspect digest to 5a6f8d1 in go.mod (#3792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 01:46:33 +00:00
Dylan Page
dd9d0362b1 ci: auto generated release notes (#3790) 2023-09-25 17:09:54 -04:00
JSNortal
352bbedfbf fix: issue with GH App credential not writing if lines already exist (#3679)
* Fix issue with GH App credential not writing if lines already exist

* Fix lint issue of unused variable.

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Dylan Page <dylan.page@autodesk.com>
2023-09-25 19:53:06 +00:00
Finn Arne Gangstad
078af70376 fix: safer re-merging with updated upstream (#3499)
* Safer handling of merging with an updated upstream.

We used to call forceClone() to update with upstream, but this deletes the
checked out directory. This is inefficient, can delete existing plan files,
and is very surprising if you are working manually in the working directory.

We now fetch an updated upstream, and re-do the merge operation. This
leaves any working files intact.

* Rename SafeToReClone -> CheckForUpstreamChanges

It's never safe to clone again. But sometimes we need to check
for upstream changes to avoid reverting changes.

The flag is now used to know when we need to merge
again non-destructively with new changes.

* Update fixtures.go

* Add test to make sure plans are not wiped out

As long as the branch itself has not been updated, plans
should be kept. Even if upstream has changed.

* renamed HasDiverged to MergedAgain in PlanResult and from Clone()

This flag was only set to true in case a call to Clone()
ended up merging with an updated upstream, so the
new name better represents what it means.

* Test that Clone on branch update wipes old plans

This complements the test that Clone with unmodified
branch but modified upstream does _not_ wipe plans.

* runGit now runs git instead of returning a function that runs git

* Updated template to merged again instead of diverged

This is no longer a warning, but expected behavior in merge chekout mode

* Rename git wrapper to wrappedGit, add a type for static config

Every call to wrappedGit for the same PR uses identical setup
for directory, head repo and PR, so passing the

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-25 15:17:27 -04:00
Ghais Zaher
80ecc38273 feat: disable autoplan label (#3649)
* feat: disable autoplan label

* documentation

* revert unrelated change

* fix property

* gitlab and github

* dd more test

* small fixes

* add tests for github and gitlab clients

* fix: remove unrelated comments

* fmt

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-25 13:43:35 -04:00
Luke Massa
fad6f0f956 fix: Do not unnecessarily update apply check if it doesn't exist yet (#3747)
* Do not unnecessarily create apply pipeline if it doesn't exist yet

* Updates

* Fix remaining

* Fix test logic

* Cleanup more tests

* Fix test

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-25 12:01:16 -04:00
wolmi
c35ba0d69f feat: Add use plugin cache flag (#3720)
* feat: Add use plugin cache bool flag

* feat: Added use-plugin-cache doc

* feat: refactor to reflect terrafrom in plugin cache flag

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>

* fix: missing closing in bash block documentation

* fix: typo in flag example

* feat: improve docs

* feat: performance implications documented

* feat: increase terraform minor version to 1.3.10

---------

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2023-09-22 14:42:58 -07:00
PePe Amengual
83964cc05c Updating curl package (#3787) 2023-09-21 14:49:33 -07:00
renovate[bot]
7cf6a670bf fix(deps): update module github.com/redis/go-redis/v9 to v9.2.0 in go.mod (#3786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-21 00:33:39 +00:00
renovate[bot]
16d080be03 chore(deps): update dependency node to v18.18.0 in .node-version (#3779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 01:56:00 +00:00
Alex-Mussell
5ff99510d0 docs: Update Terragrunt custom workflows docs to implement target plans, imports, and state removals (#3776) 2023-09-18 12:49:53 -07:00
renovate[bot]
4745b165cb chore(deps): update goreleaser/goreleaser-action action to v5 in .github/workflows/release.yml (#3774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 03:05:51 +00:00
renovate[bot]
75d118d535 chore(deps): update docker/setup-qemu-action action to v3 in .github/workflows/testing-env-image.yml (#3773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 01:35:39 +00:00
renovate[bot]
0dbaa4281e chore(deps): update docker/setup-buildx-action action to v3 in .github/workflows/testing-env-image.yml (#3772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-17 03:04:56 +00:00
renovate[bot]
f08c1389f3 chore(deps): update docker/metadata-action action to v5 in .github/workflows/atlantis-image.yml (#3771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-16 01:26:13 +00:00
renovate[bot]
fa3134e323 fix(deps): update module go.uber.org/zap to v1.26.0 in go.mod (#3768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 20:53:49 +00:00
Finn Arne Gangstad
ef33bac0b9 Latest terraform 1.3.* is now 1.3.10 (#3770) 2023-09-15 13:26:35 -07:00
renovate[bot]
73094ce8f5 chore(deps): update docker/login-action action to v3 in .github/workflows/testing-env-image.yml (#3766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 02:32:06 +00:00
renovate[bot]
b6830d3f18 fix(deps): update module github.com/go-playground/validator/v10 to v10.15.4 in go.mod (#3763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 03:51:33 +00:00
renovate[bot]
aa4c739ce4 chore(deps): update docker/build-push-action action to v5 in .github/workflows/testing-env-image.yml (#3762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 01:14:49 +00:00
renovate[bot]
79dfa83612 fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.7.0 in go.mod (#3760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 02:30:42 +00:00
Mulail Mohamed (Muley)
ca5aa85676 docs(using-atlantis): add usage for -destroy flag in atlantis plan (#3755)
* docs(using-atlantis): add usage for -destroy flag in atlantis plan

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

* docs(using-atlantis): add closing to caution note

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

* Update runatlantis.io/docs/using-atlantis.md

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>

* Update runatlantis.io/docs/using-atlantis.md

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>

* chore(atlantis): add example

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

---------

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-11 11:19:52 -04:00
Luke Massa
6a0512a579 feat: add portability to command invocation unit tests (#3758)
* Add portability to command invocation unit tests

* Fix linting
2023-09-11 11:13:26 -04:00
Simon Heather
b459645d03 fix: Running 'atlantis unlock' on a PR Causes The Whole Working Directory to be Deleted (#3751)
* Running 'atlantis unlock' on a PR Causes The Whole Working Directory to be Deleted

* Update events controller tests

* Fix events controller tests

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-11 11:00:12 -04:00
Simon Heather
cd7ae114eb feat: add ability to track git untracked files (#3724) 2023-09-11 10:57:50 -04:00
renovate[bot]
29fef94be7 chore(deps): lock file maintenance in server/events/testdata/test-repos/workspace-configured/main.tf (#3759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 02:02:52 +00:00
renovate[bot]
8079c47df5 chore(deps): update dependency hashicorp/terraform to v1.5.7 in .circleci/config.yml (#3753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 02:25:35 +00:00
Ghais Zaher
a9cbd683ef fix: checkout before dorny/paths-filter (#3752) 2023-09-07 13:25:19 -04:00
Ghais Zaher
fac46b79f6 ci: use dorny/paths-filter to filter paths when running go-tests (#3675) 2023-09-07 12:29:34 -04:00
Luke Massa
70c9f17007 Revert "fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod (#3743)" (#3748)
This reverts commit 3a2a244272.
2023-09-06 21:15:56 -07:00
renovate[bot]
93033bdc72 chore(deps): update golang docker tag to v1.21.1 in testing/dockerfile (#3746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 00:14:21 +00:00
renovate[bot]
3a2a244272 fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod (#3743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 21:12:07 +00:00
Luke Massa
6142b460bf fix: Change message for when request is not approved to be more accurate (#3744)
* Change message for when request is not approved

* Updates

* Fix

* Fix tests
2023-09-06 14:04:55 -07:00
PePe Amengual
2094e5129b Adding maintainers file (#3740) 2023-09-05 08:33:30 -04:00
renovate[bot]
7cec90d7cf chore(deps): update actions/checkout action to v4 in .github/workflows/website.yml (#3738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 03:40:20 +00:00
renovate[bot]
592a7c9d2b fix(deps): update module golang.org/x/text to v0.13.0 in go.mod (#3737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 02:32:07 +00:00
renovate[bot]
04c93c743c fix(deps): update module golang.org/x/term to v0.12.0 in go.mod (#3735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 04:08:12 +00:00
renovate[bot]
f5004120e9 fix(deps): update module github.com/xanzy/go-gitlab to v0.91.1 in go.mod (#3733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 01:57:55 +00:00
renovate[bot]
4059f79c4e chore(deps): update dependency open-policy-agent/conftest to v0.45.0 in testing/dockerfile (#3732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-03 02:23:06 +00:00
Simon Heather
1ee108b4c0 Update Docs for fail-on-pre-workflow-hook-error (#3731) 2023-09-02 09:39:38 -07:00
renovate[bot]
86f8e6dcc4 chore(deps): update dependency open-policy-agent/conftest to v0.45.0 in dockerfile (#3730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 01:58:43 +00:00