oasisprotocol / oasisprotocol/oasis-core

Modularize Buildkite YAML files

Open
#2,972 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

c:testing
Dominant language
Go
Stars
369
Forks
151
Avg merge
1d 3h
Merged PRs (30d)
6

Description

We should stop copying parts of Buildkite YAML files but rather break them out to a separate YAML file and combine them when uploading the pipelines via cat $pipeline-common $pipeline | buildkite-agent pipeline upload?

Originally posted by @tjanez in https://github.com/oasisprotocol/oasis-core/pull/2970

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Buildkite YAML files and the pipeline upload entry points, then compare the duplicated sections. Separate shared pipeline content into its own YAML file and verify that uploads combine the common and pipeline-specific files as described. Confirm the Buildkite pipelines still parse and upload successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.