Skip to content

Commit

Permalink
Fix obsolete github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Dec 1, 2022
1 parent 6ec98af commit 4f19e75
Show file tree
Hide file tree
Showing 17 changed files with 97 additions and 97 deletions.
8 changes: 4 additions & 4 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,7 +40,7 @@ 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 }}
Expand All @@ -51,7 +51,7 @@ jobs:
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
56 changes: 28 additions & 28 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,10 +98,10 @@ 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
Expand All @@ -112,7 +112,7 @@ jobs:
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,10 +237,10 @@ 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: ./
Expand All @@ -251,7 +251,7 @@ jobs:
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 Down Expand Up @@ -501,7 +501,7 @@ jobs:

- 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
12 changes: 6 additions & 6 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,7 +40,7 @@ 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 }}
Expand All @@ -51,7 +51,7 @@ jobs:
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,7 +85,7 @@ 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
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
6 changes: 3 additions & 3 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,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 All @@ -48,7 +48,7 @@ jobs:
exit 1
- name: Cache golang-lint
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/golangci-lint-${{ env.LINT_VERSION }}-linux-amd64/golangci-lint
key: ${{ runner.os }}-v1-golang-lint-${{ env.LINT_VERSION }}
Expand Down
Loading

0 comments on commit 4f19e75

Please sign in to comment.