Commit Graph

232 Commits

Author SHA1 Message Date
901fa4c319 Replaced CLONE_CUSTOMER_REPOSITORY by INITIAL_CLONE.
Added some sanity checks at end of read_config().
2023-05-26 15:05:25 +02:00
e356456fb5 added update_psa_clone_customer_repository().w 2023-05-26 15:04:52 +02:00
bcc96a388f Restructered clone_customer_repository() and cd_customer_repository().
Fixed cd_home() to return explicitly to the customer repository, not
only to -.
2023-05-26 15:01:48 +02:00
8f50f62a52 Moved changing to WORKING_DIRECTORY here 2023-05-24 17:29:15 +02:00
847c58afc8 Moved changing to WORKING_DIRECTORY into update_psa 2023-05-24 17:28:28 +02:00
2abdf963ac Added zone4 for szeged 2023-05-24 17:27:36 +02:00
96d76b856a Added MAINTENANCE flag (-m). If set, simulate WAIT-button in ISMAS 2023-05-24 16:47:54 +02:00
9eff70b780 fixed typo 2023-05-24 16:46:52 +02:00
2a8be547a8 Added FATAL_FAILURE to log_helpers. Do not send to APIS in case of FATAL_FAILURE. 2023-05-24 16:46:21 +02:00
17521771e3 Use log_info instead of log_debug for some debug messages 2023-05-24 16:45:01 +02:00
515c77bed4 Use GIT_UPDATE_LOG instaed of GIT_PULL_TMP / OPKG_CMDS_TMP. 2023-05-24 13:06:25 +02:00
f2617d8151 Use GIT_UPDATE_LOG.
pull_customer_repository():
    Check the file GIT_UPDATE_LOG for keywords DOWNLOAD or EXECUTE.
2023-05-24 13:04:39 +02:00
4f9c6155e1 Always log to file. Log to terminal depending on debug level. 2023-05-24 13:02:56 +02:00
33511a5bcb simulate WAIT-button 2023-04-25 14:26:36 +02:00
bd0d07f56f Added git_branch() and git_customer_branch() 2022-07-08 17:23:03 +02:00
b8bc61daea Set log_level to INFO 2022-07-08 13:50:16 +02:00
27cd99f96a Add update_psa with parameter to skip WAIT-test 2022-07-08 13:21:47 +02:00
729778043a Removed syntactic errors. 2022-06-25 21:27:14 +02:00
31e1aad762 Removed the copy operation for the githooks aunder .githooks. 2022-06-25 21:26:20 +02:00
f8c091ad0c Add get_blob and get_commit_for_blob 2022-06-25 17:18:13 +02:00
e5e6c4c1cd Minor change: check_for_running_apism 2022-06-25 15:22:34 +02:00
95a9307631 check_for_apism, check_default_route and check_for_route_to_repository
exit the script if condition is not fulfilled.
2022-06-25 15:19:43 +02:00
fc1c2221b1 Added check_default_route and check_route_for_repository. 2022-06-25 15:11:49 +02:00
9b1549306d Added checks:
check_default_route -> exit if no route set
check_route_to_repository -> exit if no such route
check_for_apism
2022-06-25 15:08:44 +02:00
a8f691741b Added APISM running 2022-06-25 15:07:23 +02:00
c229f7072c added (commented) line for 'update_psa testing' 2022-06-16 15:52:44 +02:00
7a35039dad update_psa: when called with an argument, skip test for available
updates, executing 'git pull' in any case.
2022-06-16 15:49:34 +02:00
42fb74a041 deactivate some debug output 2022-06-16 15:49:00 +02:00
d69f767002 deactivate output 2022-06-16 15:48:11 +02:00
7c2d78e6db return 0 as exit code 2023-03-31 12:17:08 +02:00
9dd7eb7a3c Activate colored output 2023-03-31 09:45:57 +02:00
87be571e43 Remove GIT_PULL_TMP and OPKG_CMDS_TMP when cloning 2023-03-31 09:05:21 +02:00
2045dcedf5 Change to passed working directory 2023-03-30 14:56:49 +02:00
9d6bb99963 Set working directory to PWD 2023-03-30 14:55:13 +02:00
8b5cda7f73 After clone: fetch the reposiry again, follwed by a git reset --hard.
The effect is that git crates all diretories and files in /etc and /opt.
2023-03-30 13:59:38 +02:00
52271bef21 do not assert missing files. git will create them in <clone> 2023-03-30 13:40:53 +02:00
f080f34bb3 Added GIT_CLONE_EXECUTE 2022-06-12 13:10:48 +02:00
6f8ba186dd Set GIT_CLONE_EXECUTED to show that git clone was run 2022-06-12 13:10:16 +02:00
0541206033 Use of GIT_CLONE_EXECUTED to check if clone was running 2022-06-12 13:07:57 +02:00
b3eed36db8 added local branches 2022-06-12 13:06:31 +02:00
966a779065 create workspace in any case 2022-06-09 21:18:38 +02:00
da3c9abbf5 reusing customer_281 2022-06-09 21:17:18 +02:00
3574453066 'git pull' calls the hook post-merge when new data arrive.
If this is the case, write a file /tmp/git-pull which contains the names
of changed files.
Do not search for any special output of git.
2022-06-09 18:41:33 +02:00
27445f354a call pull_customer_repository without parameters 2022-06-09 18:40:40 +02:00
83aa2dbd5c clone_customer_repository: re-initailize repository after cloning. Copy
.githhoks/post-merge hook into .git/hooks/. post-merge will list the
names of changed files and write them to /tmp/git-pull.
The existence of /tmp/git-pull shows that there have been received changed files.
2022-06-09 18:34:31 +02:00
cfce4ae53c remove opkg-part 2022-06-07 22:33:05 +02:00
7a77d03c7e Add some vars 2022-06-07 22:32:46 +02:00
103952bdb9 use customer_szeged_281 for testing 2022-06-06 20:42:48 +02:00
0516843837 removed all needless parts: git is doing the working 2022-06-06 20:41:55 +02:00
d538f21a57 Minor change 2022-06-06 20:13:04 +02:00