Skip to content

Commit

Permalink
Finalize GHA transition
Browse files Browse the repository at this point in the history
  • Loading branch information
tsx committed Jan 30, 2024
1 parent ee1a929 commit 7feaab3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 192 deletions.
5 changes: 0 additions & 5 deletions .circleci/artifacts.html

This file was deleted.

179 changes: 0 additions & 179 deletions .circleci/config.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ concurrency:
env:
DOCKERHUB_NAMESPACE: closeio
PROJECT: sync-engine
# TODO: Remove this after migration
TAG_SUFFIX: "-gha"

jobs:
static-code-analysis:
Expand Down Expand Up @@ -89,7 +87,7 @@ jobs:
if [ "$(git log -1 --pretty=%B | head -n 1 | grep '#notests')" ]; then
echo 'SKIP_TESTS="1"' >> $GITHUB_ENV
fi
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}${{ env.TAG_SUFFIX }}-${{ matrix.arch }}" >> $GITHUB_ENV
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}-${{ matrix.arch }}" >> $GITHUB_ENV
shell: bash

- name: Set up QEMU
Expand Down Expand Up @@ -168,7 +166,7 @@ jobs:
if [ "$(git log -1 --pretty=%B | head -n 1 | grep '#notests')" ]; then
echo 'SKIP_TESTS="1"' >> $GITHUB_ENV
fi
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}${{ env.TAG_SUFFIX }}" >> $GITHUB_ENV
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}" >> $GITHUB_ENV
shell: bash

- name: Login to DockerHub
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ concurrency:
env:
DOCKERHUB_NAMESPACE: closeio
PROJECT: sync-engine
# TODO: Remove this after migration
TAG_SUFFIX: "-gha"

jobs:
build-arm64:
Expand Down Expand Up @@ -43,7 +41,7 @@ jobs:
if [ "$(git log -1 --pretty=%B | head -n 1 | grep '#notests')" ]; then
echo 'SKIP_TESTS="1"' >> $GITHUB_ENV
fi
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}${{ env.TAG_SUFFIX }}-${{ matrix.arch }}" >> $GITHUB_ENV
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}-${{ matrix.arch }}" >> $GITHUB_ENV
shell: bash

- name: Set up QEMU
Expand Down Expand Up @@ -122,7 +120,7 @@ jobs:
if [ "$(git log -1 --pretty=%B | head -n 1 | grep '#notests')" ]; then
echo 'SKIP_TESTS="1"' >> $GITHUB_ENV
fi
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}${{ env.TAG_SUFFIX }}" >> $GITHUB_ENV
echo "DOCKER_IMAGE_TAG=${{ env.DOCKERHUB_NAMESPACE }}/${{ env.PROJECT }}:${{ steps.vars.outputs.sha_short }}-${{ matrix.build_name}}" >> $GITHUB_ENV
shell: bash

- name: Login to DockerHub
Expand Down

0 comments on commit 7feaab3

Please sign in to comment.