File tree Expand file tree Collapse file tree 2 files changed +22
-19
lines changed Expand file tree Collapse file tree 2 files changed +22
-19
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,25 @@ jobs:
31
31
steps :
32
32
- name : Check out software-layer repository
33
33
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34
-
34
+ - name : Check for changed easystackfiles in pr
35
+ run : |
36
+ #Keep this for now to check once I started testing this with the upstream repo
37
+ git remote -v
38
+ echo "GITHUB_BASE_REF = ${GITHUB_BASE_REF}"
39
+ echo $GITHUB_ENV
40
+ echo "git diff --no-renames --name-status ${GITHUB_BASE_REF}..HEAD"
41
+ export CHANGED=$(git diff --no-renames --name-status origin/${GITHUB_BASE_REF}..HEAD)
42
+ echo $CHANGED
43
+ python .github/workflows/scripts/filter_git_diff.py
35
44
- name : Mount EESSI CernVM-FS pilot repository
45
+ if : env.CHANGED_EASYSTACKS
36
46
uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
37
47
with :
38
48
cvmfs_config_package : https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
39
49
cvmfs_http_proxy : DIRECT
40
50
cvmfs_repositories : software.eessi.io
41
- - name : find changed easystacks
42
- uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
43
- id : changes
44
- with :
45
- list-files : shell
46
- filters : |
47
- changed:
48
- - 'easystacks/**'
49
51
- name : Test check_missing_installations.sh script
50
- if : ${{ steps.changes.outputs.changed == 'true' }}
52
+ if : env.CHANGED_EASYSTACKS
51
53
run : |
52
54
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
53
55
source /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/bash
Original file line number Diff line number Diff line change @@ -44,17 +44,18 @@ jobs:
44
44
echo $CHANGED
45
45
python .github/workflows/scripts/filter_git_diff.py
46
46
- name : Are there changed files
47
- if : env.TEST
47
+ if : env.CHANGED_EASYSTACKS
48
48
run : |
49
49
echo $CHANGED_EASYSTACKS
50
- # - name: Mount EESSI CernVM-FS pilot repository
51
- # uses: cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
52
- # with:
53
- # cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
54
- # cvmfs_http_proxy: DIRECT
55
- # cvmfs_repositories: software.eessi.io
56
- # - name: find changed easystacks
57
- # uses: laraPPr/test_easystack_filter_action@0c1cb269a89654084c59308e40ae92e90c854fba
50
+ - name : Mount EESSI CernVM-FS pilot repository
51
+ if : env.CHANGED_EASYSTACKS
52
+ uses : cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
53
+ with :
54
+ cvmfs_config_package : https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
55
+ cvmfs_http_proxy : DIRECT
56
+ cvmfs_repositories : software.eessi.io
57
+ - name : find changed easystacks
58
+ uses : laraPPr/test_easystack_filter_action@0c1cb269a89654084c59308e40ae92e90c854fba
58
59
# uses: dorny/paths-filter@v3
59
60
# id: changes
60
61
# with:
You can’t perform that action at this time.
0 commit comments