Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
c7e8173e
Unverified
Commit
c7e8173e
authored
Jun 03, 2020
by
Oleh Nikolaiev
Committed by
GitHub
Jun 03, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature/SKALE-2002-backup
parents
bb7aa398
07d5e619
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
11 deletions
+13
-11
dockerimage.yml
.github/workflows/dockerimage.yml
+2
-2
dockerimagebase.yml
.github/workflows/dockerimagebase.yml
+2
-2
dockerimagesim.yml
.github/workflows/dockerimagesim.yml
+2
-2
Dockerfile
Dockerfile
+2
-0
VERSION
VERSION
+1
-1
build_image.sh
scripts/build_image.sh
+2
-1
publish_image.sh
scripts/publish_image.sh
+1
-2
sgxwallet.c
sgxwallet.c
+1
-1
No files found.
.github/workflows/dockerimage.yml
View file @
c7e8173e
...
...
@@ -28,5 +28,5 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh Dockerfile
bash ./scripts/publish_image.sh Dockerfile sgxwallet
\ No newline at end of file
bash ./scripts/build_image.sh Dockerfile sgxwallet
bash ./scripts/publish_image.sh sgxwallet
\ No newline at end of file
.github/workflows/dockerimagebase.yml
View file @
c7e8173e
...
...
@@ -31,5 +31,5 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_image.sh DockerfileBase
bash ./scripts/publish_image.sh DockerfileBase sgxwallet_base
\ No newline at end of file
bash ./scripts/build_image.sh DockerfileBase sgxwallet_base
bash ./scripts/publish_image.sh sgxwallet_base
\ No newline at end of file
.github/workflows/dockerimagesim.yml
View file @
c7e8173e
...
...
@@ -26,7 +26,7 @@ jobs:
export VERSION=$(bash ./scripts/calculate_version.sh $BRANCH $VERSION)
echo "::set-env name=VERSION::$VERSION"
echo "Version $VERSION"
bash ./scripts/build_image.sh DockerfileSimulation
bash ./scripts/build_image.sh DockerfileSimulation
sgxwallet_sim
-
name
:
build container for testing
run
:
python3 scripts/docker_build.py DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
-
name
:
test
...
...
@@ -41,7 +41,7 @@ jobs:
echo "Version $VERSION"
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/publish_image.sh
DockerfileSimulation sgxwallet
sim
bash ./scripts/publish_image.sh
sgxwallet_
sim
-
name
:
Create Release
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id
:
create_release
...
...
Dockerfile
View file @
c7e8173e
...
...
@@ -3,6 +3,8 @@ FROM skalenetwork/sgxwallet_base:latest
COPY
. /usr/src/sdk
WORKDIR
/usr/src/sdk
RUN
touch
/var/hwmode
RUN
./autoconf.bash
RUN
./configure
...
...
VERSION
View file @
c7e8173e
1.50.2
\ No newline at end of file
1.50.3
\ No newline at end of file
scripts/build_image.sh
View file @
c7e8173e
...
...
@@ -3,13 +3,14 @@
set
-e
DOCKERFILE
=
$1
CONTAINER_NAME
=
$2
:
"
${
VERSION
?Need to set VERSION
}
"
:
"
${
BRANCH
?Need to set BRANCH
}
"
NAME
=
sgx
REPO_NAME
=
skalenetwork/
$NAME
IMAGE_NAME
=
$REPO_NAME
:
$VERSION
IMAGE_NAME
=
$REPO_NAME
.
$CONTAINER_NAME
:
$VERSION
LATEST_IMAGE_NAME
=
$REPO_NAME
:
$BRANCH
-latest
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
...
...
scripts/publish_image.sh
View file @
c7e8173e
...
...
@@ -2,8 +2,7 @@
set
-e
DOCKERFILE
=
$1
CONTAINER_NAME
=
$2
CONTAINER_NAME
=
$1
:
"
${
VERSION
?Need to set VERSION
}
"
:
"
${
BRANCH
?Need to set BRANCH
}
"
...
...
sgxwallet.c
View file @
c7e8173e
...
...
@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
while
((
opt
=
getopt
(
argc
,
argv
,
"cshd0abyvV"
))
!=
-
1
)
{
while
((
opt
=
getopt
(
argc
,
argv
,
"cshd0abyvV
n
"
))
!=
-
1
)
{
switch
(
opt
)
{
case
'h'
:
printUsage
();
...
...
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