Skip to content

Commit

Permalink
Merge pull request #296 from sthaha/fix-gha-s3-build-push
Browse files Browse the repository at this point in the history
chore(gha): fix s3 changed flag
  • Loading branch information
sunya-ch authored Jul 9, 2024
2 parents c3e316d + 81f40eb commit 453028d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
outputs:
base: ${{ steps.filter.outputs.base }}
modeling: ${{ steps.filter.outputs.modeling }}
s3: ${{ steps.filter.outputs.s3 }}

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion model_training/tekton/tasks/s3/aws-s3-load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
secretKeyRef:
name: $(params.COS_SECRET_NAME)
key: bucketName
command: ["s3-loader"]
args:
- s3-loader
- aws
- --aws-access-key-id=$(ACCESS_KEY_ID)
- --aws-secret-access-key=$(ACCESS_SECRET)
Expand Down
1 change: 1 addition & 0 deletions model_training/tekton/tasks/s3/aws-s3-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
secretKeyRef:
name: $(params.COS_SECRET_NAME)
key: bucketName
command: ["s3-pusher"]
args:
- s3-pusher
- aws
Expand Down
2 changes: 1 addition & 1 deletion model_training/tekton/tasks/s3/ibmcloud-s3-load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
secretKeyRef:
name: $(params.COS_SECRET_NAME)
key: bucketName
command: ["s3-loader"]
args:
- s3-loader
- ibmcloud
- --service-endpoint=$(SERVICE_ENDPOINT)
- --api-key=$(API_KEY)
Expand Down
2 changes: 1 addition & 1 deletion model_training/tekton/tasks/s3/ibmcloud-s3-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ spec:
secretKeyRef:
name: $(params.COS_SECRET_NAME)
key: bucketName
command: ["s3-pusher"]
args:
- pusher
- ibmcloud
- --service-endpoint=$(SERVICE_ENDPOINT)
- --api-key=$(API_KEY)
Expand Down

0 comments on commit 453028d

Please sign in to comment.