Skip to content

main: remove replace rule #507

main: remove replace rule

main: remove replace rule #507

Workflow file for this run

name: "e2e"
on:
pull_request:
branches:
- main
- v2
push:
branches:
- v2
- main
jobs:
mysql:
name: "mysql"
strategy:
matrix:
go: ["1.18","1.20","1.21"]
runs-on: ubuntu-latest
container:
image: golang:${{ matrix.go }}
services:
mysql:
image: mysql:5.7
ports:
- 3306:3306
env:
MYSQL_USER: ezbuy
MYSQL_PASSWORD: ezbuyisthebest
MYSQL_ROOT_PASSWORD: ezbuyisthebest
MYSQL_DATABASE: test
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- name: checkout
uses: actions/checkout@v4
- name: generate template
run: |
make build
make regene2e
- name: template testing
run: |
make test-mysql
env:
MYSQL_HOST: mysql
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
mysqlr:
name: "mysqlr"
strategy:
matrix:
go: ["1.18","1.20","1.21"]
runs-on: ubuntu-latest
container:
image: golang:${{ matrix.go }}
services:
mysql:
image: mysql:5.7
ports:
- 3306:3306
env:
MYSQL_USER: ezbuy
MYSQL_PASSWORD: ezbuyisthebest
MYSQL_ROOT_PASSWORD: ezbuyisthebest
MYSQL_DATABASE: test
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- name: checkout
uses: actions/checkout@v4
- name: generate template
run: |
make build
make regene2e
- name: template testing
run: |
make test-mysqlr
env:
MYSQL_HOST: mysql
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
mongo:
name: "mongo"
strategy:
matrix:
go: ["1.18","1.20","1.21"]
runs-on: ubuntu-latest
container:
image: golang:${{ matrix.go }}
services:
mongo:
image: mongo:4.2
ports:
- 27017:27017
env:
MONGO_INITDB_ROOT_USERNAME: ezbuy
MONGO_INITDB_ROOT_PASSWORD: ezbuyisthebest
steps:
- name: checkout
uses: actions/checkout@v4
- name: generate template
run: |
make build
make regene2e
- name: template testing (mongo-go-driver)
run: |
make test-mongo-go-driver
env:
MONGO_HOST: mongo
MONGO_PORT: ${{ job.services.mongo.ports[27017] }}
MONGO_USER: ezbuy
MONGO_PASSWORD: ezbuyisthebest
customized-plugin:
name: "customized-plugin"
strategy:
matrix:
go: ["1.18","1.20","1.21"]
runs-on: ubuntu-latest
container:
image: golang:${{ matrix.go }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: generate template
run: |
make build
make build-plugin
make gen-plugin-e2e
- name: template testing (hello-driver)
run: |
make test-plugin