Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSCore
Commits
335193db
Commit
335193db
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
chore: Remove reference to Wildfly 25 in gitlab CI/CD configuration
parent
18d43a58
No related branches found
No related tags found
2 merge requests
!35
build: New dummy version for testing the pipeline
,
!27
chore: Remove reference to Wildfly 25 in gitlab CI/CD configuration
Pipeline
#3206
failed
1 year ago
Stage: build
Stage: test
Stage: deploy
Stage: upload
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
335193db
...
...
@@ -83,7 +83,7 @@ deploy-to-staging:
-
ssh $SERVER_USER@$SERVER_IP "$CLI_PATH/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --command='undeploy $CURRENTLY_DEPLOYED'"
# Deploy war file using JBoss CLI and credentials given in CI/CD variables
-
echo "Deploy $WAR_FILE using JBoss CLI"
-
ssh $SERVER_USER@$SERVER_IP "
/disks/data01/wildfly/wildfly-25.0.1.Final/bin
/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --file=$TMP_PATH/deploy.cli" > deployment.log 2>&1
-
ssh $SERVER_USER@$SERVER_IP "
$CLI_PATH
/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --file=$TMP_PATH/deploy.cli" > deployment.log 2>&1
# Restart should not be necessary
-
echo "Restart WildFly"
-
ssh $SERVER_USER@$SERVER_IP "sudo systemctl restart wildfly"
...
...
@@ -136,7 +136,7 @@ deploy-to-production:
-
ssh $SERVER_USER@$SERVER_IP "$CLI_PATH/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --command='undeploy $CURRENTLY_DEPLOYED'"
# Deploy war file using JBoss CLI and credentials given in CI/CD variables
-
echo "Deploy $WAR_FILE using JBoss CLI"
-
ssh $SERVER_USER@$SERVER_IP "
/disks/data01/wildfly/wildfly-25.0.1.Final/bin
/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --file=$TMP_PATH/deploy.cli" > deployment.log 2>&1
-
ssh $SERVER_USER@$SERVER_IP "
$CLI_PATH
/jboss-cli.sh --user=$WILDFLY_ADMIN_USERNAME --password=$WILDFLY_ADMIN_PASSWORD --connect --file=$TMP_PATH/deploy.cli" > deployment.log 2>&1
# Restart should not be necessary
-
echo "Restart WildFly"
-
ssh $SERVER_USER@$SERVER_IP "sudo systemctl restart wildfly"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment