Skip to content
This repository was archived by the owner on Sep 26, 2018. It is now read-only.

Conversation

@DoriftoShoes
Copy link

Circle CI

Status

pack extension, work in progress

Description

Adding a webhook for incoming CircleCI events.

Checklist (tick everything that applies)

  • Metadata: pack.yaml, icon, structure (required for new packs)
  • Version bump (required for changed packs)
  • Code linting (required, can be done after the PR checks)
  • Tests (not required but really recommended)

def add_trigger(self, trigger):
pass

def update_trigger(self, trigger):
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure what these are. You just need pass I think.

@lakshmi-kannan
Copy link
Contributor

Seems like a reasonable start.

@manasdk manasdk changed the title WIP: Adding circleci webhook sensor Adding circleci webhook sensor Apr 12, 2016
@manasdk
Copy link
Contributor

manasdk commented Apr 12, 2016

Fixed some stuff and tested things to make sure the sensor actually does what it says.

manasdk added 2 commits April 13, 2016 08:18
* master: (84 commits)
  Add tests URL in PR Template
  Re-generate README.md
  test requirements: requests-mock, mock, fixtures
  check for the interpreted parameter type for positional args.
  given type of args in action definition, it will return an [] if omitted. passed kwargs is nested in data dictionary
  set data structure as instance variable.
  tests for positional arguments
  version bump
  Re-generate README.md
  Fix lint errors
  Include some useful logs
  Migrate RabbitMQSensor to an active sensor
  cleaer docs. better examples on args handling
  better handling of args. Given the "args" tyis defined as array, st2 auto creates an array
  parameter definition should be named module
  Re-generate README.md
  Remove unrelated actions from vsphere pack
  Fix git-changes scripts.
  Try temporary work-around for travis.
  Fix syntax.
  ...
@manasdk manasdk merged commit 77c0947 into master Apr 13, 2016
@manasdk manasdk deleted the circleci_sensor branch April 13, 2016 15:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants