Skip to content

Commit

Permalink
ELevate CI: Scientific support AlmaLinux#3
Browse files Browse the repository at this point in the history
  • Loading branch information
yuravk committed Oct 21, 2024
1 parent 7064e29 commit ab2c73e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elevate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ jobs:
- name: Run vagrant up
id: vagrant-up
run: |
sudo vagrant up elevatevm
sudo vagrant up elevatevm --quiet-progress
- name: Print source system release
run: |
Expand Down
4 changes: 3 additions & 1 deletion ci/Vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Vagrant.configure("2") do |config|
end

config.vm.provision "shell", inline: <<-SHELL
[ "$(rpm --eval %rhel)" = "7" -a $(grep -i centos /etc/redhat-release) -eq 0 ] && sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://el7.repo.almalinux.org/centos/CentOS-Base.repo
if [ "$(rpm --eval %rhel)" = "7" ]; then \
grep -i centos /etc/redhat-release >/dev/null && sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://el7.repo.almalinux.org/centos/CentOS-Base.repo; \
fi
sudo yum -y -q install dnf
sudo dnf -y -q update
SHELL
Expand Down

0 comments on commit ab2c73e

Please sign in to comment.