Skip to content

Commit

Permalink
Updated dependency version
Browse files Browse the repository at this point in the history
Updated CI/CD
  • Loading branch information
kochetovd committed Dec 14, 2023
1 parent d8e6809 commit 4fb4c63
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 153 deletions.
55 changes: 5 additions & 50 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,64 +22,19 @@ jobs:

- name: Build
run: bash build.sh
- name: Create upload dir
run: |
mkdir -p ../v2
cp current_version_agent install.sh mysqlconfigurer.sh releem-agent-x86_64 releem-agent-amd64 releem-agent-aarch64 releem-agent-freebsd-amd64 ../v2/
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 current_version_agent
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'current_version_agent'
source_dir: '../v2'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 install.sh
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'install.sh'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 mysqlconfigurer.sh
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'mysqlconfigurer.sh'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 releem-agent-x86_64
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'releem-agent-x86_64'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 releem-agent-amd64
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'releem-agent-amd64'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 releem-agent-aarch64
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'releem-agent-aarch64'
destination_dir: 'v2'
- uses: shallwefootball/s3-upload-action@master
name: Upload S3 releem-agent-freebsd-amd64
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: 'releem-agent-freebsd-amd64'
destination_dir: 'v2'


- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
Expand Down
52 changes: 29 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,41 @@ go 1.19
require (
github.com/Releem/daemon v0.0.0-20221103142627-2a82cf09ac69
github.com/advantageous/go-logback v0.0.0-20161215180304-6db19679ca3e
github.com/aws/aws-sdk-go v1.44.180
github.com/aws/aws-sdk-go-v2 v1.17.3
github.com/aws/aws-sdk-go-v2/config v1.18.8
github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.24.0
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.19.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.78.0
github.com/aws/aws-sdk-go-v2/service/rds v1.40.0
github.com/go-sql-driver/mysql v1.7.0
github.com/aws/aws-sdk-go v1.49.2
github.com/aws/aws-sdk-go-v2 v1.24.0
github.com/aws/aws-sdk-go-v2/config v1.26.1
github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.32.0
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.30.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.141.0
github.com/aws/aws-sdk-go-v2/service/rds v1.64.5
github.com/go-sql-driver/mysql v1.7.1
github.com/hashicorp/hcl v1.0.0
github.com/shirou/gopsutil/v3 v3.22.12
github.com/shirou/gopsutil/v3 v3.23.11
)

require (
github.com/aws/aws-sdk-go-v2/credentials v1.13.8 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.28 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.21 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.12.0 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.18.0 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.16.12 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 // indirect
github.com/aws/smithy-go v1.19.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/tklauser/numcpus v0.6.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/sys v0.13.0 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
)
Loading

0 comments on commit 4fb4c63

Please sign in to comment.