Skip to content

GHA: artifactory publish workflow: set artifactory key from secrets#2376

Merged
mhratson merged 2 commits into
migrate_to_kafka_3_0from
artifactory-secret3
May 26, 2026
Merged

GHA: artifactory publish workflow: set artifactory key from secrets#2376
mhratson merged 2 commits into
migrate_to_kafka_3_0from
artifactory-secret3

Conversation

@mhratson

@mhratson mhratson commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  1. Why: backport from main: GHA: artifactory publish workflow: set artifactory key from secrets #2375, GHA: artifactory publish workflow: set artifactory key from secrets #2374
  2. What: backport from main

Expected Behavior

  • same as main

Actual Behavior

  • different from main

mhratson added 2 commits May 26, 2026 16:27
…2374)

## Summary
1. Why: artifactory artifacts publishing is currently broken due to invalid credentials.
2. What: updates artifactory publish workflow to use secret token.

## Expected Behavior
- publish workflow works 

## Actual Behavior
- publish workflow [fails](https://github.com/linkedin/cruise-control/actions/runs/26465576063/job/77924797384)

## Known Workarounds
- n/a

## Additional evidence
```
$ TOKEN=**** curl -H "Authorization: Bearer $TOKEN" -X GET "https://linkedin.jfrog.io/artifactory/api/system/ping"
OK
```

## Categorization
- [ ] documentation
- [ ] bugfix
- [ ] new feature
- [ ] refactor
- [x] security/CVE
- [ ] other
…2375)

## Summary
1. Why: artifactory publishing is still broken, due to invalid username
2. What: username is required and must be a valid one: use 

## Expected Behavior
- artifactory publishing is working

## Actual Behavior
- artifactory publishing is [broken](https://github.com/linkedin/cruise-control/actions/runs/26468260356)

```
Execution failed for task ':artifactoryDeploy'.
> java.io.IOException: JFrog service failed. Received 401: {
    "errors" : [ {
      "status" : 401,
      "message" : "Unauthorized"
    } ]
  }
```

## Steps to Reproduce
https://github.com/linkedin/cruise-control/actions/runs/26468260356

## Known Workarounds
- n/a

## Categorization
- [ ] documentation
- [ ] bugfix
- [ ] new feature
- [ ] refactor
- [x] security/CVE
- [ ] other

This PR resolves #<Replace-Me-With-The-Issue-Number-Addressed-By-This-PR> if any.
@mhratson mhratson merged commit b99b5e3 into migrate_to_kafka_3_0 May 26, 2026
5 of 6 checks passed
@mhratson mhratson changed the title Artifactory secret3 GHA: artifactory publish workflow: set artifactory key from secrets May 26, 2026
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.

1 participant