M Atif Ali
51cfec3261
chore: reuse syft and cosign install actions across workflows ( #16981 )
...
This pull request adds new GitHub Actions for installing `cosign` and
`syft`, and updates the CI, release, and security workflows.
**New Actions:**
- [`install-cosign`](.github/actions/install-cosign/action.yaml):
Installs `cosign` with a configurable version.
- [`install-syft`](.github/actions/install-syft/action.yaml): Installs
`syft` with a configurable version.
**Workflow Updates:**
- CI, release, and security workflows now use `install-cosign` and
`install-syft`.
2025-03-25 01:22:17 +00:00
M Atif Ali and Thomas Kosiewski
4987de654e
chore: enable SBOM attestations for docker images ( #16894 )
...
- Enable SBOM and provenance attestations in Docker builds
- Installs `cosign` and `syft` in dogfood image
- Adds [github
attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds )
Signed-off-by: Thomas Kosiewski <tk@coder.com >
---------
Signed-off-by: Thomas Kosiewski <tk@coder.com >
Co-authored-by: Thomas Kosiewski <tk@coder.com >
2025-03-13 21:45:11 +05:00
M Atif Ali
e817713dc0
revert: "chore: enable SBOM attestation for image builds" ( #16868 )
...
Reverts coder/coder#16852
The CI failed to create the multi-arch manifest.
https://github.com/coder/coder/actions/runs/13773079355/job/38516182819#step:18:341
I personally think we should move to a [multi-arch
Dockerfile](https://docs.docker.com/build/building/multi-platform/#cross-compilation )
instead of creating the manifest manually.
2025-03-10 19:55:03 +00:00
M Atif Ali
05ebece03a
chore: enable SBOM attestation for image builds ( #16852 )
...
- Added SBOM (Software Bill of Materials) generation during Docker build
to enhance traceability. Refer to Docker documentation on SBOM:
https://docs.docker.com/build/metadata/attestations/sbom/
- Updated Docker build scripts to use BuildKit for provenance and SBOM
support: https://docs.docker.com/build/metadata/attestations/
- Configured Docker daemon in dogfood image to support the Containerd
snapshotter feature to improve performance:
https://docs.docker.com/engine/storage/containerd/
> [!Important]
> We also need to enable `containerd` on depot runners.
> <img width="587" alt="image"
src="https://github.com/user-attachments/assets/1d7f87c7-fdcc-462a-babe-87ac6486ad09 "
/>
## Testing
- Tested locally with ` docker buildx build --sbom=true --output
type=local,dest=out -f Dockerfile .` to verify that an SBOM file is
generated.
- Tested in
[CI](https://github.com/coder/coder/actions/runs/13731162662/job/38408790980?pr=16852#step:17:1 )
to ensure the image builds without any errors.
Also closes coder/internal#88
2025-03-11 00:24:14 +05:00
M Atif Ali
54745b1d3f
chore(dogfood): update Zed URI to use Coder Desktop provided DNS entries ( #16847 )
2025-03-07 22:27:49 +05:00
M Atif Ali and Edward Angert
9bed9a226a
docs: update versions in offline installation docs ( #16808 )
...
[preview](https://coder.com/docs/@matifali-patch-1/install/offline )
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2025-03-06 21:35:41 +05:00
M Atif Ali
32450a2f77
docs: update docs for 2.20 release ( #16817 )
...
Updates Helm chart versions and updating support statuses for various
versions.
2025-03-06 01:54:26 +05:00
M Atif Ali
763921bc61
feat: extend OverrideVSCodeConfigs for additional VS Code IDEs ( #16654 )
2025-02-25 21:08:55 +05:00
M Atif Ali
f8a49f4984
docs: remove the prerequisite step for kubernetes logs streaming ( #16625 )
2025-02-21 22:58:26 +05:00
M Atif Ali
53f0007acb
chore(docs): fix 2.19 release status in releases.md ( #16619 )
2025-02-19 13:52:23 +00:00
M Atif Ali
014922272c
chore: add top level permission to docs-ci ( #16573 )
...
This should bump OpenSSF Score added in #14879
2025-02-14 11:44:16 +00:00
M Atif Ali
b1d53b091c
feat(site): add Keycloak icon ( #16569 )
...
https://www.keycloak.org/
2025-02-14 09:37:12 +00:00
M Atif Ali
33a89abf7a
docs: remove official cloud installation methods from the unofficial page ( #16452 )
2025-02-06 20:05:18 +05:00
M Atif Ali
cff89fbf23
docs: cleanup Zed editor connection docs ( #16467 )
2025-02-06 06:38:50 +00:00
M Atif Ali
a15f06a7e3
docs: simplify OIDC config instructions ( #16266 )
2025-02-04 12:50:37 +05:00
M Atif Ali
cab1f375ec
ci: merge approval and notify jobs ( #16403 )
2025-02-03 20:35:06 +05:00
M Atif Ali
04955076d2
fix(site): fix agent and web terminal troubleshooting links ( #16353 )
2025-02-03 20:26:20 +05:00
M Atif Ali
efc9af4341
ci: notify dependabot PR merges on pull_request closed events ( #16381 )
2025-02-03 17:04:22 +05:00
M Atif Ali
e37b7fc481
ci: fix cla and dependabot notifications jobs ( #16343 )
2025-01-31 14:17:47 +00:00
M Atif Ali
f6e990ed87
chore: rename config.yaml to config.yml for issue template ( #16354 )
2025-01-31 03:35:42 +00:00
M Atif Ali
6c90aefcb7
chore: add GitHub issue template ( #16342 )
...
Adds a GitHub issue template to make it easy to file bug reports.
You can test it here:
https://github.com/matifali/test-github-issue-template/issues/new/choose
2025-01-30 18:44:05 +00:00
M Atif Ali
8b5d22fdd2
ci: change PR merge strategy to squash in contrib workflow ( #16297 )
2025-01-27 12:25:42 +00:00
M Atif Ali
4e1c0eb743
ci: grant 'contents' write permission to auto-merge dependabot PRs ( #16293 )
2025-01-27 17:08:03 +05:00
M Atif Ali
7d6b73552a
chore: remove patch condition for dependabot PRs ( #16279 )
2025-01-27 11:51:37 +00:00
M Atif Ali
d2ff42560f
chore(dogfood): dogfood zed editor ( #16255 )
...
This requires running `coder config-ssh`.
I intentially kept it as a module so that we can port it to
`coder/`modules` easily when needed.
2025-01-24 15:17:18 +00:00
Muhammad Atif Ali
6c1fd2846e
docs: update AWS marketplace listing ( #16245 )
2025-01-23 18:52:59 +00:00
Muhammad Atif Ali
84081e90eb
chore: notify on auto merged dependabot PRs ( #16234 )
2025-01-23 15:38:54 +05:00
Muhammad Atif Ali
f495ff07b7
chore: auto merge dependabot PRs for patch updates ( #16222 )
2025-01-22 21:24:07 +05:00
Muhammad Atif Ali
b3ba0f96f1
chore: use better PR titles for cherry-pick-bot PRs ( #16165 )
2025-01-16 15:54:03 +00:00
Muhammad Atif Ali
f4994ca783
chore(dogfood): add vscode-web module ( #16081 )
2025-01-09 08:03:05 +00:00
Muhammad Atif Ali
13cfaae619
chore: update JetBrains IDE icons ( #16065 )
...
JetBrains have updated the icons as per
https://www.jetbrains.com/company/brand/#logos-and-icons .
Noticed while adding #16057
2025-01-08 19:29:53 +05:00
Muhammad Atif Ali
5895c37db4
docs: expand the list of JetBrains IDEs supported via Gateway ( #16060 )
2025-01-07 15:11:41 -05:00
Muhammad Atif Ali
c41254b9b6
chore(site): use .gitignore in biome.jsonc ( #16026 )
2025-01-07 23:21:10 +05:00
Muhammad Atif Ali
b5c85a8abd
feat(site): add RustRover icon for JetBrains Gateway module ( #16057 )
2025-01-07 20:50:00 +05:00
Muhammad Atif Ali
95d769da41
chore: ignore cherry-pick-bot created branches for Deploy PR ( #16037 )
2025-01-04 16:55:43 +05:00
Muhammad Atif Ali
8f570d6f01
ci: integrate cherry-pick-bot ( #15973 )
...
Integrates
[`cherry-pick-bot`](https://github.com/googleapis/repo-automation-bots/tree/main/packages/cherry-pick-bot )
to automate cheery picks to release branches.
This works by commenting
```
/cherry-pick release/2.XX
```
On any **Merged** or **Open** PR and this will automatically open the
cheery-pick PR.
- [x] [Install](https://github.com/apps/gcp-cherry-pick-bot ) the bot to
`coder/coder` repo.
cc: @kylecarbs , @ammario and @sreya for installing the bot.
Some popular repos making use of this:
1. https://github.com/zed-industries/zed
2. https://github.com/flutter/flutter
3. https://github.com/argoproj/argo-cd
4. https://github.com/runatlantis/atlantis
5. https://github.com/flutter/engine
2025-01-04 09:13:48 +05:00
Muhammad Atif Ali and Edward Angert
94f5d52fdc
chore: adopt markdownlint and markdown-table-formatter for *.md ( #15831 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2025-01-03 13:12:59 +00:00
Muhammad Atif Ali
7697005663
chore(dogfood): prevent downloading modules on workspace stop ( #15922 )
2024-12-19 12:46:41 +05:00
Muhammad Atif Ali and Dean Sheather
901ad3f0e4
ci: skip running test-e2e on PRs from forks ( #15784 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-12-09 09:50:57 +00:00
Muhammad Atif Ali
a9195bfe74
docs: add Amazon DCV Windows module to guides ( #15610 )
2024-11-26 21:41:22 +05:00
Muhammad Atif Ali
35594bb7fd
chore: update testify to v1.9.0 in go.sum ( #15662 )
2024-11-26 12:41:20 +00:00
Muhammad Atif Ali and Edward Angert
dcbcf6740c
docs: add guide for CI/CD template testing ( #15528 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-11-20 23:58:51 +05:00
Muhammad Atif Ali
365ce67f21
chore: add provenance attestation to docker-base image ( #14999 )
...
Enables [build
attestation](https://docs.docker.com/build/metadata/attestations/slsa-provenance/ )
for the docker-base image.
Contributes to #14879 and coder/internal#89
As an experiment, we are only doing it with the coder-base image for
now.
2024-11-15 08:16:33 +05:00
Muhammad Atif Ali and Edward Angert
6ff302b740
docs: add Docker to provider authentication docs ( #15494 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-11-13 15:40:41 +00:00
Muhammad Atif Ali
329e08686f
chore: improve PR deployments ( #15430 )
2024-11-11 17:58:32 +05:00
Muhammad Atif Ali
076399b3bd
chore: correct typos and configure permissions in pr-deploy.yaml ( #15372 )
2024-11-05 09:41:48 +05:00
Muhammad Atif Ali
2cf745766c
chore: use typos extension in vscode ( #15136 )
...
This synchronises the spellchecker with our CI.
We use https://github.com/crate-ci/typos in CI, so let us use typos in
vscode too.
https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode
2024-11-04 10:26:04 -08:00
Muhammad Atif Ali
f25a07502a
chore: fix links in README.md ( #15366 )
2024-11-04 22:55:40 +05:00
Muhammad Atif Ali
1c29944862
chore: update link to licensed features in README.md ( #15362 )
2024-11-04 20:19:23 +05:00
Muhammad Atif Ali
3a5a42ffa9
chore: update workflow permissions ( #15349 )
2024-11-04 11:09:40 +05:00
Muhammad Atif Ali
065263a852
chore: update dependabot config and pin Docker images ( #15194 )
2024-11-04 11:01:54 +05:00
Muhammad Atif Ali
afacb07140
chore: tighten GitHub workflow permissions ( #15282 )
2024-10-30 16:17:42 +05:00
Muhammad Atif Ali
df6afd3354
fix(install.sh): fix installation script for remote hosts ( #15288 )
2024-10-30 15:49:28 +05:00
Muhammad Atif Ali
8e254cbb07
chore: integrate step-security/harden-runner in workflows ( #15099 )
...
Redoing #15097
Part of #14879
2024-10-16 11:23:00 -07:00
Muhammad Atif Ali
57a65c15bf
chore: use commit sha for GitHub actions ( #15019 )
...
Use specific commit SHAs for GitHub actions across various workflows to
enhance reliability and reproducibility. This change ensures that
actions run against a known version, reducing the risk of unexpected
issues due to updates in the third-party action repositories.
This contributes to improving the score in #14879
2024-10-14 08:49:55 -07:00
Muhammad Atif Ali
20b3f8fbf3
chore: use a smaller runner for e2e test ( #15034 )
...
We run our e2e-tests on a 16-core machine with `--max-workers=1`
Using a standard runner with 2 cores, the machine runs the tests in the
same amount of time while reducing the cost 8 times.
Update: `test-e2e` fails on the 2core-8GB runner, so using a 4-core-16GB runner for that.
2024-10-12 11:23:13 +00:00
Muhammad Atif Ali
ab6cb1a787
docs: fix links for revere-proxy docs ( #15026 )
2024-10-10 05:31:19 +00:00
Muhammad Atif Ali
5afd022443
chore(README.md): add setup coder GitHub action link ( #14991 )
2024-10-08 08:10:59 +05:00
Muhammad Atif Ali
e8d5fdfb1a
chore: add OpenSSF badge ( #15012 )
2024-10-08 08:05:33 +05:00
Muhammad Atif Ali
b815fcc150
chore(docs): fix a wrong link in v2.0.0 changelog ( #14994 )
2024-10-07 12:38:44 +05:00
Muhammad Atif Ali
61a41027fc
chore(README.md): add openssf best practices badge ( #14938 )
...
In preparation for #14879
2024-10-05 11:12:15 -07:00
Muhammad Atif Ali
999ae7ba56
chore(docs): fix broken links and update file paths ( #14990 )
2024-10-05 18:08:50 +00:00
Muhammad Atif Ali
163f96b71a
fix(docs/admin/security): fix broken link of CVE ( #14988 )
2024-10-05 17:21:27 +00:00
419eba5fb6
docs: restructure docs ( #14421 )
...
Closes #13434
Supersedes #14182
---------
Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com >
Co-authored-by: Ethan Dickson <ethan@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com >
Co-authored-by: Stephen Kirby <me@skirby.dev >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-05 10:52:04 -05:00
Muhammad Atif Ali
baf8e30458
chore(dogfood): dogfood latest version of modules ( #14918 )
...
This will help us catch bugs before our users.
2024-10-01 23:35:36 +05:00
Muhammad Atif Ali
35017822d5
chore(dogfood): add cursor IDE ( #14748 )
2024-09-20 23:19:28 +05:00
Muhammad Atif Ali
db7b411094
chore(site): add cursor ide icon ( #14743 )
2024-09-20 17:37:06 +05:00
Muhammad Atif Ali
cba6e93176
chore: update docs links ( #14221 )
2024-08-17 11:51:13 +00:00
Muhammad Atif Ali
48f29a1995
docs: move api and cli docs routes to reference/ ( #14241 )
2024-08-13 18:39:46 +03:00
Muhammad Atif Ali
7619d1c49a
chore: skip dogfood workflow for dependabot PRs ( #14111 )
2024-08-02 09:32:35 +00:00
Muhammad Atif Ali
894020db6a
chore: skip dogfood workflow for dependabot PRs ( #14106 )
2024-08-02 09:39:57 +03:00
Muhammad Atif Ali
b0eaf4ca94
chore: commit update-flake as @dependabot ( #14091 )
...
Thıs is needed to bypass the dependency check job for dependabot PRs.
https://github.com/coder/coder/blob/1289937eaeac63f27f2856a4374a0fedc5cc0e58/.github/workflows/ci.yaml#L973
The username and email are fetched from a previous dependabot commit.
https://github.com/coder/coder/commit/1289937eaeac63f27f2856a4374a0fedc5cc0e58.patch
2024-08-01 19:24:51 +03:00
Muhammad Atif Ali and Dean Sheather
7a4737cf76
ci: handle retriggering ci and human authors in update-flake ( #14052 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-07-31 16:12:40 +00:00
Muhammad Atif Ali and Mathias Fredriksson
88bc491778
chore: add stable version info to repository-dispatch event ( #13997 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-07-25 11:03:01 +03:00
Muhammad Atif Ali
652827f0e8
docs: add preview image to release schedule ( #13948 )
2024-07-24 23:20:52 +03:00
Muhammad Atif Ali
88d2dbd994
docs: replace coder_git_auth with coder_external_auth ( #13936 )
2024-07-20 07:43:09 +03:00
Muhammad Atif Ali
8beb0b131f
chore: update flake.nix to handle aarch64 linux ( #13930 )
2024-07-19 22:15:50 +03:00
Muhammad Atif Ali
ab59460e2c
chore: bump terraform to v1.9.2 ( #13899 )
2024-07-15 21:25:42 +00:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Muhammad Atif Ali
c62512a8bb
chore: use base64 encoded kubeconfig for pr deployments ( #13851 )
2024-07-09 14:24:43 +00:00
Muhammad Atif Ali
a123badccc
chore: use base64 encoded kubeconfig for pr deployments ( #13849 )
2024-07-09 13:44:59 +00:00
Muhammad Atif Ali
05fdb9c1f7
chore: group dependencies ( #13798 )
2024-07-08 23:11:44 +03:00
Muhammad Atif Ali
fecc5b3027
docs: update release schedule ( #13795 )
2024-07-06 12:17:11 +03:00
Muhammad Atif Ali
b87c12ba92
chore(dogfood): fix duplicate security repository entry ( #13758 )
2024-07-02 14:09:45 +03:00
Muhammad Atif Ali
bda94bfc77
chore: optimize dependabot configuration ( #13670 )
2024-06-27 21:14:17 +03:00
Muhammad Atif Ali
089f06886b
chore: add .pnpm-store to .gitignore ( #13685 )
2024-06-27 15:07:04 +03:00
Muhammad Atif Ali
58325dfd14
chore: minor improvements and link updates in README.md ( #13656 )
...
* chore: minor improvements and link updates in README.md
* fixup!
2024-06-25 13:29:08 -04:00
Muhammad Atif Ali
136900268e
ci: migrate to depot.dev runners ( #13467 )
2024-06-25 09:36:33 +03:00
Muhammad Atif Ali
e527bc6242
chore(dogfood): replace deprecated coder_workspace.owner_oidc_access_token and add order to agent metadata ( #13456 )
2024-06-04 09:21:01 +01:00
Muhammad Atif Ali
c7233eccec
chore(dogfood): bump module versions ( #13455 )
2024-06-04 00:03:34 +03:00
Muhammad Atif Ali
7a7bef0dab
ci: fix syntax issue in docker-base.yaml ( #13412 )
2024-05-30 08:49:30 +00:00
Muhammad Atif Ali
6730c24c58
ci: build base image on PRs ( #13409 )
2024-05-30 08:35:37 +00:00
Muhammad Atif Ali
47f8f5d963
chore(docs): update github app permission to read org members ( #13362 )
2024-05-24 23:15:29 +03:00
Muhammad Atif Ali
7358c1b1ac
chore(dogfood): bump module versions to latest ( #13246 )
...
We should use the latest versions as these are the ones most customers will use.
We can automate this with @dependabot once we resolve https://github.com/coder/registry.coder.com/issues/13
2024-05-13 09:51:47 +03:00
Muhammad Atif Ali
6182ee90f0
chore: remove dependabot config for dogfood template ( #13230 )
2024-05-10 20:14:37 +03:00
Muhammad Atif Ali and Kyle Carberry
679099373b
docs(ides): document connection via JetBrains Fleet ( #13179 )
...
* docs: add docs to connect via JetBrains Fleet
* Create fleet.md
* Update fleet.md
* Create ssh-connect-to-coder.png
* Add files via upload
* `make fmt`
* Update fleet.md
* Update docs/ides/fleet.md
Co-authored-by: Kyle Carberry <kyle@coder.com >
* Update fleet.md
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-09 21:29:53 +03:00
Muhammad Atif Ali
b56c9c438f
ci: only send docs-check notifications on schedule ( #13191 )
2024-05-07 01:40:18 +03:00
Muhammad Atif Ali
05facc971b
ci: sync terraform version ( #13187 )
2024-05-06 20:06:21 +00:00
Muhammad Atif Ali
7c3ec51997
docs(admin/external-auth.md): add JFrog Artifactory guide ( #13166 )
2024-05-06 11:34:21 +03:00
Muhammad Atif Ali
3e77f5b512
chore(docs): replace git-auth with external-auth ( #13167 )
2024-05-06 11:17:19 +03:00