Commit Graph

2234 Commits

Author SHA1 Message Date
Rui Chen
ce4c7dbd51 fix(workflows): fix docker image publish flow (#2580)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-10 10:07:12 -07:00
PePe Amengual
9cfcd1334c Release 0.20.1 (#2571) v0.20.1 2022-10-08 11:16:48 -07:00
chroju
71f9397fc6 docs: added GitHub app permission in #2380 (#2572)
Co-authored-by: chroju <chroju@users.noreply.github.com>
2022-10-08 10:27:43 -07:00
chroju
9758a2103d docs: fill all command line flags not in the document, and more. (#2568)
* docs: All command line flags are filled in the doc

* docs: about --gh-allow-mergeable-bypass-apply flag

* docs: replace Github with GitHub

* docs: remove an incorrect bullet

Co-authored-by: chroju <chroju@users.noreply.github.com>
2022-10-08 10:26:23 -07:00
Rui Chen
2e13c7034f deps: bump terrform to 1.3.2 (#2569)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-07 13:56:34 -04:00
dependabot[bot]
542b08317e build(deps): bump github.com/microcosm-cc/bluemonday (#2548)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.20...v1.0.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 12:55:13 -04:00
Philipp Erbelding
23158f0b9d Add missing newline (#2567) 2022-10-07 09:28:05 -07:00
PePe Amengual
9ca5015a25 Updating to new base image (#2563)
* Updating to new base image

* Delete exp-output-autoplan.txt.act

* Delete exp-output-plan.txt.act

* Updating to new base image
2022-10-06 21:20:17 -07:00
Doug Ayers
195f1cb4d5 Use join.slack.com instead of custom heroku app (#2564)
At the top of the README is a "badge" to join the slack channel and uses a join.slack.com address. Further down is another reference to join Slack but links to a custom Heroku app to send an invite to someone. I think the custom Heroku app is legacy link and could be replaced by the join.slack.com url.
2022-10-06 19:45:38 -07:00
PePe Amengual
e8c0b5e66a Revert "Fix concurrency in atlantis-image workflow (#2556)" (#2565)
This reverts commit 8d543264c4.
2022-10-06 19:24:08 -07:00
Markus Liljedahl
93dd161517 Golang alpine update (#2562)
* Bumping golang image to 1.19.2 running alpine 3.16.2

* Use latest atlantis-base with latest alpine patches
2022-10-06 15:13:25 -07:00
Markus Liljedahl
b7aa71c06d Bump alpine to 3.16.2 (#2559) v0.20.0 2022-10-06 14:06:06 -07:00
nitrocode
8d543264c4 Fix concurrency in atlantis-image workflow (#2556) 2022-10-05 20:09:28 -07:00
PePe Amengual
929a75992a Release v0.19.9 (#2552)
* Release v0.19.9

* Updating test action

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* Testing older version of checkout action

* Testing older version of checkout action

* Fixing permission

* Fixing permission

* Fixing permission
v0.19.9
2022-10-05 15:04:49 -07:00
Quan Hoang
8b20bebf16 Determine Terraform Cloud workspace from configuration (#2432) 2022-09-30 13:36:53 -07:00
Rui Chen
3b3bc23f69 deps: bump terrform to 1.3.1 (#2543)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-29 21:40:55 -07:00
dependabot[bot]
6db4e4c4f9 build(deps): bump actions/stale from 5 to 6 (#2540)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 09:57:51 -07:00
Taiki Ono
1b46d854d7 docs: execution_order_group belongs to Project (#2539)
* docs: execution_order_group belongs to Project

Signed-off-by: Taiki Ono <taiki@finatext.com>

* Fix order

Signed-off-by: Taiki Ono <taiki@finatext.com>

* Add missing periods and default values

Signed-off-by: Taiki Ono <taiki@finatext.com>

Signed-off-by: Taiki Ono <taiki@finatext.com>
2022-09-25 23:29:56 -07:00
giuli007
2cd8bd9ccc Delete previous plans on autoplan or atlantis plan (#1633)
* 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".

* Also delete locks along with plans when running
autoplan or generic plan command

* Fix Plan deletion tests after 0.19.8 rebase

* Fix Plan deletion tests after v0.19.9-pre.20220912 rebase

* Rename struct field to follow camelCase naming convention

Co-authored-by: giuli007 <giuglioz@gmail.com>
v0.19.9-pre.20220923
2022-09-23 14:31:24 -07:00
Andy Paine
934a669af3 deps: bump tf to 1.3.0 (#2533)
Includes some useful new features like optional variables
2022-09-22 18:29:11 -07:00
Alberto Llamas
9829fa23c2 Fix: Error when enabling prometheus metrics (#2379) (#2528)
Prometheus metrics names have some restrictions that must match the regex `[a-zA-Z_:][a-zA-Z0-9_:]*`
2022-09-20 21:27:30 -07:00
Brian Zoetewey
1bcf938644 Adding Redis DB option (#2527)
* Adding Redis DB option
This allows selecting something other than the default database of 0.

* Add missing db argument to fix failing tests.
2022-09-20 21:27:16 -07:00
nitrocode
21a3f4664c Use hadolint to fix DL4006, SC2086 (#2530) 2022-09-20 21:16:18 -07:00
dependabot[bot]
84304d6aeb build(deps): bump golang from 1.19.0-alpine to 1.19.1-alpine (#2514)
Bumps golang from 1.19.0-alpine to 1.19.1-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.19.9-pre.20220912
2022-09-12 18:09:05 -07:00
Rui Chen
6fd8130fe1 lint: gofmt -w -s . (#2504)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-12 18:08:46 -07:00
dependabot[bot]
c5c994f0d6 build(deps): bump github.com/moby/moby (#2516)
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.17+incompatible to 20.10.18+incompatible.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moby/moby/compare/v20.10.17...v20.10.18)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:05:59 -07:00
dependabot[bot]
e0626207dd build(deps): bump runatlantis/atlantis-base (#2515)
Bumps runatlantis/atlantis-base from 2022.08.05 to 2022.09.08.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:05:36 -07:00
dependabot[bot]
44ea57be71 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#2517)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.12.0...v1.13.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:01:52 -07:00
Daniel Thompson
d5d8e38117 Adding Redis TLS Option (#2510)
* Adding Redis TLS option

* Test fixes and allow for tls skip verify

* Test fixes and allow for tls skip verify
2022-09-09 20:02:26 -07:00
Stas Ostrovskyi
b8297bb1f8 fix: Set mergeable correctly when branch protection doesn't require reviewers (#2470)
* Allow no required reviewers

* Fix comment in tests

Co-authored-by: Stas Ostrovskyi <stasostrovskyi@users.noreply.github.com>
v0.19.9-pre.20220908
2022-09-08 13:54:50 -07:00
Marc Hildenbrand
178e4a4c09 Fixes for multienv step comment (#2411)
* Fix multienv command

Correctly handles environment variable values that themselves contain "=" (e.g. AWS session tokens)

Ensures that trailing "\n" does not get published as part of the last environment variables value.

* Correct check for empty result in multienv

Check the length of the result string instead of splitting it first and checking the length of envvars (since split always returns an array of length 1)

Co-authored-by: Marc Hildenbrand <mwhildenbrand@gmail.com>
2022-09-08 11:37:09 -07:00
Rui Chen
b5e985c158 lint: remove deprecated io/util package (#2503)
As of go1.16, io/util package has been deprecated

See issue, https://github.com/golang/go/issues/42026

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

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-08 13:45:00 -04:00
Andrei Vydrin
2d7ee9dfa8 feat: support parallel with execution order groups (#2403) 2022-09-08 06:14:59 -07:00
Yurii Soldak
9f31e49be8 Use single github v4 client (#2480) 2022-09-08 06:04:35 -07:00
Paul O'Connor
4143c87559 bug: Fix GitHub Markdown for added and deleted resources (#2418)
* bug: Fix GitHub Markdown for added and deleted resources

* Fix spacing in test
2022-09-07 17:48:10 -07:00
Vincent
99e1f10c2e Allow /api/ routes without WebAuthentication (#2455) 2022-09-07 17:46:18 -07:00
Rui Chen
b3b110753f workflows: update runner to use ubuntu-22.04 (#2502)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 20:23:57 -04:00
Daniel Thompson
ab2cdb833a External Locking DB: Redis (#2491)
* Initial build out of redis backend

* Regenerate locking mocks and matchers

* More test cleanup

* More test fixes

* Added tests for redis

* Test fix

* Linting fix

* Dcos update

* Update redis.go

* Update server.go

* Adding nolint to RedisDB struct
2022-09-07 16:57:06 -07:00
Rui Chen
2154678a95 deps: bump conftest to 0.34.0 (#2500)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 19:54:51 -04:00
Yurii Soldak
a4a49bf46f Use proper http client for github v4 api (#2479)
* Use proper http client for github v4 api

* Remove extra print lines

Co-authored-by: Ray Terrill <rayterrill@users.noreply.github.com>
2022-09-07 16:51:23 -07:00
Rui Chen
08fa65142c deps: bump tf to 1.2.9 (#2499)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 18:57:22 -04:00
dependabot[bot]
9a6c505855 build(deps): bump github.com/urfave/cli from 1.22.9 to 1.22.10 (#2488)
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.9 to 1.22.10.
- [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.9...v1.22.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:40:03 -04:00
dependabot[bot]
1713c2b1d8 build(deps): bump github.com/microcosm-cc/bluemonday (#2487)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.19...v1.0.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 17:30:58 -04:00
dependabot[bot]
24a0d7c57c build(deps): bump go.uber.org/zap from 1.22.0 to 1.23.0 (#2478)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 22:55:00 -04:00
Håvard Anda Estensen
e1862f0e2d Omit type declaration of vars (#2476) 2022-08-30 09:45:04 -07:00
kangaechu
94c81eadfc enable hostname statsd host key (#2429) 2022-08-25 21:44:49 -07:00
Jonas
5bf7c93f3e ignore GitLab Draft MRs (#2468)
* feat: ignore GitLab Draft MRs

* deepcopy and overwrite unit under test

* add tests for close actions
2022-08-25 10:47:21 -07:00
Jack Lindamood
71233ef3b6 Allow manual PR number (#2465)
Resolves #2464
v0.19.9-pre.20220822
2022-08-22 11:59:16 -07:00
dependabot[bot]
674378a1f2 build(deps): bump golang from 1.17-alpine to 1.19.0-alpine (#2433)
Bumps golang from 1.17-alpine to 1.19.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-18 11:01:16 -07:00
Ray Terrill
89d33a0737 Make required atlantis/apply status check work with mergeable (#2436)
* Make required apply work with mergeable

* Fix lint hint

* Migrate mergeable approval check to graphql, update tests

* Adding support for check suites

* Adding feature flag protection for new functionality

* Fix linting falsepos

* Adjusted logic to handle required check runs, added doc
2022-08-18 09:46:50 -07:00