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

more features for build-docker-image #791

Merged
merged 3 commits into from
Jun 14, 2022
Merged

Conversation

Emilgardis
Copy link
Member

@Emilgardis Emilgardis commented Jun 14, 2022

you can now specify

  • tag --tag
  • repository --repository
  • disable caching --no-cache
  • do a dry run --dry-run
  • disable fastfail --no-fastfail
  • run every target that exists in current CI --from-ci

this also makes it so that if running build-docker-image on github actions with multiple targets,
a summary will be shown signaling success or failure for the target(s)

@Emilgardis Emilgardis requested a review from a team as a code owner June 14, 2022 13:09
@Emilgardis
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 14, 2022
xtask/Cargo.toml Outdated Show resolved Hide resolved
@Emilgardis Emilgardis force-pushed the more-build-opts branch 2 times, most recently from ac498d6 to c01a083 Compare June 14, 2022 13:29
@Emilgardis
Copy link
Member Author

bors try-

bors try

bors bot added a commit that referenced this pull request Jun 14, 2022
@bors
Copy link
Contributor

bors bot commented Jun 14, 2022

try

Build failed:

@Emilgardis
Copy link
Member Author

Emilgardis commented Jun 14, 2022

oh yeah, since we run this ci on a different branch, the annotations won't show up here :/

might have to use gh api for that

@Emilgardis
Copy link
Member Author

maybe add a run for if a specific dockerfile is changed that is run on the pr branch

you can now specify

* tag `--tag`
* repository `--repository`
* disable caching `--no-cache`
* do a dry run `--dry-run`
* disable fastfail `--no-fastfail`
* run every target that exists in current CI `--from-ci`

this also makes it so that if running `build-docker-image` on github actions,
a summary will be shown signaling success or failure for the target(s)
also edits changelog entry
@Alexhuszagh
Copy link
Contributor

I'm fine with it as-is, or if you remove the warning mentioned above. Feel free to r=me once you're ready.

@Emilgardis
Copy link
Member Author

I'm fine with it as-is, or if you remove the warning mentioned above. Feel free to r=me once you're ready.

I've made it so it's only shown in multi target builds, which we have none of right now.

@Alexhuszagh
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 14, 2022

Build succeeded:

@bors bors bot merged commit d17aff7 into cross-rs:main Jun 14, 2022
@Emilgardis Emilgardis deleted the more-build-opts branch June 14, 2022 16:59
@Emilgardis Emilgardis added this to the v0.2.2 milestone Jun 15, 2022
@Alexhuszagh Alexhuszagh added meta issues/PRs related to the maintenance of the crate. no-ci-targets PRs that do not affect any cross-compilation targets. labels Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta issues/PRs related to the maintenance of the crate. no-ci-targets PRs that do not affect any cross-compilation targets.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants