Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Cian Johnston
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
Stephen Kirby
b9d83c75de
fixed changelog script release channel flag ( #13649 )
2024-06-24 11:50:24 -05:00
dependabot[bot]
7e20b56352
chore: bump alpine from 3.20.0 to 3.20.1 in /scripts ( #13644 )
...
Bumps alpine from 3.20.0 to 3.20.1.
---
updated-dependencies:
- dependency-name: alpine
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>
2024-06-24 11:48:07 -05:00
Stephen Kirby
3d6c9799e3
fixed script ref ( #13647 )
2024-06-24 11:27:13 -05:00
Ethan
714f2ef83c
fix: fix shallow clones not retrieving a valid semver ( #13609 )
2024-06-22 00:02:12 +10:00
Kyle Carberry
1ca5dc0328
chore: always use the latest released version tag when building ( #13556 )
...
* chore: always use the latest released version tag when building
* Update version.sh
Co-authored-by: Dean Sheather <dean@deansheather.com >
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-06-12 14:52:35 -04:00
Cian Johnston
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
Colin Adler
37676c46d5
chore(scripts): remove remaining gh_auth calls from release scripts ( #13485 )
2024-06-05 22:24:26 -05:00
Mathias Fredriksson
9a757f8e74
chore(scripts): fix release promote stable to set latest tag ( #13471 )
2024-06-04 23:01:26 +00:00
Mathias Fredriksson
3b7f9534fb
chore(scripts): fix dry run for autoversion in release.sh ( #13470 )
2024-06-04 20:10:15 +03:00
Mathias Fredriksson
a51076a4cd
chore(scripts): fix unbound variable in tag_version.sh ( #13428 )
2024-06-03 21:29:24 +00:00
Colin Adler
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
Steven Masley
973cc2b875
chore: add edit organization role to cli ( #13365 )
...
Editing custom org roles from hidden org cli command.
2024-06-03 09:34:10 -05:00
Colin Adler
b723da9e91
chore: upgrade terraform to v1.8.5 ( #13429 )
2024-06-02 13:10:28 -04:00
Mathias Fredriksson
4758952ebc
chore(scripts): fix expression interpreted as exit code on some Bash versions ( #13417 )
2024-05-30 17:24:41 +00:00
Danny Kopping
7569cccc51
chore: remove git pinning ( #13414 )
...
Alpine 3.20 includes 2.45.1 by default: https://git.alpinelinux.org/aports/tree/main/git/APKBUILD?h=3.20-stable#n56
Follow-up from https://github.com/coder/coder/pull/13411#issuecomment-2139028721
Signed-off-by: Danny Kopping <danny@coder.com >
2024-05-30 15:58:32 +02:00
Danny Kopping
59ab5053b1
fix: return error if agent init script fails to download valid binary ( #13280 )
2024-05-30 13:33:00 +02:00
Danny Kopping
a1671a633c
Upgrade to git v2.45.1 to fix alpine 3.20 builds ( #13411 )
...
Possibly fixes https://github.com/coder/coder/issues/13407
Signed-off-by: Danny Kopping <danny@coder.com >
2024-05-30 08:36:24 +00:00
Mathias Fredriksson
9eb797eb5a
chore(scripts): add safety check for difference between dry run release notes ( #13398 )
2024-05-29 22:01:10 +03:00
Mathias Fredriksson
5fb231774c
chore(scripts): add custom gh auth to release script ( #13396 )
2024-05-29 18:37:04 +00:00
Mathias Fredriksson
9ae825ebae
chore(scripts): push version bump pr branch in release script ( #13397 )
2024-05-29 18:30:42 +00:00
Mathias Fredriksson
374f0a0fd1
chore(scripts): handle renamed cherry-pick commits in release script ( #13395 )
2024-05-29 21:30:11 +03:00
Garrett Delfosse
5789ea5397
chore: move stat reporting into workspacestats package ( #13386 )
2024-05-29 11:49:08 -04:00
dependabot[bot]
5b78ec97b6
chore: bump alpine from 3.19.1 to 3.20.0 in /scripts ( #13375 )
...
Bumps alpine from 3.19.1 to 3.20.0.
---
updated-dependencies:
- dependency-name: alpine
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>
2024-05-28 12:45:16 -05:00
Colin Adler
fa9edc1f42
chore(scripts): remove gh_auth from release.sh ( #13347 )
...
It breaks the `gh` cli for creating workflows.
2024-05-22 14:28:21 -05:00
Cian Johnston
45b45f1107
ci: re-enable test migrations in release workflow ( #13307 )
2024-05-20 10:35:06 +01:00
Mathias Fredriksson
f66d0445da
chore(scripts): fix stable release promote script ( #13204 )
2024-05-17 08:25:10 +00:00
Mathias Fredriksson
0998cedb5c
chore(scripts): fix a few release script changelog issues ( #13200 )
2024-05-17 11:19:48 +03:00
Colin Adler
80538c079d
chore: update git -> 2.43.4 and terraform -> 1.7.5 ( #13299 )
...
This fixes an RCE in git and gets us one minor version closer to fixing
a critical Terraform vulnerability. In the next release we'll bump to
1.8.x.
2024-05-16 19:07:07 +00:00
Steven Masley
194be12133
chore: verify validity of built in rbac roles ( #13296 )
...
Verifies our built in roles are valid according to our policy.go. Working on custom roles requires the dynamic roles to adhere to these rules. Feels fair the built in ones do too.
2024-05-16 12:07:44 -05:00
Steven Masley
1f5788feff
chore: remove rbac psuedo resources, add custom verbs ( #13276 )
...
Removes our pseudo rbac resources like `WorkspaceApplicationConnect` in favor of additional verbs like `ssh`. This is to make more intuitive permissions for building custom roles.
The source of truth is now `policy.go`
2024-05-15 11:09:42 -05:00
Garrett Delfosse
721ab2a1b4
chore: add workspace activity linter ( #13273 )
2024-05-14 12:31:31 -04:00
dependabot[bot]
c41d0efff9
chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1 ( #13232 )
...
* chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1
2024-05-13 13:01:28 +00:00
Jon Ayers
ee817b4d80
fix: fix nix flake sed command ( #13243 )
2024-05-11 01:10:19 +03:00
Kyle Carberry
3e3118794f
chore: add build targets to nix flake ( #13186 )
...
* chore: add build targets to nix flake
Enables `nix build github:coder/coder#main`!
* Fix all packages
* Add back pnpm
* Update flake.nix
Co-authored-by: Asher <ash@coder.com >
* Remove yarn
* fmt
---------
Co-authored-by: Asher <ash@coder.com >
2024-05-06 18:21:20 -04:00
Spike Curtis
dfd27f559e
Revert "chore: fix build ci ( #13164 )" ( #13180 )
...
This reverts commit 886a97b425 .
2024-05-06 13:13:24 +00:00
Spike Curtis
deee9492e3
Revert "fix: install openrc service on alpine ( #12294 ) ( #12870 )" ( #13178 )
...
This reverts commit b20c63c185 .
2024-05-06 16:48:19 +04:00
Colin Adler
886a97b425
chore: fix build ci ( #13164 )
2024-05-06 05:01:47 +00:00
recanman
b20c63c185
fix: install openrc service on alpine ( #12294 ) ( #12870 )
...
* fix: install openrc service on alpine (#12294 )
* fmt
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-03 21:09:23 +00:00
Steven Masley
c2cb0e9fe2
chore: testIDP to be usable as primary auth ( #13132 )
...
Flags printed to console show as external or primary auth.
Usage assumes only 1 static oidc_member for now
2024-05-02 11:19:19 -05:00
Muhammad Atif Ali
3ff9cef498
chore(scripts): auto authenticate gh CLI in scripts on dogfood ( #13107 )
...
* chore: auto authenticate gh CLI in scripts
* fix shellcheck issues
2024-04-30 19:36:12 +03:00
Jon Ayers
8269124ab7
feat: sign windows binaries ( #13086 )
2024-04-29 10:43:27 -05:00
Mathias Fredriksson
d50a31ef62
chore(scripts): auto create autoversion PR from release script ( #13074 )
...
Ref #12465
2024-04-26 12:53:22 +03:00
Mathias Fredriksson
c24b562199
chore(scripts): fix release tagging sanity checks ( #13073 )
2024-04-25 12:26:37 +03:00
Mathias Fredriksson
46dced9cfe
chore(scripts): add release autoversion to bump releases in docs ( #13063 )
...
This PR adds a command to bump versions in docs/markdown.
This is still standalone and needs to be wired up.
For now, I'm planning on putting this in `scripts/release.sh` (checkout main -> autoversion (this command) -> commit -> submit PR).
It would be pretty neat to make it a GH actions that's triggered on release though, something for the future.
Part of #12465
2024-04-25 12:11:55 +03:00
Mathias Fredriksson
c933c75aa7
chore(scripts): add script to promote mainline to stable ( #13054 )
...
Fixes #12459
Example dry-run:
<img width="1229" alt="Screenshot 2024-04-23 at 21 16 55" src="https://github.com/coder/coder/assets/147409/7018d322-501b-41e2-bf47-af3fc39fb3d2 ">
Example dry-run for non-latest version:
<img width="1228" alt="Screenshot 2024-04-23 at 21 17 52" src="https://github.com/coder/coder/assets/147409/a05fcd44-560f-4e44-81b5-76c071c591b4 ">
**Note:** This PR does not yet update docs to reflect the promoted version. This will be part of #12465 .
2024-04-24 22:59:22 +03:00
Mathias Fredriksson
b82a782619
chore(scripts): implement mainline and stable release channels ( #13048 )
...
Fixes #12458
2024-04-24 19:43:11 +00:00
Pavel Aseev
4682355eed
chore: deprecate gauge metrics with _total suffix ( #12744 ) ( #12976 )
...
* chore: deprecate gauge metrics with _total suffix (#12744 )
Deprecated metrics:
- coderd_oauth2_external_requests_rate_limit_total
- coderd_api_workspace_latest_build_total
* Apply suggestions from code review
add link to follow-up issue
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
---------
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
2024-04-24 11:23:24 +03:00
Cian Johnston
e57ca3cdaa
feat(scripts): add script to check schema between migrations ( #13037 )
...
- migrations: allow passing in a custom migrate.FS
- gen/dump: extract some functions to dbtestutil
- scripts: write script to test migrations
2024-04-23 12:43:14 +01:00