Skip to content

Conversation

@petemounce
Copy link

ENG-1281 replaces trigger.sh with imp-ci steps run --from ...steps.yaml.

If, after this deletion, your pipeline fails to run, you should:

cd {repo-root}
circle ci pipeline push -n {name}

and rebuild, because (apologies) I must have missed it when I bulk-updated pipelines in BuildKite.

The pipeline definition within the buildkite pipeline settings page should resemble:

steps:
- agents:
  - environment=production
  - queue=trigger-pipelines
  command: imp-ci steps run --from .buildkite/premerge.steps.yaml
  label: premerge
  retry:
    automatic:
    - exit_status: -1
      limit: 3
  timeout_in_minutes: 10
- wait: wait-for-steps-upload

The two differences that my change makes are

  • ENG-1281: the change to the command step from .buildkite/trigger.sh {name}.steps.yaml to imp-ci steps run --from {name}.steps.yaml
  • ENG-1450: the addition of the - wait: wait-for-steps-upload after the command step (to eliminate a race condition when cancelling a pipeline).

ENG-1281 replaces trigger.sh with `imp-ci steps run --from ...steps.yaml`.

If, after this deletion, your pipeline fails to run, you should:

```bash
cd {repo-root}
circle ci pipeline push -n {name}
```

and retry, because (apologies) I must have missed it when I bulk-updated pipelines in BuildKite.

The pipeline definition _within the buildkite pipeline settings page_ should resemble:

```yaml
steps:
- agents:
  - environment=production
  - queue=trigger-pipelines
  command: imp-ci steps run --from .buildkite/premerge.steps.yaml
  label: premerge
  retry:
    automatic:
    - exit_status: -1
      limit: 3
  timeout_in_minutes: 10
- wait: wait-for-steps-upload
```

The two differences that my change makes are
* ENG-1281: the change to the command step from `.buildkite/trigger.sh {name}.steps.yaml` to `imp-ci steps run --from {name}.steps.yaml`
* ENG-1450: the addition of the `- wait: wait-for-steps-upload` _after_ the `command` step (to eliminate a race condition when cancelling a pipeline).
@petemounce petemounce requested review from achannn and lx223 March 26, 2019 15:30
@petemounce petemounce requested review from Helcaraxan and RNabel and removed request for achannn May 27, 2019 10:53
@Helcaraxan Helcaraxan merged commit 362d921 into master May 27, 2019
@Helcaraxan Helcaraxan deleted the petemounce-patch-2 branch May 27, 2019 15:31
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.

3 participants