Skip to content
Open
Show file tree
Hide file tree
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
17 changes: 8 additions & 9 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
runs-on: ubuntu-latest
if: ${{ needs.get-pulumi-projects.outputs.matrix != '[]' && needs.get-pulumi-projects.outputs.matrix != '' }}
strategy:
matrix:
matrix:
project: ${{fromJson(needs.get-pulumi-projects.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 16.17.x
- uses: actions/setup-go@v2
with:
go-version: 1.17.x
Expand All @@ -39,8 +39,8 @@ jobs:
python-version: 3.9
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -59,7 +59,7 @@ jobs:
upsert: true
command: preview
stack-name: dev
work-dir: ./${{ matrix.project }}
work-dir: ./${{ matrix.project }}
comment-on-pr: false
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
hugo-version: "0.111.3"
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
hugo-version: "0.111.3"
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -120,4 +120,3 @@ jobs:
comment-on-pr: true
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}

8 changes: 4 additions & 4 deletions scripts/ci_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class CIHelper():
""" Helper class for all CI/CD operations.
"""

DEFAULT_PROJECT_DIR = "code"
DEFAULT_PROJECT_DIR = "web/code"

def __init__(self):
""" Initialize enumera tors. Determine which directories to test.
""" Initialize enumerators. Determine which directories to test.
"""
self.project_dir = os.getenv("PROJECT_DIR", self.DEFAULT_PROJECT_DIR)
self.blacklisted = self._get_ignore_dirs()
Expand Down Expand Up @@ -71,11 +71,11 @@ def code():

@web.command("has-changed")
def changed_web():
click.echo(CIHelper().dir_changed("web/"))
click.echo(CIHelper().dir_changed("web/content"))

@code.command("has-changed")
def changed_code():
click.echo(CIHelper().dir_changed("code/"))
click.echo(CIHelper().dir_changed("web/code"))

@code.command("ls")
def list_pulumi():
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added web/code/homepage/py/lambda.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading