Skip to content

Commit 6c43fb6

Browse files
committed
ci: remove legacy dapi in github workflows
1 parent b3a170d commit 6c43fb6

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
lines changed

.github/actions/docker/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
description: Push tags to registry or digest only
2222
default: "false"
2323
target:
24-
description: "Target stage within Dockerfile: dapi, drive-abci, dashmate-helper, test-suite"
24+
description: "Target stage within Dockerfile: drive-abci, rs-dapi, dashmate-helper, test-suite"
2525
platform:
2626
description: Platform to build for. i.e linux/amd64 or linux/arm64
2727
required: true

.github/actions/local-network/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ runs:
8282
docker pull ${{ inputs.image_org }}/dashmate-helper:$SHA_TAG
8383
docker tag ${{ inputs.image_org }}/dashmate-helper:$SHA_TAG dashpay/dashmate-helper:$VERSION
8484
85-
# Replace Drive, DAPI, and RS-DAPI images with new org and tag in dashmate config
86-
sed -i -E "s/dashpay\/(drive|dapi|rs-dapi):[^\"]+/${{ inputs.image_org }}\/\1:${SHA_TAG}/g" ${{ env.HOME }}/.dashmate/config.json
85+
# Replace Drive and RS-DAPI images with new org and tag in dashmate config
86+
sed -i -E "s/dashpay\/(drive|rs-dapi):[^\"]+/${{ inputs.image_org }}\/\1:${SHA_TAG}/g" ${{ env.HOME }}/.dashmate/config.json
8787
8888
cat ${{ env.HOME }}/.dashmate/config.json
8989

.github/workflows/release-docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
required: true
88
image_name:
99
type: string
10-
description: Image name. i.e. drive, dapi
10+
description: Image name. i.e. drive, rs-dapi
1111
required: true
1212
image_org:
1313
type: string
1414
description: Image org. i.e. dashpay
1515
required: true
1616
target:
1717
type: string
18-
description: Image target. i.e. drive-abci, dapi
18+
description: Image target. i.e. drive-abci, rs-dapi
1919
required: true
2020
tag:
2121
type: string

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,18 +179,6 @@ jobs:
179179
cargo_profile: dev
180180
tag: ${{ inputs.tag || github.event.release.tag_name }}-debug
181181

182-
release-dapi-image:
183-
name: Release DAPI image
184-
if: ${{ !inputs.only_drive }}
185-
secrets: inherit
186-
uses: ./.github/workflows/release-docker-image.yml
187-
with:
188-
name: DAPI
189-
image_org: dashpay
190-
image_name: dapi
191-
target: dapi
192-
tag: ${{ inputs.tag || github.event.release.tag_name }}
193-
194182
release-rs-dapi-image:
195183
name: Release RS-DAPI image
196184
if: ${{ !inputs.only_drive }}

.github/workflows/tests-dashmate.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ jobs:
6262
docker pull $DOCKER_HUB_ORG/drive:$SHA_TAG
6363
docker tag $DOCKER_HUB_ORG/drive:$SHA_TAG $DRIVE_IMAGE_AND_VERSION
6464
65-
# DAPI
66-
DAPI_IMAGE_AND_VERSION=$(yarn dashmate config get --config=local platform.dapi.api.docker.image)
67-
docker pull $DOCKER_HUB_ORG/dapi:$SHA_TAG
68-
docker tag $DOCKER_HUB_ORG/dapi:$SHA_TAG $DAPI_IMAGE_AND_VERSION
69-
7065
# RS-DAPI
7166
RS_DAPI_IMAGE_AND_VERSION=$(yarn dashmate config get --config=local platform.dapi.rsDapi.docker.image)
7267
docker pull $DOCKER_HUB_ORG/rs-dapi:$SHA_TAG

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ jobs:
7878
- name: Drive
7979
image_name: drive
8080
target: drive-abci
81-
- name: DAPI
82-
image_name: dapi
83-
target: dapi
8481
- name: RS-DAPI
8582
image_name: rs-dapi
8683
target: rs-dapi

0 commit comments

Comments
 (0)