-
-
Notifications
You must be signed in to change notification settings - Fork 135
107 lines (94 loc) · 3.27 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
on:
push:
pull_request:
workflow_dispatch:
name: Manifest
jobs:
manifest:
if: |
(! (contains( github.event.head_commit.message, '[skip ci]')
|| contains( github.event.head_commit.message, '[skip action]')
|| contains( github.event.head_commit.message, '[skip actions]')
|| contains( github.event.head_commit.message, '[ci skip]')
|| contains( github.event.head_commit.message, '[actions skip]')
|| contains( github.event.head_commit.message, '[action skip]'))
) || github.event_name == 'workflow_dispatch'
strategy:
matrix:
os:
- ubuntu-latest
- macos-12
runs-on: ubuntu-latest
services:
redis:
image: redis:7.0.0-alpine
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"
- name: Only Build on Tag
run: |
echo "tag event"
if: github.event_name == 'push' && contains(github.ref,'refs/tags/')
- name: Check skip ci
run: |
echo "this build skip"
if: |
contains( github.event.head_commit.message, '[skip ci]')
|| contains( github.event.head_commit.message, '[skip action]')
|| contains( github.event.head_commit.message, '[ci skip]')
|| contains( github.event.head_commit.message, '[action skip]')
- run: docker version
- run: docker info
- run: docker-compose --version
- run: docker compose version
- name: System info
run: |
env
echo $PATH
sudo netstat -nlpt || true
sudo systemctl -t service --all || true
sudo systemctl -t service --all | grep mysql || true
sudo systemctl -t service --all | grep redis || true
sudo systemctl -t service --all | grep php || true
docker network ls
docker network ls | grep github || true
docker ps -a
mysql --version
sudo systemctl status mysql || true
sudo systemctl status redis || true
which php7.1 && php7.1 -v || true
which php7.2 && php7.2 -v || true
which php7.3 && php7.3 -v || true
which php7.4 && php7.4 -v || true
which php8.0 && php8.0 -v || true
which php && php -v || true
which composer && composer -V && composer config -g -l || true
which go && go version || true
which node && node --version || true
which node12 && node12 --version || true
which npm && npm --version || true