Skip to content

Commit

Permalink
modify reference of master branch to main (#176)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://jira.cms.gov/browse/PLT-326

## 🛠 Changes

Reference to master branch was changed to main

## ℹ️ Context for reviewers

Github repository master branch renamed to main. changes made to
reference main in jenkins instead of master

## ✅ Acceptance Validation

(How were the changes verified? Did you fully test the acceptance
criteria in the ticket? Provide reproducible testing instructions and
screenshots if applicable.)

## 🔒 Security Implications

- [ ] This PR adds a new software dependency or dependencies.
- [ ] This PR modifies or invalidates one or more of our security
controls.
- [ ] This PR stores or transmits data that was not stored or
transmitted before.
- [ ] This PR requires additional review of its security implications
for other reasons.

If any security implications apply, add Jason Ashbaugh (GitHub username:
StewGoin) as a reviewer and do not merge this PR without his approval.

---------

Co-authored-by: Maboh Christopher <chrismaboh@Mabohs-MBP.lan>
  • Loading branch information
christopher-maboh and Maboh Christopher authored May 25, 2024
1 parent d15f06c commit eb6b3a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions db/migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* All database changes will be modeled in discrete schema migrations
* Code to roll back a migration will be included unless highly impracticable
* Migrations will receive unique sequential integer identifiers.
* Engineers should keep aware of identifier collisions (and in some instances required migration order), and adjust their migration ID’s before merging with master, if necessary.
* Engineers should keep aware of identifier collisions (and in some instances required migration order), and adjust their migration ID’s before merging with main, if necessary.
* Migrations will be written with production environments in mind
* If data changes are required (default values instead of nulls, compound fields broken apart, etc.), the migration will include commands for these transformations.
* If the migration would break running instances, reasonable effort will be made to write multiple migrations. In the first migration, a non-breaking transition schema will be used that can support both the old and new code versions. After all instances have been upgraded, the final version of the schema can be introduced in a second migration.
Expand All @@ -19,4 +19,4 @@
* Using the file format `######_schema_name.[up|down].sql` create separate scripts for each schema change, and for reversing the schema change.
* Add tests for both scripts in `migrations_test.go`
* Test migration scripts
* Run `make migrations-test`
* Run `make migrations-test`
4 changes: 2 additions & 2 deletions ops/Jenkinsfile.build_trigger
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
]]
])
script {
if (env.BRANCH_NAME == "master") {
if (env.BRANCH_NAME == "main") {
DEPLOY='dev'
}
}
Expand All @@ -51,7 +51,7 @@ pipeline {
stage('Build and Package') {
steps {
build job: 'BCDA - Build and Package',
// Since this is being triggered by a code delivery to SSAS repo, it should always be built with BCDA master
// Since this is being triggered by a code delivery to SSAS repo, it should always be built with BCDA main
parameters: [string(name: 'SSAS_GIT_VERSION', value: "${env.BRANCH_NAME}"), string(name: 'DEPLOY', value: "${DEPLOY}")],
wait: true,
propagate: true
Expand Down
4 changes: 2 additions & 2 deletions ssas/service/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
For more details see our repository readme and Postman tests:
- https://github.com/CMSgov/bcda-ssas-app
- https://github.com/CMSgov/bcda-ssas-app/tree/master/test/postman_test
- https://github.com/CMSgov/bcda-ssas-app/tree/main/test/postman_test
If you have a Client ID and Secret you can use this page to explore the API. To do this, click the green "Authorize" button below and enter your Client ID and secret in the Basic Authentication username and password boxes.
Until you click logout your token will be presented with every request made. To make requests click on the "Try it out" button for the desired endpoint.
Version: 1.0.0
License: Public Domain https://github.com/CMSgov/bcda-ssas-app/blob/master/LICENSE.md
License: Public Domain https://github.com/CMSgov/bcda-ssas-app/blob/main/LICENSE.md
Contact: bcapi@cms.hhs.gov
Produces:
Expand Down

0 comments on commit eb6b3a8

Please sign in to comment.