This is an automated email from the ASF dual-hosted git repository.
zihanli58 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gobblin.git
The following commit(s) were added to refs/heads/master by this push:
new 52ca72c [GOBBLIN-1605] Fix mysql ubuntu download 404 not found for
Github Actions CI/CD (#3462)
52ca72c is described below
commit 52ca72c19347872f4caf40fd92fb06d1d337a04f
Author: William Lo <[email protected]>
AuthorDate: Mon Feb 7 10:51:21 2022 -0800
[GOBBLIN-1605] Fix mysql ubuntu download 404 not found for Github Actions
CI/CD (#3462)
* fix mysql ubuntu download 404 not found for Github Actions CI/CD
* use fix missing flag instead of updating every package
* use apt-get update
---
.github/workflows/build_and_test.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/build_and_test.yaml
b/.github/workflows/build_and_test.yaml
index 8258e21..96c6199 100644
--- a/.github/workflows/build_and_test.yaml
+++ b/.github/workflows/build_and_test.yaml
@@ -124,6 +124,7 @@ jobs:
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' |
cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- name: Verify mysql connection
run: |
+ sudo apt-get --fix-missing update
sudo apt-get -f install -o Dpkg::Options::="--force-overwrite"
sudo apt-get purge mysql\*
sudo rm -rf /var/lib/mysql