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

Create test.yaml #3705

Closed
wants to merge 7 commits into from
Closed
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
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check IP
on:
pull_request: {}
jobs:
check-ip:
runs-on: mosaic-4wide
steps:
- name: Check Runner IP

Check failure on line 8 in .github/workflows/test.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.11, [dev])

8:7 [indentation] wrong indentation: expected 4 but found 6
run: curl https://ipinfo.io/ip
- name: clone repo
uses: actions/checkout@v4
with:
repository: databricks-mosaic/devops
token: ${{ secrets.GHCR_TOKEN }}
# - name: Login to GHCR

Check failure on line 15 in .github/workflows/test.yaml

View workflow job for this annotation

GitHub Actions / code-quality (3.11, [dev])

15:7 [comments-indentation] comment not indented like content
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.GHCR_USERNAME }}
# password: ${{ secrets.GHCR_TOKEN }}
# registry: 'ghcr.io'
# - name: Pull and tag image
# run: |
# docker pull ubuntu:latest
# docker tag ubuntu:latest ghcr.io/databricks-mosaic/pytorch:test-123
# docker push ghcr.io/databricks-mosaic/pytorch:test-123
Loading