Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Tags: finanzcheck/atlantis

Tags

v0.19.6

Toggle v0.19.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
release: 0.19.6 (runatlantis#2373)

Signed-off-by: Rui Chen <[email protected]>

v0.19.5

Toggle v0.19.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add section for --var-file-allowlist in security doc (runatlantis#2369)

v0.19.5-pre.20220628

Toggle v0.19.5-pre.20220628's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revert "fix: Delete locks and workdirs with potentially stale previou…

…s plans which fixes 1624 (runatlantis#1704)" (runatlantis#2316)

This reverts commit 82ac706.

v0.19.5-pre.20220622

Toggle v0.19.5-pre.20220622's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: stream output for custom workflows (runatlantis#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.20220616

Toggle v0.19.5-pre.20220616's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: vcs-status-name hardcoded in PullIsMergeable function (runatlant…

…is#2312)

* feat: add userConfig.VCSStatusName to applyCommandRunner context

* fix: use vcsstatusname from context

* chore: normalize tests

* chore: update interface mock

v0.19.4

Toggle v0.19.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release v1.9.4 (runatlantis#2294)

v0.19.4-pre.20220513

Toggle v0.19.4-pre.20220513's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add missing CleanedBasePath to GithubSetupData created by GithubAppCo…

…ntroller (runatlantis#2142)

v0.19.3

Toggle v0.19.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release 0.19.3 (runatlantis#2254)

* Update main.go

* updating helm release

v0.19.3-pre.20220429

Toggle v0.19.3-pre.20220429's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
links(github): replace help.github.com with docs.github.com links (ru…

…natlantis#2227)

* links(github): replace help.github.com with docs.github.com links

* fix another link

Signed-off-by: Rui Chen <[email protected]>

v0.19.3-pre.20220408

Toggle v0.19.3-pre.20220408's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: add path to WorkingDir methods (runatlantis#2180)

* fix: add path to WorkingDir methods

`WorkingDirLocker` and `WorkingDir` are closely related -- the former acquires a lock, which ensures that the latter can safely operate on a given file path.

In runatlantis#2131 we added `path` to the `WorkingDirLocker` lock key, but neglected to add the same to `WorkingDir`.

This commit adds `path` as an argument to certain `WorkingDir` methods, and includes `path` in the directory that we use to clone the repository for a given project.

Since `path` can include certain special characters such as `/`, we encode `path` as base32 when using it as part of a file path. This should ensure no special characters are used in the filesystem, and that the value can be decoded if desired (unlike hashes such as md5).

Additional changes:

- All calls to changed methods have been updated, including unit tests
- Mocks have been regenerated for `WorkingDir` and `WorkingDirLocker`
- `working_dir_test.go`
  - Commands that operate on filesystem paths have been updated to include the base32 encoded `path` value
  - When running `git init`, we include `-b master` as additional arguments, to ensure that `master` is our default branch (expected by the unit tests)

* Try fixing E2E tests

* Fix DefaultPendingPlanFinder

In addition to iterating over `workspaceDirs`, also iterate over `pathDirs`, and use both `workspace` and `path` to build `repoDir`.

* Fix DefaultPendingPlanFinder unit tests

* Fix DefaultProjectCommandBuilder unit tests

Co-authored-by: Kevin Snyder <[email protected]>
Co-authored-by: Kevin Snyder <[email protected]>