-
Notifications
You must be signed in to change notification settings - Fork 0
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: new dependency graph #117
base: main
Are you sure you want to change the base?
Conversation
52b40ad
to
b8a78a4
Compare
002954b
to
4f5faec
Compare
@mateuszjenek, anything missing here to merge this and publish a new version? That's awesome! |
} else if (result.stderr.includes('environment is required')) { | ||
} else if ( | ||
result.stderr.includes('environment is required') || | ||
result.stderr.includes('missing env') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are these new errors coming from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLI returns unconsistent error messages and I found out that in most places it returns: environment is required
, but in some: missing env
src/repos/DeploymentRepository.ts
Outdated
const deploymentUrl = | ||
'/orgs/' + | ||
organizationId + | ||
'/apps/' + | ||
applicationId + | ||
'/envs/' + | ||
environmentId + | ||
'/deploys/' + | ||
deployId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const deploymentUrl = | |
'/orgs/' + | |
organizationId + | |
'/apps/' + | |
applicationId + | |
'/envs/' + | |
environmentId + | |
'/deploys/' + | |
deployId; | |
const deploymentUrl = `/orgs/${organizationId}/apps/${applicationId}/envs/${environmentId}/deploys/${deployId}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice suggestion, applied in all places!
4f5faec
to
ec3a27e
Compare
Replace old graph library with the new Humanitec Resource Graph component
Result: