Skip to content

Commit 3af07b1

Browse files
committed
ci(deps): upgrade x package (#224)
Because - the `x` package has a major update to catch up - the latest instrument logic in the `x/client` and `x/server` package can be easily adopted. This commit - upgrade `x` package - fix a minor CI step error.
1 parent 57e8bb7 commit 3af07b1

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.github/workflows/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
paths-ignore:
99
- "README.md"
1010
tags:
11-
- "*-rc"
11+
- "*-rc*"
1212
release:
1313
types: [published]
1414

.github/workflows/integration-test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,28 @@ jobs:
6666
uses: docker/login-action@v3
6767
with:
6868
username: drop@instill-ai.com
69-
password: ${{ secrets.BOTDOCKERHUBPASSWORD }}
69+
password: ${{ secrets.botDockerHubPassword }}
7070

7171
- name: Set up Docker Buildx
7272
uses: docker/setup-buildx-action@v3
7373

7474
- name: Set short commit SHA
75+
if: github.ref == 'refs/heads/main'
7576
run: |
76-
echo "COMMIT_SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
77+
echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
78+
79+
- name: Set PR head commit SHA
80+
if: github.event_name == 'pull_request'
81+
run: |
82+
echo "COMMIT_SHORT_SHA=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-7)" >> $GITHUB_ENV
7783
7884
- name: Build image
7985
uses: docker/build-push-action@v6
8086
with:
8187
context: artifact-backend
8288
load: true
8389
build-args: |
84-
SERVICE_NAME=artifact-backend
90+
SERVICE_NAME=${{ env.SERVICE_NAME }}
8591
SERVICE_VERSION=${{ env.COMMIT_SHORT_SHA }}
8692
tags: instill/artifact-backend:latest
8793
cache-from: |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1
1616
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20250707160902-77023eb2f033
1717
github.com/instill-ai/usage-client v0.4.0
18-
github.com/instill-ai/x v0.8.0-alpha.0.20250714023551-3829fd844cd5
18+
github.com/instill-ai/x v0.9.0-alpha
1919
github.com/knadh/koanf v1.5.0
2020
github.com/milvus-io/milvus-sdk-go/v2 v2.4.1
2121
github.com/minio/minio-go/v7 v7.0.92

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ github.com/instill-ai/usage-client v0.4.0 h1:xf1hAlO4a8lZwZzz9bprZOJqU3ghIcIsavU
275275
github.com/instill-ai/usage-client v0.4.0/go.mod h1:zZ9LRoXps2u63ARYPAbR2YvqTib3dWJLObZn+9YqhF0=
276276
github.com/instill-ai/x v0.8.0-alpha.0.20250714023551-3829fd844cd5 h1:2iy0ssXScON7XgFLLR4NUSjYszpXfPbMUlmPNPXppzY=
277277
github.com/instill-ai/x v0.8.0-alpha.0.20250714023551-3829fd844cd5/go.mod h1:RXY1NPBMxe3K7bBecPALw+Af2dT+gJSb89BOlLIPfx4=
278+
github.com/instill-ai/x v0.9.0-alpha h1:J11sJNMe39GAQ69tPy7OWV/hBD39oyF+4wHB1fKiwvw=
279+
github.com/instill-ai/x v0.9.0-alpha/go.mod h1:vAzbuQ7HAWdQkkpDq9mvWjSXQEJZSgJhguN6NhpLTUk=
278280
github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI=
279281
github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0=
280282
github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7UaeZTSWddIk=

0 commit comments

Comments
 (0)