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

ci: move tshark build to separate workflow #1590

Merged
merged 7 commits into from
Dec 20, 2022
Merged

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Dec 19, 2022

Description of changes:

The tshark and interop runner started failing after ubuntu-latest changed to 22.04 instead of 20.04. This change pins the broken jobs to 20.04 until the interop runner docker image is updated.

Call-outs:

The latest version of wireshark has a problem with the longrtt test. This will need a separate fix applied upstream.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft force-pushed the camshaft/tshark-workflow branch 2 times, most recently from 233eb6e to 6555f44 Compare December 19, 2022 20:57
@camshaft camshaft force-pushed the camshaft/tshark-workflow branch 2 times, most recently from 512108e to fdf803a Compare December 19, 2022 23:05
@camshaft camshaft marked this pull request as ready for review December 19, 2022 23:57
Comment on lines +17 to +19
# run every morning at 10am Pacific Time
# Running this every day makes sure the static dependencies are up to date
- cron: '0 17 * * *'
Copy link
Contributor

Choose a reason for hiding this comment

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

prob lightweight but can we do this at night so that it doesnt interfere with dev operation during the day?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The idea is to run it in the morning when people are coming online so we can address any issues.

Comment on lines +10 to +11
branches:
- main
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need push to main if we have schedule and paths already? seems like this is likely to be noisy and noop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's filtered to only the relevant paths so it should only run if updated.

- name: Upload to S3
if: github.event_name == 'schedule' || github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
run: |
aws s3 sync target/tshark "s3://s2n-quic-ci-artifacts/tshark" --acl private --follow-symlinks
Copy link
Contributor

Choose a reason for hiding this comment

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

whats the difference between this url and https://dnglbrstg7yg.cloudfront.net/tshark used elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That CF distribution points to that bucket. So this is just uploading so it can be accessed later.

version:
description: 'wireshark version'
required: true
default: '3.7.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

4.0.2 or if you dont want to re-test then can you set the version in the dockerfile to 3.7.1 to match this and avoid confusion

Copy link
Contributor

Choose a reason for hiding this comment

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

also maybe dont specify version here since it defaults to 3.7.1 in the job below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This value shows up in the GitHub Actions UI. So I wanted to communicate there what current version we were on.

@camshaft camshaft merged commit a4b76d4 into main Dec 20, 2022
@camshaft camshaft deleted the camshaft/tshark-workflow branch December 20, 2022 06:16
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