Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(ci): switch Playwright jobs to Azure Ubuntu mirror (#40100)

yyh7073baa7373c
diff --git a/.github/workflows/web-e2e.yml b/.github/workflows/web-e2e.yml
index 9d0eb2e02ed..536fe160d74 100644
--- a/.github/workflows/web-e2e.yml
+++ b/.github/workflows/web-e2e.yml
@@ -26,6 +26,11 @@ jobs:
with:
persist-credentials: false
+ - name: Switch Ubuntu mirror
+ run: |
+ sudo sed -i 's|http://us-east-1.ec2.archive.ubuntu.com/ubuntu|http://azure.archive.ubuntu.com/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources
+ sudo apt-get update
+
- name: Setup web dependencies
uses: ./.github/actions/setup-web
diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml
index 922ecdeb7bd..c57f2cfb56b 100644
--- a/.github/workflows/web-tests.yml
+++ b/.github/workflows/web-tests.yml
@@ -101,6 +101,11 @@ jobs:
with:
persist-credentials: false
+ - name: Switch Ubuntu mirror
+ run: |
+ sudo sed -i 's|http://us-east-1.ec2.archive.ubuntu.com/ubuntu|http://azure.archive.ubuntu.com/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources
+ sudo apt-get update
+
- name: Setup web environment
uses: ./.github/actions/setup-web
@@ -135,6 +140,11 @@ jobs:
with:
persist-credentials: false
+ - name: Switch Ubuntu mirror
+ run: |
+ sudo sed -i 's|http://us-east-1.ec2.archive.ubuntu.com/ubuntu|http://azure.archive.ubuntu.com/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources
+ sudo apt-get update
+
- name: Setup web environment
uses: ./.github/actions/setup-web