Commit Graph

2569 Commits

Author SHA1 Message Date
nitrocode
e857681dfa feat: add terraform 1.4 (#3197) 2023-03-08 14:35:23 -06:00
Finn Arne Gangstad
739d6e435b test(command-output): stabilize server jobs test (#3194)
* Bugfix: TestProjectCommandOutputHandler is unstable

Use buffered channels in TestProjectCommandOutputHandler

The output handler registered with
ProjectCommandOutputHandler.Register() needs the channel that
is given to not block writes.  If the channel
blocks writes, the channel is removed from the list
of active receivers on that JobID.

The tests are set up with unbuffered channels, and there
is a race condition where the channel reader does
not hit `for msg := range ch` before the message that
is sent is handled by AsyncProjectCommandOutputHandler.writeLogLine

By making the channel buffered it does not matter
that the reader isn't reading yet.

* Add missing wg.Wait() in TestProjectCommandOutputHandler

There is a rare race condition where messages come in
while the asserts run in the
"clean up all jobs when PR is closed" test.

Added  wg.Wait() to make sure all messages are processed
before running the final asserts.

---------

Co-authored-by: Finn Arne Gangstad <finnag@gmail.com>
2023-03-07 09:24:37 -06:00
renovate[bot]
5be47fb82a fix(deps): update github.com/shurcool/githubv4 digest to efb6239 in go.mod (#3190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 21:49:27 -06:00
nitrocode
57744538f1 fix(clone): omit checkout depth if it is zero (#3188) v0.23.2 2023-03-03 11:14:11 -08:00
nitrocode
47cb6bd2e3 fix(clone): omit checkout depth if it is zero (#3185) 2023-03-02 19:54:26 -08:00
nitrocode
890a5f7502 fix(docker): add prefix v to tags again (#3177) v0.23.1 2023-03-01 21:48:47 -08:00
PePe Amengual
0b9579eae8 Updating Changelog for release 0.23.0 (#3175) v0.23.0 2023-03-01 10:57:40 -08:00
nitrocode
1d8eb54143 chore(alpine): bump docker curl dependency (#3174) 2023-03-01 10:55:06 -08:00
Pardeep Bhatt
ace0cd0fb8 docs(metrics): available metrics, metrics enablement (#3171)
* docs: documentation for available metrics/stats

* docs: refactored as per comments

* docs: update metrics description

* docs: add empty lines between blocks

* docs: add note section

* docs: add missing dot

* Apply suggestions from code review

---------

Co-authored-by: Pardeep Bhatt <pardeep.bhatt@gojek.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-03-01 11:31:29 -06:00
nitrocode
510421d9ad fix: add missing description to multiarch images (#3170)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-02-25 17:39:39 -06:00
nitrocode
0db96c6361 chore: remove deprecated flags from docs (#3165)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-02-25 23:31:26 +00:00
nitrocode
37e5793281 chore: add note of autoplan modules limitation (#3166) 2023-02-25 17:30:15 -06:00
renovate[bot]
1bd5cc2bea fix(deps): update module github.com/stretchr/testify to v1.8.2 in go.mod (#3168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-25 16:28:41 -06:00
Andrei Vydrin
f7f35ceb29 feat: add hide-unchanged-plan-comments option (#3158)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-02-25 15:50:33 -06:00
nitrocode
2954e90847 fix: push to full ghcr repo name (#3167) 2023-02-25 15:27:33 -06:00
nitrocode
892a43b594 fix: push image to repo name without org (#3164) 2023-02-25 12:36:13 -08:00
nitrocode
8774128d0b fix: use shorter commit sha in version output (#3163) 2023-02-25 10:40:09 -08:00
nitrocode
4bd0f702ea feat(build): add new sha ghrc docker tags using docker/metadata-action (#3121)
* feat(build): use docker meta for tags
2023-02-25 12:02:14 -06:00
renovate[bot]
53e9e5880b fix(deps): update module github.com/google/go-github/v50 to v50.1.0 in go.mod (#3162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-25 04:09:20 +00:00
nitrocode
f83f7696bd feat: include commit and date in version (#3159) 2023-02-24 17:59:51 -06:00
renovate[bot]
c960b4d9ea chore(deps): update dependency open-policy-agent/conftest to v0.39.1 in dockerfile.dev (#3154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 23:39:16 -06:00
renovate[bot]
cee3bc430b fix(deps): update github.com/hashicorp/terraform-config-inspect digest to 2d94e3d in go.mod (#3156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 23:21:39 -06:00
renovate[bot]
f942254292 chore(deps): update dependency open-policy-agent/conftest to v0.39.1 in testing/dockerfile (#3155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 23:19:15 -06:00
zhuoyang
629d87f999 fix: Use hashicorp/go-version to resolve ~> 1.0 to 1.x instead of 1.0.x (#3153)
* Use go-version from hashicorp instead of semver

* refactor version test

* restructure test cases
2023-02-23 23:11:26 -06:00
renovate[bot]
e489b82f49 fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.0 in go.mod (#3152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 01:35:34 +00:00
renovate[bot]
00451dee71 chore(deps): update node.js to v18.14.2 in .node-version (#3151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 01:34:54 +00:00
nitrocode
ad2274f114 feat: shallow repo clone in merge checkout strategy (#2758)
* Implement shallow repo clone in merge checkout strategy

---------

Co-authored-by: Ilya Lukyanov <il@joom.com>
Co-authored-by: Nikolai Røed Kristiansen <nikolaik@gmail.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>
v0.23.0-pre.20230222
2023-02-22 13:29:29 -08:00
Ed Laur
9b61288540 feat: Add check for misspelled executable name command (#3059)
* feat: Add check for misspelled executable name command

* Update server/utils/spellcheck_test.go

Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>

---------

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>
2023-02-22 00:45:14 +00:00
SSKLCP
50de813677 fix(azure-devops): add check for test webhook URL (#2809)
* Adding check for Azure DevOps Test Webhook URL so they aren't processed like real events

* feat: customize vcs comment command executable name

* Altering case on isAzureDevOpsTestRepoURL function

* Altering case on URL parameter

* Altering checks to ensure all Azure DevOps Ignore tests pass

* Extending setup method to support Azure DevOps

* Fixing issue from merge conflict error

* gofmt

* Adding null checks to Test URL checks

* moving azuredevopsTestUrl to const

* Changing azuredevopsTestUrl to azuredevopsTestURL

* Cleaning up return statement

Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>

---------

Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-02-21 18:44:32 -06:00
Fabiano Soares Honorato
40f4e8ca6b fix: workflow output not sending output (#3091) 2023-02-18 08:26:33 -06:00
dependabot[bot]
781d9ac76c build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 (#3146)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 00:24:56 -06:00
dependabot[bot]
c66d44cd11 build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 in /e2e (#3145)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 21:54:54 -06:00
dobby-dobster
d39974770c Update Makefile to fix typo (#3130)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-02-17 09:32:05 -06:00
renovate[bot]
857e484317 chore(deps): update golang docker tag to v1.20.1 in testing/dockerfile (#3142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:11:32 +00:00
renovate[bot]
c5e2173e45 chore(deps): update node.js to v18.14.1 in .node-version (#3143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:10:40 +00:00
renovate[bot]
f09f64861e fix(deps): update module github.com/xanzy/go-gitlab to v0.80.2 in go.mod (#3135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:02:34 +00:00
renovate[bot]
c65c801c98 fix(deps): update module github.com/hashicorp/hcl/v2 to v2.16.1 in go.mod (#3133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:02:25 +00:00
renovate[bot]
ab90a77269 fix(deps): update github.com/shurcool/githubv4 digest to 420ad09 in go.mod (#3136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 06:02:13 +00:00
renovate[bot]
1baf4a9145 fix(deps): update module github.com/hashicorp/go-getter/v2 to v2.2.0 [security] (#3141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 23:57:24 -06:00
nitrocode
49bc17d3b9 feat(renovatebot): automerge enabled (#3123)
* feat(renovatebot): automerge enabled

* Update renovate.json5

* feat(workflows): add negative path filtering for required tests
2023-02-16 21:44:22 -08:00
renovate[bot]
bddbb88620 chore(deps): update dependency hashicorp/terraform to v1.3.9 in .circleci/config.yml (#3137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 16:00:28 -06:00
renovate[bot]
f6e20ac535 chore(deps): update alpine docker tag to v3.17.2 in docker-base/dockerfile.alpine (#3125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-12 22:04:54 -06:00
renovate[bot]
60e579e654 chore(deps): update dependency open-policy-agent/conftest to v0.39.0 in dockerfile.dev (#3114)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v0.23.0-pre.20230209
2023-02-09 17:17:23 -06:00
renovate[bot]
c4ceb58e71 chore(deps): update dependency open-policy-agent/conftest to v0.39.0 in testing/dockerfile (#3115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:17:08 -06:00
renovate[bot]
725cad7c52 fix(deps): update module golang.org/x/text to v0.7.0 in go.mod (#3116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:14:44 -06:00
renovate[bot]
0fb9289312 chore(deps): update dependency hashicorp/terraform to v1.3.8 in .circleci/config.yml (#3113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 17:14:30 -06:00
renovate[bot]
86ec4e283a fix(deps): update module golang.org/x/term to v0.5.0 in go.mod (#3111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 06:10:42 -06:00
renovate[bot]
d7b458afab fix(deps): update module github.com/uber-go/tally to v3.5.3+incompatible in go.mod (#3110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 06:09:00 -06:00
nitrocode
42783c9e62 Swap go-spew with kr/pretty (#3108) 2023-02-07 20:42:17 -08:00
nitrocode
a6c09f7a9e feat(docker): download transitive dependencies (#3107) 2023-02-06 22:16:29 -08:00