Skip to content

Commit

Permalink
use data platfrom workflow for build
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jul 15, 2024
1 parent 332cae6 commit 4e62e49
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
name: Build rock
name: Build Charmed MongoDB 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 --edge
- name: Build rock
run: |
rockcraft pack
- name: Upload locally built rock artifact
uses: actions/upload-artifact@v3
with:
name: mongodb-rock
path: charmed-mongodb_*_amd64.rock
name: Build rock
uses: canonical/data-platform-workflows/.github/workflows/build_rock.yaml@v16

0 comments on commit 4e62e49

Please sign in to comment.