mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 06:35:40 +03:00
90 lines
3.0 KiB
YAML
90 lines
3.0 KiB
YAML
name: EpicMorg EcoSystem Testrail Images
|
|
|
|
on:
|
|
# push:
|
|
# branches:
|
|
# - 'master'
|
|
schedule:
|
|
- cron: '4 4 * * 1,3,5'
|
|
|
|
jobs:
|
|
|
|
build-testrail-images:
|
|
name: Build EpicMorg Testrail Images
|
|
runs-on: ubuntu-22.04
|
|
# needs: build-php-images
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Log into registry
|
|
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
|
|
|
- name: Test Make
|
|
run: make
|
|
|
|
- name: "Build and Deploy Cassandra 3.11 Image:"
|
|
run: cd linux/ecosystem/cassandra/3.11 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail Image:"
|
|
run: cd linux/ecosystem/testrail/latest/main && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail + AD Image:"
|
|
run: cd linux/ecosystem/testrail/latest/ad && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail + LDAP Image:"
|
|
run: cd linux/ecosystem/testrail/latest/ldap && pwd && make build && make deploy
|
|
|
|
##################################################################################
|
|
|
|
build-testrail-702-images:
|
|
name: Build EpicMorg Testrail 7.0.2.1016 Images
|
|
runs-on: ubuntu-22.04
|
|
# needs: build-php-images
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Log into registry
|
|
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
|
|
|
- name: Test Make
|
|
run: make
|
|
|
|
- name: "Build and Deploy Testrail 7.0.2.1016 Image:"
|
|
run: cd linux/ecosystem/testrail/7.0.2.1016/main && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail 7.0.2.1016 + AD Image:"
|
|
run: cd linux/ecosystem/testrail/7.0.2.1016/ad && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail 7.0.2.1016 + LDAP Image:"
|
|
run: cd linux/ecosystem/testrail/7.0.2.1016/ldap && pwd && make build && make deploy
|
|
|
|
##################################################################################
|
|
|
|
build-testrail-741-images:
|
|
name: Build EpicMorg Testrail 7.4.1.8092 Images
|
|
runs-on: ubuntu-22.04
|
|
# needs: build-php-images
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Log into registry
|
|
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
|
|
|
- name: Test Make
|
|
run: make
|
|
|
|
- name: "Build and Deploy Testrail 7.4.1.8092 Image:"
|
|
run: cd linux/ecosystem/testrail/7.4.1.8092/main && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail 7.4.1.8092 + AD Image:"
|
|
run: cd linux/ecosystem/testrail/7.4.1.8092/ad && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Testrail 7.4.1.8092 + LDAP Image:"
|
|
run: cd linux/ecosystem/testrail/7.4.1.8092/ldap && pwd && make build && make deploy
|
|
|
|
|
|
##################################################################################
|
|
|
|
- name: Cleanup
|
|
run: make docker-clean
|