Skip to content

Adding zpm "ci" command to install from a lock file#1080

Open
isc-jlechtne wants to merge 14 commits into
mainfrom
ipm-ci
Open

Adding zpm "ci" command to install from a lock file#1080
isc-jlechtne wants to merge 14 commits into
mainfrom
ipm-ci

Conversation

@isc-jlechtne

Copy link
Copy Markdown
Collaborator

No description provided.

@isc-dchui isc-dchui left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good overall! Just a few small things. Also you'll want to add a description.

Comment thread src/cls/IPM/General/LockFile.cls Outdated
Comment thread src/cls/IPM/Main.cls Outdated
Comment thread CHANGELOG.md Outdated
Comment thread src/cls/IPM/Main.cls Outdated
Comment thread src/cls/IPM/Main.cls Outdated
set verbose = $get(commandInfo("data","Verbose"))
set log = ##class(%IPM.General.HistoryTemp).CleanInstallInit(moduleName)

// TODO: Add "path"? (see Update() for more info of calling install v load)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

When is this todo being done or removed?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It is being done. This was just a reminder to myself when putting up the first commit and PR for comments that I still need to account for that case.

do ##class(%IPM.Main).Shell("repo -delete -name "_orasRepo)

// Install from Module G's lock file
do ..AssertInstallFromLockFileAsExpected(..#ModuleG)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

One thing I noticed here is that the creation of the remote and oras repositories do not include username/password values as environment variables are not set. The repositories and test do still seem to pass but does anyone know if there's a way to set them in this test or should we add them as variables to the docker-compose.yml file?

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.

2 participants