We are trying to get CI via jenkins running for our appcelerator project. Unfortunately the CLI from time to time requires to validate via a code sent to us by email.
The support told us to "Disable 2FA on your build account" and "Run appc login before the build. You can save your credentials in a Jenkins variable, and then mask it:https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin"
See also https://jira.appcelerator.org/browse/CLI-996
Can someone tell me HOW to disable 2FA on the build account?
Thanks for help.
Finally the appcelerator support team deabled 2FA for the account. So it looks like you cannot do this on your own, but have to contact the support team.
Related
I have a TeamCity Enterprise 2019.2 (build 71499). Is it possible to notify user who run the build if it was broken via email? Cant find such option in Notification rules:
Builds with my changes only does not work for me, because the author of the changes often does not coincide with the author of the build. I need to notify ONLY author of build/release (person who run build/release) Is it possible to do this using standard TeamCity Notification rules? or maybe there is any other way to do what I need?
I don't think it is possible out of the box. (might be worth creating a feature request)
There is a workaround that has worked for me:
Enable the "Add builds triggered by me to favorites" in the profile General settings.
Set notification on "My favorite builds only"
This way I get notifications for the builds I directly hit 'run' on.
The project I'm working on uses Google Cloud Services with Firebase. We have some services that run on Google Cloud Run. I cloned a Golang repo and made a small modification to a struct which is a dependency for couple of the Cloud Function Triggers.
I am attempting to get this new code running on the cloud but seem to be missing something. I did the following command:
gcloud builds submit --config ./cloudbuild.yaml .
which completed successfully. I now have that build showing in Google Cloud Builds, however I am unsure of how to make that the active build.
Where do I set this build to be the active build?
You don't need to worry about activating it. Once you run the command gcloud builds submit, you have already created the build and it's active in your builds. So, you don't have to set this build as the active build or anything like that, as it's already in your platforms. This works like this as you can have many active builds in your platform.
In case you want to check your build details, you can access your Cloud Build page, select your project and click Open. Once there, just click on a particular build so you will see the Build details page. To view the artifacts of your build, under Build Summary, click Build Artifacts.
In addition to that, if you have more doubts in general on how to use Cloud Build and how it works, this tutorial Serverless CI/CD —Cloud Build has all the details about it.
I created an app service in azure portal and wanted to configure the ci/cd with an external git repository. In the documentation it was mentioned that there is an option to use external git repository but i'm not able to find this in my case. I tried to create the app service exactly as mentioned in the documentation:
This how i see the deployment center in azure portal:
We got it working - posting my answer here incase anybody else faces such a situation. I had to create the service app using the windows OS. It seems that with Linux OS there will be only the FTP options enabled (by default) in the deployment center.
After creating the service app using windows OS it worked fine and i was able to see all options in deployment center wihtout any further configruations.
Here the statement from Microsoft:
Use unsupported repos
For Windows apps, you can manually configure continuous deployment from a cloud Git or Mercurial repository that the portal doesn't directly support, such as GitLab. You do it by choosing the External box in the Deployment Center page. For more information, see Set up continuous deployment using manual steps.
https://learn.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment
This is not a reasonable appearance, even if the OS type of the web app is Linux, there will be the External Repository option.
I think you could try to create a new web app, refer to my steps.
Navigate to App service in the portal -> Add -> Web App -> Create
After creating the web app, check the Deployment Center and configure it.
Note: The MS official documentation of Continuous deployment has been already changed from Deployment options to Deployment Center, it is worth a try.
If you still have any problem, I recommend you to contact Azure Support for help.
I got invited to a circle ci account but can't add any projects, it shows:
Contact repo admin
One reason can be because it's already added, but it's not visible in my workflow tab as well. How can I access the project and build it ?
Please contact CircleCI Support. This isn't really a SO question.
My staging build configuration runs through all the build steps and finally deploys the application at, say http://build90.qa.testsite.com/, which has been very useful for showing to stakeholders.
Right now I have a script that e-mails users the link to the deployed site, which is nice but it would be better to have a link somewhere in the TeamCity user interface so that people can go to the newly deployed website. There seems to be no built-in way to do this. If the "description" field supported parameters, I could do it there for the latest build, but nothing historic.
Honestly, the best solution I can think of right now is some sort of browser extension, but that doesn't help on mobile devices.
Your best bet might be to set up a server, on, say, http://latest.qa.example.com/, and have TeamCity set that server to redirect to the latest http://buildNN.qa.example.com/ . That way, users don't even have to go to TeamCity to get to the latest site.
Of course, that doesn't make it easy to go to historical runs.