Skip to content

Commit 6621212

Browse files
Merge pull request #1 from Websoft9/dev
Dev
2 parents a0c0741 + 9b5a4dd commit 6621212

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/publish-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
provenance: false
116116

117117
- name: Summarize published tags
118+
env:
119+
PUBLISHED_TAGS: ${{ steps.meta.outputs.tags }}
118120
run: |
119121
{
120122
echo "### Published Images"
@@ -123,9 +125,7 @@ jobs:
123125
echo "Commit: ${{ steps.meta.outputs.COMMIT_SHA }}"
124126
echo ""
125127
echo "Tags:"
126-
while IFS= read -r tag; do
128+
printf '%s\n' "$PUBLISHED_TAGS" | while IFS= read -r tag; do
127129
echo "- \`${tag}\`"
128-
done <<'EOF'
129-
${{ steps.meta.outputs.tags }}
130-
EOF
130+
done
131131
} >> "$GITHUB_STEP_SUMMARY"

web/src/pages/deploy/CreateDeploymentPage.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ describe('CreateDeploymentPage', () => {
395395
app_required_disk_gib: '',
396396
},
397397
})
398-
expect(
399-
screen.queryByText('Create blocked by preflight: Preflight completed with warnings')
400-
).not.toBeInTheDocument()
398+
expect(screen.getByRole('alert')).not.toHaveTextContent(
399+
'Create blocked by preflight: Preflight completed with warnings'
400+
)
401401
})
402402

403403
it('blocks create when estimated app disk exceeds available disk', async () => {
@@ -484,9 +484,9 @@ describe('CreateDeploymentPage', () => {
484484
'/api/actions/install/manual-compose',
485485
expect.anything()
486486
)
487-
expect(
488-
screen.getByText('Create blocked by preflight: Preflight found blocking issues')
489-
).toBeInTheDocument()
487+
expect(await screen.findByRole('alert')).toHaveTextContent(
488+
'Create blocked by preflight: Preflight found blocking issues'
489+
)
490490
expect(
491491
screen.getByText(
492492
'Application estimated disk requirement (2147483648 bytes) exceeds available disk space (1073741824 bytes)'

0 commit comments

Comments
 (0)