Commit Graph

2038 Commits

Author SHA1 Message Date
dependabot[bot]
fd02ebedbd build(deps): bump runatlantis/atlantis-base (#2088)
Bumps runatlantis/atlantis-base from 2021.12.15 to 2022.02.23.

---
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-03-01 22:43:45 -05:00
Javier Palomo
7c89523319 fix(web-templates): use CleanedBasePath for titles (#2091)
A follow-up to https://github.com/runatlantis/atlantis/pull/2079

After upgrading to https://github.com/runatlantis/atlantis/releases/tag/v0.18.3 in our own
infra, I noticed a minor issue with the links in the titles, they are still pointing to /
even when '--atlantis-url' is provided.
2022-03-01 14:18:03 -05:00
rui
ed72f5e938 release: 0.18.3 (#2078)
* release: 0.18.3

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

* update changelog

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
v0.18.3
2022-02-28 11:18:01 -05:00
Javier Palomo
51d434d46b fix(web-templates): use CleanedBasePath for static content (#2079)
* fix(web-templates): use CleanedBasePath for static content

When setting '--atlantis-url' this static content 404s.

For example, we can see this when comparig:
- /lock --> works seamless with a custom `--atlantis-url`
- /jobs --> doesn't work when using a custom `--atlantis-url`

* fix(web-templates): regenerate bindata_assetfs
2022-02-28 10:43:39 -05:00
dependabot[bot]
de9cd51061 build(deps): bump prismjs from 1.25.0 to 1.27.0 (#2086)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 12:49:12 -05:00
Rui Chen
317b922c8e build: add concurrency control
Refs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-23 00:39:13 -05:00
dependabot[bot]
df99f2741a build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 (#2077)
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  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-02-21 17:53:15 -05:00
Pantelis Karamolegkos
6248472237 Removing web credentials from debug log (#2072)
* Hashing web credentials

* Fix syntactic error

* Using strong cryptogrpahic primitive

* Entirely removing credentials

* Removing unused constant

* Removing redundant formatting parameters
2022-02-17 15:38:09 -08:00
rui
60a168d417 deps: tf 1.1.6 (#2071)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-16 15:42:38 -05:00
dependabot[bot]
6948580441 build(deps): bump go.uber.org/zap from 1.20.0 to 1.21.0 (#2064)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.20.0 to 1.21.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.20.0...v1.21.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 15:17:43 -05:00
dependabot[bot]
60baa934ec build(deps): bump github.com/microcosm-cc/bluemonday (#2063)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.17...v1.0.18)

---
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-02-16 13:58:42 -05:00
dependabot[bot]
19b24a7d31 build(deps): bump github.com/golang-jwt/jwt/v4 from 4.2.0 to 4.3.0 (#2062)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.2.0 to 4.3.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.2.0...v4.3.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>
2022-02-15 09:57:52 -05:00
dependabot[bot]
2f6c466c73 build(deps): bump github.com/xanzy/go-gitlab from 0.54.4 to 0.55.1 (#2061)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.54.4 to 0.55.1.
- [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.54.4...v0.55.1)

---
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-02-15 00:45:59 -05:00
dependabot[bot]
7bd0591c20 build(deps): bump ajv from 6.5.1 to 6.12.6 (#2060)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.5.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.5.1...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 17:33:23 -05:00
Aayush Gupta
58e9b42bbc feat: Use UUIDs to identify log streaming jobs (#2051)
* Add UUID for Log Streaming Job ID (#167)

* Update log handler to close buffered  channels when an operation is complete (#170)

* Add preliminary check before registering new receivers in the log handler (#173)

* Using projectOutputBuffers to check for jobID instead of receiverBuffers (#181)

* Refactor log handler  (#175)

* Reverting go.mod and go.sum

* Fix lint errors

* Fix linting
2022-02-09 13:15:49 -08:00
Aayush Gupta
bbd539b66a docs: add user facing documentation for real-time logs (#1963)
* Added user facing documentation

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Adding top level navigation

* Adding content

* Removing unnecessary artifacts

* Remooving package-loc

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Addressed comments

* Fixing website link error

* Noop commit

* Noop

* Removing link

* Added user facing documentation

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Adding top level navigation

* Adding content

* Removing unnecessary artifacts

* Remooving package-loc

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Addressed comments

* Fixing website link error

* Noop commit

* Noop

* Removing link

* Adding link

* Remove unused assets

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>
2022-02-09 10:44:40 -08:00
dependabot[bot]
e82102bb0c build(deps): bump github.com/xanzy/go-gitlab from 0.54.3 to 0.54.4 (#2050)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.54.3 to 0.54.4.
- [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.54.3...v0.54.4)

---
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-02-07 12:09:53 -05:00
Raymond Chen
136b23ac11 fix: get user teams with GitHub GraphQL API (#2045) 2022-02-04 19:47:30 -05:00
ocaisa
3dcc64209f docs: fix some typos (#2048)
* Typo

* Do some spellchecking while I'm here
2022-02-04 16:12:26 -08:00
Alistair Scott
8f3fcc05f7 docs: fix policy example with custom workflow (#2049)
* Specify the workflow for the repo under the `repos` key.
* Fix indentation
* Fix typo `seperate` -> `separate`
2022-02-04 12:50:35 -08:00
Sarvar Muminov
7a927c050b Moving config files to core/config (#2036)
* Moving config files to core/config

* fix package names

* fix package dependencies

* linting fixes

* more linting fixes

* ran golangci-lint run --fix
2022-02-03 11:06:04 -08:00
rui
90c4a83d3e docs: update devops PR link (#2033)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-02 17:56:44 -05:00
Rob Lazzurs
6d2ad22a0c deps: terraform 1.1.5 (#2042)
Upgrading to the latest Terraform release
2022-02-02 17:54:30 -05:00
Roman Pertsev
576f8fbf4b Fix URL generation (#2021)
* fix org generation

* fix key generation

* fix variable name

* add normalization vars

* encapsulate vars

Co-authored-by: Roman Pertsev <roman.pertsev@nordigy.ru>
2022-01-31 12:15:16 -07:00
Rui Chen
af2e9ed559 workflows: publish images on tags rather than on releases
This would avoid the draft release issue of triggering image building twice
v0.18.2
2022-01-25 17:05:02 -05:00
rui
37dad2bb15 release: 0.18.2 (#2018)
* release: 0.18.2

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

* update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-25 16:49:42 -05:00
Iain Lane
e3f0dd5553 Retry /files/ requests to github (#2002)
Similar to #1131, we see this for /files/ too, resulting in a plan
error.

Closes #1905
2022-01-25 09:49:11 -05:00
Aayush Gupta
7d3f3fb490 fix: broken Log Streaming URL when working directory is set to "./" (#2015)
* Replacing . with _ when generating project identifier if project name is not set

* Adding test for GenerateProjectJobURL when working dir set to .

* Replacing . with _ when generating project identifier if project name is not set

* Fixing merge conflicts
2022-01-24 12:18:50 -08:00
Aayush Gupta
e20e1328f2 Update GenerateProjectJobURL to account for nested repo names (#2012) 2022-01-24 10:30:18 -08:00
Leandro López
ca28b577a4 chore: improve /healthz endpoint performance (#2014)
* Add benchmark for /healthz endpoint

This benchmark will measure not only speed but also how much memory
each request to /healthz allocate. I'm adding the benchmark to have a
baseline to compare.

Signed-off-by: Leandro López (inkel) <inkel.ar@gmail.com>

* Hardcode /healthz body into a variable

We know it will always be this value, there's no need to import and
call json.MarshalIndent.

Signed-off-by: Leandro López (inkel) <inkel.ar@gmail.com>

* Initialize /healthz body only once

Signed-off-by: Leandro López (inkel) <inkel.ar@gmail.com>
2022-01-22 23:08:12 -05:00
Aayush Gupta
e06d181272 fix: add back basic auth support (#2008)
* Fix issue 1980

* Adding comment
2022-01-20 00:32:14 -05:00
rui
d8ec4387ae deps: tf 1.1.4 (#2011)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-19 14:18:52 -05:00
Braden Schaeffer
1811514ecf Fix support for terraform workspaces (#2006)
Fixes #1517 and basically is a rebased version of #1578.
2022-01-18 11:56:20 -08:00
Keita Kitamura
d28ae20595 docs: fix incorrect wildcard and more precise instruction to --gh-team-allowlist option. (#2005)
* docs: fix incorrect wildcard.

Signed-off-by: keita <keitap@gmail.com>

* docs: add more precise instruction to --gh-team-allowlist option.

Signed-off-by: keita <keitap@gmail.com>
2022-01-17 21:21:12 -08:00
dependabot[bot]
876f1f4003 build(deps): bump github.com/hashicorp/go-getter from 1.5.10 to 1.5.11 (#2003)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.10 to 1.5.11.
- [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.10...v1.5.11)

---
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>
2022-01-17 17:39:20 -05:00
dependabot[bot]
c4a50b0646 build(deps): bump github.com/bradleyfalzon/ghinstallation/v2 (#2004)
Bumps [github.com/bradleyfalzon/ghinstallation/v2](https://github.com/bradleyfalzon/ghinstallation) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/bradleyfalzon/ghinstallation/releases)
- [Commits](https://github.com/bradleyfalzon/ghinstallation/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: github.com/bradleyfalzon/ghinstallation/v2
  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-17 17:15:58 -05:00
Ed Laur
1b30fe0456 Make IsOwner policy check case-insensitive (#1989) 2022-01-14 12:56:58 -08:00
Mihail Kuzmich
69d6fb25b1 fix(docs): update screenshot for Bitbucket server webhook configuration | increase image size to make it readable (#1995) 2022-01-14 12:55:43 -08:00
ilamtap
9a8e93b2ad docs: include infracost ref in post-workflow-hooks (#1997)
Added link to infracost Docs
2022-01-13 12:53:20 -05:00
William Lord
4e28d72930 docs: add colon to policy checking yaml (#1996) 2022-01-13 12:51:54 -05:00
Tim McFadden
b859f72561 feat: post workflow hooks (#1990)
* Add post-workflow hooks

* docs: Add cost estimation as post workflow use case

Co-authored-by: Gerald Barker <geraldbarker@gmail.com>
2022-01-12 19:57:45 -05:00
Jordy Ruiter
0092cfbd56 Add XTerm JS to the server static files (#1985) 2022-01-12 14:52:43 -08:00
Gerald Barker
8f98558f54 Fix autoplan when .terraform.lock.hcl is modifed (#1991) 2022-01-12 11:17:43 -08:00
Logan Stuart
a6677bda85 Document undiverged apply requirement in more places (#1992)
Co-authored-by: Logan Stuart <fishpen0@users.noreply.github.com>
2022-01-11 15:36:18 -08:00
Rui Chen
abcaf2e876 Revert "docker: update ci-link-checker"
This reverts commit 983b3dcadf.

relates to 2536e1da14
2022-01-11 18:17:02 -05:00
Rui Chen
2536e1da14 Revert "ci: update to use ci-link-checker:2022.01.11"
This reverts commit 03c008c73a.

vuepress is now in maintenance mode and built with
[nodejs v14](https://github.com/vuejs/vuepress/blob/master/.github/workflows/pull-request-ci.yml#L13)

- for vuepress v1, https://github.com/vuejs/vuepress
- for vuepress v2, https://github.com/vuepress/vuepress-next
- announcement note, https://github.com/vuejs/vuepress/issues/2744
2022-01-11 18:13:16 -05:00
Rui Chen
03c008c73a ci: update to use ci-link-checker:2022.01.11
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-11 17:54:02 -05:00
Rui Chen
983b3dcadf docker: update ci-link-checker
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-11 17:36:13 -05:00
dependabot[bot]
3db51f04e2 build(deps): bump go.uber.org/zap from 1.19.1 to 1.20.0 (#1988)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.19.1 to 1.20.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.19.1...v1.20.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 15:33:55 -05:00
dependabot[bot]
494b7edbb3 build(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0 (#1987)
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.3.0 to 1.4.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.3.0...v1.4.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-01-10 12:17:24 -05:00