Kyle Carberry
026b1cd2a4
chore: update to go 1.20 ( #5968 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-02-02 12:36:27 -06:00
dependabot[bot]
5f089cb5eb
chore: bump aquasecurity/trivy-action from 0.5.0 to 0.8.0 ( #5944 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.5.0 to 0.8.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/7b7aa264d83dc58691451798b4d117d53d21edfe...9ab158e8597f3b310480b9a69402b419bc03dbd5 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
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>
2023-02-02 12:11:09 -06:00
Kyle Carberry
944c9f6307
chore: downgrade linux runner size to 8 cores ( #5984 )
...
I doubt the difference in speed is worth the 2x cost.
2023-02-02 12:00:19 -06:00
dependabot[bot]
f545586320
chore: bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0 ( #5945 )
...
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck ) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases )
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/1.1.0...2.0.0 )
---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 11:44:43 -06:00
dependabot[bot]
e8e61250a6
chore: bump docker/build-push-action from 3 to 4 ( #5946 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 11:44:27 -06:00
Ben Potter
d5e2454b1b
chore: rework docker in docker docs ( #5876 )
...
* chore: rework docker in docker docs
* Update docs/templates/docker-in-docker.md
Co-authored-by: Kyle Carberry <kyle@coder.com >
* fix typos
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-02-01 14:55:57 +00:00
Dean Sheather
480f3b6e43
fix: correct gpg key secret name ( #5932 )
2023-02-01 04:14:05 +10:00
dependabot[bot]
3980f15340
chore: bump crate-ci/typos from 1.13.3 to 1.13.9 ( #5906 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.13.3 to 1.13.9.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.13.3...v1.13.9 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
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>
2023-01-30 01:56:34 +00:00
Ammar Bandukwala
4eaa2d63b0
chore(.github): relax stale bot ( #5902 )
...
At 60 days it was more spammy than helpful.
2023-01-29 19:52:44 -06:00
Kyle Carberry
12314d7dc5
update readme ( #5911 )
2023-01-29 19:45:00 -06:00
Kyle Carberry
b423218615
chore: remove markdown-lint-check
...
It's broken for some unfortunate reason!
2023-01-29 23:34:52 +00:00
Kyle Carberry
b4a1c32ed3
chore: run markdown-link-check before linting types
2023-01-29 23:29:57 +00:00
Kyle Carberry
ce36a84dd5
fix: specify folder path for markdown-lint-check
...
This was checking node_modules I believe causing it to hang.
2023-01-29 22:36:47 +00:00
Kyle Carberry
e49f41652f
chore: merge codeql checks to run in parallel ( #5907 )
...
* chore: merge codeql checks to run in parallel
This reduces a check and should maintain ~the same CI time.
* fix: close reconnecting pty conn when exiting agent
Fixes https://github.com/coder/coder/actions/runs/4038282899/jobs/6942170850
* Fix closing when agent fails
* Fix conpty
* Fix contrib
* Skip runner tests for being flakes
* Fix gpg key test
* Fix golden files
* Fix comments
* Fix closed
* Fix capitalized title
* Add a timeout when checking for dead links
2023-01-29 15:28:22 -06:00
Kyle Carberry
8487127f5c
chore: skip reconnecting pty scale tests ( #5908 )
...
* fix: close reconnecting pty conn when exiting agent
Fixes https://github.com/coder/coder/actions/runs/4038282899/jobs/6942170850
* Fix conpty
* Fix contrib
* Skip runner tests for being flakes
* Fix gpg key test
* Fix golden files
* Fix comments
2023-01-29 14:53:49 -06:00
Kyle Carberry
33c6260efb
chore: merge CI linting jobs ( #5904 )
...
* chore: merge CI linting jobs
* Merge the `markdown-lint-check` step into `lint`
* Rename `coder.yaml` to `ci.yaml`
* Improve casing of security workflow
* Remove unused workflows and merge into contrib
* Format ci.yaml
* Fix CodeQL language
* Fix github action name
2023-01-29 13:16:48 -06:00
Kira Pilot
882832cc51
chore: removed FE code owners ( #5826 )
2023-01-23 20:29:18 +00:00
Mathias Fredriksson
8afdf24d10
chore: Update sqlc to v1.16.0 ( #5788 )
...
* chore: Update sqlc to v1.16.0
* chore: Fix cases where types became Null-types
* chore: Set parameter_schemas default_destination_scheme and default_source_scheme to NOT NULL
* chore: Add enum validation to database fake
* chore: Fix all tests that skipping enum values
* fix: Use correct err in providionerdserver audit log failure log
2023-01-23 13:14:47 +02:00
Dean Sheather
37628c8b5b
fix: comment on winget PR correctly ( #5789 )
2023-01-21 00:27:58 +00:00
Bruno Quaresma
36e97e3fa1
chore: update JS teests in CI ( #5786 )
2023-01-19 16:48:32 +00:00
Dean Sheather
53c456a442
feat: PGP sign the checksum file in releases ( #5757 )
2023-01-18 04:45:27 +10:00
Presley Pizzo
63956eafbf
chore: turn e2e tests back on with fixes ( #5719 )
...
* Improvement - wip
* Cut out extra waits, increase timeouts
* Fix timeout syntax
* Extend timeouts for safety
* Turn e2e back on
* Format
2023-01-17 12:12:37 -05:00
Dean Sheather
b55cb0cc73
chore: add trivy vulnerability scanning ( #5729 )
2023-01-17 03:43:37 +10:00
Mathias Fredriksson
f3bbf627a3
chore: Update gotestsum to v1.9.0 and remove debugging ( #5726 )
...
* chore: Update gotestsum to v1.9.0 and remove debugging
* chore: Update cloud.google.gpg to fix dogfood build
2023-01-16 17:58:57 +02:00
Dean Sheather
1d777c41f2
chore: move winget publish into release pipeline ( #5728 )
2023-01-16 15:40:27 +00:00
Mathias Fredriksson
8ae28a321e
ci: Add release labels job to pr.yaml to sync labels/title ( #5724 )
2023-01-16 09:40:42 +00:00
Mathias Fredriksson
e821b98918
ci: Revert to local tag creation and push for releases ( #5714 )
2023-01-13 20:45:31 +02:00
Presley Pizzo
d6543c042f
chore: skip e2e tests ( #5711 )
...
* Skip e2e tests
* Skip with if
2023-01-13 10:35:18 -06:00
Mathias Fredriksson
269e0b3261
ci: Fix release tag push ( #5696 )
2023-01-12 22:18:10 +02:00
Mathias Fredriksson
a5073a8770
ci: Fix release workflow input booleans, remove snapshot ( #5688 )
...
* s/github.event.inputs/inputs/g
* Add run name and prevent non-dry-run releases on non-main branches
* Add logrun to lib.sh
2023-01-12 15:50:58 +00:00
Mathias Fredriksson
c7e1ecfe36
ci: Fix release workflow inputs ( #5681 )
2023-01-11 23:32:25 +00:00
Mathias Fredriksson
c0d9e32300
ci: Allow missing commit metadata to be ignored in releases ( #5678 )
2023-01-11 20:14:04 +00:00
Mathias Fredriksson
8e4af79cb2
ci: Do release tagging in CI and add --draft support ( #5652 )
...
* ci: Do release tagging in CI and add --draft support
* Add -h, --help to release.sh
* Add -h, --help to increment_version_tag.sh
* Limit release concurrency
* Add automatic release watching
* ci: Add git config, tag as "GitHub Actions Bot"
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-01-11 18:38:01 +02:00
Muhammad Atif Ali
370934afdf
ci: allow writing security events for CodeQL ( #5514 )
2023-01-10 19:40:32 -06:00
Muhammad Atif Ali
dda8170427
fix(ci): fixed $vesrion being empty in packages.yaml ( #5650 )
2023-01-10 10:40:06 -06:00
Muhammad Atif Ali
eb8d5b4408
fix(ci): fix winget package submission ( #5630 )
...
* fix(ci): fix winget package submission
I removed the step to calculate the version, as somehow the $version was not populated with the version.
Also, GitHub actions suggest removing `:set-output:` as it is deprecated.
This commit should probably fix the winget package submission using `wingetcreate` cli.
* fixed a typo
2023-01-09 19:46:10 +00:00
Muhammad Atif Ali
0124289f1a
fix(ci): fix winget installer workflow ( #5569 )
...
* fix(ci): add GH_TOKEN env
* chore: fix windows installer build filename
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-01-05 04:56:00 +00:00
dependabot[bot]
3e2477f255
chore: bump actions/stale from 6.0.0 to 7.0.0 ( #5515 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6.0.0 to 7.0.0.
- [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/v6.0.0...v7.0.0 )
---
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>
2023-01-03 12:51:26 -06:00
Mathias Fredriksson
856f0ab6f5
chore: Improve project-wide prettier formatting and ignored files ( #5505 )
...
* chore: Improve project-wide prettier formatting and ignored files
* chore: `Run make fmt/prettier`
* Fix gitignore for `.vscode` folder so that ! works
* Add comment in `.prettierrc.yaml` to explain `.editorconfig`
* Remove scripts/apidocgen/markdown-template/README.md
* Use `yq` for processing prettierrc, update lib.sh dependency check
* Add `yq` to Dockerfile and Nix
2023-01-03 15:11:13 +02:00
dependabot[bot]
5435bceaf0
chore: bump tj-actions/branch-names from 6.3 to 6.4 ( #5518 )
...
Bumps [tj-actions/branch-names](https://github.com/tj-actions/branch-names ) from 6.3 to 6.4.
- [Release notes](https://github.com/tj-actions/branch-names/releases )
- [Changelog](https://github.com/tj-actions/branch-names/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/branch-names/compare/v6.3...v6.4 )
---
updated-dependencies:
- dependency-name: tj-actions/branch-names
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>
2023-01-02 14:42:58 -06:00
dependabot[bot]
d124fab642
chore: bump jaxxstorm/action-install-gh-release from 1.7.1 to 1.9.0 ( #5516 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.7.1 to 1.9.0.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.7.1...v1.9.0 )
---
updated-dependencies:
- dependency-name: jaxxstorm/action-install-gh-release
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>
2023-01-02 14:37:17 -06:00
dependabot[bot]
4b093115e2
chore: bump google-github-actions/setup-gcloud from 0 to 1 ( #5517 )
...
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud ) from 0 to 1.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases )
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v0...v1 )
---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
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>
2023-01-02 14:37:06 -06:00
Muhammad Atif Ali
341c4329f4
ci: enable CodeQL code scanning ( #5279 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com >
2022-12-22 22:12:55 +02:00
Mathias Fredriksson
e96fdbed26
feat: Add release.sh script and detect breaking changes ( #5366 )
...
This commit introduces three new scripts:
- `release.sh` To be run by a user on their local machine to preview and
create a new release (tag + push)
- `check_commit_metadata.sh` For e.g. detecting breaking changes
- `genereate_release_notes.sh` To display the generated release notes,
used for previews and in `publish_release.sh`
The `release.sh` script can be run without arguments, and it will
automatically determine if we're to do a patch or minor release. A minor
release can be forced via `--minor` flag.
Breaking changes can be annotated either via commit/merge title prefix
(`feat!:`, `feat(api)!:`), or by adding the `release/breaking` label to
the PR that was merged (on GitHub).
Related #5233
2022-12-15 15:41:30 +02:00
Mathias Fredriksson
25ebebac5f
ci: Improve gotestsum failure detection, prevent early exit ( #5420 )
2022-12-15 12:47:42 +02:00
Mathias Fredriksson
b39ba02bf0
ci: Increase Go mock db test timeout to 5m ( #5413 )
...
Our Windows test-runner often takes close to 3m to complete the test,
this was producing a few false failures due to us adding tests over time
and test times increasing.
2022-12-14 19:37:01 +02:00
Marcin Tojek
b103685170
chore: Collect gotests.xml files ( #5398 )
...
* chore: Use datadog-ci to collect gotests.xml
* WIP
* Fix: github ref
* fix
* just store gotests.xml
2022-12-14 16:23:31 +01:00
Mathias Fredriksson
663f7a3f12
ci: Output tail of gotestsum.json if test timed out ( #5411 )
...
This is to eternalize the log in case "re-run failed" is used, which
erases artifacts from previous run.
2022-12-14 15:04:39 +02:00
Mathias Fredriksson
1a018c571b
chore: Add PR Lint workflow ( #5387 )
...
Fixes #5381
2022-12-14 16:34:08 +10:00
Marcin Tojek
935d2eb582
fix: fmt should check for unstaged files ( #5362 )
2022-12-09 12:00:39 +01:00