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
Rui Chen
6f7f8f2c5c
test: update tests per command package refactoring ( #2317 )
2022-06-13 17:16:13 -04:00
Chico Venancio
a3db712920
[fix] Ignore commit checks for atlantis apply on Github ( #2311 )
...
* [fix] Ignore commit checks for atlantis apply on Github
* Fix typo
* Fmt
* lint
2022-06-13 09:40:05 -07:00
giuli007
82ac706273
fix: Delete locks and workdirs with potentially stale previous plans which fixes 1624 ( #1704 )
...
* Delete previous plans on autoplan or atlantis plan
When using non-default workspaces, plans are stored
in pr-and-workspace-specific directories.
If a PR is subsequently updated it might happen that
some of the plans are no longer relevant with regards
to the latest changes.
This change ensures that plans are always deleted
when a generic plan is triggered either by autoplan
or by a "atlantis plan" command.
NB Plans are not cleaned up when specific projects are
planned explicitly with "atlantis plan -p/-d/-w".
* Use DeleteLockCommand to delete locks and workdirs
containing previous plans
Co-authored-by: giuli007 <giuglioz@gmail.com >
2022-06-10 21:18:01 -07:00
Quan Hoang
3744535dac
Further parse Gitlab MergeRequest Update events ( #1301 )
2022-06-09 20:42:58 -07:00
Yahya
42321707be
docs: fix security warning inconsistent formatting ( #2302 )
2022-06-07 11:46:59 -07:00
dependabot[bot]
1334aba684
build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 ( #2283 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
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-07 14:00:48 -04:00
PePe Amengual
e60d8d93ac
Release v1.9.4 ( #2294 )
v0.19.4
2022-06-06 08:47:38 -07:00
nitrocode
2b772541f5
Add version to /status endpoint ( #2295 )
...
* Add version to /status endpoint
* Add version to test
* Fix linting errors
2022-06-05 20:06:37 -07:00
nitrocode
82cf170d8f
Ignore gpg signing for tests ( #2296 )
2022-06-05 20:06:24 -07:00
Chris Sainty
591c4da895
Fix for failing builds ( #2284 )
...
* Replace golang-ci install path
Noticed builds failing to download this script. Docs are updated with a new install path direct from GitHub - https://golangci-lint.run/usage/install/#other-ci
* Workaround bot protection on docs.github.com
There seems to be bot protection on docs.github.com which can be bypassed by requesting compressed content - https://github.com/github/docs/issues/17358#issuecomment-1111864031
2022-06-03 20:19:32 -07:00
Clemens Wältken
8e843119f3
build: generalize the image tag in image workflow ( #2277 )
...
This allows forks of atlantis to push images to their own ghcr.
2022-05-25 16:08:48 -04:00
dependabot[bot]
7506a62c85
build(deps): bump goreleaser/goreleaser-action from 2 to 3 ( #2276 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 16:05:20 -04:00
Rui Chen
da0515d180
deps: terraform 1.2.0 ( #2267 )
...
* deps: terraform 1.2.0
* support tf 1.1.9
2022-05-20 15:18:59 -04:00
Aiden Scandella
80ac130d08
fix: update homepage link on project job output page ( #2262 )
...
Currently the link goes to "" on my install, which browsers interpret as
the current page. Looking at the other templates in this file, it was
missing a trailing `/`.
2022-05-18 20:19:09 -04:00
Aiden Scandella
8bc3c087bc
fix: working dir tests initial branch assumes "master" ( #2264 )
...
This fixes the tests to not rely in the implicit value of the
"defaultBranch" git configuration value, since they later assume that
it's "master".
For example, if you run:
```sh
git config --global init.defaultBranch main
```
And then run these tests, you get:
```sh
--- FAIL: TestClone_CheckoutMergeNoneExisting (0.68s)
working_dir_test.go:71: err running "git checkout master": error:
pathspec 'master' did not match any file(s) known to git
--- FAIL: TestClone_CheckoutMergeNoReclone (0.68s)
working_dir_test.go:127: err running "git checkout master":
error: pathspec 'master' did not match any file(s) known to git
--- FAIL: TestClone_CheckoutMergeNoRecloneFastForward (0.68s)
logger.go:130: 2022-05-17T10:05:33.665-0700 INFO creating
dir "/tmp/3762936464/repos/0/default"
working_dir_test.go:198: unexpected error: running git
clone --branch master --single-branch
file:///tmp/3657236513 /tmp/3762936464/repos/0/default:
Cloning into '/tmp/3762936464/repos/0/default'...
warning: Could not find remote branch master to
clone.
fatal: Remote branch master not found in
upstream origin
: exit status 128
--- FAIL:
TestClone_CheckoutMergeConflict
(0.68s)
working_dir_test.go:232: err running "git checkout master": error:
pathspec 'master' did not match any file(s) known to git
--- FAIL: TestClone_MasterHasDiverged (0.68s)
working_dir_test.go:344: err running "git clone --branch
master --single-branch /tmp/1931262087 .": Cloning into '.'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in
upstream origin
--- FAIL: TestHasDiverged_MasterHasDiverged
(0.68s)
working_dir_test.go:415: err running "git clone --branch master
--single-branch /tmp/2356723317 .": Cloning into '.'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream
origin
FAIL
FAIL
github.com/runatlantis/atlantis/server/events
7.269s
FAIL
```
2022-05-17 10:55:02 -07:00
Aiden Scandella
517358e612
Fix branch CI pipeline due to unchecked err in test ( #2263 )
...
Currently this is failing on PRs
```
server/events/vcs/gitlab_client_test.go:301:14: Error return value of `w.Write` is not checked (errcheck)
w.Write([]byte(response))
```
2022-05-17 10:33:39 -07:00
Michel Z. Santello
02a1bb6507
[fix] ignore commit status for apply jobs ( #2135 ) ( #2137 )
...
* fix: update commit status check logic to match the commit status name
* Update server/events/vcs/gitlab_client.go
chore: simplify ignored statuses logic
Co-authored-by: Emil 'Skeen' Madsen <sovende@gmail.com >
* feat(gitlab_client_test): add PullIsMergeable test case
Co-authored-by: Emil 'Skeen' Madsen <sovende@gmail.com >
2022-05-16 14:05:47 -07:00
dependabot[bot]
32ae155ea7
build(deps): bump runatlantis/atlantis-base ( #2259 )
...
Bumps runatlantis/atlantis-base from 2022.04.19 to 2022.05.13.
---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 09:47:33 -07:00
Radon Rosborough
efdb3ff9cf
Implement runWithUser/fsGroup within entrypoint ( #1326 )
...
Addresses https://github.com/runatlantis/helm-charts/issues/14
2022-05-16 09:46:29 -07:00
Petr Stroganov
4c0a44979f
Add missing CleanedBasePath to GithubSetupData created by GithubAppController ( #2142 )
v0.19.4-pre.20220513
2022-05-13 14:36:36 -07:00
Istvan Tapaszto
a491542b48
feat: MultiEnv step added ( #1793 )
...
* MultiEnv step added
* Values removed from the output
* Fixing tests
* multienv_step_runner_test added
* Documentation of new feature added
* Documentatation of new feature modified
* multienv_step test file extension changed
* Fixed multinev_step_runner test
* Enhanced debug logging in multienv_step_runner
* Enhanced errorhandling
* Test command modified
* Test command modified
* Test command modified
* Test command modified
* Errorhandling modified
* Test command modified
* Test command modified
* Create empty map in test
* Fixing test ExpOut
* Testing, refactoring, eliminating extra debug log
* MultiEnv result modified from json to plain string
* MultiEnv step Run parameter updated
* Import added
* project_command_runner updated
* project_command_runner updated
* multienv_step_runner_test updated
* multienv doc modified
* Update runatlantis.io/docs/custom-workflows.md
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: Istvan Tapaszto <istvan.tapaszto@msci.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-05-13 14:30:08 -07:00
dependabot[bot]
3ad58e2662
build(deps): bump docker/setup-buildx-action from 1 to 2 ( #2249 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:28:06 -07:00
Jörg Herzinger
87c967d2d3
Add gcompat library to Docker base image for convenience ( #2175 )
...
Co-authored-by: Jörg Herzinger <joerg.herzinger@bytesource.net >
2022-05-13 14:25:28 -07:00
Paul O'Connor
c6700c4ad0
docs: Add unlock command ( #2183 )
2022-05-13 14:17:19 -07:00
Rui Chen
dc7c65d266
deps: tf 1.1.9 and conftest 0.31.0 ( #2218 )
...
* deps: tf 1.1.9
Signed-off-by: Rui Chen <rui@chenrui.dev >
* deps: conftest 0.31.0
Signed-off-by: Rui Chen <rui@chenrui.dev >
* update applications link ref
2022-05-13 14:16:48 -07:00
dependabot[bot]
cbc4ef3700
build(deps): bump runatlantis/atlantis-base ( #2219 )
...
Bumps runatlantis/atlantis-base from 2022.03.04 to 2022.04.19.
---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:16:24 -07:00
Emil 'Skeen' Madsen
d23f7d438e
Handle invalid values for TARGETPLATFORM. ( #2223 )
...
Report an error during `docker build` if `TARGETPLATFORM` has an unexpected
value.
2022-05-13 14:15:51 -07:00
dependabot[bot]
eb8f838523
build(deps): bump github.com/urfave/cli from 1.22.5 to 1.22.9 ( #2247 )
...
Bumps [github.com/urfave/cli](https://github.com/urfave/cli ) from 1.22.5 to 1.22.9.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v1.22.5...v1.22.9 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli
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-05-13 14:14:19 -07:00
dependabot[bot]
f347611648
build(deps): bump docker/build-push-action from 2 to 3 ( #2248 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:13:46 -07:00
dependabot[bot]
d5f868c2f9
build(deps): bump docker/login-action from 1 to 2 ( #2250 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:13:05 -07:00
dependabot[bot]
7f7fae9112
build(deps): bump docker/setup-qemu-action from 1 to 2 ( #2251 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:12:39 -07:00
PePe Amengual
e6424ce02f
Update CHANGELOG.md ( #2256 )
2022-05-13 14:11:41 -07:00
PePe Amengual
1d553365ae
Release 0.19.3 ( #2254 )
...
* Update main.go
* updating helm release
v0.19.3
2022-05-13 13:06:40 -07:00
PePe Amengual
485c4b508f
Revert "fix: add path to WorkingDir methods ( #2180 )" ( #2253 )
...
This reverts commit 1a8344489f .
2022-05-13 10:19:29 -07:00
Rui Chen
b1fb97047b
links(github): replace help.github.com with docs.github.com links ( #2227 )
...
* links(github): replace help.github.com with docs.github.com links
* fix another link
Signed-off-by: Rui Chen <rui@chenrui.dev >
v0.19.3-pre.20220429
2022-04-29 17:35:42 -04:00
dependabot[bot]
7bff8d79c6
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 ( #2206 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.10.1...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
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-04-22 21:27:29 -04:00
Derek Gaffney
22dec19df7
chore: update alpine base to v3.15.4 ( #2202 )
2022-04-19 17:10:27 -04:00