Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runservice: add step when conditions #4

Open
sgotti opened this issue May 24, 2019 · 1 comment
Open

runservice: add step when conditions #4

sgotti opened this issue May 24, 2019 · 1 comment

Comments

@sgotti
Copy link
Member

sgotti commented May 24, 2019

No description provided.

@huapox
Copy link

huapox commented Jan 4, 2020

Should already be implemented? ref #73

Cur runs/tasks already works

  • tasks
local task_gitsrc() = {
    name: 'git-src',
    runtime: {
      arch: 'amd64',
      containers: [{image: 'alpine/git'}],
    },
    steps: steps_gitsrc(),
    depends: [],
    when: {
      // branch: '#.*#',
      branch: '#master#',
      ref: '#refs/pull/\\d+/head#',
    },
  • runs
{
  runs: [
    {
      name: 'agola build/test',
      tasks: [ ..
      ],
      when: {
        branch: '#.*#',
        #ref: '#refs/pull/\\d+/head#',
      },
    },
  ],
}

huapox added a commit to devops-build/agola that referenced this issue Jan 19, 2020
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

No branches or pull requests

2 participants