Skip to content
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

feat: add d2-app-scripts deploy command #451

Merged
merged 8 commits into from
Sep 2, 2020
Merged

Conversation

amcgee
Copy link
Member

@amcgee amcgee commented Sep 1, 2020

This adds the d2-app-script deploy command. It takes an existing application bundle (created with d2-app-scripts build) and pushes it to a running DHIS2 instance. For example:

Screen Shot 2020-09-01 at 7 05 08 PM

@amcgee amcgee marked this pull request as ready for review September 1, 2020 17:06
Copy link
Contributor

@HendrikThePendric HendrikThePendric left a comment

Choose a reason for hiding this comment

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

Looks great, I left a couple of review comments. I mostly focussed on code-style, because I haven't worked on these type cli-scripts myself, so I can't really provide feedback on the general approach. I'll leave it up to another, more knowledgeable, colleague to either approve or request changes.

cli/src/commands/deploy.js Outdated Show resolved Hide resolved
cli/src/commands/deploy.js Outdated Show resolved Hide resolved
cli/src/lib/httpClient.js Outdated Show resolved Hide resolved
@amcgee
Copy link
Member Author

amcgee commented Sep 2, 2020

@erikarenhill @HendrikThePendric thanks for the reviews, updated

@amcgee amcgee merged commit 655a053 into master Sep 2, 2020
@amcgee amcgee deleted the feat/deploy-script branch September 2, 2020 15:33
dhis2-bot added a commit that referenced this pull request Sep 2, 2020
# [5.1.0](v5.0.0...v5.1.0) (2020-09-02)

### Features

* add d2-app-scripts deploy command ([#451](#451)) ([655a053](655a053))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants