Commit Graph

2135 Commits

Author SHA1 Message Date
rui
1dc8229ffb release: 0.18.1 (#1976)
* release: 0.18.1

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.18.1
2022-01-05 14:33:54 -05:00
rui
8ed966f1aa deps: conftest 0.29.0 (#1977)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-05 11:25:51 -05:00
Bruno Ferreira
cc513d4ef1 fix: allowed regexp prefixes for exact matches (#1962)
* test: adds failing test case

* fix: return project if there's an exact match, even if the prefix is not on the allowed list
2022-01-05 11:16:28 -05:00
Jeppe Fihl-Pearson
1a342eda4d workflows(atlantis-image): fix building and publishing of Docker images (#1975)
https://github.com/runatlantis/atlantis/pull/1943 changed the way Docker images
were built in GitHub Actions so multi-architecture Docker images now are built,
but it unfortunately included a bug which means it hasn't worked yet on any
released version of Atlantis.

The problem is the change expected environment variables to be replaced in the
regular YAML code instead of just the commands which are run.

This attempts to fix that by instead using the template language available to
access the same environment variable.
This is based on the example provided in the documentation here:
https://docs.github.com/en/actions/learn-github-actions/environment-variables.
2022-01-05 10:57:11 -05:00
Frank
a65c6058ab docs: documentation for slack integration (#1972)
* docs: add docs for slack integration

* add menu
2022-01-04 17:08:39 -08:00
Nish Krishnan
b7b28b807a fix: default permissions for gh-team-allowlist. (#1974)
* Fix default permissions for gh-team-allowlist.

* Fix broken links.
2022-01-04 11:20:29 -08:00
Paul Erickson
1f44d2ffd1 Include no GitHub allowlist rules by default (#1973) 2022-01-04 10:30:07 -08:00
dependabot[bot]
55f5d8171b build(deps): bump github.com/microcosm-cc/bluemonday (#1969)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.16...v1.0.17)

---
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-01-03 10:00:20 -05:00
Nish Krishnan
64612019f4 Revert "feat: filter out atlantis/apply from mergeability clause (#18… (#1968)
* Revert "feat: filter out atlantis/apply from mergeability clause (#1856)"

This reverts commit d01796b9d9.

* Add missing import.
2022-01-01 15:11:39 -05:00
rui
767a5e7a01 release: 0.18.0 (#1965)
* release: 0.18.0

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.18.0
2021-12-30 11:01:44 -05:00
Aayush Gupta
004074a29f feat: streaming terraform logs in real-time (#1937) 2021-12-30 09:52:52 -05:00
dependabot[bot]
b2ee4ee698 build(deps): bump github.com/hashicorp/go-getter from 1.5.9 to 1.5.10 (#1961)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.9 to 1.5.10.
- [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.9...v1.5.10)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  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>
2021-12-30 09:01:53 -05:00
rui
c0ed560c45 docs: update website links (#1964)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-30 07:59:01 -05:00
Mark Iannucci
01d79dfa03 docs: clarify example for --azuredevops-token flag (#1712) 2021-12-30 07:58:40 -05:00
Maarten Hoogendoorn
e6ed1027ff docs: typo in heading level (#1960)
Co-authored-by: Maarten Hoogendoorn <maarten.hoogendoorn@navara.nl>
2021-12-30 07:56:27 -05:00
Justin Roberson
6dda3dfde1 fix: fallback to default TF version in apply step (#1931)
The plan step has a mechanism to use the default tf version from the Terraform
client if the context does not define one, however the apply step does not have
this. This results in remote executions of apply failing with a nil pointer
dereference when it checks tfVersion in StripRefreshingFromPlanOutput. This fix
involves copying what the PlanStepRunner does and falls back to the default
version if the context's version is nil.
2021-12-22 14:54:14 -05:00
Paul Erickson
bc368465a0 feat: add GitHub team allowlist configuration option (#1694)
* Add GitHub team allowlist configuration option

Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com>
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com>
Co-authored-by: Ted Roby <troby+github@sonatype.com>
Co-authored-by: Paul Erickson <perickson@sonatype.com>

* Check team allowlist in command runner, rather than event controller

* Remove unneeded trimming

* Test wildcard groups and commands

* Improve error logging

Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com>
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com>
Co-authored-by: Ted Roby <troby+github@sonatype.com>
2021-12-21 16:08:43 -08:00
Javier Beaumont
f4582101cb Add in Dockerfile support for last Terraform 1.0.x version in AVAILABLE_TERRAFORM_VERSIONS (#1957) 2021-12-21 15:55:56 -08:00
dependabot[bot]
eb357610ac build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (#1956)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  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>
2021-12-20 12:17:51 -05:00
rui
50a510fa26 deps: terraform 1.1.2 (#1952) 2021-12-18 13:09:34 -05:00
rui
bd8aedabde release: 0.17.6 (#1947)
* release: 0.17.6

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.17.6
2021-12-17 14:44:39 -05:00
rui
45e8513f23 docker: make multi-platform atlantis image (#1943)
* docker: multi-platform image for atlantis

* workflow: update for multi platform image builds

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

* update branch trigger for testing dev image

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

* revert to use testing-env:2021.08.31

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

* Revert "update branch trigger for testing dev image"

This reverts commit 266e04da08.
2021-12-17 14:41:05 -05:00
Rui Chen
fad1c758cb docker(testing): fix arch ref for linux/arm/v7
relates to eb1c78dd0b

- `docker buildx build --progress=plain --no-cache --platform linux/arm/v7 .`
- `docker buildx build --progress=plain --no-cache --platform linux/arm/v8  .`

```
```

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-17 13:27:35 -05:00
Rui Chen
ec4d77fbfb docker(testing): updating image build process
relates to #1943

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-17 12:23:23 -05:00
David Heward
9e849f7e66 docs: fix policy check documentation examples (#1945) 2021-12-16 09:43:12 -05:00
Rui Chen
7b76df7478 build: make multi-platform image for testing-env
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-16 00:40:30 -05:00
Rui Chen
4a57b30285 atlantis-base: fix context 2021-12-15 17:27:01 -05:00
Rui Chen
245a9015e4 atalntis-base: update platforms and path trigger
> Supported architectures: (more info) `amd64`, `arm32v6`, `arm32v7`, `arm64v8`, `i386`, `ppc64le`, `riscv64`, `s390x`

https://hub.docker.com/_/alpine

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:21:50 -05:00
Rui Chen
726ec5aa10 atlantis-base: update platforms
https://hub.docker.com/layers/alpine/library/alpine/3.15.0/images/sha256-c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:14:42 -05:00
Rui Chen
a55a75b469 docker: setup multi-platform build for atlantis-base
Use master branch for testing instead 🤦

closes #1932
closes #1940

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:08:23 -05:00
rui
649dde8404 deps: alpine 3.15 (#1941)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:07:44 -05:00
rui
a74e740c11 deps: terraform 1.1.1 (#1939)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:03:41 -05:00
dependabot[bot]
52c90bc419 build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (#1934)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.9.0...v1.10.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>
2021-12-13 10:27:16 -05:00
rui
8aa1ea4d04 deps: terraform 1.1.0 (#1930)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-08 17:07:08 -05:00
David Heward
4370dc67db docs: add clarity and further policy_check examples (#1925)
* Add clarity + further policy_check examples to docs

* Fix broken link to Atlantis on AWS Fargate Terraform module

Co-authored-by: Dave Heward <74298782+davidh-unmind@users.noreply.github.com>
2021-12-08 15:28:27 -05:00
dependabot[bot]
9f3d9e0f27 build(deps): bump github.com/golang-jwt/jwt/v4 from 4.1.0 to 4.2.0 (#1928)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.1.0 to 4.2.0.
- [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.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  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>
2021-12-06 10:47:58 -05:00
dependabot[bot]
a0dc15ca70 build(deps): bump github.com/xanzy/go-gitlab from 0.51.1 to 0.52.2 (#1921)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.51.1 to 0.52.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.51.1...v0.52.2)

---
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>
2021-12-03 22:24:21 -05:00
dependabot[bot]
c875b6b861 build(deps): bump github.com/urfave/negroni from 0.3.0 to 1.0.0 (#1922)
* build(deps): bump github.com/urfave/negroni from 0.3.0 to 1.0.0

Bumps [github.com/urfave/negroni](https://github.com/urfave/negroni) from 0.3.0 to 1.0.0.
- [Release notes](https://github.com/urfave/negroni/releases)
- [Changelog](https://github.com/urfave/negroni/blob/master/CHANGELOG.md)
- [Commits](https://github.com/urfave/negroni/compare/v0.3.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/negroni
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix broken link

```
$ curl -I https://tf-registry.herokuapp.com/modules/terraform-aws-modules/atlantis/aws/latest
HTTP/1.1 503 Service Unavailable
```

ref, https://app.circleci.com/pipelines/github/runatlantis/atlantis/1694/workflows/35fa6a93-77e2-4b48-8d0c-e4e9425908cc/jobs/8747

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2021-12-03 22:16:39 -05:00
Nish Krishnan
33b4d6325a refactor: Add PullStatusFetcher interface (#1904) 2021-11-18 11:42:36 -08:00
Bruno Ferreira
79af92458a feat: adds allowed_regexp_prefixes parameter to use with the --enable-regexp-cmd flag (#1884)
* adds AllowedRegexpPrefixes config and use it on the FindProjectsByName method

* adds tests for the new AllowedRegexpPrefixes config

* update documentation with the new AllowedRegexpPrefixes config
2021-11-17 17:25:48 -05:00
Alexander Dupuy
dc4cc2f614 docs: document approve_policies command in comment_parser (#1886)
* docs: document approve_policies command in help

The `approve_policies` command was added with policy checking but was
never included in the command parser help.

Also update the comments in the file to reflect all of the commands.

* feat: Better message on policy failure

Include the specific command `approve_policies` in the message.
2021-11-17 17:25:29 -05:00
rui
09b8e7a93a Revert "docs: revert to use docker hub page as 404 on github pkg registry (#1897)" (#1900)
This reverts commit 24001aa830.
2021-11-17 09:39:08 -05:00
Kevin Wendt
f5b6ab09ec fix: allow requests to /healthz without authentication (#1896)
* fix: allow requests to /healthz without authentication

* allow unauthed requests to /status
2021-11-14 20:02:44 -05:00
rui
24001aa830 docs: revert to use docker hub page as 404 on github pkg registry (#1897)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-12 15:18:05 -05:00
Tom Harrison
d310e2f170 docs: clarify maximum version limit (#1894)
* Clarify maximum version limit

When latest Docker image still had terraform 1.0.0, for example, any method of specifying a higher version failed to build.  This note clarifies the dependency.

* update the docker image reference

Co-authored-by: rui <rui@chenrui.dev>
2021-11-12 14:36:24 -05:00
rui
6d86119d75 deps: tf 1.0.11 (#1892) 2021-11-10 18:44:50 -05:00
rui
f4314e2f12 release: 0.17.5 (#1874)
* release: 0.17.5

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.17.5
2021-11-04 19:48:13 -04:00
Rui Chen
ac9a6c3c4f deps: conftest 0.28.3
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-03 22:34:39 -04:00
Nish Krishnan
a8bfd77452 Move runtime common under existing runtime package. (#1875) 2021-11-01 11:32:52 -07:00
rui
2a0b78051e feat: use goreleaser to replace the binary-release script (#1873)
* feat: add goreleaser flow

* del binary-release script
2021-10-31 11:38:49 -04:00