Skip to content

Commit

Permalink
Install dependencies on runner
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Demicev <[email protected]>
  • Loading branch information
alexander-demicev committed Dec 6, 2024
1 parent f3c2d7e commit b0c2322
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
contents: read
security-events: write
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- name: Checkout repository
uses: actions/checkout@v4
- name: setupGo
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-short.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- name: Cleanup space
run: |
sudo apt-get remove -y '^aspnetcore-.*' || echo "::warning::The command [sudo apt-get remove -y '^aspnetcore-.*'] failed to complete successfully. Proceeding..."
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
working-directory:
- ""
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-e2e-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- name: Install eksctl
run: |
ARCH=amd64
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
steps:
- name: Install dependencies
shell: bash
run: |
apt update && apt-get install make -y
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,28 @@ jobs:
security-events: write
name: Scan
runs-on: org-${{ github.repository_owner_id }}-amd64-k8s
container: ubuntu:22.04
container: registry.suse.com/bci/bci-base:latest
steps:
# - name: Install dependencies
# shell: bash
# run: |
# apt update && apt-get install make ca-certificates curl -y
# install -m 0755 -d /etc/apt/keyrings
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
# chmod a+r /etc/apt/keyrings/docker.asc
# echo \
# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
# $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
# tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt-get update && apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
# systemctl start docker
- name: Install dependencies
shell: bash
run: |
zypper install -y git make
systemctl enable docker
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker login
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit b0c2322

Please sign in to comment.