forked from magma/magma
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Fix of ci dashboard (magma#15384)
* fix(ci): Fix of ci dashboard CHANGES: 1) Added a step to install Vagrant before logging into the Vagrant Cloud 2) Modified the sed command to ensure it works correctly on Ubuntu Signed-off-by: akhilamoyila9 <[email protected]> * fix(ci): Fix lint issues in fabfile Signed-off-by: akhilamoyila9 <[email protected]> --------- Signed-off-by: akhilamoyila9 <[email protected]>
- Loading branch information
1 parent
f7b296b
commit 81a6d4a
Showing
3 changed files
with
140 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,10 @@ jobs: | |
if [[ -n "${{ secrets.VAGRANT_TOKEN }}" ]] | ||
then | ||
echo "Logging in to vagrant cloud to mitigate rate limiting." | ||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo apt update && sudo apt install vagrant | ||
vagrant plugin install vagrant-vbguest vagrant-disksize vagrant-reload | ||
vagrant cloud auth login --token "${{ secrets.VAGRANT_TOKEN }}" | ||
else | ||
echo "Vagrant cloud token is not configured. Skipping login." | ||
|
@@ -102,11 +106,7 @@ jobs: | |
run: | | ||
pip3 install --upgrade pip | ||
pip3 install ansible fabric jsonpickle requests PyYAML firebase_admin | ||
sudo apt update && sudo apt install virtualbox | ||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo apt update && sudo apt install vagrant | ||
vagrant plugin install vagrant-vbguest vagrant-reload vagrant-disksize | ||
sudo apt install virtualbox | ||
- uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # [email protected] | ||
with: | ||
name: docker-images | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters