Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
my-test-group
TestAppCiNew
Commits
3e774976
Commit
3e774976
authored
Nov 27, 2025
by
jayed nahian
Browse files
fix-66
parent
584d8b26
Pipeline
#8118
failed with stage
in 1 minute and 34 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3e774976
...
@@ -32,13 +32,18 @@ deploy_job:
...
@@ -32,13 +32,18 @@ deploy_job:
VERSION_NAME
:
'
4.4.2'
VERSION_NAME
:
'
4.4.2'
APK_NAME_PREFIX
:
'
testApp_01'
APK_NAME_PREFIX
:
'
testApp_01'
APK_NAME
:
$APK_NAME_PREFIX'_'$VERSION_NAME'_'$(date '+%d%B')
APK_NAME
:
$APK_NAME_PREFIX'_'$VERSION_NAME'_'$(date '+%d%B')
SSH_PASSPHRASE
:
'
TlTech'
SERVER_IP
:
'
n.trucklagbe.com'
SSH_PORT
:
'
3716'
SSH_USER
:
'
custodian'
script
:
script
:
# -----------------------
# -----------------------
# Setup SSH
# Setup SSH
# -----------------------
# -----------------------
-
mkdir -p ~/.ssh
-
mkdir -p ~/.ssh
-
echo "$SSH_KEY" > ~/
Users/tltestuser/Downloads/ndot_key_14012025
-
echo "$SSH_KEY" > ~/
.ssh/id_rsa
-
chmod 600 ~/
Users/tltestuser/Downloads/ndot_key_14012025
-
chmod 600 ~/
.ssh/id_rsa
# Start SSH Agent and add password-protected key
# Start SSH Agent and add password-protected key
-
eval "$(ssh-agent -s)"
-
eval "$(ssh-agent -s)"
...
@@ -46,6 +51,7 @@ deploy_job:
...
@@ -46,6 +51,7 @@ deploy_job:
# Add host to known_hosts
# Add host to known_hosts
-
ssh-keyscan -p $SSH_PORT $SERVER_IP >> ~/.ssh/known_hosts
-
ssh-keyscan -p $SSH_PORT $SERVER_IP >> ~/.ssh/known_hosts
-
curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
-
curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# -----------------------
# -----------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment