-
Notifications
You must be signed in to change notification settings - Fork 0
83 lines (67 loc) · 2.19 KB
/
ci.yaml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: CI Build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Remove old executables
run: |
# Remove the old crun executable to let brew to install a newer one ...
sudo apt-get remove crun
- name: Install podman and show dependencies
run: |
# What brew will install: https://ghcr.io/v2/homebrew/core/podman/manifests/5.3.1_1
brew install podman
brew services start podman
- name: Check podman and crun versions
run: |
podman -v
crun -v
- uses: actions/checkout@v4
with:
repository: ch007m/fork-kindcontainer.git
ref: enable-featuregate
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'gradle'
- name: Build kindcontainer testcontainer project
run: |
gradle publishToMavenLocal
- uses: guillermocalvo/gradle-properties@v3
id: properties
with:
output_file: ${{ github.output }}
- run: |
echo Project name: ${{ steps.properties.outputs.name }}
echo Project version: ${{ steps.properties.outputs.version }}
- uses: actions/checkout@v4
with:
repository: quarkiverse/quarkus-argocd.git
ref: main
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: Build quarkus-argocd as not yet released with Maven
run: |
mvn -B clean install -Dno-format -DskipTests
- uses: actions/checkout@v4
- name: Build this project
run: |
mvn -B clean install -Dno-format -DskipTests -Dquarkus-argocd.version="999-SNAPSHOT" -Dtestcontainer.version=${{ steps.properties.outputs.version }}
- name: Perform CI test
run: |
export TESTCONTAINERS_RYUK_DISABLED=true
mvn test -Dtest=ArgoCDDeployTest