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:Poll Images from ECR Container Repository Plugin #3971

Merged
merged 58 commits into from
Sep 29, 2023

Conversation

Shivam-nagar23
Copy link
Member

@Shivam-nagar23 Shivam-nagar23 commented Sep 26, 2023

Description

Fixes #3978

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@@ -803,7 +806,9 @@ func (impl CiCdPipelineOrchestratorImpl) CreateCiConf(createRequest *bean.CiConf

} else {
//save pipeline in db end
err = impl.AddPipelineMaterialInGitSensor(pipelineMaterials)
if len(pipelineMaterials) != 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

put more detailed comments

return artifacts, nil
}

func (impl CiArtifactRepositoryImpl) GetLatestArtifactTimeByCiPipelineId(ciPipelineId int) (*CiArtifact, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

put comments

if err != nil {
return
}
//artifacts, err := impl.ciArtifactRepository.GetLatestArtifactTimeByCiPipelineIds(ciPipelineIds)
Copy link
Contributor

Choose a reason for hiding this comment

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

remove unwanted comments

@Shivam-nagar23 Shivam-nagar23 changed the title feat: Plugin polling support feat:Poll Images from Container Repository Sep 28, 2023
kartik-579 and others added 4 commits September 29, 2023 15:01
* added CODEOWNERS file

* updated CODEOWNERS file

* Update CODEOWNERS

* Update CODEOWNERS

---------

Co-authored-by: Shubham9t9 <shubhamkumar47022@gmai.com>
Co-authored-by: Prakarsh <71125043+prakarsh-dt@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Shivam-nagar23 Shivam-nagar23 changed the title feat:Poll Images from Container Repository feat:Poll Images from ECR Container Repository Sep 29, 2023
@Shivam-nagar23 Shivam-nagar23 changed the title feat:Poll Images from ECR Container Repository feat:Poll Images from ECR Container Repository Plugin Sep 29, 2023
@Shivam-nagar23 Shivam-nagar23 merged commit 494ffc4 into main Sep 29, 2023
8 checks passed
@Shivam-nagar23 Shivam-nagar23 deleted the plugin-poll-support branch September 29, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Polling Images from ECR Plugin
6 participants