Commit Graph

2172 Commits

Author SHA1 Message Date
Austin Sherron
6227b56d28 fix: Update multienv_step_runner Env Var Parsing Logic (#2351) (#2354)
* Update multienv_step_runner Env Var Parsing Logic

* Update multienv_step_runner.go to split only on the first = character
* Add affirmative and failing test cases

* Run gofmt
2022-07-27 10:40:14 -07:00
ribejara-te
e0e29bddee fix: repository cloning race condition (#2341) (#2348)
* fix: repository cloning race condition (#2341)

* fix: switched from sync to golang.org/x/sync/semaphore

* fix: check value of sem.Acquire(...)
2022-07-27 10:37:07 -07:00
Rui Chen
fe67a2a2c6 issue: add feature_request template [skip ci] (#2397)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-21 10:53:59 -04:00
dependabot[bot]
5a4b079e90 build(deps): bump github.com/xanzy/go-gitlab from 0.68.2 to 0.69.0 (#2402)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.68.2 to 0.69.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.68.2...v0.69.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 10:52:56 -04:00
dependabot[bot]
ae09867d3f build(deps): bump github.com/bradleyfalzon/ghinstallation/v2 (#2401)
Bumps [github.com/bradleyfalzon/ghinstallation/v2](https://github.com/bradleyfalzon/ghinstallation) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/bradleyfalzon/ghinstallation/releases)
- [Commits](https://github.com/bradleyfalzon/ghinstallation/compare/v2.0.4...v2.1.0)

---
updated-dependencies:
- dependency-name: github.com/bradleyfalzon/ghinstallation/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 10:20:08 -04:00
Li Lin
b234bd480e Fix helm chart url in website_link_check (#2407) 2022-07-19 17:16:16 -07:00
PePe Amengual
700cffd57d release v0.19.7 (#2404) v0.19.7 2022-07-19 16:35:03 -07:00
James Connor
d4f9c87f2e Fix link to current helm chart (#2393) 2022-07-19 11:24:13 -07:00
tweeks-reify
c4af879b31 CHANGED - update streaming-logs doc to mention terragrunt support (#2395) 2022-07-15 12:57:18 -07:00
dependabot[bot]
eaffcae1fe build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2382)
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 13:09:14 -04:00
Connor Edwards
4887091197 fix: use constant time comparison of webhook secret in gitlab event validator (#2392) 2022-07-15 09:54:36 -07:00
Li Lin
e153cea2bf Revert "[fix] Ignore commit checks for atlantis apply on Github (#2311)" (#2388)
* Revert "[fix] Ignore commit checks for atlantis apply on Github (#2311)"

This reverts commit a3db712920.
v0.19.7-pre.20220713
2022-07-13 17:11:03 -07:00
Paul O'Connor
7a6b5b85bb Only highlight Terraform changes on GitHub (#2337) 2022-07-12 08:58:39 -07:00
Miguel Ángel García
a6447d81cb Mag/reuse ngrok (#2378)
* reuse ngrok if found in path

* Add the path found to the output

* Fix the path where ngrok is
2022-07-12 08:56:32 -07:00
Casper Biering
abb9e41787 fix: Log streaming broken with TFE local execution mode (#2364) 2022-07-12 08:53:55 -07:00
David Constenla
b650303032 Add permission to allow GET required_status_checks, linked to #2310 (#2380) 2022-07-12 08:47:52 -07:00
Li Lin
008b2ed952 Add section for --var-file-allowlist in changelog (#2375)
* Add section for --var-file-allowlist in changelog

* Update CHANGELOG.md

Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>

Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2022-07-08 13:09:33 -07:00
Rui Chen
e76739555d deps(conftest): 0.32.1 -> 0.33.0 (#2367)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-08 15:58:07 -04:00
Rui Chen
b34e715886 release: 0.19.6 (#2373)
Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.19.6
2022-07-08 12:21:14 -04:00
Rui Chen
8d45adb18a Revert "workflows: build image in parallel (#2361)" (#2372)
This reverts commit 8c0ca6bb29.
2022-07-08 12:09:54 -04:00
Li Lin
4373b88084 Add section for --var-file-allowlist in security doc (#2369) v0.19.5 2022-07-07 23:10:56 -07:00
Li Lin
6b0fe76f4e Add --var-file-allowlist in server configuration (#2362) 2022-07-07 10:32:18 -07:00
Clemens Wältken
8c0ca6bb29 workflows: build image in parallel (#2361)
* Enable GitHub matrix strategy to run builds in parallel

* apply matrix build for the other images

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

Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-07-06 22:18:31 -04:00
dependabot[bot]
6e997db624 build(deps): bump github.com/microcosm-cc/bluemonday (#2357)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.18...v1.0.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 21:02:27 -04:00
Casper Biering
e81e59ce15 fix(docker-compose): update docker-compose (#2365) 2022-07-06 20:57:46 -04:00
Rui Chen
2ae89d609c deps: upgrade github.com/docker/docker (#2366)
* deps: upgrade github.com/docker/docker

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

* pkg: `docker/docker` -> moby/moby

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-06 20:54:48 -04:00
Rui Chen
78cf6d79d7 deps: tf 1.2.4 (#2363)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-05 17:08:53 -04:00
dependabot[bot]
cce511f05a build(deps): bump github.com/xanzy/go-gitlab from 0.68.0 to 0.68.2 (#2356)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.68.0 to 0.68.2.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.68.0...v0.68.2)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 15:57:31 -04:00
dependabot[bot]
d44ed27fb1 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2358)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 12:35:52 -04:00
Aiden Scandella
9b7cb0f4c1 Update terragrunt workflow documentation (#2350)
With #2261, we now open a stdin pipe like the built-in terraform client
does. Doing so apparently caused some user's `plan`s to hang when they
had variables requiring inputs, since `terraform` saw that stdin was
open and prompted for a value.
2022-06-29 15:30:02 -07:00
Andrey Vydrin
569031ab23 feat: add execution order group (#2178)
* feat: add execution order group

to apply/plan by order

* fix: use official golanci-lint script
2022-06-29 12:01:54 -07:00
Giovanni Tirloni
27425c27ef docs: Add allowed commands for workflow hooks (#2331)
Fixes #2330
2022-06-29 11:44:03 -07:00
Rui Chen
631d5362e9 links: update link for Specifying a Required Terraform Version (#2345)
* links: update link for `Specifying a Required Terraform Version`

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

* Revert "build(deps): bump github.com/uber-go/tally (#2303)"

This reverts commit c6b7bc5611.

* `go mod tidy`

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

* update link

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-28 22:07:48 -04:00
dependabot[bot]
c6b7bc5611 build(deps): bump github.com/uber-go/tally (#2303)
Bumps [github.com/uber-go/tally](https://github.com/uber-go/tally) from 3.4.3+incompatible to 3.5.0+incompatible.
- [Release notes](https://github.com/uber-go/tally/releases)
- [Commits](https://github.com/uber-go/tally/compare/v3.4.3...v3.5.0)

---
updated-dependencies:
- dependency-name: github.com/uber-go/tally
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 21:54:15 -04:00
PePe Amengual
77706cb578 Revert "fix: Delete locks and workdirs with potentially stale previous plans which fixes 1624 (#1704)" (#2316)
This reverts commit 82ac706273.
v0.19.5-pre.20220628
2022-06-28 17:54:57 -07:00
dependabot[bot]
cd7eb8d8d8 build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.5 (#2339)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-28 14:22:51 -04:00
Steve Yoon
e90aa575e0 feat: Prometheus metrics support (#2204)
* support prometheus metrics

* remove redundant error checking

* load prometheus metrics config

* dynamic separator for subscopes

* removing unnecessary config file

* adding a few more metrics test cases

* remove testing handler

* fix upstream merge error
2022-06-28 08:58:15 -07:00
dependabot[bot]
dfd2a23017 build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (#2338)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-28 09:33:04 -04:00
Rui Chen
173dfdc8c5 docs: update links for bitbucket-cloud create-an-app-password (#2340)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-27 23:21:17 -04:00
Dominic Barnes
5da69620cf trim whitespace from comments before parsing (#2287) 2022-06-22 11:34:12 -07:00
Aiden Scandella
ff1094fa04 feat: stream output for custom workflows (#2261)
* Start threading job output to RunStepRunner

* Strip ANSI

* Fix lint

* Use waitgroup to avoid test flakiness

* Move waitgroup higher

* Add ANSI test and use strings.Builder

* Fix lint

* Use errors.Wrap per style guide

* Create ShellCommandRunner to encapsulate streaming

* WIP: shell command runner

* Update signatures to propagate error finding version

* Fix log output

* Fix error checking

* Fix accidental whitespace stripping

* Remove unused struct field

* Fix error checking in terraform client

* Add unit tests to verify command output handler was called

* Remove err from async interface

* Remove duplicative log now that shell command runner does it

* Hide output in stream for env/multienv

* Add comment explaining goroutines

* Use printf for better macOS compatibility
v0.19.5-pre.20220622
2022-06-22 09:29:41 -07:00
Yurii Soldak
d6aa1e0eb3 Remove workaround for atlantis-data in entrypoint (#2334)
Fixes #2322 
See another PR (in helm-charts repo) that enables use of fsGroupChangePolicy instead.
2022-06-22 09:27:30 -07:00
Rui Chen
d315e50073 deps: terraform 1.2.3, conftest 0.32.1 (#2328)
* deps: terraform 1.2.3

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

* deps: conftest 0.32.1

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-16 20:02:50 -04:00
Rui Chen
56d463be94 test: update null provider to support test run on m1 machine (#2318)
error message:
```
- Finding hashicorp/null versions matching "3.0.0"...
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/null v3.0.0 does not have a package
│ available for your current platform, darwin_arm64.
│
│ Provider releases are separate from Terraform CLI releases, so not all providers
│ are available for all platforms. Other versions of this provider may have
│ different platforms supported.
```

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-16 17:29:14 -04:00
dependabot[bot]
447a804295 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2320)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-16 17:25:36 -04:00
Michel Z. Santello
df0d58d29b fix: vcs-status-name hardcoded in PullIsMergeable function (#2312)
* feat: add userConfig.VCSStatusName to applyCommandRunner context

* fix: use vcsstatusname from context

* chore: normalize tests

* chore: update interface mock
v0.19.5-pre.20220616
2022-06-16 09:26:20 -07:00
dependabot[bot]
288e91ab1a build(deps): bump github.com/xanzy/go-gitlab from 0.59.0 to 0.68.0 (#2319)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.59.0 to 0.68.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.59.0...v0.68.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-15 13:18:01 -04:00
alex bezek
a3b9f7c9df Update streaming-logs.md docs (#2313)
Hello, I was reading through these docs and this section seemed incorrect. I assume the 2 commands it supports are atlantis plan/apply and not the underlying 3 terraform commands. Let me know if I'm misinterpreting this. Thanks!

Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-13 15:08:03 -07:00
dependabot[bot]
b3abfe7f06 build(deps): bump github.com/hashicorp/go-getter from 1.5.11 to 1.6.2 (#2321)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.11 to 1.6.2.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.5.11...v1.6.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 17:47:24 -04:00
dependabot[bot]
48d6a13e5d build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2275)
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 17:31:22 -04:00