Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ESAP GUI
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
ASTRON SDC
ESCAPE WP5
ESAP GUI
Commits
03364341
Commit
03364341
authored
4 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
adding CI/CD pipeline for acceptance
parent
87708ef7
No related branches found
No related tags found
No related merge requests found
Pipeline
#10975
failed
4 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
src/routes/Routes.js
+1
-1
1 addition, 1 deletion
src/routes/Routes.js
with
21 additions
and
1 deletion
.gitlab-ci.yml
+
20
−
0
View file @
03364341
...
@@ -38,3 +38,23 @@ deploy-esap-gui:
...
@@ -38,3 +38,23 @@ deploy-esap-gui:
when
:
manual
when
:
manual
only
:
only
:
-
esap-gui-dev
-
esap-gui-dev
-
master
deploy-esap-gui-acceptance
:
stage
:
deploy
before_script
:
-
'
command
-v
ssh-agent
>/dev/null
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan dop457.astron.nl >> ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
-
echo "Deploying to server"
-
scp -r build/static/* vermaas@dop457.astron.nl:/data/shared/static
-
scp -r build/* vermaas@dop457.astron.nl:/data/shared/public_html/esap-gui
-
echo "Deployed"
when
:
manual
only
:
-
acceptance
This diff is collapsed.
Click to expand it.
src/routes/Routes.js
+
1
−
1
View file @
03364341
...
@@ -51,7 +51,7 @@ export default function Routes() {
...
@@ -51,7 +51,7 @@ export default function Routes() {
<
/Route
>
<
/Route
>
<
Route
exact
path
=
"
/samp
"
component
=
{
SampPage
}
/
>
<
Route
exact
path
=
"
/samp
"
component
=
{
SampPage
}
/
>
<
/Switch
>
<
/Switch
>
<
footer
><
small
>
esap
-
gui
version
23
feb
2021
1
5
:
00
<
/small></
footer
>
<
footer
><
small
>
esap
-
gui
version
23
march
2021
1
4
:
00
<
/small></
footer
>
<
/Router
>
<
/Router
>
);
);
}
}
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