Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set user variables in AM playbook workflow #158

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/archivematica-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,18 @@ jobs:
run: |
sudo mkdir -p /etc/vbox/
echo "* 192.168.168.198/24" | sudo tee -a /etc/vbox/networks.conf
- name: Set the user environment as VirtualBox expects it
run: |
echo "USER=$USER" >> $GITHUB_ENV
echo "LOGNAME=$USER" >> $GITHUB_ENV
- name: Download the Ansible roles
working-directory: ${{ github.workspace }}/playbooks/archivematica-jammy
run: |
ansible-galaxy install -f -p roles/ -r requirements.yml
- name: Create the virtual machine and provision it
working-directory: ${{ github.workspace }}/playbooks/archivematica-jammy
run: |
sudo mkdir -p /root/.vagrant.d
sudo ln -s /home/runner/.vagrant.d/boxes /root/.vagrant.d/boxes
sudo pip install ansible
sudo vagrant up
vagrant up
- name: Test AM API - Get processing configurations
run: |
test $( \
Expand Down