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 4e254b8
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 4e254b8

@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: 4e254b8 Previous: 68f49a1 Ratio
org.janusgraph.JanusGraphSpeedBenchmark.basicAddAndDelete 14639.223825599722 ms/op 14750.912757292574 ms/op 0.99
org.janusgraph.GraphCentricQueryBenchmark.getVertices 1407.6765261468593 ms/op 1346.1948471823591 ms/op 1.05
org.janusgraph.MgmtOlapJobBenchmark.runClearIndex 221.30713132173915 ms/op 221.0470166869565 ms/op 1.00
org.janusgraph.MgmtOlapJobBenchmark.runReindex 472.06277610454543 ms/op 463.2053476121212 ms/op 1.02
org.janusgraph.JanusGraphSpeedBenchmark.basicCount 591.7578717702656 ms/op 473.90261975756744 ms/op 1.25
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 8834.281339654528 ms/op 8776.908210320456 ms/op 1.01
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingEmitRepeatSteps 35902.099989579045 ms/op 29926.15626700794 ms/op 1.20
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithSmallBatch 35042.597636349994 ms/op 32526.844515654997 ms/op 1.08
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.vertexCentricPropertiesFetching 70046.24422453334 ms/op 59550.41166966667 ms/op 1.18
org.janusgraph.CQLMultiQueryBenchmark.getAllElementsTraversedFromOuterVertex 17522.82078153282 ms/op 15006.601503888596 ms/op 1.17
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithDoubleUnion 629.1488726846046 ms/op 610.4456304918209 ms/op 1.03
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesAllPropertiesWithUnlimitedBatch 9207.869073351583 ms/op 8351.21971247489 ms/op 1.10
org.janusgraph.CQLMultiQueryBenchmark.getNames 16855.502642119347 ms/op 14737.422644903432 ms/op 1.14
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesThreePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 11582.811417757759 ms/op 10903.708326936881 ms/op 1.06
org.janusgraph.CQLMultiQueryBenchmark.getLabels 15291.58802583162 ms/op 13305.68422999396 ms/op 1.15
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFilteredByAndStep 676.3606504826661 ms/op 672.9530191288869 ms/op 1.01
org.janusgraph.CQLMultiQueryBenchmark.getVerticesFromMultiNestedRepeatStepStartingFromSingleVertex 24384.639220594447 ms/op 21151.69997790227 ms/op 1.15
org.janusgraph.CQLMultiQueryBenchmark.getVerticesWithCoalesceUsage 595.7144193696771 ms/op 566.2220666199714 ms/op 1.05
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithAllMultiQuerySlicesUnderMaxRequestsPerConnection 30953.754705691113 ms/op 25822.55861829052 ms/op 1.20
org.janusgraph.CQLMultiQueryBenchmark.getIdToOutVerticesProjection 402.3791039225574 ms/op 411.4887692411499 ms/op 0.98
org.janusgraph.CQLMultiQueryMultiSlicesBenchmark.getValuesMultiplePropertiesWithUnlimitedBatch 33515.16907207116 ms/op 29794.881563733332 ms/op 1.12
org.janusgraph.CQLMultiQueryBenchmark.getNeighborNames 16996.838782138962 ms/op 14451.119747276667 ms/op 1.18
org.janusgraph.CQLMultiQueryBenchmark.getElementsWithUsingRepeatUntilSteps 18675.379295537474 ms/op 16086.213028835715 ms/op 1.16
org.janusgraph.CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 17826.533245559425 ms/op 14981.480702516508 ms/op 1.19

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

Please sign in to comment.