Skip to content

Commit

Permalink
chore: Minmax instance types (#2297)
Browse files Browse the repository at this point in the history
* Minmax instance types

* F

* Run tests on push
  • Loading branch information
nahsi committed Jul 2, 2024
1 parent e57bfe7 commit 0fb4291
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 23 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ on:
description: "Docker image name"
type: string
default: "docker.fluence.dev/nox"
flavour:
# not used, here for compatibility
description: "nox flavour"
type: string
default: "minimal"
nox-sha:
# not used, here for compatibility
description: "sha256 hash of nox binary"
type: string
outputs:
nox-image:
description: "nox snapshot image"
Expand All @@ -28,7 +19,7 @@ on:
jobs:
publish:
name: "Publish snapshot"
runs-on: builder
runs-on: ubuntu-latest
timeout-minutes: 60

outputs:
Expand Down Expand Up @@ -109,7 +100,7 @@ jobs:
# github allows only 10GB of cache
# so save cache only on merge to master
# to use less space and speed up CI
cache-to: ${{ github.event == 'push' && 'type=gha,mode=max' || '' }}
cache-to: ${{ github.event_name == 'push' && 'type=gha,mode=max' || '' }}

- name: Print results to check summary
if: always()
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
with:
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"


js-client:
needs:
- nox-snapshot
Expand All @@ -100,11 +99,3 @@ jobs:
uses: fluencelabs/aqua/.github/workflows/tests.yml@main
with:
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"

# registry:
# needs:
# - nox-snapshot
# uses: fluencelabs/registry/.github/workflows/tests.yml@main
# with:
# nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
# if-no-artifacts-found: warn
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

bump-version:
if: needs.release-please.outputs.pr != null
runs-on: builder
runs-on: linux-amd64-c-2xlarge
needs:
- release-please

Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
- ".github/**"
- "!.github/workflows/run-tests.yml"
- "!.github/workflows/tests.yml"
push:
branches:
- "master"
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/tests.yml"
- "!.github/workflows/run-tests.yml"

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
Expand All @@ -20,7 +28,7 @@ jobs:
test-retries: 0

lints:
runs-on: builder
runs-on: linux-amd64-c-2xlarge

env:
RUSTFLAGS: "-D warnings --cfg tokio_unstable -C link-arg=-B/usr/local/bin/mold"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
tests:
name: "cargo nextest"
runs-on: builder
runs-on: linux-amd64-c-2xlarge
timeout-minutes: 60

steps:
Expand Down

0 comments on commit 0fb4291

Please sign in to comment.