Skip to content

gha: more limits, update alpine version, and some minor improvements#48654

Merged
neersighted merged 6 commits intomoby:masterfrom
thaJeztah:gha_more_limits_and_updates
Oct 14, 2024
Merged

gha: more limits, update alpine version, and some minor improvements#48654
neersighted merged 6 commits intomoby:masterfrom
thaJeztah:gha_more_limits_and_updates

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Oct 12, 2024

gha: dco: limit to 10 minutes

Regular runs are under a minute.

gha: build (binary), build (dynbinary): limit to 20 minutes

Regular runs are under 5 minutes.

gha: dco: update ALPINE_VERSION to 3.20

Alpine 3.16 has been EOL for some time. Update to the latest version.

gha: dco: small tweaks to running the container

  • add --quiet to suppress pull progress output
  • use ./ instead of $(pwd) now that relative paths are supported
  • set the working directory on the container, so that we don't have to cd

gha: use "ubuntu-24.04" instead of "ubuntu-latest"

To be more explicit on what we're using.

gha: shorter time limits for smoke, validate

  • validate-prepare and smoke-prepare took 10 seconds; limiting to 10 minutes
  • smoke tests took less than 3 minutes; limiting to 10 minutes
  • validate: most took under a minute, but "deprecate-integration-cli" took
    14 minutes; limiting to 30 minutes

Regular runs are under a minute.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Regular runs are under 5 minutes.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Comment thread .github/workflows/.dco.yml Outdated

env:
ALPINE_VERSION: 3.16
ALPINE_VERSION: 3.20
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thank you YAML for being amazing! I really meant 3.20, not 3.2 😂

docker run --rm \
    --quiet \
    -v ./:/workspace \
    -w /workspace \
    -e VALIDATE_REPO \
    -e VALIDATE_BRANCH \
    alpine:3.2 sh -c 'apk add --no-cache -q bash git openssh-client && git config --system --add safe.directory /workspace && hack/validate/dco'
  shell: /usr/bin/bash -e {0}
  env:
    ALPINE_VERSION: 3.2
    VALIDATE_REPO: https://github.com/moby/moby.git
    VALIDATE_BRANCH: master

Alpine 3.16 has been EOL for some time. Update to the latest version.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
- add `--quiet` to suppress pull progress output
- use `./` instead of `$(pwd)` now that relative paths are supported
- set the working directory on the container, so that we don't have to `cd`

Signed-off-by: Sebastiaan van Stijn <[email protected]>
To be more explicit on what we're using.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the gha_more_limits_and_updates branch from 7171931 to 91c448b Compare October 12, 2024 16:20
@thaJeztah thaJeztah requested a review from crazy-max October 12, 2024 16:21
- validate-prepare and smoke-prepare took 10 seconds; limiting to 10 minutes
- smoke tests took less than 3 minutes; limiting to 10 minutes
- validate: most took under a minute, but "deprecate-integration-cli" took
  14 minutes; limiting to 30 minutes

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copy link
Copy Markdown
Contributor

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants