This commit is contained in:
Yevhenii Poliakov 2023-05-11 20:49:42 +02:00
parent 7bc893c15d
commit 9cb0709b75
7 changed files with 1657 additions and 1657 deletions

28
.gitignore vendored
View File

@ -1,14 +1,14 @@
# ---> VisualStudioCode # ---> VisualStudioCode
.vscode/* .vscode/*
!.vscode/settings.json !.vscode/settings.json
!.vscode/tasks.json !.vscode/tasks.json
!.vscode/launch.json !.vscode/launch.json
!.vscode/extensions.json !.vscode/extensions.json
!.vscode/*.code-snippets !.vscode/*.code-snippets
# Local History for Visual Studio Code # Local History for Visual Studio Code
.history/ .history/
# Built Visual Studio Code Extensions # Built Visual Studio Code Extensions
*.vsix *.vsix

View File

@ -1,14 +1,14 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y python3.10 python3-pip && \ apt-get install -y python3.10 python3-pip && \
pip3 install --upgrade pip pip3 install --upgrade pip
RUN pip3 install --user kaggle pandas RUN pip3 install --user kaggle pandas
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
CMD ./script1 CMD ./script1

40
Jenkinsfile vendored
View File

@ -1,20 +1,20 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Stage1') { stage('Stage1') {
steps { steps {
echo ("checkout: check out from version control") echo ("checkout: check out from version control")
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git" git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
echo ("sh: Shell Script") echo ("sh: Shell Script")
sh "./script1" sh "./script1"
echo ("copyArtifacts") echo ("copyArtifacts")
echo("archiveArtifacts") echo("archiveArtifacts")
} }
} }
} }
} }

View File

@ -1 +1 @@
"THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp "THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp

View File

@ -1,2 +1,2 @@
# ium151636 # ium151636

22
script1
View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
wc -l 25k_IMDb_movie_Dataset.csv wc -l 25k_IMDb_movie_Dataset.csv
head -n 5 25k_IMDb_movie_Dataset.csv head -n 5 25k_IMDb_movie_Dataset.csv
cut -f 5 -d "," 25k_IMDb_movie_Dataset.csv | sort | uniq -c cut -f 5 -d "," 25k_IMDb_movie_Dataset.csv | sort | uniq -c
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf

File diff suppressed because it is too large Load Diff