Skip to content

Commit

Permalink
[MISC] Fix test pipeline and update action version (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
welpaolo authored Apr 3, 2024
1 parent 4233f17 commit 9e046a3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install yamllint
run: python3 -m pip install yamllint
- name: YAML Lint
Expand All @@ -24,7 +24,7 @@ jobs:
- lint
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup LXD
uses: canonical/setup-lxd@main
Expand All @@ -51,7 +51,7 @@ jobs:
run: sudo chmod a+r ${{ steps.artifact.outputs.name }}

- name: Upload locally built artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: charmed-spark
path: ${{ steps.artifact.outputs.name }}
4 changes: 2 additions & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Artifact Name
id: artifact
Expand All @@ -34,7 +34,7 @@ jobs:
make microk8s
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: charmed-spark
path: charmed-spark
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract branch metadata
shell: bash
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
echo "name=${ARTIFACT#'Artifact: '}" >> $GITHUB_OUTPUT
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: charmed-spark
path: charmed-spark
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install skopeo
run: |
sudo snap install --devmode --channel edge skopeo
Expand All @@ -23,7 +23,7 @@ jobs:
ARTIFACT=$(make help | grep 'Artifact: ')
echo "name=${ARTIFACT#'Artifact: '}" >> $GITHUB_OUTPUT
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: charmed-spark
path: charmed-spark
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/setup-microk8s.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

sudo snap install microk8s --classic
sudo snap install microk8s --channel=1.28/stable --classic
sudo snap alias microk8s.kubectl kubectl
sudo usermod -a -G microk8s ${USER}
mkdir -p ~/.kube
Expand Down

0 comments on commit 9e046a3

Please sign in to comment.