Skip to content

Conversation

jadenegan
Copy link

No description provided.

Copy link
Owner

@startnow65 startnow65 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3
extends: https://github.com/startnow65/concourse/blob/test/sample-pullapprove.yml

Copy link
Owner

@startnow65 startnow65 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3
extends: https://github.com/startnow65/concourse/blob/test/sample-pullapprove.yml

@pullapprove
Copy link

pullapprove bot commented Nov 22, 2018

Here is the PullApprove status from /pullapprove-test
{
  "config": {},
  "pull_request": {
    "number": 4
  },
  "repo": {
    "owner_name": "startnow65",
    "full_name": "startnow65/concourse"
  },
  "users_unavailable": [],
  "status": {
    "state": "error",
    "explanation": "Template is not valid yaml",
    "groups": {}
  },
  "meta": {
    "id": "3ccaf14e-9fbf-4c03-968d-fb7a902c5077",
    "fingerprint": "b88e0fd2c1d3262d16d2e6d811ca700d",
    "timestamp": "2018-11-22T14:32:11.012185"
  }
}

Copy link
Owner

@startnow65 startnow65 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3
extends: https://github.com/startnow65/concourse/blob/test/sample-pullapprove.yml

@pullapprove
Copy link

pullapprove bot commented Nov 22, 2018

Here is the PullApprove status from /pullapprove-test
{
  "config": {},
  "pull_request": {
    "number": 4
  },
  "repo": {
    "owner_name": "startnow65",
    "full_name": "startnow65/concourse"
  },
  "users_unavailable": [],
  "status": {
    "state": "error",
    "explanation": "Template is not valid yaml",
    "groups": {}
  },
  "meta": {
    "id": "d6124436-c6c4-4773-8d83-ddbbae8c6ba8",
    "fingerprint": "b88e0fd2c1d3262d16d2e6d811ca700d",
    "timestamp": "2018-11-22T14:54:20.516702"
  }
}

Copy link
Owner

@startnow65 startnow65 left a comment

Choose a reason for hiding this comment

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

/pullapprove-test

version: 3
extends: https://raw.githubusercontent.com/startnow65/concourse/test/sample-pullapprove.yml

@pullapprove
Copy link

pullapprove bot commented Nov 22, 2018

Here is the PullApprove status from /pullapprove-test
{
  "config": {
    "config_text": "version: 3\napprove_by_comment: true\napprove_regex: ^(Approved|\\+1|:\\+1:|:shipit:)\nauthor_approval: ignored\nreject_regex: ^(Rejected|\\-1|:\\-1:)\nreject_value: -1\nreset_on_push: true\nreviewers:\n- name: devs\n  required: 1\n  teams:\n  - devs\n- conditions:\n    branches:\n    - master\n    files:\n    - '*.php'\n    - '*.js'\n    - '*.swift'\n    - '*.java'\n    - '*.py'\n    - '*.go'\n    - '*.yml'\n  name: pm\n  required: 1\n  teams:\n  - pm\n- conditions:\n    branches:\n    - master\n    files:\n    - '*.php'\n    - '*.js'\n    - '*.swift'\n    - '*.java'\n    - '*.py'\n    - '*.go'\n    - '*.yml'\n    labels:\n      exclude:\n      - dev_qa\n  name: qa\n  required: 1\n  teams:\n  - qa\n- conditions:\n    branches:\n    - master\n    files:\n    - '*.php'\n    - '*.js'\n    - '*.swift'\n    - '*.java'\n    - '*.py'\n    - '*.go'\n    - '*.yml'\n    labels:\n      include:\n      - dev_qa\n  name: dev_qa\n  required: 2\n  teams:\n  - devs\n- conditions:\n    branches:\n    - master\n    files:\n    - .pullapprove.yml\n  members:\n  - startnow65\n  name: access\n  required: 1\nextends: https://raw.githubusercontent.com/startnow65/concourse/test/sample-pullapprove.yml\n",
    "config": {
      "version": {
        "value": 3
      },
      "extends": {
        "value": "https://raw.githubusercontent.com/startnow65/concourse/test/sample-pullapprove.yml"
      },
      "pullapprove_conditions": {
        "items": []
      },
      "groups": {},
      "notifications": {
        "items": []
      },
      "errors": [
        {
          "title": "Required field is missing",
          "description": "groups is a required field",
          "start_line": 0,
          "start_column": 0,
          "end_line": 73,
          "end_column": 0
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 1,
          "start_column": 0,
          "end_line": 1,
          "end_column": 18
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 2,
          "start_column": 0,
          "end_line": 2,
          "end_column": 13
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 3,
          "start_column": 0,
          "end_line": 3,
          "end_column": 15
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 4,
          "start_column": 0,
          "end_line": 4,
          "end_column": 12
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 5,
          "start_column": 0,
          "end_line": 5,
          "end_column": 12
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 6,
          "start_column": 0,
          "end_line": 6,
          "end_column": 13
        },
        {
          "title": "Invalid key",
          "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
          "start_line": 7,
          "start_column": 0,
          "end_line": 7,
          "end_column": 9
        }
      ]
    },
    "errors": [
      {
        "title": "Required field is missing",
        "description": "groups is a required field",
        "start_line": 0,
        "start_column": 0,
        "end_line": 73,
        "end_column": 0
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 1,
        "start_column": 0,
        "end_line": 1,
        "end_column": 18
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 2,
        "start_column": 0,
        "end_line": 2,
        "end_column": 13
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 3,
        "start_column": 0,
        "end_line": 3,
        "end_column": 15
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 4,
        "start_column": 0,
        "end_line": 4,
        "end_column": 12
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 5,
        "start_column": 0,
        "end_line": 5,
        "end_column": 12
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 6,
        "start_column": 0,
        "end_line": 6,
        "end_column": 13
      },
      {
        "title": "Invalid key",
        "description": "Available fields are: extends, groups, notifications, pullapprove_conditions, version",
        "start_line": 7,
        "start_column": 0,
        "end_line": 7,
        "end_column": 9
      }
    ]
  },
  "pull_request": {
    "number": 4
  },
  "repo": {
    "owner_name": "startnow65",
    "full_name": "startnow65/concourse"
  },
  "users_unavailable": [],
  "status": {
    "state": "error",
    "explanation": "Config is invalid",
    "groups": {}
  },
  "meta": {
    "id": "ff00ea65-bfe6-4798-ba5b-abf9174a5b1b",
    "fingerprint": "3d95401c80b45490d760674ec0aa48ed",
    "timestamp": "2018-11-22T14:56:07.919202"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants