RTECO-945: Wire jf apk commands and e2e tests#3561
Open
naveenku-jfrog wants to merge 1 commit into
Open
Conversation
naveenku-jfrog
had a problem deploying
to
build-gate
June 19, 2026 20:34 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 19, 2026 20:37
7af2722 to
ac81485
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 19, 2026 20:38 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 06:56 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 07:16 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 21, 2026 13:54
18c3b05 to
89e6093
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 13:54 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 21, 2026 14:07
89e6093 to
7177b09
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 14:08 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 21, 2026 18:02
7177b09 to
bcfba32
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 18:02 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 20:57 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 21, 2026 21:32
ee511cf to
dcc6d06
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 21:32 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
June 21, 2026 21:36 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
June 23, 2026 06:14
7f9c899 to
213f8f6
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
June 23, 2026 06:14 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
July 7, 2026 05:19
0214c4f to
98397ae
Compare
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
naveenku-jfrog
had a problem deploying
to
build-gate
July 13, 2026 04:08 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 13, 2026 04:09 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 05:01 — with
GitHub Actions
Error
naveenku-jfrog
temporarily deployed
to
build-gate
July 14, 2026 05:02 — with
GitHub Actions
Inactive
naveenku-jfrog
temporarily deployed
to
build-gate
July 14, 2026 05:07 — with
GitHub Actions
Inactive
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 05:27 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 05:55 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 06:01 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 06:09 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 06:33 — with
GitHub Actions
Error
naveenku-jfrog
temporarily deployed
to
build-gate
July 14, 2026 06:59 — with
GitHub Actions
Inactive
naveenku-jfrog
temporarily deployed
to
build-gate
July 14, 2026 08:26 — with
GitHub Actions
Inactive
naveenku-jfrog
had a problem deploying
to
build-gate
July 14, 2026 08:35 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
July 14, 2026 09:19
1a9f22a to
0277d99
Compare
naveenku-jfrog
temporarily deployed
to
build-gate
July 14, 2026 09:19 — with
GitHub Actions
Inactive
naveenku-jfrog
had a problem deploying
to
build-gate
July 17, 2026 17:36 — with
GitHub Actions
Error
4 tasks
naveenku-jfrog
had a problem deploying
to
build-gate
July 17, 2026 17:50 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 17, 2026 18:07 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 17, 2026 18:10 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 17, 2026 18:13 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
July 17, 2026 19:05
b994bb9 to
c488334
Compare
naveenku-jfrog
temporarily deployed
to
build-gate
July 17, 2026 19:06 — with
GitHub Actions
Inactive
naveenku-jfrog
had a problem deploying
to
build-gate
July 19, 2026 15:20 — with
GitHub Actions
Error
naveenku-jfrog
had a problem deploying
to
build-gate
July 19, 2026 15:24 — with
GitHub Actions
Error
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
July 19, 2026 15:27
8c534d2 to
a0db8ca
Compare
naveenku-jfrog
had a problem deploying
to
build-gate
July 19, 2026 15:27 — with
GitHub Actions
Error
- buildtools/cli.go: register jf apk command dispatcher (ApkCmd) - commandsflags.go: add Alpine APK flag definitions - apk_test.go: e2e tests for jf apk add/upgrade/upload/update/info/search - apkTests.yml: CI workflow running APK tests on Alpine linux/amd64 - packagealias.go: register apk package type alias - go.mod: bump jfrog-cli-artifactory to 944101b (Alpine APK support) Co-authored-by: Cursor <cursoragent@cursor.com>
naveenku-jfrog
force-pushed
the
RTECO-alpine
branch
from
July 19, 2026 15:29
a0db8ca to
db5e2a4
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Wires the Alpine APK integration into the JFrog CLI frontend: registers
jf apksubcommands, adds CLI flags, package aliasing (Ghost Frog), and a comprehensive e2e test suite. This is the user-facing entry point for the full Alpine APK feature.Depends on:
What Changed
buildtools/cli.goApkCmd()— dispatchesjf apk config,jf apk upload, and all nativeapksubcommands (add,upgrade, etc.)--repo,--server-id,--alpine-version,--user,--password,--build-name,--build-number,--module,--project) before forwarding remaining args to nativeapk--server-id: if--server-idis explicitly provided but not found in the config, the command errors immediately — consistent withjf npm,jf pip,jf mvn, etc.--server-idis omitted (allowsjf apk addto work without Artifactory for basic usage)utils/cliutils/commandsflags.goApkflag group:--repo,--server-id,--alpine-version,--user,--password,--build-name,--build-number,--module,--projectdocs/buildtools/apkcommand/help.goGetDescription(),GetAIDescription(),Usage,GetArguments()forjf apkhelp text and AI help coveragepackagealias/packagealias.goapkas a Ghost Frog package alias sojf apk add curlworks identically tojfrog apk add curl— consistent withnpm,pip,mvn, etc.apk_test.goFull end-to-end test suite (35 test cases) covering:
NoBuildFlags,WithBuildFlags,BuildNameFromEnvVarsDepIDFormat,DepChecksums,DepRequestedBy,TransitiveDepsScopeProduction,ScopeTransitiveMissingRepo,InvalidRepo,UnknownServerID,ArtifactoryUnreachable,VirtualRepoAggregatesUpload,UploadWithBuildInfo,CIVCSPropertiesStampedConfig,ConfigMissingServerIDEnvVarsFiltered,EnvVarsIncludedMultiPackageInstall,MultiPackageBuildInfoIdempotentAddApkBinaryMissing.github/workflows/apkTests.ymlCI workflow that runs all
TestApk*tests against a matrix of Alpine versions (v3.18,v3.19,v3.20,v3.21):ubuntu-24.04(where Go 1.26 is available)alpine:<version>Docker container to get a realapkbinaryinstall-local-artifactoryworkflow_callandworkflow_dispatchscripts/test-apk-local.shHelper script for running Alpine APK e2e tests locally on macOS via Docker (mounts the repo and
~/.jfrogconfig into agolang:alpinecontainer).Design Notes
--repois optional: Consistent withjf npm installandjf pip install, omitting--repodoes not block build-info collection. Checksums are always available from the APK database (C:field). AQL enrichment (for SHA-256/MD5) is skipped when no repo is specified.Test infrastructure: Tests require the
apkbinary (Alpine Linux). The workflow compiles a static Linux binary on the host and runs it inside Alpine Docker containers, avoiding Go version constraints in Alpine package repos.AI help coverage:
jf apkis wired throughcorecommon.ResolveDescriptionto satisfy theTestAIHelpCoverageGeneratedcheck.