Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlo FERRIGNO
ci-template-cc
Commits
de554e97
Unverified
Commit
de554e97
authored
Jan 28, 2021
by
Volodymyr SAVCHENKO
Browse files
better setup configure
parent
8edb426d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
Makefile
Makefile
+4
-1
make-functions.sh
make-functions.sh
+18
-1
No files found.
Makefile
View file @
de554e97
...
...
@@ -6,12 +6,15 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir
:=
$(
notdir
$(
patsubst
%/,%,
$(
dir
$(mkfile_path)
)))
#current_version := $(shell cd $(current_dir); git describe --tags)
install
:
install
:
autocomplete.bash
install
-D
-m
0755
-v
make-functions.sh
${HOME}
/.local/bin/cc-cli
install
-D
-m
0755
-v
autocomplete.bash
${HOME}
/.bash_completion.d/cc-cli.bash
install
-D
-m
0400
-v
README.md
${HOME}
/.local/share/doc/cc-cli.md
<
$(HOME)
/.bash_completion
grep
cc-cli.bash
||
echo
'source $$HOME/.bash_completion.d/cc-cli.bash'
>>
$(HOME)
/.bash_completion
autocomplete.bash
:
< autocomplete.bash.template
sed
's/%CLI_SCRIPT_NAME%/cc-cli/g'
>
autocomplete.bash
test
:
./actions.sh test-all
...
...
make-functions.sh
View file @
de554e97
...
...
@@ -71,7 +71,8 @@ fi
PORT
=
8998
DOCKER_REGISTRY
=
admin.reproducible.online
DOCKER_REGISTRY
=
volodymyrsavchenko
#DOCKER_REGISTRY=admin.reproducible.online
#mkfile_path = $(abspath $(lastword $(MAKEFILE_LIST)))
...
...
@@ -410,6 +411,22 @@ function submit-all-cases() {
done
}
function
configure-reana
()
{
reana-client secrets-add
--env
MINIO_KEY
=
${
MINIO_KEY
:?this
should be set
}
reana-client secrets-add
--env
MINIO_URL
=
${
MINIO_URL
:?this
should be set
}
reana-client secrets-list
}
function
run-reana
()
{
inputs
=
${
1
:?
}
cp
-v
$inputs
inputs.yaml
name
=
$(
oda-cc get metadata.source_short_name unnamed
)
reana-client create
-f
reana.yaml
--name
$name
reana-client start
--workflow
$name
}
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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