Commit Graph

2718 Commits

Author SHA1 Message Date
Simon Heather
7fa9b9c925 fix: Remove the 'Plan Discarded' Message from the Enable/Disable Apply Commands (#3511)
* Remove `/?discard=true`

* Restore forward slash
2023-06-11 09:01:08 -05:00
Simon Heather
fa6a77a6ea Add xterm-addon-search-bar (#3507) 2023-06-11 01:22:09 -05:00
Simon Heather
504d1b7fe3 Replace bindata-assetfs with embed (#3504)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-06-10 19:04:10 -05:00
Leandro López
c709fd0cff feat: Add Terraform command duration to log messages (#3484)
* Log duration of Terraform commands

Closes #3413.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Make log message casing consistent

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Add tests for passing duration to Terraform comamnds logs

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Add logging mocks for testing Terraform client

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

---------

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
2023-06-09 21:03:36 -05:00
kevin-fitlg
3d5786cbad fix(docs): Update access-credentials.md (#3506)
* Update access-credentials.md

* Update access-credentials.md

* Update runatlantis.io/docs/access-credentials.md

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-06-09 20:59:02 -05:00
nitrocode
2c2904bdd9 feat(release-notes): add release.yml (#3500) 2023-06-09 20:53:51 -05:00
nitrocode
79500182db chore(deps): bump tally to v4 (#3498) 2023-06-08 21:57:46 -04:00
renovate[bot]
efa53958df chore(deps): update dependency open-policy-agent/conftest to v0.43.1 in testing/dockerfile (#3497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 01:34:54 +00:00
renovate[bot]
d0d6b41cd9 chore(deps): update dependency open-policy-agent/conftest to v0.43.1 in dockerfile (#3496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 01:26:19 +00:00
renovate[bot]
1d91dfb083 fix(deps): update module github.com/google/go-github/v52 to v53 in go.mod (#3495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 03:41:38 +00:00
renovate[bot]
52895857e5 chore(deps): update golang docker tag to v1.20.5 in testing/dockerfile (#3494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 00:02:32 +00:00
nitrocode
bbebf3da57 fix(github-actions): pin buildx to v0.11.2 (#3481) 2023-06-07 00:01:37 +00:00
Finn Arne Gangstad
d1c6851899 fix: Check for upstream changes to merge only when planning (#3493)
* whitespace fixes

* Only re-clone on upstream updates just before planning

When using the merge checkout strategy, we would peviously
re-clone on upstream updates on any call to Clone(), for example
when running workflow hooks or runing import commands.

If we had already ran a plan, and master was updated, this
would delete the plan and apply would not have anything to
apply.

Modified to only re-clone on upstream updates in doPlan()

* Apply suggestions from code review

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-06-06 23:39:07 +00:00
dependabot[bot]
02319709bd build(deps): bump vite from 4.0.4 to 4.0.5 (#3490)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.0.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.0.5/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 21:56:16 -05:00
renovate[bot]
773fb0c2f6 fix(deps): update module github.com/go-playground/validator/v10 to v10.14.1 in go.mod (#3485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 01:09:50 +00:00
renovate[bot]
64c82164a9 chore(deps): update dependency open-policy-agent/conftest to v0.43.0 in dockerfile (#3482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 19:44:53 +00:00
renovate[bot]
1895cf7f5f chore(deps): update dependency open-policy-agent/conftest to v0.43.0 in testing/dockerfile (#3483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 19:23:09 +00:00
Leandro López
339c0fe474 feat(stats): pass plan stats to markdown templates (#3478)
* Capture stats in plan changes regexp

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Add PlanSuccessStats model to hold plan stats

This will be useful to pass down to the templates to include
additional information when formatting the messages emitted by Atlantis.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Return stats for a PlanSuccess

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Add plan success stats to template data

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Refactor plan success template data creation

DRY. Also highlights a bug where the stats should be a field in
planSuccessData in order to be accessible from the templates.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

* Move plan stats to planSuccessData struct

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>

---------

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-06-03 14:01:17 -05:00
nitrocode
3468f58d1e feat(github-actions): Add pr lint workflow (#3480)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-06-03 00:32:40 -05:00
renovate[bot]
80b8b95011 fix(deps): update module github.com/xanzy/go-gitlab to v0.84.0 in go.mod (#3479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-03 01:55:06 +00:00
Oliver
4f9965fbb5 Include link to releases page in Changelog (#3475)
Minor ease-of-use change to link to the releases page so that when people (like me) google  "atlatnis change log" it's easier to get to releases.
2023-06-02 09:18:44 -07:00
renovate[bot]
0b69d6bac8 fix(deps): update module github.com/spf13/viper to v1.16.0 in go.mod (#3472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 01:25:48 +00:00
Shouichi Kamiya
34bce90052 docs: include .terraform.lock.hcl to when_modified examples (#3466)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-06-01 11:30:21 -07:00
kangaechu
79dba513ac fix list indent: Custom Workflows run command environments (#3468) 2023-06-01 11:25:05 -07:00
renovate[bot]
59bc9c5ad1 fix(deps): update module github.com/hashicorp/hcl/v2 to v2.17.0 in go.mod (#3470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 03:25:06 +00:00
renovate[bot]
28523d1348 fix(deps): update module github.com/alicebob/miniredis/v2 to v2.30.3 in go.mod (#3469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 01:53:05 +00:00
nitrocode
83ca6ad4c1 fix(e2e-deps): fix jq download (#3464)
* fix(e2e-deps): fix jq download

* Update e2e-deps.sh
v0.24.2
2023-05-30 19:41:21 -07:00
renovate[bot]
e7c77385c0 fix(deps): update module github.com/stretchr/testify to v1.8.4 in go.mod (#3463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-31 01:19:47 +00:00
Ross Strickland
ad75aace78 fix: Initialize VCSClient for commandrunner to remove recent server panics (#3461)
* Initialize VCSClient for commandrunner.

* Add test.
2023-05-30 14:32:37 -04:00
Simon Heather
50b1e48b4a fix(workflow-hook): multiline output formatting (#3425)
* Fix Workflow Hool Scripts Multiline Output

* Update unit tests

* revert bash cmd

* Fix tests
2023-05-30 09:21:56 -05:00
renovate[bot]
e02e71291a fix(deps): update module github.com/redis/go-redis/v9 to v9.0.5 in go.mod (#3459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 00:37:52 +00:00
Simon Heather
998eb63821 fix(workflows): Workflow hook output id fix (#3454) 2023-05-26 08:50:52 -05:00
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