Skip to content
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
49 changes: 39 additions & 10 deletions .github/workflows/release-final.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,29 @@
id-token: write
contents: read

container:
image: centos:8

steps:
- name: Install deps
run: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum -y install unzip createrepo_c git
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
sudo apt-get update && sudo apt-get -y install dpkg-dev gpg createrepo-c

- name: Cleanup
run: |
sudo rm -rf /usr/lib/jvm
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/local/julia*
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /opt/microsoft /opt/google
sudo rm -rf /opt/az
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -fr /usr/lib/google-cloud-sdk
sudo rm -fr /home/runner/.rustup
docker system prune -af || true
docker builder prune -af || true
df -h

- name: Checkout Sysdig
uses: actions/checkout@v4
Expand All @@ -121,7 +131,7 @@
path: sysdig

- name: Create directories
run: |

Check warning on line 134 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:134:9: shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck]

Check warning on line 134 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:134:9: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck]
mkdir -p $REPOSITORY_DIR
mkdir -p $PACKAGES_DIR

Expand Down Expand Up @@ -181,13 +191,32 @@
run: |
sudo apt-get update && sudo apt-get -y install dpkg-dev gpg

- name: Cleanup
run: |
sudo rm -rf /usr/lib/jvm
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/local/julia*
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /opt/microsoft /opt/google
sudo rm -rf /opt/az
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -fr /usr/lib/google-cloud-sdk
sudo rm -fr /home/runner/.rustup
docker system prune -af || true
docker builder prune -af || true
df -h

- name: Checkout Sysdig
uses: actions/checkout@v4
with:
path: sysdig

- name: Create directories
run: |

Check warning on line 219 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:219:9: shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck]

Check warning on line 219 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:219:9: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck]
mkdir -p $REPOSITORY_DIR
mkdir -p $PACKAGES_DIR

Expand Down Expand Up @@ -248,7 +277,7 @@
path: sysdig

- name: Create directories
run: |

Check warning on line 280 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:280:9: shellcheck reported issue in this script: SC2086:info:2:10: Double quote to prevent globbing and word splitting [shellcheck]

Check warning on line 280 in .github/workflows/release-final.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck] Raw Output: i:.github/workflows/release-final.yaml:280:9: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting [shellcheck]
mkdir -p $REPOSITORY_DIR
mkdir -p $PACKAGES_DIR

Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/container_plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if(UNIX AND NOT APPLE)

install(
FILES "${CONTAINER_LIBRARY}"
DESTINATION local/share/sysdig/plugins
DESTINATION share/sysdig/plugins
COMPONENT "${SYSDIG_COMPONENT_NAME}"
)
endif()
Expand Down
Loading