Skip to content

Europa docs: From local dev to CI environment#1693

Merged
gerhard merged 1 commit intomainfrom
europa-docs-local-dev-to-ci-environment
Mar 8, 2022
Merged

Europa docs: From local dev to CI environment#1693
gerhard merged 1 commit intomainfrom
europa-docs-local-dev-to-ci-environment

Conversation

@gerhard
Copy link
Copy Markdown
Contributor

@gerhard gerhard commented Mar 7, 2022

The todoapp example contains a Netlify plan which uses the latest dagger additions: do & Client API #1668. We are thinking of merging the examples repository into this one to make working with this easier. This is a step in that direction.

We are not using the yarn package so that we can revert #1673 without breaking this implementation.

The GitHub Action is WIP, we will continue with that tomorrow: dagger/dagger-for-github#24

Part of #1327

@gerhard gerhard changed the title Europa docs: From local dev to CI environment [WIP] Europa docs: From local dev to CI environment Mar 7, 2022
@gerhard gerhard force-pushed the europa-docs-local-dev-to-ci-environment branch from 6f56a89 to f0a507c Compare March 7, 2022 21:28
@gerhard gerhard mentioned this pull request Mar 7, 2022
13 tasks
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 7, 2022

✔️ Deploy Preview for devel-docs-dagger-io ready!

🔨 Explore the source changes: 6f56a892add0ad92609602d01d9d021b891f7066

🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/622677247aef60000719910d

😎 Browse the preview: https://deploy-preview-1693--devel-docs-dagger-io.netlify.app

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 7, 2022

@gerhard gerhard force-pushed the europa-docs-local-dev-to-ci-environment branch 2 times, most recently from c368f01 to b258a85 Compare March 8, 2022 17:31
@gerhard gerhard force-pushed the europa-docs-local-dev-to-ci-environment branch 6 times, most recently from e108059 to 1e009ad Compare March 8, 2022 22:14
The todoapp example contains a Netlify plan which uses the latest dagger
additions: do & Client API. We are thinking of merging the examples
repository into this one to make working with this easier. This is a
step in that direction.

We are not using the yarn package so that we can revert
#1673 without breaking this
implementation.

The GitHub Action is WIP, we will continue with that tomorrow:
dagger/dagger-for-github#24

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard gerhard force-pushed the europa-docs-local-dev-to-ci-environment branch from 1e009ad to c3f2195 Compare March 8, 2022 22:20
@gerhard gerhard changed the title [WIP] Europa docs: From local dev to CI environment Europa docs: From local dev to CI environment Mar 8, 2022
@gerhard
Copy link
Copy Markdown
Contributor Author

gerhard commented Mar 8, 2022

@gerhard gerhard merged commit b707e08 into main Mar 8, 2022
@gerhard gerhard deleted the europa-docs-local-dev-to-ci-environment branch March 8, 2022 22:31
gerhard added a commit that referenced this pull request Mar 9, 2022
push:
branches:
- main
paths:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

😢

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I know, me too, but this seemed reasonable:

I kept the paths filter in the workflow so that we don't use up GitHub Actions minutes unnecessarily: https://github.com/dagger/dagger/pull/1693/files#diff-472b1b8ec4b92806685394e7aad78734b8ca06feaa04491d31adfd51e5ebba95R7-R9

Even if Netlify does the right thing, we are still a private repository and pay for GitHub Actions build minutes...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • I just realized that this is about optimizing our own CI, not the highly visible example in the getting started guide. So I'm less sad now ;)
  • How much visibility does Github Actions give us into minute spending? I would curious to measure the real cost without path filtering, and then compare it with path filtering. That would be very useful information, and might inform feature prioritization. Huge cost -> prioritize making our caching smarter. Small cost -> it can wait.

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