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

Bump CI to Ubuntu 20.04 + new checkout action #1265

Merged
merged 3 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/firesim-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/repo-setup-aws
- run: .github/scripts/cull-old-ci-instances.py

Expand All @@ -30,6 +30,6 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/repo-setup-aws
- run: .github/scripts/cull-old-ci-runners.py
8 changes: 4 additions & 4 deletions .github/workflows/firesim-publish-scala-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ env:
jobs:
change-filters:
name: filter-jobs-on-changes
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
# Queried by downstream jobs to determine if they should run.
outputs:
needs-scala-doc: ${{ steps.filter.outputs.scala-docs }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
Expand All @@ -48,7 +48,7 @@ jobs:
name: publish-scala-doc
needs: change-filters
if: needs.change-filters.outputs.needs-scala-doc == 'true'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
container:
image: firesim/firesim-ci:v1.3
options: --entrypoint /bin/bash
Expand All @@ -59,7 +59,7 @@ jobs:
sudo yum -y remove git git224 git224-core ius-release.noarch # remove any older git versions and collateral first from docker image
sudo yum -y install https://repo.ius.io/ius-release-el7.rpm # re-install for now
sudo yum -y install git236 # install working git version (must match machine-launch)
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/repo-setup
- uses: ./.github/actions/build-scala-doc
- name: "Push ScalaDoc to remote"
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/firesim-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
needs-manager: ${{ steps.filter.outputs.all_count != steps.filter.outputs.skip-manager_count }}
both-conda-reqs-lock-modified: ${{ ((steps.filter.outputs.conda-reqs == 'false') && (steps.filter.outputs.conda-lock == 'false')) || ((steps.filter.outputs.conda-reqs == 'true') && (steps.filter.outputs.conda-lock == 'true')) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
if: needs.change-filters.outputs.needs-manager == 'true'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Python CI requirements
uses: ./.github/actions/repo-setup-aws
- name: Launch AWS instance used for the FireSim manager (instance info found here)
Expand All @@ -109,7 +109,7 @@ jobs:
needs: [setup-self-hosted-manager]
runs-on: ${{ github.run_id }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install FireSim pem
run: ./.github/scripts/install-firesim-pem.py
- name: Setup FireSim repo (.pem, build-setup.sh, AWS credentials, submodules) and CI daemons
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build default workloads (FireMarshal and paper workloads)
run: .github/scripts/build-default-workloads.py

Expand All @@ -151,7 +151,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run pytests
run: .github/scripts/run-manager-pytests.py

Expand All @@ -162,7 +162,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run mypy type checker
run: .github/scripts/run-mypy-typechecker.py

Expand All @@ -173,7 +173,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run Scalafmt on FireSim Scala main sources
run: .github/scripts/run-scalafmt-check.py

Expand All @@ -184,7 +184,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check docs components that require manual re-generation (e.g. config_runtime.yaml example, help output)
run: ./.github/scripts/check-docs-generated-components.py

Expand All @@ -195,7 +195,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Runs compilation of F1 driver for the make-default tuple
run: ./.github/scripts/build-f1-driver.py

Expand All @@ -206,7 +206,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run CIGroupA Scala tests
uses: ./.github/actions/run-scala-test
with:
Expand All @@ -219,7 +219,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run CIGroupB Scala tests
uses: ./.github/actions/run-scala-test
with:
Expand All @@ -232,7 +232,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run other (CITests) Scala tests
uses: ./.github/actions/run-scala-test
with:
Expand All @@ -248,7 +248,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run linux-poweroff test w/ AWS EC2 run farm
run: .github/scripts/run-linux-poweroff.py

Expand All @@ -260,7 +260,7 @@ jobs:
env:
TERM: xterm-256-color
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run linux-poweroff test w/ externally provisioned (AWS EC2) run farm
run: .github/scripts/run-linux-poweroff-externally-provisioned.py

Expand All @@ -277,7 +277,7 @@ jobs:
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run simple linux poweroff test w/ vitis
run: .github/scripts/run-linux-poweroff-vitis.py

Expand All @@ -291,7 +291,7 @@ jobs:
env:
JVM_MEMORY: 3500M # Default JVM maximum heap limit
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/job-start
id: job-start
- name: Check that documentation builds with no warnings/errors
Expand All @@ -314,7 +314,7 @@ jobs:
steps:
# Clone the repository (shallow to save time).
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
submodules: false
Expand Down