Skip to content

Remove embedme #85

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
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