Commit Graph

683 Commits

Author SHA1 Message Date
Muhammad Atif Ali 2c7ad1c094
ci: ungroup Dockerfile dependabot changes (#11125) 2023-12-11 16:16:28 +03:00
Cian Johnston 4ca4736411
ci: reconcile provisionerd as well (#11085) 2023-12-08 09:55:43 +00:00
Muhammad Atif Ali f0b4badf74
ci: add `arm64` and `amd64` portable binaries to `winget` (#11030)
* ci: add arm64 and amd64 portable binaries to winget 

This PR updates `release.yaml` workflow to automate updates for `arm64` and `x64` zip installers to winget. This has recently been merged into [winget](https://github.com/microsoft/winget-pkgs/pull/129175).

Thanks to @mdanish-kh for the upstream PR.

* fixup!

* remove extra `--urls` flags

* remove architecture override.

`wingetcreate` does not need architecture override as it now supports parsing the URL for `amd64` and correctly marking it as x64 architecture. 

Reference: 
1. 08baf0e61e/src/WingetCreateCore/Common/PackageParser.cs (L594C56-L594C61)
2. PR: https://github.com/microsoft/winget-create/pull/445
2. This has been available since version https://github.com/microsoft/winget-create/releases/tag/v1.5.3.0

* fixup!

* Update release.yaml
2023-12-05 17:06:39 +03:00
Cian Johnston 1b2ed5bc9b
ci: add missing go tools to offlinedocs build step (#11034) 2023-12-05 12:03:29 +00:00
Dean Sheather b07b40b346
chore: revert nix dogfood image (#11022)
The nix image isn't used because it doesn't work, and we haven't been
updating our "pre-nix" tag since the changes were made. Reverts back to
being a regular Dockerfile.
2023-12-05 09:02:57 +00:00
dependabot[bot] 2443a9f861
ci: bump the github-actions group with 2 updates (#11018)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 16:57:44 +03:00
Muhammad Atif Ali b212bd4ac5
chore: deploy workspace proxies on fly.io (#10983)
Co-authored-by: Dean Sheather <dean@deansheather.com>
2023-12-04 12:12:22 +03:00
Dean Sheather d9a169556a
chore: run deploy job on regular runner 2023-12-02 10:08:33 -08:00
Dean Sheather c82e878b50
chore: disable legacy dogfood deploy (#10999) 2023-12-03 02:20:19 +10:00
Cian Johnston 432925df31
ci: make offlinedocs required (#10980) 2023-12-01 14:37:47 +00:00
Dean Sheather 153abd5003
chore: fix build job pt.3 (#10986) 2023-12-01 12:25:06 +00:00
Dean Sheather 122cbaa134
chore: fix build job (#10984) 2023-12-01 12:08:10 +00:00
Dean Sheather 15875a76ae
chore: add new deploy job for new dogfood (#10852) 2023-12-01 03:16:49 -08:00
Cian Johnston d49bcc93fe
fix(docs): remove anchor links from headings in admin/healthcheck.md (#10975)
Relates to #8965

* Fixes offlinedocs that broke from change in feat(coderd/healthcheck): add access URL error codes and healthcheck doc #10915 by removing the offending anchor links from the page subheadings.
* Makes offlinedocs also conditional on changes to docs
2023-12-01 09:49:18 +00:00
dependabot[bot] c634a38bd7
ci: bump the github-actions group with 1 update (#10890)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 21:47:26 +03:00
Muhammad Atif Ali 4cb94d1347
chore: update dependabot to use single groups (#10870)
* chore: update dependabot.yaml to use single groups

This will hopefully reduce @dependabot spamming PRs.

* Update dependabot.yaml
2023-11-27 21:27:58 +03:00
dependabot[bot] c14c1cce13
ci: bump the github-actions group with 1 update (#10694)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 20:15:52 +00:00
Bruno Quaresma 90b6e86555
chore(site): remove xstate (#10659) 2023-11-14 18:34:38 +00:00
dependabot[bot] 3f4791c9de
ci: bump the github-actions group with 4 updates (#10649)
Bumps the github-actions group with 4 updates: [crate-ci/typos](https://github.com/crate-ci/typos), [actions/github-script](https://github.com/actions/github-script), [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action).


Updates `crate-ci/typos` from 1.16.22 to 1.16.23
- [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.16.22...v1.16.23)

Updates `actions/github-script` from 5 to 6
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

Updates `DeterminateSystems/nix-installer-action` from 6 to 7
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v6...v7)

Updates `aquasecurity/trivy-action` from 0.13.1 to 0.14.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](f78e9ecf42...2b6a709cf9)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 22:53:19 +03:00
Muhammad Atif Ali be0436afbe
ci: bump terraform version to 1.5.7 to match embedded terraform version (#10630) 2023-11-13 10:06:36 +03:00
Muhammad Atif Ali 715bbd3edd
ci: bump go to version 1.20.11 (#10631) 2023-11-13 10:06:26 +03:00
Muhammad Atif Ali 076db31486
ci: use actions/setup-go builtin cache (#10608) 2023-11-09 20:41:31 +03:00
Ammar Bandukwala 4f3925d0b3
ci: close likely-no issues automatically (#10569) 2023-11-08 04:54:44 +00:00
dependabot[bot] e976f50415
ci: bump the github-actions group with 2 updates (#10537)
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action).


Updates `crate-ci/typos` from 1.16.21 to 1.16.22
- [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.16.21...v1.16.22)

Updates `aquasecurity/trivy-action` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](b77b85c025...f78e9ecf42)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:20:25 -06:00
dependabot[bot] 6b7858c516
ci: bump the github-actions group with 2 updates (#10420)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 11:25:37 +00:00
Muhammad Atif Ali 51aa32cfcf
chore: limit history to the last 30 runs/days for PR deploy and cleanup workflows (#10406) 2023-10-27 11:15:21 +00:00
dependabot[bot] 39fbf74c7d
ci: bump the github-actions group with 1 update (#10379)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 22:14:48 +03:00
Mathias Fredriksson 9b73020f11
ci(.github): set DataDog upload timeout (#10328) 2023-10-18 20:07:52 +03:00
Eric Paulsen 09d995c8dc
fix: set K8s deployment strategy to Recreate (#10321) 2023-10-17 21:06:35 +00:00
Kayla Washburn 619df23ad1
chore: fix linting issues and generated files (#10317) 2023-10-17 14:41:35 -06:00
Mathias Fredriksson 43f26dfec5
feat(scaletest/templates): run all scenarios even on failure (#10290)
We now also end all failed phases and add the `error` tag in Grafana.
2023-10-16 18:18:05 +03:00
dependabot[bot] ab7dd24d97
ci: bump the github-actions group with 2 updates (#10250)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:17:21 +03:00
Colin Adler 21e0d540dc
chore: upgrade Go to `1.20.10`
https://groups.google.com/g/golang-announce/c/iNNxDTCjZvo/m/UDd7VKQuAAAJ?utm_medium=email&utm_source=footer
2023-10-10 12:23:54 -05:00
dependabot[bot] cb3b617ee9
ci: bump the github-actions group with 2 updates (#10131)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:40 +03:00
Kyle Carberry defef4671c
fix: silence bash deprecation warning on macOS runners (#10051)
See https://github.com/coder/coder/actions/runs/6407839577/job/17395535790?pr=10050
2023-10-04 15:36:27 +00:00
Ammar Bandukwala 70a4e56c01
ci: switch to M1 runners
ci: switch to M1 runners
    
 Per
    https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/,
    we should see large performance improvements.
2023-10-03 10:54:20 -05:00
dependabot[bot] 06411b8b17
ci: bump the github-actions group with 2 updates (#9994)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:02:41 +03:00
Kayla Washburn 61154a6bb5
chore: update datadog (#9925) 2023-09-29 12:06:24 -06:00
Colin Adler ed8ae2f123
chore: upgrade go to `1.20.8` 2023-09-28 14:17:15 -05:00
Muhammad Atif Ali 63ea12e74c
chore: remove terraform provider versions for pr-deployment template (#9853) 2023-09-25 12:33:01 +00:00
dependabot[bot] 9358b3bd84
ci: bump the github-actions group with 2 updates (#9846)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:19 +03:00
Muhammad Atif Ali 26e0d7580c
chore: avoid pushing `.terraform.lock.hcl` while creating the template (#9851) 2023-09-25 15:13:32 +03:00
Ammar Bandukwala 733171a93b
revert: "ci: cache datadog-ci (#9702)" (#9828)
Original commit changeset: b104e0ec0c
2023-09-22 17:31:25 +00:00
Muhammad Atif Ali 201a6c0c79
chore: remove extra condition from pr-deploy.yaml (#9788) 2023-09-21 17:58:46 +03:00
Muhammad Atif Ali b358e3d558
chore: fix permission for kubeconfig (#9768) 2023-09-19 08:36:00 +00:00
Muhammad Atif Ali 3ed65de82e
chore: increase dependabot open pr limit for `site` (#9728) 2023-09-18 11:24:49 +00:00
dependabot[bot] eb72866a29
ci: bump the github-actions group with 2 updates (#9722)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 11:15:56 +00:00
Muhammad Atif Ali e6865e0df5
ci: remove example templates readme from docs filter (#9720) 2023-09-18 10:38:57 +00:00
Ammar Bandukwala b104e0ec0c
ci: cache datadog-ci (#9702) 2023-09-15 19:22:38 +00:00
Ammar Bandukwala 281faf9ccd
ci: upgrade runners (#9689)
Per DataDog, I've doubled the resources of our slowest jobs.
2023-09-14 20:20:39 -05:00
dependabot[bot] 2c19995712
ci: bump the github-actions group with 2 updates (#9620)
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [crate-ci/typos](https://github.com/crate-ci/typos).


Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `crate-ci/typos` from 1.16.10 to 1.16.11
- [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.16.10...v1.16.11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:22:22 +03:00
Kayla Washburn fd565e0e0b
chore: enable test-2e (#9567) 2023-09-07 05:49:40 +00:00
Kayla Washburn bfff88d2d3
revert: improve flag interpretation for install.sh (#9566) 2023-09-07 05:29:52 +00:00
Kayla Washburn 2849895832
fix: use `$coder_version` instead of hardcoded version in release script (#9539) 2023-09-05 17:30:54 -06:00
dependabot[bot] c31292abe8
ci: bump the github-actions group with 2 updates (#9509)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:29:56 +03:00
Marcin Tojek aa94d89f97
test: improve E2E framework (#9469) 2023-09-04 14:46:48 +02:00
Kayla Washburn 9c9d035354
feat: automate updating homebrew tap formula (#9412) 2023-08-30 13:44:38 -06:00
Marcin Tojek 2377ab6624
test(site): improve E2E framework (#9438) 2023-08-30 15:34:45 +00:00
Muhammad Atif Ali 35d0809830
ci: prefix dependabot github-actions PRs with `ci:` (#9376) 2023-08-28 18:20:52 +03:00
dependabot[bot] 506b81adeb
ci: bump crate-ci/typos@v1.16.6 to crate-ci/typos@v1.16.8 (#9372)
bumps crate-ci/typos@v1.16.6 to crate-ci/typos@v1.16.8
2023-08-28 09:41:05 +00:00
Muhammad Atif Ali 79aba1d5ff
ci: remove redundant groups from dependabot.yaml (#9365) 2023-08-28 09:21:54 +00:00
Muhammad Atif Ali 54032ccfe8
ci: update pr-cleanup.yaml to remove `set -x` (#9358) 2023-08-26 23:02:22 +00:00
Jon Ayers 7ddb216d87
chore: revert nix-related CI changes (#9321)
* chore: revert nix-related CI changes

- Reverts using nix to run CI-dependencies.
- Running 'make gen' in a dogfood workspace resulted in inconsistent
  results for protobuf-related files making it difficult to pass CI.
  This PR imports the minimum changes necessary to make CI compatible
  with dogfood.
2023-08-24 21:26:30 -05:00
Ben Potter f96622f192
chore: add exempt users to CLAbot allowlist (#9292) 2023-08-23 23:17:22 +00:00
Reuben Ellis 868ae06d4e
chore: add a base directory for TurboSnap (#9258)
* Add base dir for TurboSnap

* updated main workflow as well

* Add vite configuration

* remove the mergeConfig and return config
2023-08-23 15:12:00 -03:00
dependabot[bot] cff33c2326
chore: bump the github-actions group with 1 update (#9218)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 18:03:59 +03:00
phorcys420 376352eeb3
fix(ci): add github token to chocolatey workflow (#9166) 2023-08-18 13:16:56 +03:00
Marcin Tojek ea34ec7538
chore(site): regenerate provisioner stub (#9151) 2023-08-18 10:50:43 +02:00
Kyle Carberry c0a78533bf
chore: reduce build time by converting docker image to build with nix (#9099)
* Add Docker image

* Try building the container in CI

* Uncomment testing lines

* Trim image step

* Hit 'em with a Docker load

* Oopsie!

* Add a tag and push!

* Fix image name 🤦

* Fix sudo

* Fix target name

* Build and push

* Fix login to docker hub

* Revert to Docker push

* Fix PATH

* Fix SHA

* Fix ca certs

* Fix ca certs

* Fix coping files in

* Fix docker init

* Fix Docker group and init

* Add comments to our Nix

* Fix build stage

* Add some more comments

* Remove old dogfood image files

* Tag and push with branch name

* Fix tag passing

* Fix tag passing

* Remove old pull triggers

* Convert gen to use Nix

* Add protobuf to the flake

* Add prettier to the dev shell

* Swap to the faster Nix cache action

* Add the correct yq

* Fix gen

* Add make to the flake

* Update extensions
2023-08-17 21:19:36 -05:00
Spike Curtis ff9252c706
feat: add provisioner chart to release and docs (#9050)
* Add provisioner chart to release and docs

Signed-off-by: Spike Curtis <spike@coder.com>

* Update docs/admin/provisioners.md

Co-authored-by: Muhammad Atif Ali <atif@coder.com>

* Prettier

Signed-off-by: Spike Curtis <spike@coder.com>

* spell out PSK first time per section

Co-authored-by: Cian Johnston <cian@coder.com>

---------

Signed-off-by: Spike Curtis <spike@coder.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
Co-authored-by: Cian Johnston <cian@coder.com>
2023-08-16 16:26:38 +04:00
phorcys420 f3c707648c
ci: publsh Chocolatey package (#8921) 2023-08-16 15:21:28 +03:00
Cian Johnston 6cdf1c73c0
chore: update sqlc to version 1.20.0 (#9111) 2023-08-15 20:06:03 +00:00
dependabot[bot] 65d84827cd
chore: Bump the github-actions group with 1 update (#9086)
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos).

- [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.16.2...v1.16.4)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 19:33:34 +03:00
Muhammad Atif Ali 86fcd4503f
Revert "ci: run tests intelligently based on changes between consecutive commits (#9017)" (#9104) 2023-08-15 08:22:49 +00:00
Muhammad Atif Ali 878315dcaf
fix: fix CI concurrency (#9088) 2023-08-14 18:48:14 +03:00
Muhammad Atif Ali 984f7ce045
fix: update BUILD condition in pr-deploy.yaml (#9064)
This makes the build condition more understandable and fixes an issue where we could not deploy a new PR as the build condition was constantly evaluating false.
2023-08-13 11:18:17 +03:00
Muhammad Atif Ali 59fd4e86c9
ci: remove deleting comments section from pr-cleanup.yaml (#9047) 2023-08-11 15:43:37 +03:00
Muhammad Atif Ali a13c8c88d5
fix: prevent unrequested PR deployments (#9049) 2023-08-11 12:32:42 +00:00
Muhammad Atif Ali 7fb9197860
ci: do not run deploy-pr on main (#9046) 2023-08-11 10:54:55 +00:00
Muhammad Atif Ali 114ad4624e
ci: upgrade pr deployments workflow (#8924) 2023-08-11 13:49:23 +03:00
Muhammad Atif Ali 4d8152d543
ci: run tests intelligently based on changes between consecutive commits (#9017) 2023-08-11 13:48:24 +03:00
Colin Adler a9e01bf3f1
chore: fix terraform tests (#9006) 2023-08-09 18:11:03 +00:00
Muhammad Atif Ali 05054c6a0a
ci: make `test-e2e` a required check (#8977) 2023-08-08 14:57:57 +00:00
Muhammad Atif Ali 31b7de6a3e
chore: upgrade go to 1.20.7 (#8923)
* chore: upgrade go to 1.20.7

* remove unused env
2023-08-08 09:20:36 +03:00
dependabot[bot] 00be8ab875
chore: bump the github-actions group with 1 update (#8942)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 18:54:20 +03:00
Muhammad Atif Ali 6ded748989
fix: update tag name for `coder-preview` image in ci.yaml (#8945) 2023-08-07 14:35:28 +00:00
Muhammad Atif Ali 90c1647fcf
ci: change `ghcr.io/coder/coder-preview:main` tag to use version names (#8938) 2023-08-07 16:41:20 +03:00
Muhammad Atif Ali 9f5ac4d15d
ci: publish main commit tag to `ghcr.io/coder/coder-preview` (#8897)
* wip

* push new tag and delete old tag

* prune by filtering

* fix permission

* fix filter

* keep last 2 versions

* use first 7 characters of sha for tag

* do not use gh cli

* test

* typo

* use gh cli again

* reduce days to 3

* fixup

* typo

* keep-last 5

* ready to merge

* retain tags from last 7 days

* test

* ready
2023-08-04 19:27:12 +03:00
Muhammad Atif Ali b77d6b2c84
ci: delete comments by github-action[bot] (#8896) 2023-08-04 06:55:38 +00:00
Colin Adler 502c7680a2
chore: fix release and security pipelines (#8891) 2023-08-03 18:40:47 -05:00
Ben Potter 1314cd8fcb
chore: support manual changelog and version 2.0 for releases (#8880)
* chore(release): add manual changelog + 2.0 support

* add comment

* fix typo

* fmt
2023-08-03 12:41:54 -05:00
Muhammad Atif Ali 10da570916
fix: prevent PR deployment without manual trigger (#8882)
* fix: do not deploy without a manual trigger

This will fix automatic first deployment

* fix typo

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* Update pr-deploy.yaml

* build at least once

* wait for certificate

* Update pr-deploy.yaml
2023-08-03 19:32:20 +03:00
Muhammad Atif Ali b47bd7ccb5
ci: implement automatic upgrade of PR deployment (#8876) 2023-08-03 18:11:07 +03:00
Muhammad Atif Ali f7327dd2c6
fix: avoid using comment body directly (#8851) 2023-08-02 22:19:17 +03:00
Colin Adler 4b81cfaa0d
chore: switch from `yarn` to `pnpm` (#8822) 2023-08-02 13:28:16 -05:00
Muhammad Atif Ali d2c7c8e1d8
fix: allow ci to publish a package (#8862) 2023-08-02 17:22:11 +03:00
Muhammad Atif Ali 57c7d7d4d2
ci: build and push `ghcr.io/coder/coder-preview:main` (#8832) 2023-08-02 15:45:14 +03:00
Muhammad Atif Ali 75fcc24b60
fix: copy secret for the first deployment too (#8857) 2023-08-02 10:44:38 +03:00
Muhammad Atif Ali f48e8dcf88
chore: update concurrency to use PR number (#8853) 2023-08-02 10:04:39 +03:00
Colin Adler 1472cce6c3
chore: increment `GOCACHE` key (#8849) 2023-08-02 03:33:52 +00:00
Colin Adler 805eaca4b7
chore: use fetch-depth: 1 for most ci jobs (#8847) 2023-08-02 02:48:35 +00:00
Muhammad Atif Ali e23e5262b4
chore: wait 30 seconds before checking winget PR in release.yaml (#8835) 2023-08-01 14:57:25 +00:00
Muhammad Atif Ali 6a12912d6e
ci: use a wildcard subdomain for PR deployments (#8801) 2023-08-01 12:02:42 +01:00
Colin Adler b84bba8fd1
chore: increase fmt timeout (#8820) 2023-07-31 16:36:53 -05:00
Colin Adler ed82b864d0
chore: reenable prisma image scan (#8810) 2023-07-31 10:12:24 -05:00
Muhammad Atif Ali ea2ae10bc3
ci: update terraform to ~1.5 (#8766)
* ci: update terraform to 1.5.3

* Update action.yaml
2023-07-28 10:12:06 +00:00
Muhammad Atif Ali e029df61ff
ci: update secret name in pr-cleanup.yaml (#8790) 2023-07-28 08:26:11 +00:00
Bruno Quaresma 471dc6126c
chore: upgrade nodejs version to 18.x (#8768) 2023-07-27 17:54:38 -03:00
Bruno Quaresma 3114a60e5c
ci: optimize chromatic (#8776)
* Update ci.yaml

Modified the Chromatic job configuration to reduce snapshot usage and only run Chromatic on necessary UI changes.

Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com>

* fix fmt

---------

Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com>
Co-authored-by: Reuben Ellis <ethriel3695@gmail.com>
2023-07-27 15:51:26 -03:00
Ben Potter 34dfbfa9d3
ci: add DB to PR deploys (#8770)
* ci: add DB to PR deploys

* add bitnami remo

* fix namespace

* change ingress host

* remove wildcard host
2023-07-27 14:50:53 +00:00
Muhammad Atif Ali f6c36d903e
ci: prevent running deploy on all comments (#8767) 2023-07-27 13:00:00 +00:00
Muhammad Atif Ali 3761205bae
ci: further improve pr deployments (#8764) 2023-07-27 12:40:59 +00:00
Muhammad Atif Ali bc55ffdf0d
ci: improve deploy-pr workflow (#8735) 2023-07-27 13:07:53 +03:00
Muhammad Atif Ali da7e1eb75d
ci: add a missing end quote (#8734) 2023-07-26 00:39:00 +00:00
Muhammad Atif Ali 0b5a01aa1b
test: fix comments in `deploy-pr.yaml` (#8733) 2023-07-26 00:06:59 +00:00
Muhammad Atif Ali 26264bd3ef
test: remove erroneous quotes from deploy-pr.yaml (#8732) 2023-07-25 23:16:57 +00:00
Muhammad Atif Ali 2c7d8ee06a
fix: remove the usage of -u flag (#8731) 2023-07-25 22:54:42 +00:00
Muhammad Atif Ali 0feb855b8f
fix: revert back to curl in deply-pr.yaml (#8729) 2023-07-25 22:40:26 +00:00
Muhammad Atif Ali 733ae5038a
fix: a small issue with pr_deploy.yaml (#8728) 2023-07-25 22:15:44 +00:00
Muhammad Atif Ali 86d4c4ff0e
test: improve pr deployments (#8720) 2023-07-26 00:56:38 +03:00
Muhammad Atif Ali 844ef76d39
fix: handle issue_comment event (#8726) 2023-07-25 19:52:44 +00:00
Muhammad Atif Ali 67f1123808
use gh cli (#8725) 2023-07-25 19:35:28 +00:00
Muhammad Atif Ali 7447bfa320
fix: checkout correct branch for PR deployment (#8721) 2023-07-25 16:08:44 +00:00
Muhammad Atif Ali 757ea68d4a
ci: fmt, lint and build offlinedocs (#8642)
Co-authored-by: Dean Sheather <dean@deansheather.com>
2023-07-24 10:54:08 +00:00
Muhammad Atif Ali 87f07b9f2f
ci: reduce duplication (#8692)
* ci: reduce duplication

* typo
2023-07-24 10:51:43 +00:00
Muhammad Atif Ali 43cc5449a1
fix: fix a typo in deploy-pr.yaml (#8678) 2023-07-23 16:21:29 +00:00
Muhammad Atif Ali 30e86e0058
chore: do not deploy a PR on deleted comment (#8677)
* chore: improve deploy-pr.yaml

* Update pr-deploy.yaml

* make fmt
2023-07-23 19:06:24 +03:00
Muhammad Atif Ali e7330436c9
chore: insatll `coder-logstream-kube` for PR deployments (#8676) 2023-07-23 15:35:53 +00:00
Muhammad Atif Ali ec880f26b4
chore: enable deployments for PR deplyments (#8674) 2023-07-23 17:32:17 +03:00
Ben Potter 12b51ca804
ci: fix release notes compare link (#8581)
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-07-21 15:22:54 +03:00
Muhammad Atif Ali 0c73164f15
chore: add offlinedocs to `ts` filter in ci.yaml (#8616) 2023-07-20 20:33:50 +00:00
Muhammad Atif Ali cc659163ef
chore: add offlinedocs to depemdabot.yaml (#8617)
Add offlinedocs to depemdabot.yaml
2023-07-20 23:12:08 +03:00
Muhammad Atif Ali deb9261232
ci: allow running other jobs in the matrix if one of them fails (#8624) 2023-07-20 15:56:47 +00:00
Muhammad Atif Ali fd5d26d385
chore: prevent running chromatic on all merged PRs (#8623) 2023-07-20 15:18:02 +00:00
Ben Potter b4bb77f2f3
hotfix: change permissions for /deploy-pr comment (#8597) 2023-07-19 17:02:51 +00:00
Bruno Quaresma acc12d3426
feat: add offline docs (#8527) 2023-07-19 13:57:57 -03:00
Muhammad Atif Ali 7d92537af5
chore: fix a typo dogfood.yaml (#8572) 2023-07-18 09:51:46 +00:00
Muhammad Atif Ali b012b4a810
chore: use commit title as template message in dogfood (#8570)
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-07-18 09:08:58 +00:00
dependabot[bot] 6b978bef71
chore: bump the github-actions group with 1 update (#8544)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 19:58:03 +00:00
Muhammad Atif Ali bf5e0675fe
chore: allow running multiple preview deployments in parallel (#8562) 2023-07-17 16:06:29 +00:00
Muhammad Atif Ali 0a56ea6916
chore: do not cancel in progress runs in `pr-deploy.yaml` (#8559) 2023-07-17 18:40:25 +03:00
Muhammad Atif Ali db8ba6cb68
chore: remove buggy comment reaction from `deploy-pr.yaml` (#8555) 2023-07-17 18:29:40 +03:00
Muhammad Atif Ali ce114a7f9f
chore: upgrade sqlc to 1.19.1 (#8511) 2023-07-15 09:07:19 +03:00
Ammar Bandukwala 970a829939
ci: relax stalebot (#8522)
\#6243 and others suggest the stalebot is too aggressive.
2023-07-14 16:38:04 +00:00
Muhammad Atif Ali be1013899f
chore: use names for all GitHub actions steps and use sqlc setup action (#8495) 2023-07-13 22:46:18 +03:00
Muhammad Atif Ali a0fedebd62
chore: rename dependabot groups (#8473) 2023-07-12 17:01:57 +00:00
Muhammad Atif Ali 765fd29336
chore: upgrade go version to 1.20.6 (#8457) 2023-07-12 17:27:17 +03:00
Muhammad Atif Ali 19f58350f2
chore: group various npm dependencies (#8453) 2023-07-12 16:45:50 +03:00
dependabot[bot] 2c2dd0eb83
chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos (#8455)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-07-12 12:01:30 +00:00
Muhammad Atif Ali 7a210d941e
chore: remove invalid dependabot config for example templates (#8452) 2023-07-12 14:33:57 +03:00