Skip to content

Commit

Permalink
merge to release (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 authored Jan 31, 2024
2 parents 2a2bc3b + db9e912 commit e4cf978
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ jobs:
with:
name: ${{ matrix.os }}-artifacts
path: ${{ env.ARTIFACTS_DIR }}/artifacts-${{matrix.os}}.zip
retention-days: 1
retention-days: 365 # 1 year
15 changes: 11 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# download the artifacts
- name: "Download artifacts"
uses: "actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935" # v4.1.1
# # download the artifacts
# - name: "Download artifacts"
# uses: "actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935" # v4.1.1
# with:
# path: ${{ github.workspace }}/artifacts

- name: Download Artifacts
uses: dawidd6/[email protected]
with:
path: ${{ github.workspace }}/artifacts
workflow: cmake-multi-platform.yml
workflow_conclusion: success
path: ${{ github.workspace }}/artifacts

- name: Rename Artifacts
run: |
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/deploy-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,24 @@
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.

name: Deploy to Amazon ECS
name: Deploy to Amazon EKS

on:
push:
branches: [ "development" ]
branches: [ "release" ]

env:
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
ECR_REPOSITORY: MY_ECR_REPOSITORY # set this to your Amazon ECR repository name
ECS_SERVICE: MY_ECS_SERVICE # set this to your Amazon ECS service name
ECS_CLUSTER: MY_ECS_CLUSTER # set this to your Amazon ECS cluster name
ECS_TASK_DEFINITION: MY_ECS_TASK_DEFINITION # set this to the path to your Amazon ECS task definition
# file, e.g. .aws/task-definition.json
CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in the
# containerDefinitions section of your task definition
AWS_REGION: us-west-2 # set this to your preferred AWS region, e.g. us-west-1\ # file, e.g. .aws/task-definition.json
CONTAINER_NAME: MY_CONTAINER_NAME # set this to the name of the container in the
# containerDefinitions section of your task definition

permissions:
contents: read

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: production

steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ OdbDesignServer/PyOdbDesignLib/PyOdbDesignLib.py
OdbDesignServer/db.sqlite3
OdbDesignServer/PyOdbDesignLib/_PyOdbDesignLib.pyd
/TEST_DATA.zip
deploy/kubeconfig

0 comments on commit e4cf978

Please sign in to comment.