Skip to content

Commit

Permalink
Release: v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davi17g committed Aug 12, 2024
1 parent 053bac5 commit 0beb910
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
jobs:
build-images:
runs-on: ubuntu-latest
# if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/release-test' }}
steps:
- name: Checkout Automation Code
uses: actions/checkout@v4
- name: Get Metadata
run: |
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
echo "VERSION=$(cat VERSION | cut -c 2-)" >> $GITHUB_ENV
echo "ISO8601=$(LC_TIME=en_US.UTF-8 date "+%Y-%m-%dT%H:%M:%S%z")" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -47,12 +47,13 @@ jobs:
env:
ARTIFACTORY_CONTAINER_DEV: ${{ vars.ARTIFACTORY_CONTAINER_DEV }}
ARTIFACTORY_CONTAINER_PROD: ${{ vars.ARTIFACTORY_CONTAINER_PROD }}
VERSION: ${{env.VERSION}}
run: |
jfrog rt docker-promote aerospike-backup-service \
"$ARTIFACTORY_CONTAINER_DEV" \
"ecosystem-container-stage-local" \
--source-tag "$TAG" \
--target-tag "$TAG" \
--source-tag "$VERSION" \
--target-tag "$VERSION" \
--user "${{ secrets.ARTIFACTORY_USER }}" \
--password "${{ secrets.ARTIFACTORY_TOKEN }}" \
--url "${{ secrets.ARTIFACTORY_PROMOTE_URL }}" \
Expand All @@ -61,11 +62,12 @@ jobs:
env:
ARTIFACTORY_CONTAINER_DEV: ${{ vars.ARTIFACTORY_CONTAINER_DEV }}
ARTIFACTORY_CONTAINER_PROD: ${{ vars.ARTIFACTORY_CONTAINER_PROD }}
VERSION: ${{env.VERSION}}
run: |
jfrog rt docker-promote aerospike-backup-service \
"$ARTIFACTORY_CONTAINER_DEV" \
"ecosystem-container-stage-local" \
--source-tag "${{ github.event.inputs.version }}" \
--source-tag "$VERSION" \
--target-tag "latest" \
--user "${{ secrets.ARTIFACTORY_USER }}" \
--password "${{ secrets.ARTIFACTORY_TOKEN }}" \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
# if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/release-test' }}
steps:
- name: Check if release exists
id: check-release
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
needs:
- create-release
runs-on: ubuntu-latest
# if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/release-test' }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
v2.2.2
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ const docTemplate = `{

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0.0",
Version: "v2.2.2",
Host: "localhost:8080",
BasePath: "",
Schemes: []string{},
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"title" : "Backup Service REST API Specification",
"version" : "1.0.0"
"version" : "v2.2.2"
},
"externalDocs" : {
"description" : "OpenAPI",
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: Backup Service REST API Specification
version: 1.0.0
version: v2.2.2
externalDocs:
description: OpenAPI
url: https://swagger.io/resources/open-api/
Expand Down
2 changes: 1 addition & 1 deletion internal/server/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package server

// Annotations to generate OpenAPI description (https://github.com/swaggo/swag)
// @title Backup Service REST API Specification
// @version 1.0.0
// @version v2.2.2
// @description Aerospike Backup Service
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
Expand Down

0 comments on commit 0beb910

Please sign in to comment.