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

chore(publishing): clean up from debugging artifact registry publishing #850

Conversation

dbyron-sf
Copy link
Contributor

@dbyron-sf dbyron-sf commented Mar 4, 2022

  • there's no need to apply io.spinnaker.artifactregistry-publish in rosco-web.gradle. The
    spinnaker project plugin does that for us.

  • apt publishing is enabled by default, so no need to specify ORG_GRADLE_PROJECT_artifactRegistryPublishAptEnabled: true in release.yml

  • the logic in ArtifactRegistryPublishPlugin publishes debian packages from all projects that build them, so there's no need to invoke the publish task only on rosco-web.

- there's no need to apply io.spinnaker.artifactregistry-publish in rosco-web.gradle.  The
  spinnaker project plugin does that for us:
  https://github.com/spinnaker/spinnaker-gradle-project/blob/49d277f619d9a79c75be91c358ea38658c84de7f/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/project/SpinnakerProjectPlugin.groovy#L34.

- apt publishing is enabled by default, so no need to specify
  ORG_GRADLE_PROJECT_artifactRegistryPublishAptEnabled: true

- the logic at
  https://github.com/spinnaker/spinnaker-gradle-project/blob/49d277f619d9a79c75be91c358ea38658c84de7f/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/publishing/artifactregistry/ArtifactRegistryPublishPlugin.groovy#L50
  publishes debian packages from all projects that build them, so there's no need to
  invoke the publish task only on rosco-web.
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Mar 4, 2022
@dbyron-sf dbyron-sf merged commit d10c34c into spinnaker:master Mar 4, 2022
@dbyron-sf dbyron-sf deleted the cleanup-artifact-registry-publishing-take-1 branch March 4, 2022 17:29
@mergify mergify bot added the auto merged label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants