Skip to content

Commit

Permalink
Update cleanup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Mar 2, 2023
1 parent 6b72e41 commit ddc26bf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/firesim-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ jobs:
runs-on: ubuntu-latest
env:
TERM: xterm-256-color
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: conda-reqs/ci-shared.yaml
miniforge-version: latest
- uses: ./.github/actions/repo-setup-aws
- run: .github/scripts/cull-old-ci-instances.py
- if: ${{ failure() }}
Expand All @@ -46,7 +53,14 @@ jobs:
runs-on: ubuntu-latest
env:
TERM: xterm-256-color
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: conda-reqs/ci-shared.yaml
miniforge-version: latest
- uses: ./.github/actions/repo-setup-aws
- run: .github/scripts/cull-old-ci-runners.py
3 changes: 1 addition & 2 deletions .github/workflows/firesim-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ jobs:
with:
environment-file: conda-reqs/ci-shared.yaml
miniforge-version: latest
- name: Install Python CI requirements
uses: ./.github/actions/repo-setup-aws
- uses: ./.github/actions/repo-setup-aws
- name: Launch AWS instance used for the FireSim manager (instance info found here)
run: ./.github/scripts/launch-manager-instance.py
- name: Setup N Github Actions Runners on AWS instance
Expand Down

0 comments on commit ddc26bf

Please sign in to comment.