Skip to content

Commit 0fb4291

Browse files
authored
chore: Minmax instance types (#2297)
* Minmax instance types * F * Run tests on push
1 parent e57bfe7 commit 0fb4291

File tree

5 files changed

+13
-23
lines changed

5 files changed

+13
-23
lines changed

.github/workflows/container.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ on:
1111
description: "Docker image name"
1212
type: string
1313
default: "docker.fluence.dev/nox"
14-
flavour:
15-
# not used, here for compatibility
16-
description: "nox flavour"
17-
type: string
18-
default: "minimal"
19-
nox-sha:
20-
# not used, here for compatibility
21-
description: "sha256 hash of nox binary"
22-
type: string
2314
outputs:
2415
nox-image:
2516
description: "nox snapshot image"
@@ -28,7 +19,7 @@ on:
2819
jobs:
2920
publish:
3021
name: "Publish snapshot"
31-
runs-on: builder
22+
runs-on: ubuntu-latest
3223
timeout-minutes: 60
3324

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

114105
- name: Print results to check summary
115106
if: always()

.github/workflows/e2e.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ jobs:
8686
with:
8787
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
8888

89-
9089
js-client:
9190
needs:
9291
- nox-snapshot
@@ -100,11 +99,3 @@ jobs:
10099
uses: fluencelabs/aqua/.github/workflows/tests.yml@main
101100
with:
102101
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
103-
104-
# registry:
105-
# needs:
106-
# - nox-snapshot
107-
# uses: fluencelabs/registry/.github/workflows/tests.yml@main
108-
# with:
109-
# nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
110-
# if-no-artifacts-found: warn

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
bump-version:
4747
if: needs.release-please.outputs.pr != null
48-
runs-on: builder
48+
runs-on: linux-amd64-c-2xlarge
4949
needs:
5050
- release-please
5151

.github/workflows/run-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77
- ".github/**"
88
- "!.github/workflows/run-tests.yml"
99
- "!.github/workflows/tests.yml"
10+
push:
11+
branches:
12+
- "master"
13+
paths-ignore:
14+
- "**.md"
15+
- ".github/**"
16+
- "!.github/workflows/tests.yml"
17+
- "!.github/workflows/run-tests.yml"
1018

1119
concurrency:
1220
group: "${{ github.workflow }}-${{ github.ref }}"
@@ -20,7 +28,7 @@ jobs:
2028
test-retries: 0
2129

2230
lints:
23-
runs-on: builder
31+
runs-on: linux-amd64-c-2xlarge
2432

2533
env:
2634
RUSTFLAGS: "-D warnings --cfg tokio_unstable -C link-arg=-B/usr/local/bin/mold"

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
jobs:
2424
tests:
2525
name: "cargo nextest"
26-
runs-on: builder
26+
runs-on: linux-amd64-c-2xlarge
2727
timeout-minutes: 60
2828

2929
steps:

0 commit comments

Comments
 (0)