Skip to content

Commit 0060096

Browse files
authoredJun 21, 2021
Merge pull request #153 from oracle/prepare-2.0.3
Prepare for 2.0.3 release
2 parents 2330604 + 5df51e8 commit 0060096

File tree

7 files changed

+31
-5
lines changed

7 files changed

+31
-5
lines changed
 

‎Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ WORKDIR /tmp
3030

3131
RUN set -eux; \
3232
microdnf -y install gzip tar openssl jq; \
33+
microdnf -y update; \
3334
microdnf clean all
3435

3536
ENV LANG="en_US.UTF-8" \
@@ -57,6 +58,14 @@ RUN set -eux; \
5758
# Finally, copy the exporter sidecar and create the docker image
5859
FROM linux as base
5960

61+
LABEL "org.opencontainers.image.authors"="Ryan Eberhard <ryan.eberhard@oracle.com>, Russell Gold <russell.gold@oracle.com>" \
62+
"org.opencontainers.image.url"="https://github.com/oracle/weblogic-monitoring-exporter" \
63+
"org.opencontainers.image.source"="https://github.com/oracle/weblogic-monitoring-exporter" \
64+
"org.opencontainers.image.vendor"="Oracle Corporation" \
65+
"org.opencontainers.image.title"="Oracle WebLogic Monitoring Exporter" \
66+
"org.opencontainers.image.description"="Oracle WebLogic Monitoring Exporter" \
67+
"org.opencontainers.image.documentation"="https://github.com/oracle/weblogic-monitoring-exporter"
68+
6069
COPY --from=build project/wls-exporter-sidecar/target/wls-exporter-sidecar.jar ./
6170
COPY --from=build project/wls-exporter-sidecar/target/libs ./libs
6271
COPY start_exporter.sh .

‎build-helper-mojo/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>wls-exporter-parent</artifactId>
1111
<groupId>com.oracle.wls.exporter</groupId>
12-
<version>2.0.2</version>
12+
<version>2.0.3</version>
1313
</parent>
1414

1515
<artifactId>build-helper-mojo</artifactId>

‎get2.0.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
# Copyright (c) 2021, Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
5+
curl -L -O https://github.com/oracle/weblogic-monitoring-exporter/releases/latest/download/wls-exporter.war
6+
7+
if [ ! -z "$1" ]; then
8+
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
9+
echo "created $tmp_dir"
10+
cp $1 $tmp_dir/config.yml
11+
warDir=$PWD
12+
pushd $tmp_dir
13+
echo "in temp dir"
14+
zip $warDir/wls-exporter.war config.yml
15+
popd
16+
# rm -rf $tmp_dir
17+
fi

‎pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>com.oracle.wls.exporter</groupId>
99
<artifactId>wls-exporter-parent</artifactId>
10-
<version>2.0.2</version>
10+
<version>2.0.3</version>
1111
<modules>
1212
<module>wls-exporter-core</module>
1313
</modules>

‎wls-exporter-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<artifactId>wls-exporter-parent</artifactId>
1010
<groupId>com.oracle.wls.exporter</groupId>
11-
<version>2.0.2</version>
11+
<version>2.0.3</version>
1212
</parent>
1313

1414
<artifactId>wls-exporter-core</artifactId>

‎wls-exporter-sidecar/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.oracle.wls.exporter</groupId>
1010
<artifactId>wls-exporter-parent</artifactId>
11-
<version>2.0.2</version>
11+
<version>2.0.3</version>
1212
</parent>
1313
<artifactId>wls-exporter-sidecar</artifactId>
1414
<name>WebLogic Monitoring Exporter Sidecar</name>

‎wls-exporter-war/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>wls-exporter-parent</artifactId>
99
<groupId>com.oracle.wls.exporter</groupId>
10-
<version>2.0.2</version>
10+
<version>2.0.3</version>
1111
</parent>
1212
<modelVersion>4.0.0</modelVersion>
1313

0 commit comments

Comments
 (0)