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

Release 1.2.0 #851

Merged
merged 29 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9fee3ba
Update for next release
pylapp Mar 8, 2024
90fce65
Improve documentation and CICD pipeline (#792)
pylapp Mar 11, 2024
d7f6505
Docs: Fix back to top issues (#785)
louismaximepiton Mar 11, 2024
83feaa5
Update dependency SwiftFormat/CLI to v0.53.4 (#771)
renovate[bot] Mar 11, 2024
694d75c
Update accessibility statement HTML page (#793)
pya35 Mar 28, 2024
bf5f650
Update dependency SwiftFormat/CLI to v0.53.5 (#794)
renovate[bot] Mar 28, 2024
9291f72
[#720] The main color names visible on the screen are not vocalized (…
ludovic35 Mar 28, 2024
b1de321
feat(#798): add privacy manifest for user defaults use (#799)
pylapp Mar 29, 2024
1de75f2
[#798] Update privacy manifest about user defaults use (#800)
pylapp Apr 2, 2024
b890eb4
[#801] Rename "Recirculation" module to "MoreApps" module, and use "E…
ludovic35 Apr 9, 2024
79402c7
[Doc] Fix unintended scroll in DSM documentation (#802)
louismaximepiton Apr 9, 2024
7482732
[#223] Add documentation versioning (#805)
ludovic35 Apr 10, 2024
132b5ac
[#759] Update components and modules documentation to add a descripti…
ludovic35 Apr 11, 2024
4840c6d
Remove useless .xcode-version file
pylapp Apr 15, 2024
526eb6a
Freeze Xcode 15.2 version for CI/CD builds
pylapp Apr 15, 2024
b42d7de
Add more details about Git tags for CI/CD builds
pylapp Apr 15, 2024
d45f6df
Move files to .github folder instead of keeping them in root of repos…
pylapp Apr 15, 2024
5f7666b
[815] Wrong name of ModeApprs module in documentation (#816)
ludovic35 May 21, 2024
239e19a
[P1] 760 a11y buttons component group labels and buttons (#824)
Tayebsed93 May 22, 2024
f2c1655
[P1] 724 title is the same for both variants progress bar demo title …
Tayebsed93 May 27, 2024
cd395b7
[P1] 732 target size is too small for info and chevron components dif…
Tayebsed93 May 27, 2024
8493377
[P1] bug a11y module about title header (#828)
Tayebsed93 May 27, 2024
1980074
demo app : add localizable title text (#831)
Tayebsed93 Jun 5, 2024
4df4d8a
demo app : add accessibility title (#833)
Tayebsed93 Jun 6, 2024
a39238d
app demo : add text libelle slider (#834)
Tayebsed93 Jun 6, 2024
3ce0519
demo app : add accessibility combine and state (#836)
Tayebsed93 Jun 10, 2024
a60e4ad
Update more apps module and changelog" (#841)
ludovic35 Jun 20, 2024
90a2ee0
[#839] Update accessibility statement files (#842)
ludovic35 Jun 20, 2024
d151479
Prepare release 1.2.0 (#849)
ludovic35 Aug 23, 2024
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
Prev Previous commit
Next Next commit
Improve documentation and CICD pipeline (#792)
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp authored Mar 11, 2024
commit 90fce659b65fc687bf80957c6cb163db985bbd01
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/Orange-OpenSource/ods-ios/compare/1.1.0...qualif)

### Changed

- [Doc] Improve release documentation
- [Tooling] Define ZIP archive for nightly and production builds (for artifacts storage in CI/CD pipelines)

## [1.1.0](https://github.com/Orange-OpenSource/ods-ios/compare/1.0.0...1.1.0) - 2024-03-08

### Changed
Expand Down
18 changes: 12 additions & 6 deletions OrangeDesignSystemDemo/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ platform :ios do
puts "Upload to TestFlight requested"
# If already uploaded, prevents to upload again
if tag_testflight_upload(commitHash)
upload
upload
else
puts "Nothing new to build today, a TestFlight tag for commit '#{commitHash}' already exists"
publish_mattermost_notification("⚙️ 🤔 Nothing new to build today, a TestFlight tag for commit '#{commitHash}' already exists")
Expand Down Expand Up @@ -259,12 +259,17 @@ platform :ios do

gym(workspace: "#{ODS_WORKSPACE}",
scheme: ODS_SCHEME,
configuration: 'Release',
output_directory: 'build/',
export_method: 'app-store',
archive_path: 'build/odsApp.xcarchive',
configuration: "Release",
output_directory: "build/",
export_method: "app-store",
archive_path: "build/odsApp.xcarchive",
xcargs: "-allowProvisioningUpdates")

# Build a ZIP archive to put as artificat to the GitLab CI runner
# Needed for upload later as .xcarchive for App Store through corporate portal
zip(path: "build/odsApp.xcarchive",
output_path: "build/odsApp.zip")

publish_mattermost_notification("🔨 ✅ A new build has been done successfully")
rescue => error
publish_mattermost_notification("🔨 🚨 @channel Some issue occurred during the build step (:build)")
Expand Down Expand Up @@ -368,7 +373,8 @@ platform :ios do
end
end

# Creates a Git tag at given commit through HTTP protocol to prevent proxy or firewalls to block SSH requests
# Creates a Git tag at given commit through HTTP protocol to prevent proxy or firewalls to block SSH requests.
# Not possible also to make repository mirroring because of the current purchased plan of the GitLab instance.
def create_tag(tag)

# Check personal access token for tag creation
Expand Down
21 changes: 16 additions & 5 deletions docs_release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ This file lists all the steps to follow when releasing a new version of ODS iOS.
- [Prepare release](#prepare-release)
- [Release](#release)
* [Publish release to GitHub](#publish-release-to-github)
* [Announce the new release on FoODS](#announce-the-new-release-on-foods)<br /><br />
- [Prepare Next Release]
- [About CI/CD with GitLab CI]
* [Announce the new release on FoODS](#announce-the-new-release-on-foods)
- [Prepare Next Release](#prepare-next-release)
- [About CI/CD with GitLab CI](#about-cicd-with-gitlabci)

## Prepare release

Expand Down Expand Up @@ -49,7 +49,7 @@ This file lists all the steps to follow when releasing a new version of ODS iOS.
## Release

- Create a new pull request named `Release X.Y.Z` on GitHub to merge `qualif` into `main`.
- Review and merge this pull request on GitHub.
- Review and merge this pull request on GitHub. The merge strategy must be a **simple merge without squash of commits** (this strategy is only dedicated to feature branches to merge in qualif branch).
- Launch a job on your runner to build the demo application
- Using _Fastlane_ command:
```shell
Expand All @@ -64,7 +64,7 @@ This file lists all the steps to follow when releasing a new version of ODS iOS.
export ODS_APPLE_KEY_CONTENT = <your_key_content>

bundle exec fastlane prod upload:true
# set "upload" to true if you want to upload app to TestFlight, false otrherwise.
# set "upload" to true if you want to upload app to TestFlight, false otherwise.
```

### Publish release to GitHub
Expand Down Expand Up @@ -188,6 +188,11 @@ build_ios:
- bundle exec fastlane qualif tagSuffix:$IOS_APP_COMMIT_SHA
# Creates tags dedicated to the CI/CD builds and TestFlight uploads using some commit hash, e.g. the last commit hash.
# Will use first characters of the hash, but it might not be enough accurate because some commits may start with same value.
artifacts:
expire_in: 1 week
paths:
- ./tmp/ods-ios/OrangeDesignSystemDemo/build/OrangeDesignSystemDemo.ipa
- ./tmp/ods-ios/OrangeDesignSystemDemo/build/odsApp.zip

.common_prod:
tags:
Expand Down Expand Up @@ -224,6 +229,11 @@ build_production:
- bundle exec pod install
- bundle exec fastlane add_credentials_appsplus
- bundle exec fastlane prod upload:true
artifacts:
expire_in: 1 week
paths:
- ./tmp/ods-ios/OrangeDesignSystemDemo/build/OrangeDesignSystemDemo.ipa
- ./tmp/ods-ios/OrangeDesignSystemDemo/build/odsApp.zip
when: manual
```

Expand All @@ -242,6 +252,7 @@ fi
# Using also SSH implies to have proxy settings allowing this protocol and to use private key
# but some developers of ODS iOS are GitHub organization admins, thus their private key are much to powerful
# and their use is too hazardous.
# Repository mirroring is not provided in the current GitLab CI purchased plan.

mkdir -p "$TMP_DIR_PATH/ods-ios" # Ensure the used value, e.g tmp/ods-ios, is the one defined in the .gitlab-ci.yml

Expand Down
Loading