Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
27a1792e
Unverified
Commit
27a1792e
authored
Mar 20, 2023
by
Shruti Chaturvedi
Committed by
GitHub
Mar 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update Uffizzi Workflows (#1390)
* Update uffizzi-build.yml * Update uffizzi-preview.yml
parent
63e07164
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
+3
-15
uffizzi-build.yml
.github/workflows/uffizzi-build.yml
+2
-14
uffizzi-preview.yml
.github/workflows/uffizzi-preview.yml
+1
-1
No files found.
.github/workflows/uffizzi-build.yml
View file @
27a1792e
...
@@ -64,17 +64,11 @@ jobs:
...
@@ -64,17 +64,11 @@ jobs:
name
:
preview-spec
name
:
preview-spec
path
:
docker-compose.rendered.yml
path
:
docker-compose.rendered.yml
retention-days
:
2
retention-days
:
2
-
name
:
Serialize PR Event to File
run
:
|
cat << EOF > event.json
${{ toJSON(github.event) }}
EOF
-
name
:
Upload PR Event as Artifact
-
name
:
Upload PR Event as Artifact
uses
:
actions/upload-artifact@v3
uses
:
actions/upload-artifact@v3
with
:
with
:
name
:
preview-spec
name
:
preview-spec
path
:
event.json
path
:
${{github.event_path}}
retention-days
:
2
retention-days
:
2
delete-preview
:
delete-preview
:
...
@@ -83,15 +77,9 @@ jobs:
...
@@ -83,15 +77,9 @@ jobs:
if
:
${{ github.event.action == 'closed' }}
if
:
${{ github.event.action == 'closed' }}
steps
:
steps
:
# If this PR is closing, we will not render a compose file nor pass it to the next workflow.
# If this PR is closing, we will not render a compose file nor pass it to the next workflow.
-
name
:
Serialize PR Event to File
run
:
|
cat << EOF > event.json
${{ toJSON(github.event) }}
EOF
-
name
:
Upload PR Event as Artifact
-
name
:
Upload PR Event as Artifact
uses
:
actions/upload-artifact@v3
uses
:
actions/upload-artifact@v3
with
:
with
:
name
:
preview-spec
name
:
preview-spec
path
:
event.json
path
:
${{github.event_path}}
retention-days
:
2
retention-days
:
2
.github/workflows/uffizzi-preview.yml
View file @
27a1792e
...
@@ -45,7 +45,7 @@ jobs:
...
@@ -45,7 +45,7 @@ jobs:
run
:
|
run
:
|
echo 'EVENT_JSON<<EOF' >> $GITHUB_ENV
echo 'EVENT_JSON<<EOF' >> $GITHUB_ENV
cat event.json >> $GITHUB_ENV
cat event.json >> $GITHUB_ENV
echo
'
EOF' >> $GITHUB_ENV
echo
-e '\n
EOF' >> $GITHUB_ENV
-
name
:
Hash Rendered Compose File
-
name
:
Hash Rendered Compose File
id
:
hash
id
:
hash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment