recommit
This commit is contained in:
parent
7bc893c15d
commit
9cb0709b75
28
.gitignore
vendored
28
.gitignore
vendored
@ -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
|
||||
|
||||
|
28
Dockerfile
28
Dockerfile
@ -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
40
Jenkinsfile
vendored
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
LICENSE
2
LICENSE
@ -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
|
||||
|
22
script1
22
script1
@ -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
|
||||
|
3190
zadanie1.ipynb
3190
zadanie1.ipynb
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user