mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
added aws image
This commit is contained in:
parent
27e39b933f
commit
1cdc8e4959
2 changed files with 3 additions and 3 deletions
|
|
@ -213,7 +213,6 @@ deploy node for linux amd64:
|
|||
- echo $INSTANCE_ID
|
||||
- scp -i gitlab-featurebase-dev.pem featurebase_linux_amd64 ec2-user@$PUBLIC_IP:.
|
||||
- scp -i gitlab-featurebase-dev.pem .gitlab/featurebase.conf .gitlab/featurebase.service ec2-user@$PUBLIC_IP:.
|
||||
- sleep 120
|
||||
needs:
|
||||
job: build for linux amd64
|
||||
artifacts:
|
||||
|
|
@ -222,7 +221,7 @@ deploy node for linux amd64:
|
|||
|
||||
run featurebase in linux amd64 node:
|
||||
stage: lint
|
||||
image:
|
||||
image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
|
||||
variables:
|
||||
INSTANCE_ID: ""
|
||||
before_script:
|
||||
|
|
@ -232,6 +231,7 @@ run featurebase in linux amd64 node:
|
|||
- INSTANCE_ID=$(cat linux-amd64-instance.txt)
|
||||
script:
|
||||
- aws ssm send-command --document-name "AWS-RunShellScript" --targets InstanceIds=$INSTANCE_ID --cli-input-json file://.gitlab/configureFeatureBase.json
|
||||
- sleep 120
|
||||
needs:
|
||||
job:
|
||||
deploy node for linux amd64
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ curl -O https://dl.google.com/go/go1.16.9.linux-amd64.tar.gz
|
|||
tar xvf go1.16.9.linux-amd64.tar.gz
|
||||
chown -R root:root ./go
|
||||
mv go /usr/local
|
||||
echo "export PATH=$PATH:/usr/local/go/bin" | sudo tee -a /etc/profile > /dev/null
|
||||
echo "export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/go/bin" | tee -a /etc/profile > /dev/null
|
||||
source /etc/profile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue