Skip to content

Commit

Permalink
Change from using azure pipeline to GitHub workflows (#215)
Browse files Browse the repository at this point in the history
* Crude initial attempt to migrate to github-actions

* Ensure all stages have a run or use action

* Don't try and reuse mariadb container

* Explicit env definition

* Missed a ref

* Missed repo checkout

* Actions need subfolders

* Try with github.event.inputs

* Try going back to ci.yml file

* Typo

* Misplaced dependency

* Return orm update to yml file

* Rearrange file locations and install order

* Typo

* Ugly attempt to work around env issue

* Try and fix python errors

* File locations

* Don't make schema dir

* Run in container

* Revert previous, and start mysql

* Code rearangement

* Double bracket

* Use bash

* Single equals

* Install sudo

* Restore static analysis

* Missed image

* Find commands available

* Move all files to workflows dir

* Try alterative mysql method

* Install mysql manually

* look for files

* systemctl start mysql

* Look for mysql service

* Look for systemd paths

* Install systemctl

* Try installing systemctl again

* Alternative service start method

* Install mysql

* Typo

* Typo

* Remove mysql before installing again

* Force y

* Hard clean mysql before reinstalling

* Deletion failed

* Force y

* Try starting mariadb not mysql

* Still need sudo installed

* Remove apt statements, and replace mysql with mariadb commands

* Add more env variables, and health check

* Specify port

* Specify file with configuration

* Change host env and login user

* Remove hostname again

* Revert to 10.6

* Force host and port

* Add mysql setup action

* Longer wait

* Try as localhost

* Find socks, and start mariadb

* Initialise mariadb?

* Create databse

* Use cfg file in initialisation

* Restore db creation

* Don't change datadir, and find sqls

* Restore datadir

* No new user

* skip-test-db flag

* Revert back to 127.0.0.1

* Debug console

* Ensure mariadb-client installed

* Failed on specific version

* Set protocol

* Revert to MYSQL variables, and re-add setup action

* Use debug console to look at env

* Force ubuntu-22.04 image as a test

* Remove spurious extra container

* Cleanup debugging items

* Update database schema version to 4.2.1
  • Loading branch information
stephen-riggs committed Aug 21, 2024
1 parent bf92fcb commit 2350613
Show file tree
Hide file tree
Showing 9 changed files with 362 additions and 352 deletions.
167 changes: 0 additions & 167 deletions .azure-pipelines/azure-pipelines.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .azure-pipelines/ci.yml

This file was deleted.

109 changes: 0 additions & 109 deletions .azure-pipelines/update-orm.yml

This file was deleted.

Loading

0 comments on commit 2350613

Please sign in to comment.