Skip to content
Merged
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
10 changes: 8 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: hasura
on:
push:
branches:
- "*"
- "**"
tags:
- v*
pull_request:
Expand Down Expand Up @@ -33,6 +33,12 @@ jobs:

- uses: actions/checkout@v4

- name: Compute sanitized branch tag
run: |
SAFE_BRANCH="${GITHUB_REF_NAME}"
# Docker tag spec forbids '/'; replace with '-' so slash-containing branches build
echo "SAFE_BRANCH=${SAFE_BRANCH//\//-}" >> $GITHUB_ENV

- name: Create environment variable with the commit id
run: |
echo "DOCKER_TAG=${GITHUB_SHA}" >> $GITHUB_ENV
Expand Down Expand Up @@ -60,7 +66,7 @@ jobs:
with:
push: true
context: .
tags: ${{ env.DOCKER_IMAGE_REPOSITORY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ steps.branch-name.outputs.current_branch }}, ${{ env.DOCKER_IMAGE_REPOSITORY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
tags: ${{ env.DOCKER_IMAGE_REPOSITORY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.SAFE_BRANCH }}, ${{ env.DOCKER_IMAGE_REPOSITORY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
file: ${{ env.DOCKER_FILE}}
platforms: linux/amd64,linux/arm64

Expand Down
2 changes: 2 additions & 0 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3102,12 +3102,14 @@
columns: &id007
- configuration_id
- input_id
- is_optional
select_permissions:
- role: anonymous
permission:
columns:
- configuration_id
- input_id
- is_optional
filter: {}
- role: user
permission:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BEGIN;
ALTER TABLE modelcatalog_configuration_input
DROP COLUMN is_optional;
COMMIT;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BEGIN;
ALTER TABLE modelcatalog_configuration_input
ADD COLUMN is_optional BOOLEAN NOT NULL DEFAULT FALSE;
COMMIT;
Loading