Skip to content

Commit

Permalink
So add Cannot find generic version for OracleLinux-7, SLES-12,
Browse files Browse the repository at this point in the history
Scientific-7,  so  Skipped them in tests.  So use some other versions.
ADDED matrix_from_metadata function
  • Loading branch information
sooyean-hoo committed Aug 19, 2024
1 parent f9c5f8d commit b69b72c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
29 changes: 25 additions & 4 deletions provision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,31 @@ acceptance_vbox_rhel_8:
## Cannot find generic version for OracleLinux-7, SLES-12, Scientific-7, so Skipped them in tests.
## So no
## acceptance_vbox_oraclelinux_7
## acceptance_vbox_sles_12
## acceptance_vbox_scientificlinux_7
## So use some other version.

acceptance_vbox_oraclelinux_7:
provisioner: vagrant
images: ['Rendanic/oraclelinux-7.x' ]
vars: |
roles: ['master' ]
vagrant_password: 'piepiepiepiepiePIE51!'
vagrant_run_opts: ["-p 80:80", "-p 443:443", "-p 5432:5432","-p 8170:8170","-p 8143:8143", "-p 4433:4433","-p 8081:8081","-p 8142:8142", "-p 8140:8140","--privileged", "-v /var/run/docker.sock:/var/run/docker.sock" ]
acceptance_vbox_sles_12:
provisioner: vagrant
images: ['idar/sles12' ]
vars: |
roles: ['master' ]
vagrant_password: 'piepiepiepiepiePIE51!'
vagrant_run_opts: ["-p 80:80", "-p 443:443", "-p 5432:5432","-p 8170:8170","-p 8143:8143", "-p 4433:4433","-p 8081:8081","-p 8142:8142", "-p 8140:8140","--privileged", "-v /var/run/docker.sock:/var/run/docker.sock" ]
acceptance_vbox_scientificlinux_7:
provisioner: vagrant
images: ['bento/scientificlinux-7.9' ]
vars: |
roles: ['master' ]
vagrant_password: 'piepiepiepiepiePIE51!'
vagrant_run_opts: ["-p 80:80", "-p 443:443", "-p 5432:5432","-p 8170:8170","-p 8143:8143", "-p 4433:4433","-p 8081:8081","-p 8142:8142", "-p 8140:8140","--privileged", "-v /var/run/docker.sock:/var/run/docker.sock" ]
Expand Down
7 changes: 6 additions & 1 deletion spec/support/acceptance/vhelper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@
gem install --force CFPropertyList -v 2.3.6 ;
fi ;
}
function matrix_from_metadata(){
matrix_from_metadata_v2 $@ ;
cat ${GITHUB_OUTPUT} ${GITHUB_OUTPUT}.tmp ;
cat ${GITHUB_OUTPUT} | grep matrix | sed -E 's/matrix=//g' | jq
}
function preinstallpecommands(){
sshverbose="-vvvvvv" ; sshverbose="" ;
echo ;
Expand Down

0 comments on commit b69b72c

Please sign in to comment.