-
Notifications
You must be signed in to change notification settings - Fork 43
63 lines (57 loc) · 1.46 KB
/
ci-deeploy.yml
File metadata and controls
63 lines (57 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-FileCopyrightText: 2025 ETH Zurich and University of Bologna
#
# SPDX-License-Identifier: Apache-2.0
---
name: CI • Deeploy
"on":
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
workflow_dispatch:
inputs:
docker_image_deeploy:
description: "Deeploy Image to use"
required: false
default: "ghcr.io/pulp-platform/deeploy:devel"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
select-env:
uses: ./.github/workflows/_select-env.yml
with:
docker_image_deeploy: ${{ inputs.docker_image_deeploy }}
build-deeploy:
needs: select-env
runs-on: ${{ needs.select-env.outputs.runner }}
container:
image: ${{ needs.select-env.outputs.image }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Deeploy
shell: bash
run: pip install -e .
deeploy-internal-tests:
needs: select-env
runs-on: ${{ needs.select-env.outputs.runner }}
container:
image: ${{ needs.select-env.outputs.image }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Deeploy
shell: bash
run: pip install -e .
- name: Run Internal Tests
shell: bash
run: |
cd DeeployTest
pytest -v -m deeploy_internal -n 4