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

[TASK] Setup Github Actions #3072

Closed
19 tasks done
dkd-kaehm opened this issue Oct 22, 2021 · 3 comments
Closed
19 tasks done

[TASK] Setup Github Actions #3072

dkd-kaehm opened this issue Oct 22, 2021 · 3 comments

Comments

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Oct 22, 2021

Basic setup currently as

  • Share Solr docker image between jobs
  • Build matrix for PHP>-<TYPO3

Todo:

    • integrate with scrutinizer (Done, but must be uncommented, before merge request)
    • Must be checked
    • Automatic upload to TER on release
    • tested successfully
    • Cache packgist dependencies aware of:
      • current version of PHP(7.2, 7.3, 7.4) and newest patch level TYPO3 version(10.4.20 or 10.4.21) and solarium version
        So following cache IDs could exist:
        • PHP7.4 + 10.4.20 + solaruim:6.0.3
        • PHP7.4 + 10.4.21 + solaruim:6.0.3
        • dev versions of TYPO3 like 10.4.x-dev MUST NOT use the cache
          Can be and will be used as well, because all "touched" sub packages(core extensions) are refreshed after changes/merges into TYPO3s mono repo.
      • Evaluation Take care on total time and on "CI-Bootstrap" vs "Restore ci build caches" jobs:
      • Fit/Aware of solarium Version changes
    • Use single workflow file within multiple branches, but different build matrix settings for them. (Done: must be tested after merge)
    • must be tested
    • Run "Publish new version to TER" on PHP version declared in Resources/Private/Php/ComposerLibraries/composer.json: '.config.platform.php' (Done: but must be tested with some release candidates)

After Merge ToDos:

Relates: #2999

dkd-kaehm added a commit that referenced this issue Oct 22, 2021
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 22, 2021
dkd-kaehm added a commit that referenced this issue Oct 22, 2021
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 23, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 23, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 23, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 23, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: TYPO3-Solr#2977, TYPO3-Solr#2999, TYPO3-Solr#3072
dkd-kaehm added a commit that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: #2977, #2999, #3072
dkd-kaehm added a commit that referenced this issue Oct 24, 2021
This change contains:
* Basic integration of GitHub Actions
  * Caching of:
    * docker image
    * using Docker image instead of Apache solr installation script
    * composer installation state caching aware of:
       * TYPO3 git commit hash of required version
       * solarium/solarium versions string
       * PHP version
   Results to 11 seconds on caching vs 4:30 minutes on composer install.
* Use single workflow file within multiple branches, but different build matrix settings for them.
* Integration of Tailor to publish releases in TER
   * Run "Publish new version to TER" on PHP version declared in
     `Resources/Private/Php/ComposerLibraries/composer.json`
      '.config.platform.php'`
* Allow to fail the jobs from matrix within TYPO3 `-dev` versions.
* Uploads the coverage to Scrutinizer

Relates: #2977, #2999, #3072
dkd-kaehm added a commit that referenced this issue Oct 25, 2021
dkd-kaehm added a commit that referenced this issue Oct 25, 2021
dkd-kaehm added a commit that referenced this issue Oct 25, 2021
@calvinrbnspiess
Copy link

It seems with the new pipeline the docker tag latest is not published anymore.

Reproduce:

docker pull typo3solr/ext-solr

Error: manifest for typo3solr/ext-solr:latest not found: manifest unknown: manifest unknown

Bildschirmfoto 2021-10-29 um 13 48 05

@dkd-kaehm
Copy link
Collaborator Author

dkd-kaehm commented Oct 29, 2021

@calvinrbnspiess
We do not provide latest tag on docker currently.
We do not use currently the actions for publishing EXT:solrs docker images.
Please refer to #2766 (comment)

@dkd-kaehm
Copy link
Collaborator Author

Dependabot does not work properly, see #3168
All other tasks done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants