-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: Add staging steps on issue_comment
We need to execute few more staging-specific steps on issue_comment Signed-off-by: Denys Fedoryshchenko <[email protected]>
- Loading branch information
1 parent
4e83ee1
commit a8dda49
Showing
4 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ jobs: | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
lfs: true # Fetch Git LFS files | ||
ref: refs/pull/${{ github.event.issue.number }}/head | ||
|
||
- name: Checkout main branch | ||
uses: actions/checkout@v4 | ||
if: github.event_name == 'workflow_dispatch' | ||
|
@@ -65,15 +66,15 @@ jobs: | |
run: npm install --save-dev autoprefixer && npm install postcss-cli && npm install -D postcss && npm install -D postcss-preset-env && npm install -D bootstrap-sass | ||
|
||
- name: Build staging | ||
if: github.event.inputs.environment == 'staging' | ||
if: github.event.inputs.environment == 'staging' || github.event_name == 'issue_comment' | ||
run: cd kernelci.org;hugo --minify -D -F -b https://static.staging.kernelci.org/ | ||
|
||
- name: Build production | ||
if: github.event.inputs.environment == 'production' | ||
run: cd kernelci.org;hugo --minify -D -F -b https://kernelci.org/ | ||
|
||
- name: rsync staging deployment | ||
if: github.event.inputs.environment == 'staging' | ||
if: github.event.inputs.environment == 'staging' || github.event_name == 'issue_comment' | ||
uses: burnett01/[email protected] | ||
with: | ||
switches: -avzr --delete | ||
|
Submodule kcidb
updated
12 files
+1 −1 | .github/workflows/test.yml | |
+0 −5 | .pre-commit | |
+2 −61 | doc/submitter_guide.md | |
+19 −24 | kcidb/__init__.py | |
+3 −3 | kcidb/cloud/functions.sh | |
+4 −26 | kcidb/db/__init__.py | |
+8 −72 | kcidb/misc.py | |
+3 −27 | kcidb/mq/__init__.py | |
+1 −1 | kcidb/oo/__init__.py | |
+1 −1 | requirements.txt | |
+1 −1 | setup.py | |
+0 −6 | tests.yaml |
Submodule kernelci-api
updated
7 files
+96 −6 | doc/_index.md | |
+3 −3 | doc/api-details.md | |
+5 −4 | doc/design.md | |
+52 −0 | doc/developer-documentation.md | |
+1 −1 | doc/early-access.md | |
+3 −3 | doc/local-instance.md | |
+84 −0 | doc/pipeline-details.md |
Submodule kernelci-core
updated
7 files