Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: cicd test 3 #55

Merged
merged 61 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
2c250e7
refactor(Migration🚚): MacOS 버전 10.15.7의 개발환경으로 이주하였습니다.
chanhihi Jul 23, 2023
e8584d1
refactor(CleanUp🧹): Resources 폴더를 정리합니다.
chanhihi Aug 8, 2023
133382e
Merge branch 'cluster_develop' of https://github.com/42Box/macOS into…
chanhihi Aug 8, 2023
3d2a372
refactor(Remove): unnecessary files
chanhihi Aug 8, 2023
c9f3505
refactor(Architecture🏛): MVC to MVVM in menubar feature
chanhihi Aug 9, 2023
e35df0e
docs: ✨
chanhihi Aug 10, 2023
13676b1
refactor: extension의 파일구조를 변경하였습니다.
chanhihi Aug 10, 2023
e6cd5b0
refactor: Menubar를 mvc구조에서 mvvm구조로 변경하였습니다.
chanhihi Aug 10, 2023
dea779e
refactor: URLModel을 mvvm구조에 맞춰 변경하였습니다.
chanhihi Aug 10, 2023
ec0aa90
feat: 전역관리
chanhihi Aug 10, 2023
1be7520
refactor: mvc구조를 mvvm구조로 변경해가는 과정에 있습니다.
chanhihi Aug 10, 2023
a3e8c2e
feat: xib 추가
chanhihi Aug 10, 2023
ca06a23
refactor(Architecture🏛): MVC to MVVM in menubar feature
chanhihi Aug 10, 2023
dfd3049
feat(Script📃): 스크립트 기능을 프로토타입으로 구현합니다 (#22)
chanhihi Aug 13, 2023
12a26bb
refactor(Remove🧹): 파일구조 변경
chanhihi Aug 13, 2023
fe7e72e
refactor(✨): 구조 변경
chanhihi Aug 13, 2023
f7909dc
fix(Layout): autolayout에 에러를 일으키던 setContentSize을 삭제합니다.
chanhihi Aug 14, 2023
86b0b87
build: xcuserdata를 삭제하고 gitignore에 추가합니다.
chanhihi Aug 14, 2023
98268c4
fix(xcode): listup
chanhihi Aug 15, 2023
1c6b847
feat(tuist): tuist를 추가하였습니다. (#25)
chanhihi Aug 15, 2023
0c5bb3b
chore: 필요없는 파일들 삭제
chanhihi Aug 15, 2023
26efd86
feat(tuist): versioning 3.22.0 🔖 (#26)
chanhihi Aug 15, 2023
bef450f
feat(system): Storage 기능을 추가합니다. ✨ (#28)
chanhihi Aug 15, 2023
4e0e91d
build(xcode): 협업에 불필요한 부분 삭제.
chanhihi Aug 15, 2023
f82640e
docs(git): .gitignore 📄
chanhihi Aug 15, 2023
d1ce1c9
feat:SPM으로 SnapKit을 설치했습니다.
Aug 16, 2023
fb27c4c
Merge pull request #32 from 42Box/31-feat-import-snapkit
Aug 16, 2023
bb39dae
refactor(webview): webview를 contentGroup으로 일임합니다.
chanhihi Aug 17, 2023
1b6b6fc
refactor(webview): MVVM 구조로 변경합니다.
chanhihi Aug 17, 2023
4ea7f5a
feat(webview): ViewModel의 CRUD기능을 구현합니다.
chanhihi Aug 17, 2023
fa333eb
refactor(webview): url모델을 업데이트합니다.
chanhihi Aug 17, 2023
aef20ae
feat(window): window UI prototype
chanhihi Aug 17, 2023
1ad2d38
build(xcode): 🖥
chanhihi Aug 17, 2023
1c1de9c
Merge branch 'cluster_develop' into 23-refactor-mvvm
chanhihi Aug 17, 2023
eb72032
refactor(Architecture🏛): MVC to MVVM in box
chanhihi Aug 17, 2023
01db66a
feat(window): 윈도우를 Movable하게 만듭니다.
chanhihi Aug 17, 2023
0ea8596
feat(contentsView): 오토레이아웃을 설정하여 반응형 디스플레이를 준비합니다.
chanhihi Aug 17, 2023
830424c
build(tuist): Snapkit 도입을 위해 외부 종속성을 추가합니다 (#34)
chanhihi Aug 18, 2023
6f615b9
refactor(webview): 웹뷰 모듈화
chanhihi Aug 18, 2023
0508e03
refactor(webview): 웹뷰 모듈화
chanhihi Aug 18, 2023
3b44fbd
refactor(webview): 웹뷰 모듈화
chanhihi Aug 18, 2023
c1fa4ed
fix(storage): auto cache clean 기능 버그 픽스
chanhihi Aug 18, 2023
4714278
chore: 쓸모없는 기능 잠시 잠금
chanhihi Aug 18, 2023
5876cb9
feat(Button UI): 기존 ContainerView를 Split View로 변경
chanhihi Aug 18, 2023
211a2a8
feat(BoxUI): toolbar를 추가합니다.
chanhihi Aug 18, 2023
fcbb4f6
fix(webview): 복사 붙여넣기 edit menu관련 수정
chanhihi Aug 18, 2023
d2df021
test: swift.yml 🛠 (#39)
chanhihi Aug 20, 2023
0519a44
refactor: Resources 위치 변경
chanhihi Aug 20, 2023
58dde9d
chore: xcode.proj
chanhihi Aug 20, 2023
8cf0e3b
feat: split view를 활용해서 button과 contents를 구분합니다.
chanhihi Aug 20, 2023
b04de9e
chore(🚚): 경로를 변경합니다.
chanhihi Aug 20, 2023
68ecc98
refactor(function): button그룹 하단의 function탭의 뷰를 변경하였습니다.
chanhihi Aug 20, 2023
3561a72
refactor: 알아보기쉽게 keydown을 분리하였습니다.
chanhihi Aug 20, 2023
ac3b11d
chore: 쓸모없는 부분을 제거하였습니다.
chanhihi Aug 20, 2023
ec556f1
refactor(webview): 싱글톤 패턴 구조의 WebViewManager로 content hosting view를 관…
chanhihi Aug 20, 2023
b8f6fef
feat(front): ✨ front deploy에 따라서 url을 등록합니다! ✨
chanhihi Aug 20, 2023
75d993c
Merge pull request #37 from 42Box/36-feat-view-관련-기능-추가
chanhihi Aug 20, 2023
895fa32
ci: xcode swift build / archive / deploy (#47)
chanhihi Aug 22, 2023
684a82c
test: cicd test (#52)
chanhihi Aug 22, 2023
ac5169d
test: release test
chanhihi Aug 22, 2023
51775ab
test: release 테스트를 위해서 사용합니다.
chanhihi Aug 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/Release-note.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name-template: "v$NEXT_MINOR_VERSION 🌈"
tag-template: "v$NEXT_MINOR_VERSION"
categories:
- title: "🚀 Features"
labels:
- "✨ Enhancement"
- "⚒ Refactor"
- title: "🐛 Bug Fixes"
labels:
- "🐞 Bug"
exclude-labels:
- "📄 Documentation"
- "🌐 DevOps"
- "💄 UI/UX"
- "🏛 Structure"
- "💖 Question"
- "☂️ Umbrella"
change-template: "- $TITLE (#$NUMBER)"
change-title-escapes: '\<*_&'
template: |
## Changes

$CHANGES
57 changes: 57 additions & 0 deletions .github/workflows/Deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Author by chanhihi
# Date 2023.08.09

name: Deployment

on:
push:
branches:
- release-test

jobs:
build:
name: Deploy on macOS 11
runs-on: macos-11
env:
XCODE_VERSION: "12.4.0"
SWIFT_VERSION: "5.3"
XCODE_PROJECT: "Box42.xcodeproj"
XCODE_SCHEME: "Box42"
XCODE_ARCHIVE_PATH: "Box42.xcarchive"
XCODE_EXPORT_PATH: "./artifacts"
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set Xcode version
run: sudo xcode-select -s '/Applications/Xcode_12.4.0.app/Contents/Developer'

- name: Set SDK version
run: echo 'SDKROOT=/Applications/Xcode_12.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' >> $GITHUB_ENV

- name: setup-swift
uses: swift-actions/setup-swift@v1
with:
swift-version: $SWIFT_VERSION

- name: Build
run: |
mkdir Sources &&
mv Box42 Sources/Box42 &&
swift build

- name: Archive
run: |
mv Sources/Box42/Resources/ExportOptions.plist . &&
xcodebuild archive -project $XCODE_PROJECT -scheme $XCODE_SCHEME -archivePath $XCODE_ARCHIVE_PATH

- name: Distribute
run: |
mkdir -p artifacts &&
xcodebuild -exportArchive -archivePath "$XCODE_ARCHIVE_PATH" -exportOptionsPlist ExportOptions.plist -exportPath "$XCODE_EXPORT_PATH"

- name: Upload Box42-Artifacts
uses: actions/upload-artifact@v2
with:
name: Box42-${{ github.ref_name }}
path: $XCODE_EXPORT_PATH
37 changes: 37 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Author by chanhihi
# Date 2023.08.22

name: Release Drafter and Tagging

on:
pull_request:
branches:
- release-test
types:
- closed

jobs:
release_process:
runs-on: ubuntu-latest
steps:
- name: Tagging
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.CHANHIHI }}

- name: Draft Release
id: draft_release
uses: release-drafter/release-drafter@v5
with:
config-name: Release-note.yml
env:
GITHUB_TOKEN: ${{ secrets.CHANHIHI }}

- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.CHANHIHI }}
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
43 changes: 43 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Author by chanhihi
# Date 2023.08.09

name: Swift Build

on:
push:
branches:
- feat/*
- fix/*
- refactor/*

pull_request:
branches:
- cluster_develop

jobs:
build:
name: Swift 5.3 on macOS 11
runs-on: macos-11
env:
XCODE_VERSION: "12.4.0"
SWIFT_VERSION: "5.3"
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set Xcode version
run: sudo xcode-select -s '/Applications/Xcode_12.4.0.app/Contents/Developer'

- name: Set SDK version
run: echo 'SDKROOT=/Applications/Xcode_12.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' >> $GITHUB_ENV

- name: setup-swift
uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ env.SWIFT_VERSION }}

- name: Build
run: |
mkdir Sources &&
mv Box42 Sources/Box42 &&
swift build
99 changes: 99 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,101 @@
### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### Xcode ###

## Xcode 8 and earlier

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcodeproj/project.xcworkspace/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings

.DS_Store
Box42/.DS_Store
.prettierrc
.swift-format
1 change: 1 addition & 0 deletions .tuist-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.22.0
Loading