Skip to content

Commit

Permalink
ci: remove step from reusable pipeline (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity authored Nov 8, 2023
1 parent 00fcfe7 commit 715dc69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/aws-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
workflow_run:
workflows: ["Versioning"]
types: [requested]
branches:
- master

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -42,5 +40,4 @@ jobs:
needs: build
steps:
- name: Update lambda function
run: aws lambda update-function-code --function-name ${{ env.FUNC_NAME }} --s3-bucket ${{ env.AWS_S3_BUCKET }} --s3-key ${{ env.AWS_S3_BUCKET_KEY }}/${{ env.FUNC_NAME }}.zip --publish --region ${{ env.AWS_REGION }}

run: aws lambda update-function-code --function-name ${{ env.FUNC_NAME }} --s3-bucket ${{ env.AWS_S3_BUCKET }} --s3-key ${{ env.AWS_S3_BUCKET_KEY }}/${{ env.FUNC_NAME }}.zip --publish --region ${{ env.AWS_REGION }}
21 changes: 9 additions & 12 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ on:

jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Create Tag and Release
uses: singnet/das-scripts-pipeline/.github/workflows/action.yml@master
with:
version: ${{ github.event.inputs.version }}
version-strategy: bump-version-from-variable-value
job-image-namespace: trueagi
job-image-version-semver: semantic-versioning
main-branch: master
version-tag-regex-pattern: /^v\d+\.\d+\.\d+$/
version-require-confirmation: "true"
uses: singnet/das-scripts-pipeline/.github/workflows/action.yml@master
with:
version: ${{ github.event.inputs.version }}
version-strategy: bump-version-from-variable-value
job-image-namespace: trueagi
job-image-version-semver: semantic-versioning
main-branch: master
version-tag-regex-pattern: /^v\d+\.\d+\.\d+$/
version-require-confirmation: "true"
2 changes: 0 additions & 2 deletions .github/workflows/vultr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
workflow_run:
workflows: ["Versioning"]
types: [requested]
branches:
- master

env:
DEPLOYMENT_FILE: das-function.yml
Expand Down

0 comments on commit 715dc69

Please sign in to comment.