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
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix

View File

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

40
Jenkinsfile vendored
View File

@ -1,20 +1,20 @@
pipeline {
agent any
stages {
stage('Stage1') {
steps {
echo ("checkout: check out from version control")
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
echo ("sh: Shell Script")
sh "./script1"
echo ("copyArtifacts")
echo("archiveArtifacts")
}
}
}
}
pipeline {
agent any
stages {
stage('Stage1') {
steps {
echo ("checkout: check out from version control")
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
echo ("sh: Shell Script")
sh "./script1"
echo ("copyArtifacts")
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
wc -l 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
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf
#!/bin/bash
wc -l 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
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf

File diff suppressed because it is too large Load Diff