-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add offline support for starter projects #118
Add offline support for starter projects #118
Conversation
226b751
to
f1a2a7a
Compare
Will need to be rebased for incoming changes in PR #119 |
Signed-off-by: Michael Valdron <[email protected]>
- Removed duplicate import of indexSchema and fixed line effecting it - Error pulling from OCI Registry now returns error 500 and gets reported Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
- makeVersionMap function created - versionMap creation source in fetchDevfile replaced by makeVersionMap invoke - fetchDevfile invoke under download starter projects endpoint now returns devfile index schema - version injection in offline stack path fixed Signed-off-by: Michael Valdron <[email protected]>
… devfiles. Signed-off-by: Michael Valdron <[email protected]>
… added. Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
…ead of a constant. Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
f1a2a7a
to
1dbcfbe
Compare
rebased on PR #119 changes |
…(branches) and with a subdir defined. Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
…roject is invalid added. Signed-off-by: Michael Valdron <[email protected]>
266c6eb
to
4cb7c9b
Compare
…akeVersionMap function. Signed-off-by: Michael Valdron <[email protected]>
4cb7c9b
to
33639be
Compare
Signed-off-by: Michael Valdron <[email protected]>
9962eed
to
3439b2f
Compare
Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnmcollier, michael-valdron The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Michael Valdron [email protected]
Please specify the area for this PR
registry server
What does does this PR do / why we need it:
Provides the use of offline starter projects using the
download-starter-projects
endpoint. There are also fixes to unrelated warnings in theendpoint.go
source file.Changes
download-starter-projects
endpointdownload-starter-projects
endpoint that tests offline downloadingbuild-tools/dl_starter_projects.sh
script for downloading starter project for offline testing during CI buildgo-starter-offline
starter project added to go stack as an offline copy ofgo-starter
MakeVersionMap
util function inutil.go
with testing underutil_test.go
indexSchema
importspullStackFromRegistry
procedureWhich issue(s) this PR fixes:
Fixes #?
fixes devfile/api#851
PR acceptance criteria:
Documentation (WIP)
How to test changes / Special notes to the reviewer: