Babak K. Shandiz
106f5fe00a
test: fix container name sanitisation
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-03-18 02:06:52 +00:00
Babak K. Shandiz
1e2c96e436
test: polish comments
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-20 11:58:44 +00:00
Babak K. Shandiz
e585db4588
test: add automatic loop clients for zypper
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-19 21:12:00 +00:00
Babak K. Shandiz
86ba1b9de6
test: add automatic loop clients for yum
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-19 10:01:46 +00:00
Babak K. Shandiz
8346738c27
test: add automatic loop clients for dnf
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-18 14:29:26 +00:00
Babak K. Shandiz
dfdaf837e7
test: add automatic loop clients
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-18 12:51:19 +00:00
Babak K. Shandiz
24d98580dc
test: disable dropping of K1 after expiry
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-16 11:24:30 +00:00
Babak K. Shandiz
39bb03ca20
test: make separate armored entries for yum
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-15 21:08:14 +00:00
Babak K. Shandiz
ed642a5749
test: add client side (dnf5)
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-13 21:06:56 +00:00
Babak K. Shandiz
54f554e43c
test: add client side (apt)
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-12 22:18:30 +00:00
Babak K. Shandiz
cb2dd0310d
test: add server side of PGP rotation test script
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-02-12 13:25:06 +00:00
Babak K. Shandiz
cd61e6ce45
chore: install go-licenses@v2 in scripts
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2026-01-07 15:48:02 +00:00
Babak K. Shandiz
045afa4fc6
ci: fix binary artficat dirs used in macos job
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:56:38 +00:00
Babak K. Shandiz
89c66542b8
ci: upgrade to GoReleaser v2 CLI syntax for --skip
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-12-15 18:55:31 +00:00
William Martin
f952311b15
Error if go-licenses is not on the PATH
2025-12-01 16:29:06 +01:00
Babak K. Shandiz
4be79a31e7
Add PGP key rotation PoC ( #12176 )
...
* chore: add initial impl of `debian-devel` script
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* temp: create archive-keyring package in progress
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* fix: add archive-keyring package to apt repo
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* fix: add `newkey` and `deprecate` steps
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* fix: remove redundant assignment
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* fix: make archive-keyring arch neutral
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* Polish Debian devel experience
These changes are focused on polishing the user experience around the new Debian development script:
1. Make important details of the process easier to see with spacing and formatting
2. Remove artifact directory prompting for default directory
3. Start within /root directory of container
4. Display message of the day instructing user on commands
5. Prompt users during docker setup when container is running
6. Update help usage with more details of targets
* Remove unnecessary docblock
Now that the help usage, docker setup, and other targets guide users to the next step, the docblock explaining how to run the script are unnecessary.
* fix: improve docs and handling of variables
Signed-off-by: Babak K. Shandiz <babakks@github.com>
---------
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-11-21 13:00:01 +00:00
Andy Feller
2fc1e548cc
Merge pull request #11048 from cli/babakks/embed-winres-at-release
...
Embed Windows resources (VERSIONINFO) during build
2025-06-24 17:29:18 -04:00
Babak K. Shandiz
9c54fb3e0d
chore: improve error message when versioninfo.json is not found
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-06-24 22:19:37 +01:00
Babak K. Shandiz
ee5ec5e058
chore: delete script/winres.json
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-06-24 11:57:30 +01:00
Babak K. Shandiz
68d9513038
chore: add versioninfo.template.json
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-06-24 11:56:10 +01:00
Babak K. Shandiz
925b0bcb03
refactor: switch to github.com/josephspurrier/goversioninfo
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-06-24 11:55:50 +01:00
Andy Feller
728e973a20
Ensure automation uses pinned go-licenses version
2025-06-23 13:22:27 -04:00
Andy Feller
11e8a8127d
Use make for license generation and checks
2025-06-20 16:53:11 -04:00
Andy Feller
4d1eb59c36
Use temp directory for license checks
2025-06-20 16:44:44 -04:00
Babak K. Shandiz
5ed59d0993
chore: fix variable name casing
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 18:23:15 +01:00
Babak K. Shandiz
d1a5441725
chore: ensure output path is a directory
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 18:19:55 +01:00
Andy Feller
bd24865076
Adopt license compliance scripts into workflows, docs
...
This commit introduces the use of `go-licenses` within CI/CD and manual processes for generating / updating the license information used by GitHub CLI including the code required by license to be redistributed.
During GitHub CLI pull requests, the `lint` workflow will notify users if this information is not updated.
2025-05-30 12:46:51 -04:00
Babak K. Shandiz
0385f9d10c
chore: add script to create Windows resources
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 15:20:38 +01:00
Kynan Ware
3e3b9adb45
Refactor build tag logic
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-27 10:11:03 -06:00
Kynan Ware
22504bfa96
feat(update): add updateable build tag for update notifications
2025-05-26 09:45:00 -06:00
Azeem Sajid
342e3cd70c
More cleanup
2025-03-14 12:17:24 +05:00
Azeem Sajid
f3e4976da3
./script/sign cleanup
2025-03-14 11:51:09 +05:00
Andy Feller
279d53af98
Remove v prefix when pkgmacos is called
...
Existing Mac OS release artifacts use the tag name / version in the file name but drop the `v` prefix. This does the same for the Mac OS installer.
2024-05-24 15:09:40 -04:00
paulober
f66367d342
Integrate argument array to remove duplicate code
...
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-05-24 19:20:39 +02:00
paulober
85f424bb08
Fix directory already exists
...
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-05-24 15:19:54 +02:00
paulober
9454d5e71c
Change minimum build script macOS version
...
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-05-22 01:47:48 +02:00
paulober
3830c3356c
Cleanup pkgmacos build script
...
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-05-22 01:43:16 +02:00
paulober
6e58a2a216
Fix indentation
...
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
2024-05-21 22:57:01 +02:00
Paul
80830d769e
Fix indentation
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-05-21 19:46:51 +02:00
Paul
f9d6b1d99b
Fix indentation
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-05-21 19:43:31 +02:00
Paul
eb23e0723e
Indentation fix
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-05-21 19:39:25 +02:00
Paul
630ab13461
Merge branch 'trunk' into feature-macos-pkg-installer
2024-05-20 17:05:23 +02:00
Frederic Pillon
55d251ac51
Fix some typos raised by codespell
...
With .codespellignore containing:
aline
commitish
messag
noes
nwo
parth
prfiles
runn
timere
ue
welp
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-01-17 15:34:49 +01:00
Andy Feller
98f7ec0b63
Ensure Windows sign script fails based on signtool
...
This is a change based on PR discussion about ensuring the sign script fails if signtool errors, passing the last exit code from the called command as the result of the script.
For more information, see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-7.4#lastexitcode
2023-12-15 11:39:38 -05:00
Andy Feller
5ecdf166fb
Update deployment workflow for final HSM solution
...
This applies the changes from the separate Windows HSM signing prototype development to the official deployment workflow including:
1. Use of Azure Code Signing client
2. Sourcing signtool.exe from runner
3. Moving from batch to PowerShell for Windows signing script
4. Using the same signing process for .exe and .msi
2023-12-14 13:15:38 -05:00
Andy Feller
441beb9de3
Fix signtool invocation
2023-12-14 11:42:34 -05:00
Andy Feller
ed573a1eb8
Fix sign script fail conditions
...
There is a bug in the sign.ps1 script as the opposite comparison operators were used.
2023-12-14 11:29:37 -05:00
Andy Feller
6a96de14bf
Fix HSM Windows signing
2023-12-14 11:02:28 -05:00
Andy Feller
3790262123
Fix issue sourcing signtool for Windows signing
...
Workflow is currently breaking because there are multiple versions of signtool
installed on runners. We face a challenge where we either hardcode this to a
specific version on the runner or always choose the latest version; this change
does the latter.
2023-12-14 09:50:29 -05:00
Andy Feller
d3d4a681f2
Add missing PowerShell file from previous commit
2023-12-13 10:21:02 -05:00