Skip to content

Conversation

@skyamgarp
Copy link
Contributor

No description provided.

@skyamgarp skyamgarp marked this pull request as ready for review July 22, 2025 09:04
@skyamgarp skyamgarp requested review from a team and bastelfreak as code owners July 22, 2025 09:04
@skyamgarp skyamgarp force-pushed the PA-7608-update branch 2 times, most recently from 33b6893 to 92a54cc Compare July 22, 2025 10:06
@joshcooper
Copy link
Contributor

@skyamgarp one git process thing, in cases where you want to revert something and take a different path, it's better to git revert c3bc4959a1a3246d198c622f2bbb2e6aaf619087 and then add your new changes in a different commit. That way it's clear the old behavior was reverted. If you combine the revert with new code, it's not always clear if everything was reverted or just partially.

Could you add puppetcore8-nightly support to the windows task too? See

if (($collection -like '*nightly*') -And -Not ($PSBoundParameters.ContainsKey('windows_source'))) {
$windows_source = 'https://nightlies.puppet.com/downloads'
} elseif (($collection -like '*puppetcore*') -And -Not ($PSBoundParameters.ContainsKey('windows_source'))) {
$windows_source = 'https://artifacts-puppetcore.puppet.com/v1/download'
}
if ($absolute_source) {
$msi_source = "$absolute_source"
} elseif ($collection -like '*puppetcore*') {

Also could you add puppetcore8-nightly to the task metadata for the bash and powershell tasks

"type": "Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly, puppetcore7, puppetcore8]]"

"type": "Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly]]"

It looks like I forgot to add puppetcore7 and puppetcore8 to the latter. Could you add those too?

@skyamgarp skyamgarp force-pushed the PA-7608-update branch 3 times, most recently from b4a1201 to 34bbfb3 Compare July 25, 2025 09:22
Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, could you make sure to test these different combinations (if you haven't already)?

(PA-7608) Updated source for windows

(PA-7608) Update nightlies collection for windows

(PA-7608) Updating collection Enum
@skyamgarp
Copy link
Contributor Author

LGTM, could you make sure to test these different combinations (if you haven't already)?

Screenshot 2025-07-28 at 10 15 38 PM Screenshot 2025-07-28 at 10 17 15 PM

I have tested both nightlies options. It works. But was not able to test puppetcore8 as requires password and doesn't accept the password param as collection.

Copy link
Contributor

@gavindidrichsen gavindidrichsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gavindidrichsen gavindidrichsen merged commit 3135977 into main Jul 29, 2025
17 of 20 checks passed
@gavindidrichsen gavindidrichsen deleted the PA-7608-update branch July 29, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants