-
Notifications
You must be signed in to change notification settings - Fork 134
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
App Deploy: Add Public GitLab Repository support #3239
Conversation
✅ Hey nwmac! The commit authors and yourself have already signed the CLA. |
Codecov Report
@@ Coverage Diff @@
## v2-master #3239 +/- ##
============================================
- Coverage 71.01% 70.91% -0.1%
============================================
Files 639 642 +3
Lines 28029 28199 +170
Branches 6387 6411 +24
============================================
+ Hits 19904 19998 +94
- Misses 8125 8201 +76 |
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.
- redeploy a git project throws error on step 1.
Looks like the CheckProjectExists contains a null scm property
ERROR TypeError: Cannot read property 'getRepository' of null at SwitchMapSubscriber.project (deploy-app.effects.ts:61)
- clicking on a link to a commit should take user to
gitlab.com/<repo>/commit/<commit>
, as per github - low priority
- select github, enter
richard-cox/cf-quick-app
for project, click next - see list of commits
- click back
- select gitlab, enter
richard-cox/cf-quick-app
for project, click next - list of commits has not changed
.. - this only seems to be a problem for repos with same name. could be something like we're using the same pagination key
- select github, enter
import { inject, TestBed } from '@angular/core/testing'; | ||
import { CommonModule } from '@angular/common'; | ||
import { CoreModule } from '../../../core/core.module'; | ||
import { SharedModule } from '../../../shared/shared.module'; | ||
import { createBasicStoreModule } from '../../../test-framework/store-test-helper'; | ||
import { AppState } from '../../../store/app-state'; | ||
import { GitSCMService } from '../../../shared/data-services/scm/scm.service'; | ||
import { GithubProjectExistsDirective } from './github-project-exists.directive'; | ||
import { GITHUB_API_URL, getGitHubAPIURL } from '../../../core/github.helpers'; | ||
|
||
|
||
describe('GithubProjectExistsDirective', () => { |
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.
Looks like from here down Github
hasn't been updated to GitSCM
I've pushed a commit with some minor changes, also noticed the deployment info icon for gitlab appears well to the right, think this might be a merge issue. Will have a look on monday |
Icon issue was fixed after restarting local dev server |
No description provided.