Skip to content

Commit

Permalink
Merge branch 'aeternity:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodressel authored Nov 19, 2024
2 parents 6830daf + 64303fc commit 4692a0e
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/prod-docker-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ env.ENV }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ env.ENV }}-buildx
- name: Log in to dockerhub
uses: docker/login-action@v1
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
Expand All @@ -54,7 +54,7 @@ jobs:
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5.5.1
with:
images: aeternitybot/dex-backend-mainnet
tags: |
Expand All @@ -64,7 +64,7 @@ jobs:
if: |
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6.7.0
with:
context: .
file: Dockerfile
Expand All @@ -80,7 +80,7 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: aeternity/gitops-apps-aelabs.git
ref: prd
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prod-docker-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ env.ENV }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ env.ENV }}-buildx
- name: Log in to dockerhub
uses: docker/login-action@v1
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
Expand All @@ -54,7 +54,7 @@ jobs:
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5.5.1
with:
images: aeternitybot/dex-backend-testnet
tags: |
Expand All @@ -64,7 +64,7 @@ jobs:
if: |
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6.7.0
with:
context: .
file: Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Release Please Action
id: release
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/staging-docker-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: /tmp/.buildx-cache
# Key is named differently to avoid collision
Expand All @@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-${{ env.ENV }}-buildx
- name: Log in to dockerhub
uses: docker/login-action@v1
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Build and push docker image
if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize'
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6.7.0
with:
context: .
file: Dockerfile
Expand All @@ -85,7 +85,7 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: aeternity/gitops-apps-aelabs.git
ref: stg
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
app: ${{ env.APP }}

- name: Staging undeploy
if: github.event_name == 'pull_request' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v4
with:
url-prefix: pr-${{ env.PR_NUMBER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-docker-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
app: ${{ env.APP }}

- name: Staging undeploy
if: github.event_name == 'pull_request' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v4
with:
url-prefix: pr-${{ env.PR_NUMBER }}
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [1.5.0](https://www.github.com/aeternity/dex-backend/compare/v1.4.0...v1.5.0) (2024-07-29)


### Features

* adds caching to costly endpoints ([1a2d975](https://www.github.com/aeternity/dex-backend/commit/1a2d975fd0ce4670188b786e58e97cb639307302))


### Miscellaneous

* adds testnet tokens to listing script ([fcb5fb4](https://www.github.com/aeternity/dex-backend/commit/fcb5fb42c220cfd055b79941090c9c8ea5ca1fa4))

## [1.4.0](https://www.github.com/aeternity/dex-backend/compare/v1.3.1...v1.4.0) (2024-06-26)


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dex-backend",
"version": "1.4.0",
"version": "1.5.0",
"description": "",
"author": "",
"private": true,
Expand Down

0 comments on commit 4692a0e

Please sign in to comment.