Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-ws-static
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-ws-static
Commits
0d46a3f1
Commit
0d46a3f1
authored
1 year ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Plain Diff
Merge branch 'version-info' into 'main'
Version info See merge request
!148
parents
5aed1f14
379f6512
No related branches found
No related tags found
1 merge request
!148
Version info
Pipeline
#320792
passed
1 year ago
Stage: build
Stage: trigger
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+0
-1
0 additions, 1 deletion
.dockerignore
.gitlab-ci.yml
+1
-4
1 addition, 4 deletions
.gitlab-ci.yml
gradle.properties
+2
-2
2 additions, 2 deletions
gradle.properties
gradle/app-version.gradle
+2
-8
2 additions, 8 deletions
gradle/app-version.gradle
with
5 additions
and
15 deletions
.dockerignore
+
0
−
1
View file @
0d46a3f1
...
@@ -7,7 +7,6 @@ build
...
@@ -7,7 +7,6 @@ build
Scratch*.java
Scratch*.java
tmp
tmp
.DS_Store
.DS_Store
.vscode
.apt_generated*
.apt_generated*
.factorypath
.factorypath
swagger-files
swagger-files
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
4
View file @
0d46a3f1
...
@@ -57,10 +57,7 @@ default:
...
@@ -57,10 +57,7 @@ default:
.production-env
:
&production-env
.production-env
:
&production-env
if
:
>
if
:
>
$CI_PROJECT_PATH == $UPSTREAM_PATH
$CI_PROJECT_PATH == $UPSTREAM_PATH
&& (
&& ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' )
$CI_COMMIT_BRANCH == 'production'
|| ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' )
)
variables
:
variables
:
ENVIRONMENT
:
production
ENVIRONMENT
:
production
...
...
This diff is collapsed.
Click to expand it.
gradle.properties
+
2
−
2
View file @
0d46a3f1
...
@@ -7,8 +7,8 @@ micronautRxVersion = 2.1.1
...
@@ -7,8 +7,8 @@ micronautRxVersion = 2.1.1
netcdfVersion
=
5.5.2
netcdfVersion
=
5.5.2
nodePluginVersion
=
3.0.1
nodePluginVersion
=
3.0.1
nodeVersion
=
16.3.0
nodeVersion
=
16.3.0
nshmpLibVersion
=
1.
3.10
nshmpLibVersion
=
1.
4.2
nshmpWsUtilsVersion
=
0.3.1
2
nshmpWsUtilsVersion
=
0.3.1
4
openApiVersion
=
4.0.0
openApiVersion
=
4.0.0
shadowVersion
=
7.1.1
shadowVersion
=
7.1.1
slfVersion
=
1.7.30
slfVersion
=
1.7.30
...
...
This diff is collapsed.
Click to expand it.
gradle/app-version.gradle
+
2
−
8
View file @
0d46a3f1
...
@@ -8,15 +8,9 @@ tasks.withType(JavaCompile) {
...
@@ -8,15 +8,9 @@ tasks.withType(JavaCompile) {
try
{
try
{
def
details
=
versionDetails
()
def
details
=
versionDetails
()
def
ciProjectUrl
=
System
.
getenv
(
"CI_PROJECT_URL"
)
def
ciProjectUrl
=
System
.
getenv
(
"CI_PROJECT_URL"
)
def
branch
=
System
.
getenv
(
"CI_COMMIT_BRANCH"
)
def
versionInfo
=
[
def
versionInfo
=
[
branchName:
branch
?
branch
:
details
.
branchName
,
gitHash:
details
.
gitHashFull
,
commitDistance:
details
.
commitDistance
,
projectName:
"nshmp-ws-static"
,
gitHash:
details
.
gitHash
,
gitHashFull:
details
.
gitHashFull
,
isCleanTag:
details
.
isCleanTag
,
lastTag:
details
.
lastTag
,
projectName:
project
.
name
,
url:
ciProjectUrl
?
ciProjectUrl
:
"git config --get remote.origin.url"
.
execute
().
text
.
replace
(
"\n"
,
""
),
url:
ciProjectUrl
?
ciProjectUrl
:
"git config --get remote.origin.url"
.
execute
().
text
.
replace
(
"\n"
,
""
),
version:
details
.
version
,
version:
details
.
version
,
]
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment