Update sol driver image #21
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
name: AWS Kubernetes deployment | |
on: | |
push: | |
paths-ignore: | |
- '.gitignore' | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
branches: [main, 'test-driver-**', gh-workflows] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: Dev | |
steps: | |
- uses: actions/checkout@master | |
# - name: Docker Build and Push | |
# uses: ./ci/docker-build-push | |
# env: | |
# DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}} | |
# DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
# DOCKER_FILE: uni-resolver-web/docker/Dockerfile | |
# CONTAINER_TAG: universalresolver/uni-resolver-web:latest | |
- name: Deploy to AWS | |
uses: ./ci/deploy-k8s-aws | |
env: | |
KUBE_CONFIG_DATA: ${{secrets.KUBE_CONFIG_DATA}} | |
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | |
RPC_URL_TESTNET: ${{secrets.RPC_URL_TESTNET}} | |
RPC_CERT_TESTNET: ${{secrets.RPC_CERT_TESTNET}} | |
- name: Sleep for 120 seconds | |
uses: jakejarvis/wait-action@master | |
with: | |
time: '120s' | |
- name: Smoke Test | |
uses: ./ci/smoke-tests | |
with: | |
host: https://dev.uniresolver.io | |
- name: Slack notification | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
fields: repo,commit,action,eventName,ref,workflow # selectable (default: repo,message) | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required | |
if: failure() # Send message only on failure |