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
58f944f2
Unverified
Commit
58f944f2
authored
May 19, 2020
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2202 test build
parent
204708cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
dockerimage.yml
.github/workflows/dockerimage.yml
+1
-1
dockerimagebase.yml
.github/workflows/dockerimagebase.yml
+1
-1
dockerimagesim.yml
.github/workflows/dockerimagesim.yml
+2
-2
calculate_version.sh
scripts/calculate_version.sh
+1
-1
No files found.
.github/workflows/dockerimage.yml
View file @
58f944f2
...
@@ -25,6 +25,6 @@ jobs:
...
@@ -25,6 +25,6 @@ jobs:
echo "Version $VERSION"
echo "Version $VERSION"
export RELEASE=true
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh
sgxwallet
Dockerfile
bash ./scripts/build_and_publish.sh Dockerfile
.github/workflows/dockerimagebase.yml
View file @
58f944f2
...
@@ -28,4 +28,4 @@ jobs:
...
@@ -28,4 +28,4 @@ jobs:
echo "Version $VERSION"
echo "Version $VERSION"
export RELEASE=true
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh sgxwallet_base DockerfileBase
bash ./scripts/build_and_publish.sh DockerfileBase
\ No newline at end of file
\ No newline at end of file
.github/workflows/dockerimagesim.yml
View file @
58f944f2
...
@@ -18,7 +18,7 @@ jobs:
...
@@ -18,7 +18,7 @@ jobs:
-
name
:
test
-
name
:
test
run
:
python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
run
:
python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
-
name
:
deploy docker image
-
name
:
deploy docker image
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
#
if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
run
:
|
run
:
|
export BRANCH=${GITHUB_REF##*/}
export BRANCH=${GITHUB_REF##*/}
echo "Branch $BRANCH"
echo "Branch $BRANCH"
...
@@ -29,7 +29,7 @@ jobs:
...
@@ -29,7 +29,7 @@ jobs:
echo "Version $VERSION"
echo "Version $VERSION"
export RELEASE=true
export RELEASE=true
echo "::set-env name=RELEASE::$RELEASE"
echo "::set-env name=RELEASE::$RELEASE"
bash ./scripts/build_and_publish.sh
sgxwalletsim
DockerfileSimulation
bash ./scripts/build_and_publish.sh DockerfileSimulation
-
name
:
Create Release
-
name
:
Create Release
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id
:
create_release
id
:
create_release
...
...
scripts/calculate_version.sh
View file @
58f944f2
...
@@ -43,7 +43,7 @@ for (( VERSION_NUMBER=0; ; VERSION_NUMBER++ ))
...
@@ -43,7 +43,7 @@ for (( VERSION_NUMBER=0; ; VERSION_NUMBER++ ))
do
do
if
[
"
$VERSION
"
=
"1.49"
]
&&
[
"
$VERSION_NUMBER
"
-le
4
]
if
[
"
$VERSION
"
=
"1.49"
]
&&
[
"
$VERSION_NUMBER
"
-le
4
]
then
then
VERSION_NUMBER
=
4
VERSION_NUMBER
=
123
fi
fi
RESULT_VERSION
=
"
$CONTAINER
.
$VERSION
-
$LABEL
.
$VERSION_NUMBER
"
RESULT_VERSION
=
"
$CONTAINER
.
$VERSION
-
$LABEL
.
$VERSION_NUMBER
"
if
!
[
$(
git tag
-l
?
$RESULT_VERSION
)
]
if
!
[
$(
git tag
-l
?
$RESULT_VERSION
)
]
...
...
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