-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master.dev' into 'master'
Master.dev See merge request piclas/piclas!283
- Loading branch information
Showing
12 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,6 +188,13 @@ Latest test: on ubuntu (18.04), 3 Jul 2019 | |
``` | ||
sudo chown -R gitlab-runner:gitlab-runner /var/lib/gitlab-runner/.ssh/ | ||
``` | ||
If the runner is used to push to remote repositories, add the public key under *deploy keys* | ||
and execute, e.g., | ||
``` | ||
sudo -u gitlab-runner git clone [email protected]:piclas-framework/piclas.git piclas_github | ||
``` | ||
to establish the first connection with the new repository and add the repo IP to the list of | ||
known hosts. | ||
6. Start pipeline in gitlab or github for testing of reggie | ||
NOTE: Interesting information is found in `/etc/systemd/system/gitlab-runner.service`. | ||
|
@@ -258,13 +265,19 @@ check_interval = 0 | |
``` | ||
### Automatic Deployment to other platforms | ||
1. Add the required ssh key to the deploy keys on the respective platform (e.g. github) | ||
1. Clone a code from the platform to update the list of known hosts. Do not forget to copy the | ||
information to the correct location for the runner to have access to the platform | ||
``` | ||
sudo cp~/.ssh/.ssh/known_hosts /var/lib/gitlab-runner/.ssh/known_hosts | ||
``` | ||
1. PICLas deployment in performed by the gitlab runner in the *deployment stage* | ||
This might have to be performed via the gitlab-runner user, which can be accomplished by | ||
executing the following command | ||
``` | ||
sudo -u gitlab-runner git clone [email protected]:piclas-framework/piclas.git piclas_github | ||
``` | ||
1. PICLas deployment is performed by the gitlab runner in the *deployment stage* | ||
``` | ||
github: | ||
stage: deploy | ||
|
Binary file modified
BIN
+0 Bytes
(100%)
...KFlow/Flow_N2_70degCone/70degCone2D_Set1_DSMCSurfState_000.00200000000000000_reference.h5
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...PFlow/Flow_N2_70degCone/70degCone2D_Set1_DSMCSurfState_000.00200000000000000_reference.h5
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters