Skip to content

Commit

Permalink
public dns
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Nov 23, 2024
1 parent 7f4680f commit 5b1b287
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,24 @@ jobs:
# Deploying notebook from runtimes/rocm/tensorflow/ubi9-python-3.11/kustomize/base directory...
# sed: can't read runtimes/rocm/tensorflow/ubi9-python-3.11/kustomize/base/kustomization.yaml: No such file or directory
- name: "Fixup paths that prevent us from running rocm tests"
if: ${{ steps.have-tests.outputs.tests == 'true' }}
run: |
set -Eeuxo pipefail
mkdir -p runtimes/rocm
ln -s ../rocm-tensorflow runtimes/rocm/tensorflow
ln -s ../rocm-pytorch runtimes/rocm/pytorch
- name: Set public DNS
if: ${{ steps.have-tests.outputs.tests == 'true' }}
run: |
set -Eeuxo pipefail
cat /etc/resolv.conf
sudo cp ci/cached-builds/resolv.conf /etc/resolv.conf
nslookup raw.githubusercontent.com
# https://cri-o.io/
- name: Install cri-o
if: ${{ steps.have-tests.outputs.tests == 'true' }}
Expand Down
6 changes: 6 additions & 0 deletions ci/cached-builds/resolv.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Was getting strange DNS resolution errors from pods that don't seem to want to go away sometimes
# Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Name or service not known.
# wget: unable to resolve host address ‘raw.githubusercontent.com’

nameserver 9.9.9.9
nameserver 8.8.4.4

0 comments on commit 5b1b287

Please sign in to comment.