-
Notifications
You must be signed in to change notification settings - Fork 42
/
.cirrus.yml
148 lines (126 loc) · 4.46 KB
/
.cirrus.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
env:
# Telegram
TG_CHAT: "@DumprXDumps"
TG_TOKEN: ENCRYPTED[2a89720bfbe3d4987b7957bfe6cb250027ccc85106ef5089ac5f335e4cd53b84795fba8b110e8c8888427a35088c9702]
# Gitlab
PUSH_TO_GITLAB: true
GITLAB_GROUP: Android-Dumps
GITLAB_TOKEN: ENCRYPTED[86ee4e92f3a156c35d43a8e6617dff5ef4fe83cdf6b46ae7060b55f96049d25a64d3e0b1f34e4166e5d33cf98d1cb60d]
# Private SSH Key
PRIV_SSH_KEY: ENCRYPTED[991b9f9111329b8e8135040d22ec23508a560304dac1ef13d515eef2cdef4c15bbfaf329403d55b913af2b74c9e08edb]
task:
name: "DumprX-1"
only_if: $CIRRUS_REPO_OWNER == 'DumprX'
skip: $CIRRUS_BRANCH == 'main'
timeout_in: 120m
container:
image: ghcr.io/sushrut1101/docker:arch
cpu: 4
memory: 16G
Clone_script:
- git clone --depth=1 --single-branch https://github.com/DumprX/DumprX.git
Set-SSH-Keys_script:
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
- echo "$PRIV_SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
Setup_script:
- git config --global user.name "Sushrut1101"
- git config --global user.email "guptasushrut@gmail.com"
- cd DumprX
- echo "$GITLAB_TOKEN" > .gitlab_token
- echo "$GITLAB_GROUP" > .gitlab_group
- echo "$TG_CHAT" > .tg_chat
- echo "$TG_TOKEN" > .tg_token
- sudo bash setup.sh
DumprX_script:
- cd DumprX || echo "Already in the Directory"
- ./dumper.sh $(cat ../*.json | jq -r .\"1\")
task:
name: "DumprX-2"
only_if: $CIRRUS_REPO_OWNER == 'DumprX'
skip: $CIRRUS_BRANCH == 'main'
timeout_in: 120m
container:
image: ghcr.io/sushrut1101/docker:arch
cpu: 4
memory: 16G
Clone_script:
- git clone --depth=1 --single-branch https://github.com/DumprX/DumprX.git
Set-SSH-Keys_script:
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
- echo "$PRIV_SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
Setup_script:
- git config --global user.name "Sushrut1101"
- git config --global user.email "guptasushrut@gmail.com"
- cd DumprX
- echo "$GITLAB_TOKEN" > .gitlab_token
- echo "$GITLAB_GROUP" > .gitlab_group
- echo "$TG_CHAT" > .tg_chat
- echo "$TG_TOKEN" > .tg_token
- sudo bash setup.sh
DumprX_script:
- cd DumprX || echo "Already in the Directory"
- ./dumper.sh $(cat ../*.json | jq -r .\"2\")
task:
name: "DumprX-3"
only_if: $CIRRUS_REPO_OWNER == 'DumprX'
skip: $CIRRUS_BRANCH == 'main'
timeout_in: 120m
container:
image: ghcr.io/sushrut1101/docker:arch
cpu: 4
memory: 16G
Clone_script:
- git clone --depth=1 --single-branch https://github.com/DumprX/DumprX.git
Set-SSH-Keys_script:
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
- echo "$PRIV_SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
Setup_script:
- git config --global user.name "Sushrut1101"
- git config --global user.email "guptasushrut@gmail.com"
- cd DumprX
- echo "$GITLAB_TOKEN" > .gitlab_token
- echo "$GITLAB_GROUP" > .gitlab_group
- echo "$TG_CHAT" > .tg_chat
- echo "$TG_TOKEN" > .tg_token
- sudo bash setup.sh
DumprX_script:
- cd DumprX || echo "Already in the Directory"
- ./dumper.sh $(cat ../*.json | jq -r .\"3\")
task:
name: "DumprX-4"
only_if: $CIRRUS_REPO_OWNER == 'DumprX'
skip: $CIRRUS_BRANCH == 'main'
timeout_in: 120m
container:
image: ghcr.io/sushrut1101/docker:arch
cpu: 4
memory: 16G
Clone_script:
- git clone --depth=1 --single-branch https://github.com/DumprX/DumprX.git
Set-SSH-Keys_script:
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
- echo "$PRIV_SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
Setup_script:
- git config --global user.name "Sushrut1101"
- git config --global user.email "guptasushrut@gmail.com"
- cd DumprX
- echo "$GITLAB_TOKEN" > .gitlab_token
- echo "$GITLAB_GROUP" > .gitlab_group
- echo "$TG_CHAT" > .tg_chat
- echo "$TG_TOKEN" > .tg_token
- sudo bash setup.sh
DumprX_script:
- cd DumprX || echo "Already in the Directory"
- ./dumper.sh $(cat ../*.json | jq -r .\"4\")