-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: update pipelines and add develop branch deploy #1478
Conversation
Deployed to https://pr-1478-aepp-base.stg.aepps.com |
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: aeternity/aescan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that it should be aescan
ENV: "dev" | ||
APP: "aepp-base" | ||
|
||
concurrency: aescan_develop_environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it should be aescan
?
rm -rf /tmp/.buildx-cache | ||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache | ||
|
||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v3 |
with: | ||
fetch-depth: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't seem necessary to fetch the whole base-app history
install: true | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/cache@v2 | |
uses: actions/cache@v3 |
token: ${{ secrets.BOT_GITHUB_TOKEN }} | ||
ref: dev | ||
persist-credentials: false | ||
fetch-depth: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetch-depth: 0 |
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference compared to the default setting?
this one looks to be replaced by #1515 |
Once we merge, we can test the development pipeline. Not finished, should sync on that and will finish it.