[DPE-4523] create basic rock for redis including metrics exporter #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ROCK | |
on: | |
workflow_call: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup LXD | |
uses: canonical/setup-lxd@main | |
- name: Install dependencies | |
run: | | |
sudo snap install yq | |
sudo snap install rockcraft --classic | |
- name: Build ROCK | |
run: | | |
rockcraft pack | |
- name: Upload locally built ROCK artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: redis-rock | |
path: charmed-redis_*_amd64.rock |