Skip to content

Commit 6b1b066

Browse files
committed
ci: delegate image builds to just recipe
1 parent 5f4a9e1 commit 6b1b066

3 files changed

Lines changed: 12 additions & 19 deletions

File tree

.github/workflows/build-images-manifests.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,15 @@ env:
1212

1313
jobs:
1414
build-platform-images:
15-
name: Build ${{ matrix.image }} (${{ matrix.platform }})
15+
name: Build presidio images.
1616
runs-on: ${{ matrix.runner }}
17-
strategy:
18-
matrix:
19-
include:
20-
- image: presidio-anonymizer
21-
platform: linux/amd64
22-
runner: ubuntu-latest
23-
- image: presidio-analyzer
24-
platform: linux/amd64
25-
runner: ubuntu-latest
26-
# Note: do we want this part of presidio ? Maybe future feature ?
27-
# - image: presidio-image-redactor
28-
# platform: linux/amd64
29-
# runner: ubuntu-latest
3017
steps:
31-
- name: Get latest Presidio release tag
32-
id: presidio_release
33-
run: |
34-
tag=$(curl -s https://api.github.com/repos/microsoft/presidio/releases/latest | jq -r .tag_name)
35-
echo "tag=$tag" >> $GITHUB_OUTPUT
3618

3719
- name: Checkout current repo
3820
uses: actions/checkout@v5
3921

22+
- uses: ./.github/actions/setup-nix
23+
4024
- name: Apply patches
4125
working-directory: presidio
4226
run: just external::patch

.github/workflows/publish-helm-chart.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525

26+
- uses: ./.github/actions/setup-nix
27+
2628
- name: Set up Helm
2729
uses: azure/setup-helm@v4
2830
with:

tools/ci/setup-git.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
git config --global safe.directory "*" || {
3+
echo "Could not overwrite safe.directory in Git config." >&2
4+
exit 1
5+
}
6+
git config --global user.name "SDSC CI"
7+
git config --global user.email "ci@sdsc.ethz.ch"

0 commit comments

Comments
 (0)