Skip to content

Commit 589be53

Browse files
disable CI workflows that need re-work (#187)
Co-authored-by: mauricio <mauricio.aniche@adyen.com>
1 parent 76b7f2c commit 589be53

File tree

4 files changed

+119
-119
lines changed

4 files changed

+119
-119
lines changed
+29-29
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
name: assignments_test
2-
on: [push, pull_request]
3-
jobs:
4-
run_assignments:
5-
runs-on: ubuntu-latest
6-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
1+
# name: assignments_test
2+
# on: [push, pull_request]
3+
# jobs:
4+
# run_assignments:
5+
# runs-on: ubuntu-latest
6+
# if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
77

8-
steps:
9-
- name: Checkout the repository
10-
uses: actions/checkout@v3
8+
# steps:
9+
# - name: Checkout the repository
10+
# uses: actions/checkout@v3
1111

12-
- name: Set up JDK 17
13-
uses: actions/setup-java@v3
14-
with:
15-
distribution: 'zulu'
16-
java-version: 17
12+
# - name: Set up JDK 17
13+
# uses: actions/setup-java@v3
14+
# with:
15+
# distribution: 'zulu'
16+
# java-version: 17
1717

18-
- name: Setup python
19-
uses: actions/setup-python@v4
20-
with:
21-
python-version: 3.8
18+
# - name: Setup python
19+
# uses: actions/setup-python@v4
20+
# with:
21+
# python-version: 3.8
2222

23-
- name: Clone cse1110/assignments
24-
uses: actions/checkout@v3
25-
with:
26-
repository: 'cse1110/assignments'
27-
path: 'assignments'
23+
# - name: Clone cse1110/assignments
24+
# uses: actions/checkout@v3
25+
# with:
26+
# repository: 'cse1110/assignments'
27+
# path: 'assignments'
2828

29-
- name: Compile Andy
30-
run: |
31-
mvn -f andy/pom.xml clean package -Djar.finalName=andy -Dmaven.test.skip && mv andy/target/andy.jar /home/runner/work/andy/
29+
# - name: Compile Andy
30+
# run: |
31+
# mvn -f andy/pom.xml clean package -Djar.finalName=andy -Dmaven.test.skip && mv andy/target/andy.jar /home/runner/work/andy/
3232

33-
- name: Execute python script
34-
run: |
35-
python ./.github/scripts/assignments_test.py
33+
# - name: Execute python script
34+
# run: |
35+
# python ./.github/scripts/assignments_test.py
+37-37
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
name: assignments_test_docker
2-
on: push
3-
jobs:
4-
run_assignments_docker:
5-
runs-on: ubuntu-latest
1+
# name: assignments_test_docker
2+
# on: push
3+
# jobs:
4+
# run_assignments_docker:
5+
# runs-on: ubuntu-latest
66

7-
steps:
8-
- name: Checkout the repository
9-
uses: actions/checkout@v3
7+
# steps:
8+
# - name: Checkout the repository
9+
# uses: actions/checkout@v3
1010

11-
- name: Setup python
12-
uses: actions/setup-python@v4
13-
with:
14-
python-version: 3.8
11+
# - name: Setup python
12+
# uses: actions/setup-python@v4
13+
# with:
14+
# python-version: 3.8
1515

16-
- name: Clone cse1110/assignments
17-
uses: actions/checkout@v3
18-
with:
19-
repository: 'cse1110/assignments'
20-
path: 'assignments'
16+
# - name: Clone cse1110/assignments
17+
# uses: actions/checkout@v3
18+
# with:
19+
# repository: 'cse1110/assignments'
20+
# path: 'assignments'
2121

22-
- name: Clone cse1110/weblab-docker-v2
23-
uses: actions/checkout@v3
24-
with:
25-
repository: 'cse1110/weblab-docker-v2'
26-
path: 'weblab-docker-v2'
27-
ssh-key: ${{ secrets.DOCKER_REPO_DEPLOY_KEY }}
28-
persist-credentials: false
22+
# - name: Clone cse1110/weblab-docker-v2
23+
# uses: actions/checkout@v3
24+
# with:
25+
# repository: 'cse1110/weblab-docker-v2'
26+
# path: 'weblab-docker-v2'
27+
# ssh-key: ${{ secrets.DOCKER_REPO_DEPLOY_KEY }}
28+
# persist-credentials: false
2929

30-
- name: Configure Dockerfile
31-
working-directory: ./weblab-docker-v2
32-
run: |
33-
sed -i -E 's|git clone .+|git clone -n ${{ github.server_url }}/${{ github.repository }}.git|; s|(RUN mvn clean package.*)|RUN git checkout ${{ github.sha }}\n\1|' Dockerfile
30+
# - name: Configure Dockerfile
31+
# working-directory: ./weblab-docker-v2
32+
# run: |
33+
# sed -i -E 's|git clone .+|git clone -n ${{ github.server_url }}/${{ github.repository }}.git|; s|(RUN mvn clean package.*)|RUN git checkout ${{ github.sha }}\n\1|' Dockerfile
3434

35-
- name: Build Docker image
36-
working-directory: ./weblab-docker-v2
37-
run: |
38-
make
35+
# - name: Build Docker image
36+
# working-directory: ./weblab-docker-v2
37+
# run: |
38+
# make
3939

40-
- name: Execute python script
41-
env:
42-
COMMIT_HASH: ${{ github.sha }}
43-
run: |
44-
python ./.github/scripts/assignments_test_docker.py
40+
# - name: Execute python script
41+
# env:
42+
# COMMIT_HASH: ${{ github.sha }}
43+
# run: |
44+
# python ./.github/scripts/assignments_test_docker.py

.github/workflows/tests_docker.yml

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
name: tests_docker
2-
on: push
3-
jobs:
4-
run_tests_docker:
5-
runs-on: ubuntu-latest
1+
# name: tests_docker
2+
# on: push
3+
# jobs:
4+
# run_tests_docker:
5+
# runs-on: ubuntu-latest
66

7-
steps:
8-
- name: Checkout the repository
9-
uses: actions/checkout@v3
7+
# steps:
8+
# - name: Checkout the repository
9+
# uses: actions/checkout@v3
1010

11-
- name: Setup python
12-
uses: actions/setup-python@v4
13-
with:
14-
python-version: 3.8
11+
# - name: Setup python
12+
# uses: actions/setup-python@v4
13+
# with:
14+
# python-version: 3.8
1515

16-
- name: Clone cse1110/weblab-docker-v2
17-
uses: actions/checkout@v3
18-
with:
19-
repository: 'cse1110/weblab-docker-v2'
20-
path: 'weblab-docker-v2'
21-
ssh-key: ${{ secrets.DOCKER_REPO_DEPLOY_KEY }}
22-
persist-credentials: false
16+
# - name: Clone cse1110/weblab-docker-v2
17+
# uses: actions/checkout@v3
18+
# with:
19+
# repository: 'cse1110/weblab-docker-v2'
20+
# path: 'weblab-docker-v2'
21+
# ssh-key: ${{ secrets.DOCKER_REPO_DEPLOY_KEY }}
22+
# persist-credentials: false
2323

24-
- name: Configure Dockerfile
25-
working-directory: ./weblab-docker-v2
26-
run: |
27-
sed -i -E 's|git clone .+|git clone -n ${{ github.server_url }}/${{ github.repository }}.git|; s|RUN mvn clean package.*|RUN git checkout ${{ github.sha }}\nRUN mvn test|; s|RUN mv .+||' Dockerfile
24+
# - name: Configure Dockerfile
25+
# working-directory: ./weblab-docker-v2
26+
# run: |
27+
# sed -i -E 's|git clone .+|git clone -n ${{ github.server_url }}/${{ github.repository }}.git|; s|RUN mvn clean package.*|RUN git checkout ${{ github.sha }}\nRUN mvn test|; s|RUN mv .+||' Dockerfile
2828

29-
- name: Run tests in Docker
30-
working-directory: ./weblab-docker-v2
31-
run: |
32-
make
29+
# - name: Run tests in Docker
30+
# working-directory: ./weblab-docker-v2
31+
# run: |
32+
# make

.github/workflows/weblab-tests.yml

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
name: weblab_tests
2-
on:
3-
workflow_dispatch:
4-
schedule:
5-
- cron: '0 6 * * *'
6-
jobs:
7-
run_weblab:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout the repository
11-
uses: actions/checkout@v3
1+
# name: weblab_tests
2+
# on:
3+
# workflow_dispatch:
4+
# schedule:
5+
# - cron: '0 6 * * *'
6+
# jobs:
7+
# run_weblab:
8+
# runs-on: ubuntu-latest
9+
# steps:
10+
# - name: Checkout the repository
11+
# uses: actions/checkout@v3
1212

13-
- name: Set up JDK 17
14-
uses: actions/setup-java@v3
15-
with:
16-
java-version: 17
13+
# - name: Set up JDK 17
14+
# uses: actions/setup-java@v3
15+
# with:
16+
# java-version: 17
1717

18-
- name: Cache Maven packages
19-
uses: actions/cache@v3
20-
with:
21-
path: ~/.m2
22-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
23-
restore-keys: ${{ runner.os }}-m2
18+
# - name: Cache Maven packages
19+
# uses: actions/cache@v3
20+
# with:
21+
# path: ~/.m2
22+
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
23+
# restore-keys: ${{ runner.os }}-m2
2424

25-
- name: Run WebLab Selenium tests
26-
env:
27-
WEBLAB_CREDENTIALS: ${{ secrets.WEBLAB_CREDENTIALS }}
28-
WEBLAB_SELENIUM_HEADLESS: true
29-
run: mvn -f andy/pom.xml -B test --file pom.xml -Dtest="selenium/*"
25+
# - name: Run WebLab Selenium tests
26+
# env:
27+
# WEBLAB_CREDENTIALS: ${{ secrets.WEBLAB_CREDENTIALS }}
28+
# WEBLAB_SELENIUM_HEADLESS: true
29+
# run: mvn -f andy/pom.xml -B test --file pom.xml -Dtest="selenium/*"

0 commit comments

Comments
 (0)