-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update runner base image + tweaks to support it
This PR updates the runner base image to fix something I noticed in an Azure run that the RMI folk have since fixed. There have been some small format tweaks in the mean time: - More file types outputted by the report generation flow - `Files` is now an array of strings
- Loading branch information
Showing
8 changed files
with
80 additions
and
23 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
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
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
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
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
34 changes: 34 additions & 0 deletions
34
db/sqldb/migrations/0016_add_more_report_file_types.down.sql
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
BEGIN; | ||
|
||
-- There isn't a way to delete a value from an enum, so this is the workaround | ||
-- https://stackoverflow.com/a/56777227/17909149 | ||
|
||
ALTER TABLE blob ALTER file_type TYPE TEXT; | ||
|
||
DROP TYPE file_type; | ||
CREATE TYPE file_type AS ENUM ( | ||
'csv', | ||
'yaml', | ||
'zip', | ||
'html', | ||
'json', | ||
'txt', | ||
'css', | ||
'js', | ||
'ttf', | ||
'unknown', | ||
'js.map', | ||
'woff', | ||
'woff2', | ||
'eot', | ||
'svg', | ||
'png', | ||
'jpg', | ||
'pdf' | ||
); | ||
|
||
ALTER TABLE blob | ||
ALTER file_type TYPE file_type | ||
USING file_type::file_type; | ||
|
||
COMMIT; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BEGIN; | ||
|
||
ALTER TYPE file_type ADD VALUE 'xlsx'; | ||
ALTER TYPE file_type ADD VALUE 'rds'; | ||
ALTER TYPE file_type ADD VALUE 'css.map'; | ||
|
||
COMMIT; |
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