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: up ver runner image #8702

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CONTRIBUTORS.csv
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,4 @@ yes,PsychoPunkSage,Abhinav Prakash,<[email protected]> <95116715+Psyc
yes,Nathy-bajo, Nathaniel Bajo,<[email protected]>
yes,ivor11,Ivor Dsouza,<[email protected]> <[email protected]>
yes,omahs,Omahs,<[email protected]>
yes,ilyaaay,Ilya Suhodolets,<[email protected]>
8 changes: 4 additions & 4 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defaults:
jobs:
lint_commits:
name: All - lint_commits
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

# We assume that commit 2fd0d36fe6ae0c2d527368683ec3a6352617b381 will be in the history
# of all commits based on ockam develop branch
Expand All @@ -43,7 +43,7 @@ jobs:

lint_editorconfig:
name: All - lint_editorconfig
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container: # gitlab.com/greut/eclint
image: greut/eclint:v0.3.3@sha256:95e9a3dcbd236bae6569625cd403175cbde3705303774e7baca418b6442b8d77
steps:
Expand All @@ -57,7 +57,7 @@ jobs:
# https://github.com/returntocorp/semgrep
lint_semgrep:
name: All - lint_semgrep
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: returntocorp/semgrep@sha256:2fd35fa409f209e0fea0c2d72cf1e5b801a607959a93b13d04822bb3b6a9dfe4
steps:
Expand All @@ -75,7 +75,7 @@ jobs:
# Check notice file for update
notice_update:
name: All - notice_update
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/distroless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
jobs:
build_base_image:
name: "Build Ockam Distroless Base Image"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
packages: write
environment: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ockam-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
ORGANIZATION: ${{ github.repository_owner }}
jobs:
build_artifact:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
packages: write
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ockam-healthcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defaults:
jobs:
build_ockam_healthcheck:
name: "Build And Publish Ockam Healthcheck Container"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
packages: write
environment: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-bump-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pull-requests: write

name: Bump Crates And Create PR
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
container:
# Note: Do not update this image has it has installed all binaries
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-draft-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
contents: write

name: Initiate Draft Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
outputs:
upload_url: ${{ steps.release_upload_url.outputs.upload_url }}
Expand Down Expand Up @@ -325,8 +325,8 @@ jobs:
fail-fast: false
matrix:
job:
- { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true }
- { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04 }
- { target: aarch64-unknown-linux-gnu , os: ubuntu-22.04 , use-cross: true }
- { target: x86_64-unknown-linux-gnu , os: ubuntu-22.04 }
- { target: aarch64-apple-darwin , os: macos-14 }
- { target: x86_64-apple-darwin , os: macos-14 }

Expand All @@ -348,7 +348,7 @@ jobs:
run: cargo install --version 0.2.4 cross

- shell: bash
if: matrix.job.target == 'ubuntu-20.04'
if: matrix.job.target == 'ubuntu-22.04'
run: |
set -x
use_cross_build=${{ matrix.job.use-cross }}
Expand Down Expand Up @@ -430,7 +430,7 @@ jobs:
sign_release:
name: Sign All Assets
needs: [build_release, create_release, build_elixir_nifs]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ockam-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
build-and-publish-artifact:
if: github.event.inputs.is_release == 'false'
name: "Build And Publish Ockam Container As Draft"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
permissions:
actions: read
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
make-latest:
if: github.event.inputs.is_release == 'true'
name: "Make Draft Release Latest"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
permissions:
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-publish-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defaults:

jobs:
publish_crates:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
# Note: Do not update this image has it has installed all binaries
# to bump crates and generate changelogs which we don't want installed
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/rust-ignored.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,79 +18,79 @@ on:
jobs:
lint-cargo-toml:
name: Rust - lint-cargo-toml
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - lint-cargo-toml"'

lint_cargo_fmt_check:
name: Rust - lint_cargo_fmt_check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - lint_cargo_fmt_check - Ignored"'

lint_cargo_clippy:
name: Rust - lint_cargo_clippy
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - lint_cargo_clippy - Ignored"'

lint_cargo_deny:
name: Rust - lint_cargo_deny
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - lint_cargo_deny - Ignored"'

build_docs:
name: Rust - build_docs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - build_docs - Ignored"'

build:
name: Rust - build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - build - Ignored"'

build_examples:
name: Rust - build_examples
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - build_examples - Ignored"'

test:
name: Rust - test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - test - Ignored"'

check_no_std:
name: Rust - check_no_std
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - check_no_std - Ignored"'

check_cargo_update:
name: Rust - check_cargo_update
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - check_cargo_update - Ignored"'

check_nightly:
name: Rust - check_nightly
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - check_nightly - Ignored"'

build_nightly:
name: Rust - build_nightly
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - build_nightly - Ignored"'

test_nightly:
name: Rust - test_nightly
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Rust - test_nightly - Ignored"'

Expand All @@ -101,7 +101,7 @@ jobs:
build: [linux_86]
include:
- build: linux_86
os: ubuntu-20.04
os: ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- run: 'echo "Rust - lint_cargo_lock - Ignored"'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
analyze:
name: OSSF Scorecards - analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shell-ignored.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
jobs:
lint_shellcheck:
name: Shell - lint_shellcheck
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Shell - lint_shellcheck - Ignored"'

lint_shfmt:
name: Shell - lint_shfmt
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: 'echo "Shell - lint_shfmt - Ignored"'
4 changes: 2 additions & 2 deletions .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# https://github.com/koalaman/shellcheck
lint_shellcheck:
name: Shell - lint_shellcheck
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
Expand All @@ -56,7 +56,7 @@ jobs:
# https://github.com/mvdan/sh#shfmt
lint_shfmt:
name: Shell - lint_shfmt
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
jobs:
run:
name: Spell check with Typos
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout Actions Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down