-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip - need info from GitHub CI * build image as a part of main ci * troublshoot w/o test * should be a cp here * wip * more label control * install directly from github * use wget * rerun ci * troubleshoot * more information * it was git context * kill previous run if a new commit is pushed * this should work * remove buildlog * resolve conflicts * perform the tests as well * we will be allright withoug keeping the bin dir * bring back ignite version * also build on mai * refine label actions * Update .github/workflows/go.yml Co-authored-by: Daniel Olshansky <[email protected]> * add requested changes * pocketd has been replaced with poktrolld * only change the binary name for now, take care of other pocketd instances later * Update .github/label-actions.yml Co-authored-by: Daniel Olshansky <[email protected]> * rename pocketd with poktrolld where necessary * typofix * also use poktrolld for e2e tests --------- Co-authored-by: Daniel Olshansky <[email protected]>
- Loading branch information
Showing
16 changed files
with
171 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# When `devnet-e2e-test` is added, also assign `devnet` to the PR. | ||
devnet-e2e-test: | ||
prs: | ||
comment: The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. | ||
label: | ||
- devnet | ||
|
||
# When `devnet-e2e-test` is removed, also delete `devnet` from the PR. | ||
-devnet-e2e-test: | ||
prs: | ||
unlabel: | ||
- devnet | ||
|
||
# When `devnet` is added, also assign `push-image` to the PR. | ||
devnet: | ||
prs: | ||
label: | ||
- push-image | ||
|
||
# When `devnet` is removed, also delete `devnet-e2e-test` from the PR. | ||
-devnet: | ||
prs: | ||
unlabel: | ||
- devnet-e2e-test | ||
|
||
# Let the developer know that they need to push another commit after attaching the label to PR. | ||
push-image: | ||
prs: | ||
comment: The image is going to be pushed after the next commit. If you want to run an e2e test, it is necessary to push another commit. You can use `make trigger_ci` to push an empty commit. | ||
|
||
# When `push-image` is removed, also delete `devnet` from the PR. | ||
-push-image: | ||
prs: | ||
unlabel: | ||
- devnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Label Actions' | ||
|
||
on: | ||
issues: | ||
types: [labeled, unlabeled] | ||
pull_request_target: | ||
types: [labeled, unlabeled] | ||
discussion: | ||
types: [labeled, unlabeled] | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
pull-requests: write | ||
discussions: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/label-actions@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This Dockerfile is used to build container image for development purposes. | ||
# It intentionally contains no security features, ships with code and troubleshooting tools. | ||
|
||
FROM golang:1.20 as base | ||
|
||
RUN apt update && \ | ||
apt-get install -y \ | ||
ca-certificates \ | ||
curl jq make | ||
|
||
# enable faster module downloading. | ||
ENV GOPROXY https://proxy.golang.org | ||
|
||
COPY . /poktroll | ||
|
||
WORKDIR /poktroll | ||
|
||
RUN mv /poktroll/bin/poktrolld /usr/bin/poktrolld | ||
|
||
EXPOSE 8545 | ||
EXPOSE 8546 | ||
|
||
ENTRYPOINT ["ignite"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters