Skip to content

Commit

Permalink
New domains
Browse files Browse the repository at this point in the history
skip:build
  • Loading branch information
vivian-rook committed Feb 14, 2024
1 parent 41449c5 commit 8347ddb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/foo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: This is an example

on: [pull_request]

jobs:
one:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
#GITHUB_CONTEXT: ${{ toJson(github.event.commits[0].message) }}
#GITHUB_CONTEXT: ${{ toJson(github) }}
#run: echo ${{ github.repository }} # works!
#run: echo ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
3 changes: 2 additions & 1 deletion .github/workflows/nbserve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
name: build and push nbserve

'on':
pull_request_target:
pull_request:
paths:
- images/nbserve/**

jobs:
build-and-push:
if: "!contains(github.event.head_commit.message, 'skip:build')"
name: build and push nbserve
uses: toolforge/github-actions/.github/workflows/build-and-push.yaml@build-and-push-v3
with:
Expand Down
2 changes: 1 addition & 1 deletion images/nbserve/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This container is used for managing the public.paws.wmcloud.org and paws-public.wmflabs.org traffic. So public viewing of notebooks and files.
This container is used for managing the public-paws.wmcloud.org traffic. So public viewing of notebooks and files.

It also redirects files to the renderer container to be built. Also for public viewing.
2 changes: 1 addition & 1 deletion paws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pawspublic:
nbserve:
image:
name: quay.io/wikimedia-paws-prod/nbserve
tag: pr-277 # nbserve tag managed by github actions
tag: pr-375 # nbserve tag managed by github actions
# pawspublic.nbserve.image.template safely defines image:tag name in yaml
template: "{{ .Values.pawspublic.nbserve.image.name}}:{{.Values.pawspublic.nbserve.image.tag }}"
replicas: 1
Expand Down

0 comments on commit 8347ddb

Please sign in to comment.