You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ni...@apache.org on 2022/09/09 20:03:11 UTC
[pulsar] branch master updated: [improve][ci] Replace latest os images with fixes ones (ubuntu and macos) (#17564)
This is an automated email from the ASF dual-hosted git repository.
nicoloboschi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new be023a757ea [improve][ci] Replace latest os images with fixes ones (ubuntu and macos) (#17564)
be023a757ea is described below
commit be023a757ea767a642ea8a8d6ff84e54aafe1b14
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Fri Sep 9 22:03:02 2022 +0200
[improve][ci] Replace latest os images with fixes ones (ubuntu and macos) (#17564)
---
.github/workflows/ci-cpp-build.yaml | 6 +++---
.github/workflows/ci-cpp.yaml | 2 +-
.github/workflows/ci-documentbot.yml | 2 +-
.github/workflows/ci-go-functions.yaml | 2 +-
.github/workflows/ci-maven-cache-update.yaml | 6 +++---
.github/workflows/ci-owasp-dep-check.yaml | 2 +-
.github/workflows/ci-owasp-dependency-check.yaml | 2 +-
.github/workflows/ci-pulsarbot.yaml | 2 +-
.github/workflows/ci-stale-issue-pr.yaml | 2 +-
.github/workflows/pulsar-ci.yaml | 2 +-
10 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/ci-cpp-build.yaml b/.github/workflows/ci-cpp-build.yaml
index 5e85b032d81..acd827660d9 100644
--- a/.github/workflows/ci-cpp-build.yaml
+++ b/.github/workflows/ci-cpp-build.yaml
@@ -63,7 +63,7 @@ jobs:
cpp-build-centos7:
needs: changed_files_job
name:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
timeout-minutes: 120
@@ -190,7 +190,7 @@ jobs:
cpp-deb-rpm-packaging:
needs: changed_files_job
name:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 120
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
@@ -239,7 +239,7 @@ jobs:
build-python-wheel:
needs: changed_files_job
name:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 120
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml
index 3c59f11c5d1..21ce05a2cb5 100644
--- a/.github/workflows/ci-cpp.yaml
+++ b/.github/workflows/ci-cpp.yaml
@@ -37,7 +37,7 @@ jobs:
cpp-tests:
name:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 120
steps:
diff --git a/.github/workflows/ci-documentbot.yml b/.github/workflows/ci-documentbot.yml
index fcc23bfded3..b8e816568a9 100644
--- a/.github/workflows/ci-documentbot.yml
+++ b/.github/workflows/ci-documentbot.yml
@@ -36,7 +36,7 @@ jobs:
if: ${{ github.repository == 'apache/pulsar' }}
permissions:
pull-requests: write
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- name: Labeling
uses: apache/pulsar-test-infra/docbot@master
diff --git a/.github/workflows/ci-go-functions.yaml b/.github/workflows/ci-go-functions.yaml
index 8fa6b0a2b3b..1b188cddb73 100644
--- a/.github/workflows/ci-go-functions.yaml
+++ b/.github/workflows/ci-go-functions.yaml
@@ -67,7 +67,7 @@ jobs:
needs: changed_files_job
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' && needs.changed_files_job.outputs.cpp_only != 'true' }}
name: Go ${{ matrix.go-version }} Functions style check
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
strategy:
matrix:
go-version: [1.15, 1.16, 1.17]
diff --git a/.github/workflows/ci-maven-cache-update.yaml b/.github/workflows/ci-maven-cache-update.yaml
index d78f77707fd..b432541bce1 100644
--- a/.github/workflows/ci-maven-cache-update.yaml
+++ b/.github/workflows/ci-maven-cache-update.yaml
@@ -55,16 +55,16 @@ jobs:
matrix:
include:
- name: all modules
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
cache_name: 'm2-dependencies-all'
mvn_arguments: ''
- name: all modules - macos
- runs-on: macos-latest
+ runs-on: macos-11
cache_name: 'm2-dependencies-all'
- name: core-modules
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
cache_name: 'm2-dependencies-core-modules'
mvn_arguments: '-Pcore-modules,-main'
diff --git a/.github/workflows/ci-owasp-dep-check.yaml b/.github/workflows/ci-owasp-dep-check.yaml
index 3ae868507f5..27f820fb20a 100644
--- a/.github/workflows/ci-owasp-dep-check.yaml
+++ b/.github/workflows/ci-owasp-dep-check.yaml
@@ -37,7 +37,7 @@ jobs:
owasp-dep-check:
name:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 120
steps:
diff --git a/.github/workflows/ci-owasp-dependency-check.yaml b/.github/workflows/ci-owasp-dependency-check.yaml
index 1594c4d9938..35c8e6ebebd 100644
--- a/.github/workflows/ci-owasp-dependency-check.yaml
+++ b/.github/workflows/ci-owasp-dependency-check.yaml
@@ -29,7 +29,7 @@ jobs:
run-owasp-dependency-check:
if: ${{ github.repository == 'apache/pulsar' }}
name: Run OWASP Dependency Check
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 45
strategy:
fail-fast: false
diff --git a/.github/workflows/ci-pulsarbot.yaml b/.github/workflows/ci-pulsarbot.yaml
index d6be27027cb..157d668e6cd 100644
--- a/.github/workflows/ci-pulsarbot.yaml
+++ b/.github/workflows/ci-pulsarbot.yaml
@@ -24,7 +24,7 @@ on:
jobs:
pulsarbot:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
timeout-minutes: 10
if: github.event_name == 'issue_comment' && contains(github.event.comment.body, '/pulsarbot')
steps:
diff --git a/.github/workflows/ci-stale-issue-pr.yaml b/.github/workflows/ci-stale-issue-pr.yaml
index cf1d30a4730..48ed5246001 100644
--- a/.github/workflows/ci-stale-issue-pr.yaml
+++ b/.github/workflows/ci-stale-issue-pr.yaml
@@ -5,7 +5,7 @@ on:
jobs:
stale:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
- uses: actions/stale@v4
with:
diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml
index 47db4afeb57..bb0d016a504 100644
--- a/.github/workflows/pulsar-ci.yaml
+++ b/.github/workflows/pulsar-ci.yaml
@@ -128,7 +128,7 @@ jobs:
macos-build:
name:
- runs-on: macos-latest
+ runs-on: macos-11
timeout-minutes: 120
needs: [ 'changed_files_job', 'build-and-license-check' ]
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}