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

Fix obsolete github actions #2599

Merged
merged 2 commits into from
Dec 2, 2022
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/ansible_deployment_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
SYS_PACKAGE: [ "deb", "rpm" ]
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Test ansible deployment
env:
Expand All @@ -40,18 +40,18 @@ jobs:
run: .github/scripts/run-deployment-tests.sh

- name: Uploading test result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.SYS_PACKAGE }}-ansible-deployment-test-result
path: ~/${{ env.RESULT_PATH }}

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand All @@ -68,7 +68,7 @@ jobs:
run: .github/scripts/run-pytest.sh

- name: Uploading pytest result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.SYS_PACKAGE }}-ansible-pytest-result
path: |
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build image and bundle
env:
Expand All @@ -40,13 +40,13 @@ jobs:
mv signalfx-agent-latest.tar.gz ./dist/
- name: Uploading image artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: image
path: ./dist/image.tar

- name: Uploading bundle artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: bundle
path: ./dist/signalfx-agent-latest.tar.gz
Expand All @@ -61,7 +61,7 @@ jobs:
run: apk add --no-cache curl make git bash coreutils

- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -98,21 +98,21 @@ jobs:
timeout-minutes: 60
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Downloading bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bundle
path: ./dist

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand All @@ -130,7 +130,7 @@ jobs:
run: .github/scripts/run-pytest.sh

- name: Uploading pytest result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: bundle-package-pytest-result
path: |
Expand All @@ -146,10 +146,10 @@ jobs:
options: --user root
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Downloading bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bundle
path: ./dist
Expand All @@ -167,7 +167,7 @@ jobs:
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
/usr/share/dependency-check/data
Expand All @@ -187,7 +187,7 @@ jobs:
(echo -e "\nOne or more critical vulnerabilities were found in the agent bundle.\nCheck the report artifact, fix the issues, run 'make bundle && make dependency-check', and commit the changes when the issues are resolved." && exit 1)
- name: Uploading test result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dependency-check-result
path: reports
Expand All @@ -205,12 +205,12 @@ jobs:
apt-get install -y git
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Downloading bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bundle
path: ./dist
Expand All @@ -220,7 +220,7 @@ jobs:
AGENT_VERSION=$(./scripts/current-version) AGENT_BUNDLE=$(pwd)/dist/signalfx-agent-latest.tar.gz deployments/cloudfoundry/tile/make-latest-tile
- name: Uploading PCF tile build result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pcf-tile-build-result
path: deployments/cloudfoundry/tile/product/signalfx-monitoring-*.pivotal
Expand All @@ -237,21 +237,21 @@ jobs:
fail-fast: false
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Downloading bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bundle
path: ./

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
run: .github/scripts/run-pytest.sh

- name: Uploading pytest result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: integration-test-result-${{ matrix.group }}
path: |
Expand All @@ -330,7 +330,7 @@ jobs:
fail-fast: false
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: dorny/paths-filter@v2
id: filter
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Downloading image
if: ${{ env.SKIP != 'true' }}
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: image
path: ./dist
Expand All @@ -395,7 +395,7 @@ jobs:
- name: Caching cni
id: cache-cni
if: ${{ env.WITH_CRIO == '1' && env.SKIP != 'true' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/cni.tgz
key: v2-cni-binaries-${{ env.CNI_VERSION }}
Expand All @@ -413,7 +413,7 @@ jobs:
- name: Caching cni plugins
id: cache-cni-plugins
if: ${{ env.WITH_CRIO == '1' && env.SKIP != 'true' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/cni-plugins.tgz
key: v2-cni-plugins-${{ env.CNI_PLUGINS_VERSION }}
Expand All @@ -435,7 +435,7 @@ jobs:
- name: Caching crictl
if: ${{ env.SKIP != 'true' }}
id: cache-crictl
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/crictl.tar.gz
key: v2-crictl-binary-${{ env.CRICTL_VERSION }}
Expand All @@ -452,7 +452,7 @@ jobs:
- name: Caching kubectl
if: ${{ env.SKIP != 'true' }}
id: cache-kubectl
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/kubectl
key: v5-kubectl-binary-${{ env.K8S_VERSION }}
Expand All @@ -469,7 +469,7 @@ jobs:
- name: Caching minikube
if: ${{ env.SKIP != 'true' }}
id: cache-minikube
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/minikube
key: v2-minikube-binary-${{ env.MINIKUBE_VERSION }}
Expand All @@ -495,13 +495,13 @@ jobs:

- name: Setup python
if: ${{ env.SKIP != 'true' }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Caching dependency
if: ${{ env.SKIP != 'true' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand All @@ -526,7 +526,7 @@ jobs:

- name: Uploading pytest result artifacts
if: ${{ env.SKIP != 'true' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: k8s-${{ matrix.K8S_VERSION }}-integration-test-result
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checking links
run: make check-links
16 changes: 8 additions & 8 deletions .github/workflows/chef_deployment_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
SYS_PACKAGE: [ "deb", "rpm" ]
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Test chef deployment
env:
Expand All @@ -40,18 +40,18 @@ jobs:
run: .github/scripts/run-deployment-tests.sh

- name: Uploading test result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.SYS_PACKAGE }}-chef-deployment-test-result
path: ~/${{ env.RESULT_PATH }}

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
Expand All @@ -68,7 +68,7 @@ jobs:
run: .github/scripts/run-pytest.sh

- name: Uploading pytest result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.SYS_PACKAGE }}-chef-pytest-result
path: |
Expand All @@ -85,10 +85,10 @@ jobs:
SANIC_NO_UVLOOP: 'true'
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
Expand All @@ -101,7 +101,7 @@ jobs:
run: pytest -m "windows_only" --verbose --junitxml=${{ env.RESULT_PATH }}/test_results.xml --html=${{ env.RESULT_PATH }}/test_results.html --self-contained-html tests/deployments/chef/

- name: Uploading pytest result artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-chef-pytest-result
path: ${{ env.RESULT_PATH }}
4 changes: 2 additions & 2 deletions .github/workflows/docs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}

- name: Caching dependency
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down
Loading