From 1d8ad8e2c571491890c4463615ef5debcf1206ef Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Mon, 26 Sep 2022 10:43:35 -0400 Subject: [PATCH 1/3] adding manual override of binary publish to git.vdb.to for development/emergency --- .github/workflows/manual_publish.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/manual_publish.yaml diff --git a/.github/workflows/manual_publish.yaml b/.github/workflows/manual_publish.yaml new file mode 100644 index 000000000000..e8990be1ed6d --- /dev/null +++ b/.github/workflows/manual_publish.yaml @@ -0,0 +1,21 @@ +name: MANUAL Override Publish geth binary to release +on: + workflow_dispatch: + inputs: + giteaPublishTag: + description: 'Package to publish TO on gitea; e.g. v1.10.25-statediff-4.2.1-alpha' + required: true + cercContainerTag: + description: 'Tagged Container to extract geth binary FROM' + required: true +jobs: + build: + name: Manual override publish of geth binary FROM tagged release TO TAGGED package on git.vdb.to + runs-on: ubuntu-latest + steps: + - name: Copy ethereum binary file + run: docker run --rm --entrypoint cat git.vdb.to/cerc-io/go-ethereum/go-ethereum:${{ github.event.inputs.cercContainerTag }} /usr/local/bin/geth > geth-linux-amd64 + - name: curl + uses: enflo/curl-action@master + with: + curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64 From da00d970001bd4ae4e49232ce0dd266245eb55d2 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 26 Sep 2022 11:15:16 -0400 Subject: [PATCH 2/3] Create manual_binary_publish.yaml (#283) --- .github/workflows/manual_binary_publish.yaml | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/manual_binary_publish.yaml diff --git a/.github/workflows/manual_binary_publish.yaml b/.github/workflows/manual_binary_publish.yaml new file mode 100644 index 000000000000..e8990be1ed6d --- /dev/null +++ b/.github/workflows/manual_binary_publish.yaml @@ -0,0 +1,21 @@ +name: MANUAL Override Publish geth binary to release +on: + workflow_dispatch: + inputs: + giteaPublishTag: + description: 'Package to publish TO on gitea; e.g. v1.10.25-statediff-4.2.1-alpha' + required: true + cercContainerTag: + description: 'Tagged Container to extract geth binary FROM' + required: true +jobs: + build: + name: Manual override publish of geth binary FROM tagged release TO TAGGED package on git.vdb.to + runs-on: ubuntu-latest + steps: + - name: Copy ethereum binary file + run: docker run --rm --entrypoint cat git.vdb.to/cerc-io/go-ethereum/go-ethereum:${{ github.event.inputs.cercContainerTag }} /usr/local/bin/geth > geth-linux-amd64 + - name: curl + uses: enflo/curl-action@master + with: + curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64 From 8ab33fb5b3ca862b97d2bb25b84209a2e9d5717a Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Mon, 26 Sep 2022 16:48:00 -0400 Subject: [PATCH 3/3] github did not pick up workflow added outside of its UI and I still cannot spell cerc right --- .github/workflows/manual_binary_publish.yaml | 2 +- .github/workflows/manual_publish.yaml | 21 -------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .github/workflows/manual_publish.yaml diff --git a/.github/workflows/manual_binary_publish.yaml b/.github/workflows/manual_binary_publish.yaml index e8990be1ed6d..843aa3644421 100644 --- a/.github/workflows/manual_binary_publish.yaml +++ b/.github/workflows/manual_binary_publish.yaml @@ -18,4 +18,4 @@ jobs: - name: curl uses: enflo/curl-action@master with: - curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64 + curl: --user cerccicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64 diff --git a/.github/workflows/manual_publish.yaml b/.github/workflows/manual_publish.yaml deleted file mode 100644 index e8990be1ed6d..000000000000 --- a/.github/workflows/manual_publish.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: MANUAL Override Publish geth binary to release -on: - workflow_dispatch: - inputs: - giteaPublishTag: - description: 'Package to publish TO on gitea; e.g. v1.10.25-statediff-4.2.1-alpha' - required: true - cercContainerTag: - description: 'Tagged Container to extract geth binary FROM' - required: true -jobs: - build: - name: Manual override publish of geth binary FROM tagged release TO TAGGED package on git.vdb.to - runs-on: ubuntu-latest - steps: - - name: Copy ethereum binary file - run: docker run --rm --entrypoint cat git.vdb.to/cerc-io/go-ethereum/go-ethereum:${{ github.event.inputs.cercContainerTag }} /usr/local/bin/geth > geth-linux-amd64 - - name: curl - uses: enflo/curl-action@master - with: - curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://git.vdb.to/api/packages/cerc-io/generic/go-ethereum/${{ github.event.inputs.giteaPublishTag }}/geth-linux-amd64