-
Notifications
You must be signed in to change notification settings - Fork 86
Remove publish
target from artman and config
#473
Conversation
Waiting for smoke tests to pass before sending out for review. |
PTAL |
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.
This is awesome!
Before you submit it though, I was thinking we should do a couple other things before we yank this out:
- Delete all of the publishing config from the existing artman config files in googleapis
- Mark publishing deprecated in g3artman and have it print a failure if someone tries to use it
I just want to make sure there isn't an unanticipated use case before actually pulling the trigger.
|
|
publish
target from artman and config
|
|
Ok, made an internal PR for removing all instances of the |
I think you mean a PR to deprecate the publish feature in g3artman? |
c553178
to
29aa955
Compare
Ok, (1) and (2) are done! |
artman/config/proto/config.proto
Outdated
@@ -266,6 +252,7 @@ message Artifact { | |||
// [dependencies.yaml](https://github.com/googleapis/googleapis/blob/master/gapic/packaging/dependencies.yaml) | |||
PackageVersion package_version = 14; | |||
|
|||
// DEPRECATED. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
artman/pipelines/code_generation.py
Outdated
@@ -23,6 +23,7 @@ | |||
from artman.pipelines import pipeline_base | |||
from artman.tasks import io_tasks | |||
from taskflow.patterns import linear_flow | |||
from artman.tasks import emit_success |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
artman/pipelines/gapic_generation.py
Outdated
from artman import tasks | ||
from artman.utils import task_utils | ||
|
||
|
||
# kwargs required by GAPIC code gen | ||
_GAPIC_REQUIRED = ['service_yaml', 'gapic_yaml', 'language', 'aspect', 'publish'] | ||
_GAPIC_REQUIRED = ['service_yaml', 'gapic_yaml', 'language', 'aspect',] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
cf15185
to
953d148
Compare
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.
LGTM
Remove (github and local) publishing artman configs, as these are not needed by ACTools or Yoshi team.
This reduces the size of the artman configs.
The old
artman.tasks.publish.noop
file is renamed asartman.tasks.emit_success
, which more accurately describes that task.In the CircleCI smoke tests, change all
publish
targets togenerate
.Eventually, we would be able to remove the
generate
target because it's the only option, and it would be frivolous to specify it if there are no other options.