From eeb6ab078f2df3c31ca774f7dcd78fa884db38a4 Mon Sep 17 00:00:00 2001 From: Subin Yang Date: Thu, 26 Oct 2023 22:54:51 +0900 Subject: [PATCH 1/4] =?UTF-8?q?test=EC=9A=A9=20=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c53dc55..515a305 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@
+ + | 👻 | ❓ | ✔️ | 👾 | |:----------:|:-------------|:------:|:------:| | 1 | Haptic Vibration | ✔️ | [📂](https://github.com/yangsubinn/Test-iOS/blob/master/Test/Test/Source/ViewControllers/HapticVC.swift) | From 46d8622f9fccb10169784de8e2204fabf56554ac Mon Sep 17 00:00:00 2001 From: Subin Yang Date: Thu, 26 Oct 2023 23:21:43 +0900 Subject: [PATCH 2/4] jenkinsfile, Dockerfile --- Dockerfile | 5 +++++ jenkinsfile | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile create mode 100644 jenkinsfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..05c4055 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM Dockerfile +RUN apt-get update && apt-get -y install build-essential && mkdir -p /app +COPY . /app/ +WORKDIR /app/ +CMD make diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 0000000..634cc9e --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,20 @@ +node { + def app + stage('Clone repository') { + git 'https://github.com/yangsubinn/Test-iOS.git' + } + stage('Build Image') { + app = docker.build("yangsubinn/test-jenkins") + } + stage('Test Image') { + app.inside { + sh 'make test' + } + } + stage('Push image') { + docker.withRegistry('https://registry.hub.docker.com', '231ac0f4-40ba-49f6-b419-34e2cdac6b42') { + app.push("${env.BUILD_NUMBER}") + app.push("latest") + } + } +} From 5a54f1db76957a796efa90dab27c1bc76af10843 Mon Sep 17 00:00:00 2001 From: Subin Yang Date: Thu, 26 Oct 2023 23:29:53 +0900 Subject: [PATCH 3/4] =?UTF-8?q?jenkinsfile=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jenkinsfile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 jenkinsfile diff --git a/jenkinsfile b/jenkinsfile deleted file mode 100644 index 634cc9e..0000000 --- a/jenkinsfile +++ /dev/null @@ -1,20 +0,0 @@ -node { - def app - stage('Clone repository') { - git 'https://github.com/yangsubinn/Test-iOS.git' - } - stage('Build Image') { - app = docker.build("yangsubinn/test-jenkins") - } - stage('Test Image') { - app.inside { - sh 'make test' - } - } - stage('Push image') { - docker.withRegistry('https://registry.hub.docker.com', '231ac0f4-40ba-49f6-b419-34e2cdac6b42') { - app.push("${env.BUILD_NUMBER}") - app.push("latest") - } - } -} From acb31e9aec1925e4af7950aadeebe5aa5777fd27 Mon Sep 17 00:00:00 2001 From: Subin Yang Date: Thu, 26 Oct 2023 23:30:36 +0900 Subject: [PATCH 4/4] =?UTF-8?q?Jenkinsfile=20=EC=9D=B4=EB=A6=84=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..634cc9e --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +node { + def app + stage('Clone repository') { + git 'https://github.com/yangsubinn/Test-iOS.git' + } + stage('Build Image') { + app = docker.build("yangsubinn/test-jenkins") + } + stage('Test Image') { + app.inside { + sh 'make test' + } + } + stage('Push image') { + docker.withRegistry('https://registry.hub.docker.com', '231ac0f4-40ba-49f6-b419-34e2cdac6b42') { + app.push("${env.BUILD_NUMBER}") + app.push("latest") + } + } +}