Skip to content

Commit

Permalink
fix docker-release-tags action
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Jansen <[email protected]>
  • Loading branch information
farodin91 committed Oct 14, 2023
1 parent 6710004 commit fd2c2c3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
runs-on: ubuntu-22.04
if: "!contains(github.event.release.tag_name, '-') && !github.event.release.prerelease"
steps:
- uses: actions/checkout@v4
- name: GET DOCKER TOKEN
run: |
curl -u ${{ secrets.DOCKERHUB_USERNAME }}:${{ secrets.DOCKERHUB_TOKEN }} -s -o test.json "https://auth.docker.io/token?service=registry.docker.io&scope=repository:janusgraph/janusgraph:pull,push"
TOKEN=$(cat test.json | jq -r '.token')
echo "DOCKER_SHORT_TOKEN=${TOKEN}" >> $GITHUB_ENV
- name: EXTRACT VERSION
run: |
MINOR_VERSION=$(echo "${{ github.event.release.tag_name }}" | grep -Eo '[0-9]+\.[0-9]+' | head -1)
Expand All @@ -49,7 +55,7 @@ jobs:
registry: index.docker.io
repository: janusgraph/janusgraph
target: ${{ env.PATCH_VERSION }}-${{ env.REVISION }}
token: ${{ secrets.DOCKERHUB_TOKEN }}
token: "${{ env.DOCKER_SHORT_TOKEN }}"
tags: |
${{ env.PATCH_VERSION }}
${{ env.MINOR_VERSION }}
Expand All @@ -69,6 +75,6 @@ jobs:
registry: index.docker.io
repository: janusgraph/janusgraph
target: ${{ env.PATCH_VERSION }}-${{ env.REVISION }}
token: ${{ secrets.DOCKERHUB_TOKEN }}
token: ${{ env.DOCKER_SHORT_TOKEN }}
tags: |
latest

1 comment on commit fd2c2c3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: fd2c2c3 Previous: 68f49a1 Ratio
org.janusgraph.JanusGraphSpeedBenchmark.basicAddAndDelete 14974.213216842209 ms/op 14750.912757292574 ms/op 1.02
org.janusgraph.GraphCentricQueryBenchmark.getVertices 1387.2700699020209 ms/op 1346.1948471823591 ms/op 1.03
org.janusgraph.MgmtOlapJobBenchmark.runClearIndex 220.79241113550725 ms/op 221.0470166869565 ms/op 1.00
org.janusgraph.MgmtOlapJobBenchmark.runReindex 470.5067153745455 ms/op 463.2053476121212 ms/op 1.02
org.janusgraph.JanusGraphSpeedBenchmark.basicCount 380.2722957441218 ms/op 473.90261975756744 ms/op 0.80
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 8613.382196653045 ms/op 8776.908210320456 ms/op 0.98
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingEmitRepeatSteps 31131.38597271111 ms/op 29926.15626700794 ms/op 1.04
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithSmallBatch 32032.005087666672 ms/op 32526.844515654997 ms/op 0.98
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.vertexCentricPropertiesFetching 62955.19613923333 ms/op 59550.41166966667 ms/op 1.06
org.janusgraph.CQLMultiQueryBenchmark.getAllElementsTraversedFromOuterVertex 14722.01995061758 ms/op 15006.601503888596 ms/op 0.98
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithDoubleUnion 596.7148988847655 ms/op 610.4456304918209 ms/op 0.98
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithUnlimitedBatch 8028.554096293904 ms/op 8351.21971247489 ms/op 0.96
org.janusgraph.CQLMultiQueryBenchmark.getNames 14869.377199288087 ms/op 14737.422644903432 ms/op 1.01
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesThreePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 10177.569206074762 ms/op 10903.708326936881 ms/op 0.93
org.janusgraph.CQLMultiQueryBenchmark.getLabels 13355.314843101485 ms/op 13305.68422999396 ms/op 1.00
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFilteredByAndStep 698.6779942640137 ms/op 672.9530191288869 ms/op 1.04
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFromMultiNestedRepeatStepStartingFromSingleVertex 21332.548497736367 ms/op 21151.69997790227 ms/op 1.01
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithCoalesceUsage 584.1651049087321 ms/op 566.2220666199714 ms/op 1.03
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 28020.85003134983 ms/op 25822.55861829052 ms/op 1.09
org.janusgraph.CQLMultiQueryBenchmark.getIdToOutVerticesProjection 416.6405488701803 ms/op 411.4887692411499 ms/op 1.01
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithUnlimitedBatch 32058.504074360004 ms/op 29794.881563733332 ms/op 1.08
org.janusgraph.CQLMultiQueryBenchmark.getNeighborNames 14837.34570983402 ms/op 14451.119747276667 ms/op 1.03
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingRepeatUntilSteps 16261.599818246666 ms/op 16086.213028835715 ms/op 1.01
org.janusgraph.CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 15000.189472576667 ms/op 14981.480702516508 ms/op 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.