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

Let CD depends on CI #109

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

YayunHuang
Copy link
Contributor

Ref: MUP-149

Copy link
Collaborator

@pkong-ds pkong-ds left a comment

Choose a reason for hiding this comment

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

group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

on: [push, pull_request]
Copy link
Collaborator

@pkong-ds pkong-ds Aug 23, 2024

Choose a reason for hiding this comment

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

trigger-pr should only need pull_request?

I suppose ci.yaml will run twice on push with this configuration, which is undesired?

  1. in trigger-cicd.yaml
  2. in trigger-pr.yaml
Suggested change
on: [push, pull_request]
on: [pull_request]

Copy link
Collaborator

Choose a reason for hiding this comment

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

discussion: filename should follow same pattern? pick one col below?

name by what it does name by what triggers it
trigger-cicd.yaml (or trigger-cd.yaml ?) trigger-push.yaml
trigger-ci.yaml trigger-pr.yaml

@YayunHuang YayunHuang force-pushed the 149-let-cd-depends-on-ci branch from eee7073 to 8510f7b Compare August 23, 2024 09:12
@YayunHuang
Copy link
Contributor Author

@pkong-ds updated, and I pick trigger-pr, trigger-push~~

@pkong-ds pkong-ds merged commit 2cfbb28 into oursky:main Aug 23, 2024
1 check passed
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